multimedia/wf-recorder: Unbreak build with FFmpeg 9 PR: 297368 Reported by: diizzy Obtained from: Arch Linux (https://gitlab.archlinux.org/archlinux/packaging/packages/wf-recorder/-/blob/main/ffmpeg-9.patch)09573f9147
Port details
multimedia/wf-recorder0.6.0_1
Screen recorder for wlroots-based compositors
- Maintainer
- tagattie@FreeBSD.org
- Packages
- wf-recorder 0.6.0_1
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://github.com/ammen99/wf-recorder
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (26)
multimedia/ffmpeg: bump revision to chase lib version change18ea9c7108
multimedia/wf-recorder: Update to 0.6.0 and take maintainership While here: - switch to UST_GITHUB since upstream no longer provides release source tarball - remove no longer relevant post-patch target - remove obsolete patch Changelog: https://github.com/ammen99/wf-recorder/releases/tag/v0.6.025f99ac7c1
multimedia/wf-recorder: Fix build with FFmpeg 8 Apply upstream patch to fix build. PR: 289036 Approved by: portmgr (build fix blanket)dd93bc5d6c
multimedia/wf-recorder: Update to 0.5.0 Changes: https://github.com/ammen99/wf-recorder/releases/tag/v0.5.0 Reported by: GitHub (watch releases)85ef3a6426
multimedia/wf-recorder: unbreak build with ffmpeg 7.0
../src/frame-writer.cpp:458:19: error: no member named 'channel_layouts' in 'AVCodec'; did you mean 'ch_layouts'?
if (!codec->channel_layouts)
^~~~~~~~~~~~~~~
ch_layouts
/usr/local/include/libavcodec/codec.h:230:28: note: 'ch_layouts' declared here
const AVChannelLayout *ch_layouts;
^
../src/frame-writer.cpp:461:23: error: no member named 'channel_layouts' in 'AVCodec'; did you mean 'ch_layouts'?
if (!codec->channel_layouts[i])
^~~~~~~~~~~~~~~
ch_layouts
/usr/local/include/libavcodec/codec.h:230:28: note: 'ch_layouts' declared here
const AVChannelLayout *ch_layouts;
^
../src/frame-writer.cpp:461:15: error: invalid argument type 'const AVChannelLayout' to unary expression
if (!codec->channel_layouts[i])
^~~~~~~~~~~~~~~~~~~~~~~~~~
../src/frame-writer.cpp:463:22: error: no member named 'channel_layouts' in 'AVCodec'; did you mean 'ch_layouts'?
if (codec->channel_layouts[i] == AV_CH_LAYOUT_STEREO)
^~~~~~~~~~~~~~~
ch_layouts
/usr/local/include/libavcodec/codec.h:230:28: note: 'ch_layouts' declared here
const AVChannelLayout *ch_layouts;
^
../src/frame-writer.cpp:463:41: error: invalid operands to binary expression ('const AVChannelLayout' and 'unsigned long long')
if (codec->channel_layouts[i] == AV_CH_LAYOUT_STEREO)
~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~
../src/frame-writer.cpp:464:29: error: no member named 'channel_layouts' in 'AVCodec'; did you mean 'ch_layouts'?
return codec->channel_layouts[i];
^~~~~~~~~~~~~~~
ch_layouts
/usr/local/include/libavcodec/codec.h:230:28: note: 'ch_layouts' declared here
const AVChannelLayout *ch_layouts;
^
../src/frame-writer.cpp:464:22: error: no viable conversion from returned value of type 'const AVChannelLayout' to function return type 'uint64_t' (aka 'unsigned long')
return codec->channel_layouts[i];
^~~~~~~~~~~~~~~~~~~~~~~~~
../src/frame-writer.cpp:467:21: error: no member named 'channel_layouts' in 'AVCodec'; did you mean 'ch_layouts'?
return codec->channel_layouts[0];
^~~~~~~~~~~~~~~
ch_layouts
/usr/local/include/libavcodec/codec.h:230:28: note: 'ch_layouts' declared here
const AVChannelLayout *ch_layouts;
^
../src/frame-writer.cpp:467:14: error: no viable conversion from returned value of type 'const AVChannelLayout' to function return type 'uint64_t' (aka 'unsigned long')
return codec->channel_layouts[0];
^~~~~~~~~~~~~~~~~~~~~~~~~
../src/frame-writer.cpp:542:20: error: no member named 'channel_layout' in 'AVCodecContext'
audioCodecCtx->channel_layout = get_codec_channel_layout(codec);
~~~~~~~~~~~~~ ^
../src/frame-writer.cpp:545:20: error: no member named 'channels' in 'AVCodecContext'
audioCodecCtx->channels = av_get_channel_layout_nb_channels(audioCodecCtx->channel_layout);
~~~~~~~~~~~~~ ^
../src/frame-writer.cpp:545:80: error: no member named 'channel_layout' in 'AVCodecContext'
audioCodecCtx->channels = av_get_channel_layout_nb_channels(audioCodecCtx->channel_layout);
~~~~~~~~~~~~~ ^
../src/frame-writer.cpp:568:5: error: use of undeclared identifier 'av_opt_set_channel_layout'; did you mean 'av_opt_set_chlayout'?
av_opt_set_channel_layout(swrCtx, "in_channel_layout", AV_CH_LAYOUT_STEREO, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~
av_opt_set_chlayout
/usr/local/include/libavutil/opt.h:789:5: note: 'av_opt_set_chlayout' declared here
int av_opt_set_chlayout(void *obj, const char *name, const AVChannelLayout *layout, int search_flags);
^
../src/frame-writer.cpp:568:60: error: cannot initialize a parameter of type 'const AVChannelLayout *' with an rvalue of type 'unsigned long long'
av_opt_set_channel_layout(swrCtx, "in_channel_layout", AV_CH_LAYOUT_STEREO, 0);
^~~~~~~~~~~~~~~~~~~
/usr/local/include/libavutil/channel_layout.h:205:40: note: expanded from macro 'AV_CH_LAYOUT_STEREO'
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libavutil/opt.h:789:77: note: passing argument to parameter 'layout' here
int av_opt_set_chlayout(void *obj, const char *name, const AVChannelLayout *layout, int search_flags);
^
../src/frame-writer.cpp:569:76: error: no member named 'channel_layout' in 'AVCodecContext'
av_opt_set_channel_layout(swrCtx, "out_channel_layout", audioCodecCtx->channel_layout, 0);
~~~~~~~~~~~~~ ^
../src/frame-writer.cpp:859:13: error: no member named 'channel_layout' in 'AVFrame'
inputf->channel_layout = AV_CH_LAYOUT_STEREO;
~~~~~~ ^
../src/frame-writer.cpp:868:14: error: no member named 'channel_layout' in 'AVFrame'
outputf->channel_layout = audioCodecCtx->channel_layout;
~~~~~~~ ^
../src/frame-writer.cpp:868:46: error: no member named 'channel_layout' in 'AVCodecContext'
outputf->channel_layout = audioCodecCtx->channel_layout;
~~~~~~~~~~~~~ ^
Reported by: antoine (via bug 278705 exp-run)28ed4a3f4d*/*: Sanitize MANPREFIX for meson ports Approved by: portmgr9f8f710b3e
multimedia/wf-recorder: Update to 0.4.1 Changes: https://github.com/ammen99/wf-recorder/releases/tag/v0.4.1 Reported by: GitHub (watch releases)e3775e4b82
multimedia/wf-recorder: Update to 0.4.0 Changes: https://github.com/ammen99/wf-recorder/releases/tag/v0.4.0 Reported by: GitHub (watch releases)c310a425cf
audio/pulseaudio: Update to 16.1 Bump PORTREVISION on consumers. Sponsored by: Serenity Cybersecurity, LLC PR: 262713b1ecad53b0
*/*: Bump all users of multimedia/ffmpeg* ...to make sure all picks up new version(s)f7accb23bf
audio/opus: bump consumers after update to 1.4feb1fa34f5
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
multimedia/wf-recorder: Update to 0.3.0 Changes: https://github.com/ammen99/wf-recorder/releases/tag/v0.3.0 Reported by: GitHub (watch releases)397fa2679a
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
multimedia/wf-recorder: make pulseaudio optional - FreeBSD can use virtual_oss to record audio from applications - DragonFly cannot use PulseAudio yet, see https://github.com/DragonFlyBSD/DeltaPorts/commit/b88835f255a56f75781b74
Reset MAINTAINERf35841a5de
multimedia/wf-recorder: Update to 0.2.1 Changes: https://github.com/ammen99/wf-recorder/releases/tag/v0.2.16124b6661c
multimedia/wf-recorder: Update to 0.2 Changes: https://github.com/ammen99/wf-recorder/releases/tag/v0.279fc13ec97
multimedia/ffmpeg: update to 4.2 Changes: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.2:/Changelog ABI: https://abi-laboratory.pro/tracker/timeline/ffmpeg/325aed58cb
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330ea8c8ec7da
multimedia/wf-recorder: Update to 0.1 Changes: https://github.com/ammen99/wf-recorder/releases/tag/v0.128dd726b4b
Fix build on gcc-based architectures: ERROR: C++ Compiler does not support -std=c++11 Approved by: portmgr (tier-2 blanket)b5a19db93e
New port: multimedia/wf-recorder wf-recorder is a utility program for screen recording of wlroots-based compositors (more specifically, those that support wlr-screencopy-v1 and xdg-output). WWW: https://github.com/ammen99/wf-recordercba64d6917