From patchwork Mon Nov 18 21:17:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 52713 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E590D60052 for ; Mon, 18 Nov 2024 21:18:04 +0000 (UTC) Received: from a27-192.smtp-out.us-west-2.amazonses.com (a27-192.smtp-out.us-west-2.amazonses.com [54.240.27.192]) by mx.groups.io with SMTP id smtpd.web10.4887.1731964679134906313 for ; Mon, 18 Nov 2024 13:17:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=rnkzp2s7ci3kogmesvov2nwn7wcc2dgx header.b=C2rBQZii; dkim=pass header.i=@amazonses.com header.s=7v7vs6w47njt4pimodk5mmttbegzsi6n header.b=EySxoWsB; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.192, mailfrom: 010101934123b1a5-0280d196-9007-4270-9425-e7a1d2721d6d-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=rnkzp2s7ci3kogmesvov2nwn7wcc2dgx; d=yoctoproject.org; t=1731964678; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=ODBYB+xxSyWc45Q40NFJabSwupeBusUkefON+ZWcYnE=; b=C2rBQZii4q1+P3dF7TbBxMWeJijwnedXP6m3QLYxTUL2S5APyxuDMko1OwWhgJnh dblIizO/5g7LujrxpKzc8u9f0aj1N43ntsCkcVcMb546mXWoL8R5nN6u/+2jcZeup5u STSsIxuwdrnEhzMNJ6CckuRHrvT3V7Eexk7N3jp8= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=7v7vs6w47njt4pimodk5mmttbegzsi6n; d=amazonses.com; t=1731964678; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=ODBYB+xxSyWc45Q40NFJabSwupeBusUkefON+ZWcYnE=; b=EySxoWsB8MOHhQvac+4PajpxdpCpBCyyF2HEkZEiW0/X4i1NiVLXsELTHM5m4MOz eFSfUKhkmVHI+mb1JV6TUwSdGJyOoP9kHbFWk7tAhKHMahVRMc7xblqXJp+U+T43Aaw xaYU8Gojexy5BZCnvV4JAKiWM3NnBhXYoBfut6Cs= MIME-Version: 1.0 From: auh@yoctoproject.org To: Alexander Kanavin Cc: openembedded-core@lists.openembedded.org Subject: [AUH] ffmpeg: upgrading to 7.1 SUCCEEDED Message-ID: <010101934123b1a5-0280d196-9007-4270-9425-e7a1d2721d6d-000000@us-west-2.amazonses.com> Date: Mon, 18 Nov 2024 21:17:58 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2024.11.18-54.240.27.192 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 18 Nov 2024 21:18:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207347 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *ffmpeg* to *7.1* has Succeeded. Next steps: - apply the patch: git am 0001-ffmpeg-upgrade-7.0.2-7.1.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 807a087811cc604cfeff82963b40e9fcab5e3b9a Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Mon, 18 Nov 2024 06:12:44 +0000 Subject: [PATCH] ffmpeg: upgrade 7.0.2 -> 7.1 --- ...figure-improve-check-for-POSIX-ioctl.patch | 36 +++---------- ...lpdsp_armv5te-fix-label-format-to-wo.patch | 52 ------------------- .../ffmpeg/{ffmpeg_7.0.2.bb => ffmpeg_7.1.bb} | 10 ++-- 3 files changed, 11 insertions(+), 87 deletions(-) delete mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch rename meta/recipes-multimedia/ffmpeg/{ffmpeg_7.0.2.bb => ffmpeg_7.1.bb} (96%) diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-configure-improve-check-for-POSIX-ioctl.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-configure-improve-check-for-POSIX-ioctl.patch index b7c8cb2135..0c2bdeaa4d 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-configure-improve-check-for-POSIX-ioctl.patch +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-configure-improve-check-for-POSIX-ioctl.patch @@ -1,4 +1,4 @@ -From 82b5617b8197246cf5b2af98a28f2aa37b8c8aa1 Mon Sep 17 00:00:00 2001 +From f5615ea7c560046a4f1781462aaa6df0f8ef64df Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Thu, 29 Aug 2024 15:40:00 +0200 Subject: [PATCH] configure: improve check for POSIX ioctl @@ -9,40 +9,18 @@ detect the POSIX ioctl signature at configure time. Upstream-Status: Backport [https://github.com/FFmpeg/FFmpeg/commit/00b64fca55a3a009c9d0e391c85f4fd3291e5d12] Signed-off-by: Khem Raj --- - configure | 2 ++ - libavdevice/v4l2.c | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) + configure | 1 + + 1 file changed, 1 insertion(+) diff --git a/configure b/configure -index 8642513..d70b0bb 100755 +index d77a55b..46d8e09 100755 --- a/configure +++ b/configure -@@ -2517,6 +2517,7 @@ HAVE_LIST=" - opencl_videotoolbox - perl - pod2man -+ posix_ioctl - texi2html - xmllint - zlib_gzip -@@ -7131,6 +7132,7 @@ perl -v > /dev/null 2>&1 && enable perl || disable perl +@@ -7177,6 +7177,7 @@ perl -v > /dev/null 2>&1 && enable perl || disable perl pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man rsync --help 2> /dev/null | grep -q 'contimeout' && enable rsync_contimeout || disable rsync_contimeout xmllint --version > /dev/null 2>&1 && enable xmllint || disable xmllint +test_code cc sys/ioctl.h "int ioctl(int, int, ...)" && enable posix_ioctl - # check V4L2 codecs available in the API - if enabled v4l2_m2m; then -diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c -index 50ac47e..ee01711 100644 ---- a/libavdevice/v4l2.c -+++ b/libavdevice/v4l2.c -@@ -107,7 +107,7 @@ struct video_data { - int (*open_f)(const char *file, int oflag, ...); - int (*close_f)(int fd); - int (*dup_f)(int fd); --#if defined(__sun) || defined(__BIONIC__) || defined(__musl__) /* POSIX-like */ -+#if HAVE_POSIX_IOCTL - int (*ioctl_f)(int fd, int request, ...); - #else - int (*ioctl_f)(int fd, unsigned long int request, ...); + check_headers linux/fb.h + check_headers linux/videodev2.h diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch deleted file mode 100644 index b7cd048165..0000000000 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch +++ /dev/null @@ -1,52 +0,0 @@ -From e52fc2c11c3935085ccf1a5707ce50223ad62b58 Mon Sep 17 00:00:00 2001 -From: Ross Burton -Date: Thu, 8 Aug 2024 18:04:17 +0100 -Subject: [PATCH] libavcodec/arm/mlpdsp_armv5te: fix label format to work with - binutils 2.43 - -binutils 2.43 has stricter validation for labels[1] and results in errors -when building ffmpeg for armv5: - -src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0' - -Remove the leading zero in the "01" label to resolve this error. - -[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=226749d5a6ff0d5c607d6428d6c81e1e7e7a994b - -Upstream-Status: Submitted [https://ffmpeg.org//pipermail/ffmpeg-devel/2024-August/332149.html] -Signed-off-by: Ross Burton ---- - libavcodec/arm/mlpdsp_armv5te.S | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/libavcodec/arm/mlpdsp_armv5te.S b/libavcodec/arm/mlpdsp_armv5te.S -index 4f9aa48..d315686 100644 ---- a/libavcodec/arm/mlpdsp_armv5te.S -+++ b/libavcodec/arm/mlpdsp_armv5te.S -@@ -229,7 +229,7 @@ A .endif - .endif - - // Begin loop --01: -+1: - .if TOTAL_TAPS == 0 - // Things simplify a lot in this case - // In fact this could be pipelined further if it's worth it... -@@ -241,7 +241,7 @@ A .endif - str ST0, [PST, #-4]! - str ST0, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)] - str ST0, [PSAMP], #4 * MAX_CHANNELS -- bne 01b -+ bne 1b - .else - .if \fir_taps & 1 - .set LOAD_REG, 1 -@@ -333,7 +333,7 @@ T orr AC0, AC0, AC1 - str ST3, [PST, #-4]! - str ST2, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)] - str ST3, [PSAMP], #4 * MAX_CHANNELS -- bne 01b -+ bne 1b - .endif - b 99f - diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_7.1.bb similarity index 96% rename from meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb rename to meta/recipes-multimedia/ffmpeg/ffmpeg_7.1.bb index db0aa60826..0aa7f36a31 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_7.1.bb @@ -22,13 +22,11 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \ file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02" -SRC_URI = " \ - https://www.ffmpeg.org/releases/${BP}.tar.xz \ - file://0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch \ - file://0001-configure-improve-check-for-POSIX-ioctl.patch \ -" +SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ + file://0001-configure-improve-check-for-POSIX-ioctl.patch \ + " -SRC_URI[sha256sum] = "8646515b638a3ad303e23af6a3587734447cb8fc0a0c064ecdb8e95c4fd8b389" +SRC_URI[sha256sum] = "40973d44970dbc83ef302b0609f2e74982be2d85916dd2ee7472d30678a7abe6" # https://nvd.nist.gov/vuln/detail/CVE-2023-39018 # https://github.com/bramp/ffmpeg-cli-wrapper/issues/291