From now on, ports that depend on Qt4 will have to set
USES= qt:4
USE_QT= foo bar
ports depending on Qt5 will use
USES= qt:5
USE_QT= foo bar
PR: 229225
Exp-run by: antoine
Reviewed by: mat
Approved by: portmgr (antoine)
Differential Revision: →https://reviews.freebsd.org/D15540
* this release switched the build system to cmake
* move libproxy-gnome to libproxy-gnome2 for consistency
* add new slave libproxy-webkit3
* try to simplify the whole thing
* bump revisions in the dependencies
Reviewed by: gnome (kwm), mat
Differential Revision: https://reviews.freebsd.org/D15655
The touchscreen in the HP Spectre x360 is made by Elantech rather than
Wacom. Adding this devd rule starts webcamd properly for such devices,
enabling their use with the X evdev driver.
Approved by: hselasky
Differential Revision: https://reviews.freebsd.org/D8397
1. very high CPU usage while streaming a recored program
2. unable to stream the recorded program beyond 128MB.
Unlike Linux sendfile(), FreeBSD sendfile() requires an explicit
file offset, and return value must be checked to catch any error
occurred. (i.e., closed connection)
Obtained from: https://github.com/tvheadend/tvheadend/pull/1125
Submitted by: Jongsung Kim <jongsung.kim@gmail.com>
- newer libstdc++ ABI is required by many consumers
- -mspe and -maltivec are mutually exclusive
- implement VSX detection for powerpc and powerpc64
PR: 228586
Submitted by: jhibbits (based on)
Port changes:
* greg@unrelenting.technology takes maintainership
* Change PORTVERSION to DISTVERSION
* Switch to github
* Now use distutils/plist/etc
* Adjust USE_GNOME
* Delete --single-version-externally-managed in PYDISTUTILS_INSTALLARGS since PYDISTUTILS_INSTALLNOSINGLE is deprecated
* Change WWW URL
PR: 226704
Submitted by: Greg V <greg@unrelenting.technology>
- Drop upstreamed patches
Regressions on FreeBSD:
- Kodi segfaults on startup when VAAPI and VDPAU are enabled.
Disable them by default for now and mark them as broken.
- For GBM and WAYLAND Kodi has switched to using libinput for input device
support and now aborts with a bus error on startup.
PySceneDetect is a command-line application and a Python library for detecting
scene changes in videos, and automatically splitting the video into separate
clips.
WWW: https://pyscenedetect.readthedocs.io/en/latest/
The work was done by tcberner and myself, with thanks to antoine for the
exp-run.
Not a lot to report compared to other Qt5 updates:
* net/qt5-network is still broken with LibreSSL. I said this in a commit
message ages ago but it bears repeating: upstream is open to adding support
for LibreSSL, but someone needs to step up to maintain it upstream, otherwise
things will continue to be broken all the time.
* www/qt5-webengine is a huge monster that is terrible to update, just like
www/chromium itself is. We (kde@) have decided to keep using the 5.9 series
for the time being, as it should be compatible with the rest of Qt anyway. It
was updated to 5.9.5, the latest 5.9 release at the time of writing.
PR: 228213
- Add WEBCAMD option and enable by default
- Bump PORTREVISION
From the initiating PR:
The multimedia/pwcbsd port contains an kernel module that appears to no longer
work. The multimedia/pwcbsd port distfile has not been updated since 2014 so
it is very unlikely to work. The multimedia/pwcbsd port was long ago replaced
by the multimedia/webcamd port.
The current multimedia/motion port has a PWCBSD option. This sets
--with-pwcbsd in the configure step, create a build depend on v4l_compat and
creates a run depend on multimedia/pwcbsd, which is then built and installed
but not used. The motion application reads from /dev/video* which is now
handled by multimedia/webcamd.
The patch provided adds an option named WEBCAMD to an existing radio option
that contains the PWCBSD option. The WEBCAMD option sets --with-pwcbsd in the
configure step, creates the build depend on v4l_compat but does not create a
run depend on pwcbsd. It could create a run depend on multimedia/webcamd but I
didn't add that.
The only affect of --with-pwcbsd in the configure step of the downstream port
is to suppress disabling video4linux support and link with v4l_compat library.
At some point the downstream should be advised to change the option names in
the configure.ac file to reflect the demise of pwcbsd.
I left the PWCBSD option in place and unchanged. It may serve no useful
purpose so it could be removed.
PR: 228102
Submitted by: Curtis Villamizar <curtis@ipv6.occnc.com>
MFH: yes
Aravis is a glib/gobject based viewer for video acquisition using
Genicam cameras.
It currently implements the gigabit ethernet and USB3 protocols
used by industrial cameras. It also provides a basic ethernet camera
simulator and a simple video viewer.
WWW: https://github.com/AravisProject/aravis
PR: 215908
Submitted by: rozhuk.im@gmail.com
linux/miro-segmenter.c:103:48: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
output_codec_context->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
linux/miro-segmenter.c:270:46: error: no member named 'pts' in 'struct AVStream'
segment_time = (double)video_st->pts.val * video_st->time_base.num / video_st->time_base.den;
~~~~~~~~ ^
linux/miro-segmenter.c:273:46: error: no member named 'pts' in 'struct AVStream'
segment_time = (double)audio_st->pts.val * audio_st->time_base.num / audio_st->time_base.den;
~~~~~~~~ ^
PR: 227726
Reported by: antoine (via exp-run)
src/lib_ccx/ffmpeg_intgr.c:5:10: fatal error: 'libavfilter/avfiltergraph.h' file not found
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PR: 227726
Reported by: antoine (via exp-run)
decoder.cpp:175:23: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
video_codecid=AV_CODEC_ID_MPEG2VIDEO_XVMC;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO' declared here
AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
^
decoder.cpp:179:43: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
if ((!video_codec) && (video_codecid==AV_CODEC_ID_MPEG2VIDEO_XVMC))
^~~~~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO' declared here
AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
^
decoder.cpp:191:45: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED'
if (video_codec->capabilities & CODEC_CAP_TRUNCATED)
^
decoder.cpp:192:39: error: use of undeclared identifier 'CODEC_FLAG_TRUNCATED'
video_context->flags|=CODEC_FLAG_TRUNCATED; // we do not send complete frames
^
decoder.cpp:194:36: error: use of undeclared identifier 'CODEC_FLAG2_FAST'
video_context->flags2|=CODEC_FLAG2_FAST; // really?
^
decoder.cpp:201:40: error: use of undeclared identifier 'CODEC_FLAG2_CHUNKS'
video_context->flags2|=CODEC_FLAG2_CHUNKS; // needed for H264!
^
decoder.cpp:214:46: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
if ((ret < 0) && (video_codecid==AV_CODEC_ID_MPEG2VIDEO_XVMC))
^~~~~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO' declared here
AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
^
decoder.cpp:224:43: error: no member named 'codec_name' in 'AVCodecContext'; did you mean 'coded_frame'?
memset(video_context->codec_name,0,sizeof(video_context->codec_name));
^~~~~~~~~~
coded_frame
/usr/local/include/libavcodec/avcodec.h:2760:35: note: 'coded_frame' declared here
attribute_deprecated AVFrame *coded_frame;
^
decoder.cpp:224:78: error: no member named 'codec_name' in 'AVCodecContext'
memset(video_context->codec_name,0,sizeof(video_context->codec_name));
~~~~~~~~~~~~~ ^
decoder.cpp:244:22: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
case AV_CODEC_ID_MPEG2VIDEO_XVMC:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO' declared here
AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
^
decoder.cpp:247:22: error: duplicate case value 'AV_CODEC_ID_MPEG2VIDEO'
case AV_CODEC_ID_MPEG2VIDEO:
^
decoder.cpp:244:22: note: previous case defined here
case AV_CODEC_ID_MPEG2VIDEO_XVMC:
^
decoder.cpp:305:14: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
case AV_CODEC_ID_MPEG2VIDEO_XVMC:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO' declared here
AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
^
decoder.cpp:308:14: error: duplicate case value 'AV_CODEC_ID_MPEG2VIDEO'
case AV_CODEC_ID_MPEG2VIDEO:
^
decoder.cpp:305:14: note: previous case defined here
case AV_CODEC_ID_MPEG2VIDEO_XVMC:
^
PR: 227726
Reported by: antoine (via exp-run)
src/plugins/Input/ffmpeg/decoder_ffmpeg.h:64:43: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
uchar m_input_buf[INPUT_BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE];
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:37:17: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
return (int)d->input()->read((char*)buf, size);
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:49:16: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
return d->input()->size();
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:54:24: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
absolute_pos = d->input()->pos() + offset;
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:57:24: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
absolute_pos = d->input()->size() - offset;
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:62:43: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
if(absolute_pos < 0 || absolute_pos > d->input()->size())
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:64:12: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
return d->input()->seek(absolute_pos);
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:131:19: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
pd.buf_size = input()->peek((char*)buf, sizeof(buf) - AVPROBE_PADDING_SIZE);
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:153:27: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
m_stream->seekable = !input()->isSequential();
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:166:9: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
if (input()->isSequential())
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:204:9: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
addMetaData(metaData);
^~~~~~~~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:209:5: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
setReplayGainInfo(rg.replayGainInfo());
^~~~~~~~~~~~~~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:271:19: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
m_totalTime = input()->isSequential() ? 0 : ic->duration * 1000 / AV_TIME_BASE;
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:301:5: error: no matching member function for call to 'configure'
configure(c->sample_rate, m_channels, format);
^~~~~~~~~
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:177:10: note: candidate function not viable: no known conversion from 'DecoderFFmpeg' to 'Decoder' for object argument
void configure(quint32 srate, int channels, Qmmp::AudioFormat f = Qmmp::PCM_S16LE);
^
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:170:10: note: candidate function not viable: no known conversion from 'DecoderFFmpeg' to 'Decoder' for object argument
void configure(quint32 srate, const ChannelMap &map, Qmmp::AudioFormat f = Qmmp::PCM_S16LE);
^
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:182:10: note: candidate function not viable: requires single argument 'p', but 3 arguments were provided
void configure(const AudioParameters &p);
^
PR: 227726
Reported by: antoine (via exp-run)
src/mediawriterffmpeg.cpp:254:47: error: 'CODEC_CAP_EXPERIMENTAL' was not declared in this scope
if (codec->capabilities & CODEC_CAP_EXPERIMENTAL
^~~~~~~~~~~~~~~~~~~~~~
PR: 227726
Reported by: antoine (via exp-run)
export_ffmpeg.c:834:24: error: no member named 'lmin' in 'struct AVCodecContext'; did you mean 'qmin'?
lavc_venc_context->lmin= (int)(FF_QP2LAMBDA * lavc_param_lmin + 0.5);
^~~~
qmin
/usr/local/include/libavcodec/avcodec.h:2355:9: note: 'qmin' declared here
int qmin;
^
export_ffmpeg.c:835:24: error: no member named 'lmax' in 'struct AVCodecContext'; did you mean 'qmax'?
lavc_venc_context->lmax= (int)(FF_QP2LAMBDA * lavc_param_lmax + 0.5);
^~~~
qmax
/usr/local/include/libavcodec/avcodec.h:2362:9: note: 'qmax' declared here
int qmax;
^
export_ffmpeg.c:841:24: error: no member named 'rc_strategy' in 'struct AVCodecContext'
lavc_venc_context->rc_strategy = lavc_param_vrc_strategy;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:859:24: error: no member named 'rc_qsquish' in 'struct AVCodecContext'
lavc_venc_context->rc_qsquish = lavc_param_rc_qsquish;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:860:24: error: no member named 'rc_qmod_amp' in 'struct AVCodecContext'
lavc_venc_context->rc_qmod_amp = lavc_param_rc_qmod_amp;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:861:24: error: no member named 'rc_qmod_freq' in 'struct AVCodecContext'
lavc_venc_context->rc_qmod_freq = lavc_param_rc_qmod_freq;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:862:24: error: no member named 'rc_eq' in 'struct AVCodecContext'
lavc_venc_context->rc_eq = lavc_param_rc_eq;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:866:24: error: no member named 'rc_buffer_aggressivity' in 'struct AVCodecContext'
lavc_venc_context->rc_buffer_aggressivity= lavc_param_rc_buffer_aggressivity;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:867:24: error: no member named 'rc_initial_cplx' in 'struct AVCodecContext'
lavc_venc_context->rc_initial_cplx = lavc_param_rc_initial_cplx;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:875:24: error: no member named 'intra_quant_bias' in 'struct AVCodecContext'
lavc_venc_context->intra_quant_bias = lavc_param_ibias;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:876:24: error: no member named 'inter_quant_bias' in 'struct AVCodecContext'
lavc_venc_context->inter_quant_bias = lavc_param_pbias;
~~~~~~~~~~~~~~~~~ ^
export_ffmpeg.c:1090:37: error: use of undeclared identifier 'CODEC_FLAG_GRAY'
lavc_venc_context->flags |= CODEC_FLAG_GRAY;
^
export_ffmpeg.c:1092:37: error: use of undeclared identifier 'CODEC_FLAG_NORMALIZE_AQP'
lavc_venc_context->flags |= CODEC_FLAG_NORMALIZE_AQP;
^
export_ffmpeg.c:1110:9: error: use of undeclared identifier 'CODEC_FLAG_INTERLACED_DCT'
CODEC_FLAG_INTERLACED_DCT : 0;
^
export_ffmpeg.c:1112:9: error: use of undeclared identifier 'CODEC_FLAG_INTERLACED_ME'
CODEC_FLAG_INTERLACED_ME : 0;
^
export_ffmpeg.c:1159:37: error: use of undeclared identifier 'CODEC_FLAG_PASS1'
lavc_venc_context->flags |= CODEC_FLAG_PASS1;
^
export_ffmpeg.c:1173:37: error: use of undeclared identifier 'CODEC_FLAG_PASS2'
lavc_venc_context->flags |= CODEC_FLAG_PASS2;
^
export_ffmpeg.c:1204:39: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
lavc_venc_context->flags |= CODEC_FLAG_QSCALE;
^
export_ffmpeg.c:1209:24: error: no member named 'me_method' in 'struct AVCodecContext'
lavc_venc_context->me_method = ME_ZERO + lavc_param_vme;
~~~~~~~~~~~~~~~~~ ^
PR: 227726
Reported by: antoine (via exp-run)
Obtained from: Gentoo
In file included from libavcodec/hevc_cabac.c:27:
In file included from libavcodec/cabac_functions.h:46:
libavcodec/x86/cabac.h:193:9: error: inline assembly requires more registers than available
BRANCHLESS_GET_CABAC("%0", "%q0", "(%4)", "%1", "%w1",
^
libavcodec/x86/cabac.h:143:9: note: expanded from macro 'BRANCHLESS_GET_CABAC'
"movzbl "statep" , "ret" \n\t"\
^
libavcodec/x86/cabac.h:193:9: error: inline assembly requires more registers than available
libavcodec/x86/cabac.h:143:9: note: expanded from macro 'BRANCHLESS_GET_CABAC'
"movzbl "statep" , "ret" \n\t"\
^
libavcodec/x86/cabac.h:193:9: error: inline assembly requires more registers than available
libavcodec/x86/cabac.h:143:9: note: expanded from macro 'BRANCHLESS_GET_CABAC'
"movzbl "statep" , "ret" \n\t"\
^
libavcodec/x86/cabac.h:193:9: error: inline assembly requires more registers than available
libavcodec/x86/cabac.h:143:9: note: expanded from macro 'BRANCHLESS_GET_CABAC'
"movzbl "statep" , "ret" \n\t"\
^
libavcodec/x86/cabac.h:193:9: error: inline assembly requires more registers than available
libavcodec/x86/cabac.h:143:9: note: expanded from macro 'BRANCHLESS_GET_CABAC'
"movzbl "statep" , "ret" \n\t"\
^
libavcodec/x86/cabac.h:193:9: error: inline assembly requires more registers than available
libavcodec/x86/cabac.h:143:9: note: expanded from macro 'BRANCHLESS_GET_CABAC'
"movzbl "statep" , "ret" \n\t"\
^
libavcodec/x86/cabac.h:193:9: error: inline assembly requires more registers than available
libavcodec/x86/cabac.h:143:9: note: expanded from macro 'BRANCHLESS_GET_CABAC'
"movzbl "statep" , "ret" \n\t"\
^
libavcodec/x86/cabac.h:193:9: error: inline assembly requires more registers than available
libavcodec/x86/cabac.h:143:9: note: expanded from macro 'BRANCHLESS_GET_CABAC'
"movzbl "statep" , "ret" \n\t"\
^
libavcodec/x86/cabac.h:193:9: error: inline assembly requires more registers than available
libavcodec/x86/cabac.h:143:9: note: expanded from macro 'BRANCHLESS_GET_CABAC'
"movzbl "statep" , "ret" \n\t"\
^
libavcodec/x86/cabac.h:193:9: error: inline assembly requires more registers than available
libavcodec/x86/cabac.h:143:9: note: expanded from macro 'BRANCHLESS_GET_CABAC'
"movzbl "statep" , "ret" \n\t"\
^
libavcodec/x86/cabac.h:193:9: error: inline assembly requires more registers than available
libavcodec/x86/cabac.h:143:9: note: expanded from macro 'BRANCHLESS_GET_CABAC'
"movzbl "statep" , "ret" \n\t"\
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.h:64:43: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
uchar m_input_buf[INPUT_BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE];
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:37:17: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
return (int)d->input()->read((char*)buf, size);
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:49:16: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
return d->input()->size();
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:54:24: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
absolute_pos = d->input()->pos() + offset;
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:57:24: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
absolute_pos = d->input()->size() - offset;
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:62:43: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
if(absolute_pos < 0 || absolute_pos > d->input()->size())
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:64:12: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
return d->input()->seek(absolute_pos);
^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:131:19: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
pd.buf_size = input()->peek((char*)buf, sizeof(buf) - AVPROBE_PADDING_SIZE);
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:153:27: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
m_stream->seekable = !input()->isSequential();
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:166:9: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
if (input()->isSequential())
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:204:9: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
addMetaData(metaData);
^~~~~~~~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:209:5: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
setReplayGainInfo(rg.replayGainInfo());
^~~~~~~~~~~~~~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:271:19: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
m_totalTime = input()->isSequential() ? 0 : ic->duration * 1000 / AV_TIME_BASE;
^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:306:5: error: no matching member function for call to 'configure'
configure(c->sample_rate, m_channels, format);
^~~~~~~~~
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:177:10: note: candidate function not viable: no known conversion from 'DecoderFFmpeg' to 'Decoder' for object argument
void configure(quint32 srate, int channels, Qmmp::AudioFormat f = Qmmp::PCM_S16LE);
^
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:170:10: note: candidate function not viable: no known conversion from 'DecoderFFmpeg' to 'Decoder' for object argument
void configure(quint32 srate, const ChannelMap &map, Qmmp::AudioFormat f = Qmmp::PCM_S16LE);
^
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:182:10: note: candidate function not viable: requires single argument 'p', but 3 arguments were provided
void configure(const AudioParameters &p);
^
PR: 227726
ffmpeg.c:442:25: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
c->flags |= CODEC_FLAG_QSCALE;
^
ffmpeg.c:450:17: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
ffmpeg.c:492:40: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
if (!(ffmpeg->oc->oformat->flags & AVFMT_RAWPICTURE)) {
^
ffmpeg.c:708:38: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
if (ffmpeg->oc->oformat->flags & AVFMT_RAWPICTURE) {
^
PR: 227726
codec/avcodec/audio.c:99:37: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
av_malloc( i_size + FF_INPUT_BUFFER_PADDING_SIZE );
^
codec/avcodec/subtitle.c:147:50: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
block->i_buffer + FF_INPUT_BUFFER_PADDING_SIZE);
^
codec/avcodec/video.c:254:36: error: use of undeclared identifier 'CODEC_FLAG_GRAY'
p_sys->p_context->flags |= CODEC_FLAG_GRAY;
^
codec/avcodec/encoder.c:525:20: error: no member named 'border_masking' in 'struct AVCodecContext'
p_context->border_masking = p_sys->f_border_masking;
~~~~~~~~~ ^
codec/avcodec/encoder.c:534:45: error: use of undeclared identifier 'FF_MAX_B_FRAMES'
VLC_CLIP( p_sys->i_b_frames, 0, FF_MAX_B_FRAMES );
^
codec/avcodec/encoder.c:642:45: error: no member named 'lmin' in 'struct AVCodecContext'; did you mean 'qmin'?
p_context->mb_lmin = p_context->lmin = p_sys->i_qmin * FF_QP2LAMBDA;
^~~~
codec/avcodec/encoder.c:647:45: error: no member named 'lmax' in 'struct AVCodecContext'; did you mean 'qmax'?
p_context->mb_lmax = p_context->lmax = p_sys->i_qmax * FF_QP2LAMBDA;
^~~~
codec/avcodec/encoder.c:660:24: error: no member named 'rc_qsquish' in 'struct AVCodecContext'
p_context->rc_qsquish = 1.0;
~~~~~~~~~ ^
codec/avcodec/encoder.c:674:24: error: no member named 'rc_buffer_aggressivity' in 'struct AVCodecContext'
p_context->rc_buffer_aggressivity = p_sys->f_rc_buffer_aggressivity;
~~~~~~~~~ ^
PR: 227726
Obtained from: upstream (VLC 3.0.0)
In file included from /wrkdirs/usr/ports/multimedia/QtAV/work/QtAV-1.12.0/src/AudioResamplerFF.cpp:23:
In file included from /wrkdirs/usr/ports/multimedia/QtAV/work/QtAV-1.12.0/src/AudioResamplerTemplate.cpp:24:
In file included from /wrkdirs/usr/ports/multimedia/QtAV/work/QtAV-1.12.0/src/QtAV/private/AudioResampler_p.h:26:
src/QtAV/private/AVCompat.h:82:10: fatal error: 'libavfilter/avfiltergraph.h' file not found
#include <libavfilter/avfiltergraph.h> /*code is here for old version*/
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PR: 227726
Obtained from: upstream
Details:
- Update to upstream version 1.4.9
- Switch build system to cmake (mandatory upstream)
- Build shared libs, not static libs (upstream build
system requires either-or; the number of consumers
in the ports tree is small, this is unlikely to
cause problems)
MFH: 2018Q2
- Reenable OSS backend
- Fix Wayland build the right way and drop a bunch of patches by
syncing Linux' ExtraTargets.cmake with FreeBSD's.
Changes: d571386e6f...f4489bffe2
The FreeBSD port of tvheadend couldn't stream Live TV, and debug
log shows webui judged the peer socket closed immediately after
starting streaming:
2018-04-15 06:30:04.996 [ DEBUG]:webui: Start streaming /stream/mux/c4bc67bdaa13457e33740ca883cc4d75?ticket=7D1B56AD0E434C5F7EBFA4677A7FBE4C94097974
2018-04-15 06:30:04.996 [ DEBUG]:webui: Stop streaming /stream/mux/c4bc67bdaa13457e33740ca883cc4d75?ticket=7D1B56AD0E434C5F7EBFA4677A7FBE4C94097974, client hung up
It looks tcp_socket_dead() misunderstood the zero-return from recv().
For the FreeBSD, recv() might return zero for alive sockets which
have nothing to read.
Submitted by: Jongsung Kim <jongsung.kim@gmail.com>
Obtained from: https://github.com/tvheadend/tvheadend/pull/1112
Rationale:
- MPLAYERHQ was an alias for www[1-5].mplayerhq.hu
- www.mplayerhq.hu uses dns load balancing already
for a while, essentially rendering the above
alias futile
- At times, some of the www[1-9] instances do not
participate in the balancing while others do.
(At the time of this writing, for instance www3
does not have a dns record but www8 does. The
latter was not part of MASTER_SITE_MPLAYERHQ)
- The MPLAYERHQ alias was only used by two ports
in the tree:
multimedia/mplayer-skins
multimedia/win32-codecs
Bento4 is a C++ class library and tools designed to read/write ISO-MP4 files.
This format is defined in international specifications ISO/IEC:
14496-12
14496-14
14496-15
Sponsored by: Netzkommune GmbH
libaegisub/common/character_count.cpp:41:12: error: use of undeclared identifier 'BreakIterator'; did you mean 'UBreakIterator'?
bi.reset(BreakIterator::createCharacterInstance(Locale::getDefault(), status));
^~~~~~~~~~~~~
UBreakIterator
/usr/local/include/unicode/ubrk.h:28:35: note: 'UBreakIterator' declared here
typedef struct UBreakIterator UBreakIterator;
^
libaegisub/common/character_count.cpp:41:12: error: incomplete type 'UBreakIterator' named in nested name specifier
bi.reset(BreakIterator::createCharacterInstance(Locale::getDefault(), status));
^~~~~~~~~~~~~~~
/usr/local/include/unicode/ubrk.h:28:20: note: forward declaration of 'UBreakIterator'
typedef struct UBreakIterator UBreakIterator;
^
libaegisub/common/character_count.cpp:41:51: error: use of undeclared identifier 'Locale'; did you mean 'icu::Locale'?
bi.reset(BreakIterator::createCharacterInstance(Locale::getDefault(), status));
^~~~~~
icu::Locale
/usr/local/include/unicode/locid.h:188:20: note: 'icu::Locale' declared here
class U_COMMON_API Locale : public UObject {
^
libaegisub/common/character_count.cpp:63:46: error: use of undeclared identifier 'BreakIterator'; did you mean 'UBreakIterator'?
for (auto end = character_bi.next(); end != BreakIterator::DONE; pos = end, end = character_bi.next()) {
^~~~~~~~~~~~~
UBreakIterator
/usr/local/include/unicode/ubrk.h:28:35: note: 'UBreakIterator' declared here
typedef struct UBreakIterator UBreakIterator;
^
libaegisub/common/character_count.cpp:63:46: error: incomplete type 'UBreakIterator' named in nested name specifier
for (auto end = character_bi.next(); end != BreakIterator::DONE; pos = end, end = character_bi.next()) {
^~~~~~~~~~~~~~~
/usr/local/include/unicode/ubrk.h:28:20: note: forward declaration of 'UBreakIterator'
typedef struct UBreakIterator UBreakIterator;
^
libaegisub/common/character_count.cpp:148:14: error: use of undeclared identifier 'BreakIterator'; did you mean 'UBreakIterator'?
if (end == BreakIterator::DONE)
^~~~~~~~~~~~~
UBreakIterator
/usr/local/include/unicode/ubrk.h:28:35: note: 'UBreakIterator' declared here
typedef struct UBreakIterator UBreakIterator;
^
libaegisub/common/character_count.cpp:148:14: error: incomplete type 'UBreakIterator' named in nested name specifier
if (end == BreakIterator::DONE)
^~~~~~~~~~~~~~~
/usr/local/include/unicode/ubrk.h:28:20: note: forward declaration of 'UBreakIterator'
typedef struct UBreakIterator UBreakIterator;
^
https://ssl.icu-project.org/trac/changeset/40705
PR: 227042
Reported by: antoine (via exp-run)
For the qt5-* ports bsd.qt.mk sets EXTRACT_AFTER_ARGS, and
thereby does not get the normal default value of
--no-same-owner --no-same-permissions
passed when extracting. This lead to for example header files
being installed (i.e. copied), with permissions group write
permissions.
Manually append that to the bsd.qt.mk shenanigans (also do the
same in www/qt5-webchannel, which opts out of the bsd.qt.mk value)
PR: 227027
Reported by: grarpamp@gmail.com
Some ports do not honour $LD or -fuse-ld=bfd in $CFLAGS, but do invoke
ld via $PATH. Automatically set BINARY_ALIAS+=ld=${LD} when LLD_UNSAFE
is active to use ld.bfd for these ports.
Approved by: portmgr (antoine)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D14876
This port fails when attempting to link with lld as the system linker.
PR: 226990
Approved by: portmgr (LLD_UNSAFE blanket)
Sponsored by: The FreeBSD Foundation
Ports using libxine fail to link due to shared library protected
visibility symbol preemption issues. Set LLD_UNSAFE to use ld.bfd.
PR: 214864, 226981
Approved by: portmgr (LLD_UNSAFE blanket)
Sponsored by: The FreeBSD Foundation
Ports using libxine fail to link due to shared library protected
visibility symbol preemption issues. Set LLD_UNSAFE to use ld.bfd.
PR: 214864, 226981
Approved by: portmgr (LLD_UNSAFE blanket)
Sponsored by: The FreeBSD Foundation
Ports using libxine fail to link due to shared library protected
visibility symbol preemption issues. Set LLD_UNSAFE to use ld.bfd.
PR: 214864, 226981
Approved by: portmgr (LLD_UNSAFE blanket)
Sponsored by: The FreeBSD Foundation
Convert multimedia/mythtv-frontend to a slave port of multimedia/mythtv
which should make future updates much easier.
Upstream security patches have been added to address known
vulnerabilities in the bundled ffmpeg 3.2.
PR: 225652 (initial patches to update to 29.0) [1]
Submitted by: <lucylangthorne55@gmail.com> [1]
Differential Revision: https://reviews.freebsd.org/D14563
Port changes:
* Take maintainership
* Change to DISTVERSION
* Add swig30 to BUILD_DEPENDS
* Sort and add to LIB_DEPENDS
* Add lua and python to USES
* Change GH_ACCOUNT to developer's account
* Sort USE_QT5
* Add to and sort USE_XORG
* Remove unnecessary INSTALLS_ICONS
* Remove unnecessary patch of -ldl in Linux-only code
* Now works with any python version 3.4+
* Now scripting works via python and lua
Due to Copyright infringement, the upstream project was renamed.
The software has also been updated from version 1.x to 2.x. Notable
changes and improvements:
- Automated pkg-plist
- No hardcoded user in the package. You can now more easily run the
software as another user
- Files have been moved to WWWDIR instead of PREFIX/plexpy
- Software no longer needs write access to the web root: all data is now
in /var/db/tautulli (backups, cache, logs, database)
Upgrade instructions:
- Install Tautulli
- Create /var/db/tautulli, owned by the user you will run the daemon as
(default: nobody)
- Copy your config.ini and plexpy.db to /var/db/tautulli
- Enable the service and start the software
Tautulli should automatically find your database file, rename it to
tautulli.db, and perform the required updates.
Reported by: many
The LIB_DEPENDS line can also be satisfied by base libarchive, which
then leads to problems at configure time because the CMake code looks for
ports libarchive. This is hidden as long as CMake depends on the ports
version of libarchive.
PR: 226538
Approved by: tcberner (mentor), liangtai.s16@gmail.com (maintainer)
Differential Revision: https://reviews.freebsd.org/D14655
three slave ports multimedia/avidemux-cli, multimedia/avidemux-plugins,
and multimedia/avidemux-qt4. Ensure they are properly set there
after revision 464084.
That way any sweeping changes (using Tools/scripts/bump-revision.sh
or similar in particular) have a chance of working or at least flagging
a potential issue.
PR: 226533
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
PR: 226242
Submitted by: mat
Exp-run by: antoine
Approved by: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14208
When feasible do this by adding -D_WANT_SEMUN to CFLAGS or CXXFLAGS.
Where this fails due to ports not honoring C*FLAGS, patch using
__FreeBSD_version to enable the definition.
PR: 224300, 224443 (exp-run)
Approved by: portmgr (antoine)
Exp-run: antoine
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14137
- GStreamer 0.10 API has been removed since the 0.9.2 release.
- Clutter backend is blacklisted (it induces crash) with Gtk >= 3.22.
Inform users that they need to switch to 'xvimagesink' or 'ximagesink'
- Add RUN_DEPENDS=devel/xdg-utils, as xdg-screensaver is used to inhibit
the screensaver
Reported by: Olivier Duchateau <duchateau.olivier@gmail.com>
In order to make room for the up-to-date version of the KDE Desktop and its
applications move the KDE Application ports based on Qt4.
PR: 225992
Exp-run by: antoine
Reviewed by: rakuco, adridg
Differential Revision: https://reviews.freebsd.org/D14413