Wednesday, May 06, 2026

graphics/ffmpeg: update to 8.0.2 (-stable) and 8.1.1 (-current)

ports, I'd like to update graphics/ffmpeg to 8.0.2 (-stable) and 8.1.1 (-current) after port unlock. /usr/src/lib/check_sym said "No dynamic export changes" on 8.0.1 -> 8.0.2 upgrade with one exception: libavfilter has added new reference ``trunc` but I think it not justify any shlib bump. 8.1.1 is different story and it is normal upgrade which I run via whole bulk, no errors, and if anyone would like to test it unsigned packages here: https://kirill.korins.ky/pub/packages/ffmpeg-8.1.1/ -- wbr, Kirill

Index: graphics/ffmpeg/Makefile =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/Makefile,v diff -u -p -r1.256 Makefile --- graphics/ffmpeg/Makefile 6 Apr 2026 00:42:27 -0000 1.256 +++ graphics/ffmpeg/Makefile 5 May 2026 13:26:05 -0000 @@ -1,9 +1,8 @@ COMMENT= audio/video converter and streamer # keep it synced with x11/mplayer -V= 8.0.1 +V= 8.0.2 DISTNAME= ffmpeg-${V} -REVISION= 1 CATEGORIES= graphics multimedia SITES= https://ffmpeg.org/releases/ EXTRACT_SUFX= .tar.xz Index: graphics/ffmpeg/distinfo =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/distinfo,v diff -u -p -r1.71 distinfo --- graphics/ffmpeg/distinfo 12 Dec 2025 13:38:22 -0000 1.71 +++ graphics/ffmpeg/distinfo 5 May 2026 13:26:05 -0000 @@ -1,2 +1,2 @@ -SHA256 (ffmpeg-8.0.1.tar.xz) = Be4LAxGbRcC9tN9lS5aALpCeCnUvcuT+N5T0hyKeWkE= -SIZE (ffmpeg-8.0.1.tar.xz) = 11388848 +SHA256 (ffmpeg-8.0.2.tar.xz) = XRaWIzJgPEJ7PQiH/BK5Fm1u4ssRCLGGXdLV6waglQU= +SIZE (ffmpeg-8.0.2.tar.xz) = 11397612 Index: graphics/ffmpeg/patches/patch-configure =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/patches/patch-configure,v diff -u -p -r1.77 patch-configure --- graphics/ffmpeg/patches/patch-configure 28 Oct 2025 09:37:14 -0000 1.77 +++ graphics/ffmpeg/patches/patch-configure 5 May 2026 13:36:58 -0000 @@ -29,3 +29,22 @@ Index: configure check_builtin stdatomic stdatomic.h \ "atomic_int foo, bar = -1; atomic_store(&foo, 0); foo += bar" \ $LATOMIC && eval stdatomic_extralibs="\$LATOMIC" && break +@@ -7262,13 +7261,13 @@ enabled omx_rpi && { test_code cc OMX_Core.h + enabled omx && require_headers OMX_Core.h && \ + warn "The OpenMAX encoders are deprecated and will be removed in future versions" + +-enabled openssl && { { check_pkg_config openssl "openssl >= 3.0.0" openssl/ssl.h DTLS_get_data_mtu && ++enabled openssl && { { check_pkg_config openssl "openssl >= 3.0.0" openssl/ssl.h OPENSSL_init_ssl && + { enabled gplv3 || ! enabled gpl || enabled nonfree || die "ERROR: OpenSSL >=3.0.0 requires --enable-version3"; }; } || + { enabled gpl && ! enabled nonfree && die "ERROR: OpenSSL <3.0.0 is incompatible with the gpl"; } || +- check_pkg_config openssl "openssl >= 1.1.1" openssl/ssl.h DTLS_get_data_mtu || +- check_lib openssl openssl/ssl.h DTLS_get_data_mtu -lssl -lcrypto || +- check_lib openssl openssl/ssl.h DTLS_get_data_mtu -lssl -lcrypto -lws2_32 -lgdi32 || +- die "ERROR: openssl (>= 1.1.1) not found"; } ++ check_pkg_config openssl "openssl >= 1.1.0" openssl/ssl.h OPENSSL_init_ssl || ++ check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto || ++ check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto -lws2_32 -lgdi32 || ++ die "ERROR: openssl (>= 1.1.0) not found"; } + enabled pocketsphinx && require_pkg_config pocketsphinx pocketsphinx pocketsphinx/pocketsphinx.h ps_init + enabled rkmpp && { require_pkg_config rkmpp rockchip_mpp rockchip/rk_mpi.h mpp_create && + require_pkg_config rockchip_mpp "rockchip_mpp >= 1.3.7" rockchip/rk_mpi.h mpp_create && Index: graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c =================================================================== RCS file: graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c diff -N graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c --- graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c 28 Jan 2026 13:55:38 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,18 +0,0 @@ -- avcodec/libsvtav1: rename aq_mode for v4.0.0 - a5d4c398b411a00ac09d8fe3b66117222323844c - -Index: libavcodec/libsvtav1.c ---- libavcodec/libsvtav1.c.orig -+++ libavcodec/libsvtav1.c -@@ -238,7 +238,11 @@ static int config_enc_params(EbSvtAv1EncConfiguration - } else if (svt_enc->qp > 0) { - param->qp = svt_enc->qp; - param->rate_control_mode = 0; -+#if SVT_AV1_CHECK_VERSION(4, 0, 0) -+ param->aq_mode = 0; -+#else - param->enable_adaptive_quantization = 0; -+

Index: graphics/ffmpeg/Makefile =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/Makefile,v diff -u -p -r1.256 Makefile --- graphics/ffmpeg/Makefile 6 Apr 2026 00:42:27 -0000 1.256 +++ graphics/ffmpeg/Makefile 3 May 2026 23:08:55 -0000 @@ -1,9 +1,8 @@ COMMENT= audio/video converter and streamer # keep it synced with x11/mplayer -V= 8.0.1 +V= 8.1.1 DISTNAME= ffmpeg-${V} -REVISION= 1 CATEGORIES= graphics multimedia SITES= https://ffmpeg.org/releases/ EXTRACT_SUFX= .tar.xz @@ -23,13 +22,13 @@ USE_NOBTCFI-amd64= Yes EPOCH= 1 -SHARED_LIBS= avcodec 27.1 \ - avdevice 15.1 \ - avfilter 13.1 \ - avformat 24.1 \ - avutil 17.1 \ - swresample 6.1 \ - swscale 9.1 +SHARED_LIBS= avcodec 28.0 \ + avdevice 16.0 \ + avfilter 14.0 \ + avformat 25.0 \ + avutil 18.0 \ + swresample 7.0 \ + swscale 10.0 HOMEPAGE= https://ffmpeg.org/ Index: graphics/ffmpeg/distinfo =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/distinfo,v diff -u -p -r1.71 distinfo --- graphics/ffmpeg/distinfo 12 Dec 2025 13:38:22 -0000 1.71 +++ graphics/ffmpeg/distinfo 3 May 2026 23:09:06 -0000 @@ -1,2 +1,2 @@ -SHA256 (ffmpeg-8.0.1.tar.xz) = Be4LAxGbRcC9tN9lS5aALpCeCnUvcuT+N5T0hyKeWkE= -SIZE (ffmpeg-8.0.1.tar.xz) = 11388848 +SHA256 (ffmpeg-8.1.1.tar.xz) = toY63emImPQmAgF0YocbX2Mz5lrsgD/demMIY5xS7fM= +SIZE (ffmpeg-8.1.1.tar.xz) = 11709440 Index: graphics/ffmpeg/patches/patch-configure =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/patches/patch-configure,v diff -u -p -r1.77 patch-configure --- graphics/ffmpeg/patches/patch-configure 28 Oct 2025 09:37:14 -0000 1.77 +++ graphics/ffmpeg/patches/patch-configure 17 Mar 2026 17:15:20 -0000 @@ -3,7 +3,7 @@ Index: configure --- configure.orig +++ configure -@@ -5880,7 +5880,6 @@ case $target_os in +@@ -6076,7 +6076,6 @@ case $target_os in enable section_data_rel_ro striptype="" SHFLAGS='-shared' @@ -11,16 +11,16 @@ Index: configure SLIB_INSTALL_LINKS= oss_indev_extralibs="-lossaudio" oss_outdev_extralibs="-lossaudio" -@@ -6252,7 +6251,7 @@ set_default libdir +@@ -6451,7 +6450,7 @@ set_default libdir set_default $PATHS_LIST set_default nm --disabled optimizations || enabled ossfuzz || echo "$CFLAGS" | grep -q -- '-fsanitize=' || check_cflags -fomit-frame-pointer +-disabled optimizations || enabled ossfuzz || echo "$CFLAGS" | grep -q -- '-fsanitize=' || check_allcflags -fomit-frame-pointer +enabled x86_64 && check_cflags -fomit-frame-pointer enable_weak_pic() { disabled pic && return -@@ -6799,7 +6798,7 @@ check_headers asm/types.h +@@ -7002,7 +7001,7 @@ check_headers asm/types.h # # some configurations also require linking to libatomic, so try # both with -latomic and without @@ -29,3 +29,16 @@ Index: configure check_builtin stdatomic stdatomic.h \ "atomic_int foo, bar = -1; atomic_store(&foo, 0); foo += bar" \ $LATOMIC && eval stdatomic_extralibs="\$LATOMIC" && break +@@ -7492,9 +7491,9 @@ enabled omx && require_headers OMX_Core. + enabled openssl && { { check_pkg_config openssl "openssl >= 3.0.0" openssl/ssl.h DTLS_get_data_mtu && + { enabled gplv3 || ! enabled gpl || enabled nonfree || die "ERROR: OpenSSL >=3.0.0 requires --enable-version3"; }; } || + { enabled gpl && ! enabled nonfree && die "ERROR: OpenSSL <3.0.0 is incompatible with the gpl"; } || +- check_pkg_config openssl "openssl >= 1.1.1" openssl/ssl.h DTLS_get_data_mtu || +- check_lib openssl openssl/ssl.h DTLS_get_data_mtu -lssl -lcrypto || +- check_lib openssl openssl/ssl.h DTLS_get_data_mtu -lssl -lcrypto -lws2_32 -lgdi32 || ++ check_pkg_config openssl "openssl >= 1.1.1" openssl/ssl.h OPENSSL_init_ssl || ++ check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto || ++ check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto -lws2_32 -lgdi32 || + die "ERROR: openssl (>= 1.1.1) not found"; } + enabled pocketsphinx && require_pkg_config pocketsphinx pocketsphinx pocketsphinx/pocketsphinx.h ps_init + enabled rkmpp && { require_pkg_config rkmpp "rockchip_mpp >= 1.3.8" "rockchip/rk_mpi.h rockchip/mpp_buffer.h" "mpp_create mpp_buffer_sync_begin_f" && Index: graphics/ffmpeg/patches/patch-ffbuild_library_mak =================================================================== RCS file: /home/cvs/ports/graphics/ffmpeg/patches/patch-ffbuild_library_mak,v diff -u -p -r1.4 patch-ffbuild_library_mak --- graphics/ffmpeg/patches/patch-ffbuild_library_mak 28 Oct 2025 09:37:14 -0000 1.4 +++ graphics/ffmpeg/patches/patch-ffbuild_library_mak 17 Mar 2026 16:54:08 -0000 @@ -1,19 +1,7 @@ Index: ffbuild/library.mak --- ffbuild/library.mak.orig +++ ffbuild/library.mak -@@ -74,9 +74,9 @@ $(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS) $(SHLIBOBJS) - $(SLIB_CREATE_DEF_CMD) - ifeq ($(RESPONSE_FILES),yes) - $(Q)echo $$(filter %.o,$$^) > $$@.objs -- $$(LD) $(SHFLAGS) $(LDFLAGS) $(LDSOFLAGS) $$(LD_O) @$$@.objs $(FFEXTRALIBS) -+ $$(LD) $(SHFLAGS) $(LDFLAGS) $(LDSOFLAGS) $$(LD_O) @$$@.objs $(LIB$(NAME)_EXTRALIBS) - else -- $$(LD) $(SHFLAGS) $(LDFLAGS) $(LDSOFLAGS) $$(LD_O) $$(filter %.o,$$^) $(FFEXTRALIBS) -+ $$(LD) $(SHFLAGS) $(LDFLAGS) $(LDSOFLAGS) $$(LD_O) $$(filter %.o,$$^) $(LIB$(NAME)_EXTRALIBS) - endif - $(SLIB_EXTRA_CMD) - -$(RM) $$@.objs -@@ -92,8 +92,6 @@ clean:: +@@ -96,8 +96,6 @@ clean:: install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME) $(Q)mkdir -p "$(SHLIBDIR)" $$(INSTALL) -m 755 $$< "$(SHLIBDIR)/$(SLIB_INSTALL_NAME)" Index: graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c =================================================================== RCS file: graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c diff -N graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c --- graphics/ffmpeg/patches/patch-libavcodec_libsvtav1_c 28 Jan 2026 13:55:38 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,18 +0,0 @@ -- avcodec/libsvtav1: rename aq_mode for v4.0.0 - a5d4c398b411a00ac09d8fe3b66117222323844c - -Index: libavcodec/libsvtav1.c ---- libavcodec/libsvtav1.c.orig -+++ libavcodec/libsvtav1.c -@@ -238,7 +238,11 @@ static int config_enc_params(EbSvtAv1EncConfiguration - } else if (svt_enc->qp > 0) { - param->qp = svt_enc->qp; - param->rate_control_mode = 0; -+#if SVT_AV1_CHECK_VERSION(4, 0, 0) -+ param->aq_mode = 0; -+#else - param->enable_adaptive_quantization = 0; -+

No comments:

Post a Comment