From patchwork Mon Jul 15 19:19:08 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: 47071 Return-Path: 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 96604C52D6D for ; Mon, 15 Jul 2024 19:19:14 +0000 (UTC) Received: from a27-193.smtp-out.us-west-2.amazonses.com (a27-193.smtp-out.us-west-2.amazonses.com [54.240.27.193]) by mx.groups.io with SMTP id smtpd.web10.1359.1721071146239194684 for ; Mon, 15 Jul 2024 12:19:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=rnkzp2s7ci3kogmesvov2nwn7wcc2dgx header.b=jL26blyO; dkim=pass header.i=@amazonses.com header.s=7v7vs6w47njt4pimodk5mmttbegzsi6n header.b=MOnHDahB; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.193, mailfrom: 01010190b7d59cc4-fc8ab36d-2ec6-4786-b6cd-eb1ea236091b-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=1721071148; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=oqhytTE7uWVfYMx2dDagbC7sYrPegOU2t2cTeuHydZM=; b=jL26blyO4uizJzuqP7VA+cRCv24MnO1+6rQgiHy4J9kp7KHJc6la+PEoOz55fqww NjQBmlXgLbglD2T0uWjlZg3wENU7pJEqyS5UghM9I7i5bdyVWHJnhKt/o6WV6qq+19F hiz5AOt3oXMJaIltGdeNZ5ByjXz9yOEcE8M4KLK0= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=7v7vs6w47njt4pimodk5mmttbegzsi6n; d=amazonses.com; t=1721071148; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=oqhytTE7uWVfYMx2dDagbC7sYrPegOU2t2cTeuHydZM=; b=MOnHDahBPjtb9fwLOvz9/sV1h8hlPs+8PPYCGstSFLs6mAksPQ9te4hLmtgMK29k plADaSzwULADvBaJ+YDa9VlhH3ZQYhom6q4++wLk05bQ3Ot6uYujw6vlWaJfejJSPUa Cb6xGfF9cXRKyeWeZQGk6cTltMLF4HR1sk5CVvDc= MIME-Version: 1.0 From: auh@yoctoproject.org To: Anuj Mittal Cc: openembedded-core@lists.openembedded.org Subject: [AUH] gstreamer1.0-plugins-bad: upgrading to 1.24.5 SUCCEEDED Message-ID: <01010190b7d59cc4-fc8ab36d-2ec6-4786-b6cd-eb1ea236091b-000000@us-west-2.amazonses.com> Date: Mon, 15 Jul 2024 19:19:08 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2024.07.15-54.240.27.193 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, 15 Jul 2024 19:19:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202039 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe *gstreamer1.0-plugins-bad* to *1.24.5* has Succeeded. Next steps: - apply the patch: git am 0001-gstreamer1.0-plugins-bad-upgrade-1.24.4-1.24.5.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 9214c407f8e3323c28fc517a60acb8db3aba4e71 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Mon, 15 Jul 2024 16:13:29 +0000 Subject: [PATCH] gstreamer1.0-plugins-bad: upgrade 1.24.4 -> 1.24.5 --- ...ialized-warnings-when-compiling-with.patch | 2 +- ...path_get_basename-instead-of-libc-ba.patch | 96 ------------------- ...-avoid-including-sys-poll.h-directly.patch | 2 +- ...issing-opencv-data-dir-in-yocto-buil.patch | 2 +- ....bb => gstreamer1.0-plugins-bad_1.24.5.bb} | 3 +- 5 files changed, 4 insertions(+), 101 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-uvcgadget-Use-g_path_get_basename-instead-of-libc-ba.patch rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.24.4.bb => gstreamer1.0-plugins-bad_1.24.5.bb} (97%) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch index 13a481485a..cae4a397a6 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch @@ -1,4 +1,4 @@ -From bb7f964d51de6b888b3b7a6d0c3d260fcad24008 Mon Sep 17 00:00:00 2001 +From 33eb57c18244ffab3222a3093dc4c49294a91926 Mon Sep 17 00:00:00 2001 From: Andre McCurdy Date: Tue, 26 Jan 2016 15:16:01 -0800 Subject: [PATCH] fix maybe-uninitialized warnings when compiling with -Os diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-uvcgadget-Use-g_path_get_basename-instead-of-libc-ba.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-uvcgadget-Use-g_path_get_basename-instead-of-libc-ba.patch deleted file mode 100644 index cc21435dde..0000000000 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-uvcgadget-Use-g_path_get_basename-instead-of-libc-ba.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 7c558e8ef9375aea953d1e7c854b25947c967f76 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 7 Jun 2024 23:09:54 -0700 -Subject: [PATCH] uvcgadget: Use g_path_get_basename instead of libc basename - -Musl does not implement GNU basename and have fixed a bug where the -prototype was leaked into string.h [1], which resullts in compile errors -with GCC-14 and Clang-17+ - -| sys/uvcgadget/configfs.c:262:21: error: call to undeclared function 'basename' -ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -| 262 | const char *v = basename (globbuf.gl_pathv[i]); -| | ^ - -Use glib function instead makes it portable across musl and glibc on -linux - -[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7a - -Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gstreamer/merge_requests/7006] -Signed-off-by: Khem Raj ---- - .../gst-plugins-bad/sys/uvcgadget/configfs.c | 18 ++++++++++++------ - 1 file changed, 12 insertions(+), 6 deletions(-) - ---- a/sys/uvcgadget/configfs.c -+++ b/sys/uvcgadget/configfs.c -@@ -7,7 +7,7 @@ - * Contact: Kieran Bingham - */ - --/* To provide basename and asprintf from the GNU library. */ -+/* To provide asprintf from the GNU library. */ - #define _GNU_SOURCE - - #include -@@ -259,9 +259,10 @@ udc_find_video_device (const char *udc, - } - - if (i < globbuf.gl_pathc) { -- const char *v = basename (globbuf.gl_pathv[i]); -+ gchar *v = g_path_get_basename (globbuf.gl_pathv[i]); - - video = path_join ("/dev", v); -+ g_free (v); - } - - globfree (&globbuf); -@@ -894,6 +895,7 @@ configfs_parse_uvc_function (const char - { - struct uvc_function_config *fc; - char *fpath; -+ gchar *bname; - int ret = 0; - - fc = malloc (sizeof *fc); -@@ -923,11 +925,10 @@ configfs_parse_uvc_function (const char - * Parse the function configuration. Remove the gadget name qualifier - * from the function name, if any. - */ -- if (function) -- function = basename (function); -+ bname = g_path_get_basename (function); - - fc->udc = attribute_read_str (fpath, "../../UDC"); -- fc->video = udc_find_video_device (fc->udc, function); -+ fc->video = udc_find_video_device (fc->udc, bname); - if (!fc->video) { - ret = -ENODEV; - goto done; -@@ -942,6 +943,7 @@ done: - } - - free (fpath); -+ g_free (bname); - - return fc; - } -@@ -979,12 +981,16 @@ configfs_parse_uvc_videodev (int fd, con - char *function = NULL; - char rpath[PATH_MAX]; - char *res; -+ gchar *bname; - - res = realpath (video, rpath); - if (!res) - return NULL; - -- function = video_find_config_name (basename (rpath)); -+ bname = g_path_get_basename (rpath); -+ function = video_find_config_name (bname); -+ g_free (bname); -+ - if (!function) - return NULL; - diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch index 298337cb0a..f7130098b5 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch @@ -1,4 +1,4 @@ -From 25efc5b2d22aed4527470ef93970664b210bf8c5 Mon Sep 17 00:00:00 2001 +From 0a7f1010d1f727dac6f67a0cd123f22625a2946f Mon Sep 17 00:00:00 2001 From: Andre McCurdy Date: Wed, 3 Feb 2016 18:05:41 -0800 Subject: [PATCH] avoid including directly diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch index 965053348f..e7907b90ad 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch @@ -1,4 +1,4 @@ -From 39fbcdfc5383bdae95293a3109c847f64d193b54 Mon Sep 17 00:00:00 2001 +From 4928b7623e52edd315e036d713af461c06ed7c2c Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Mon, 27 Jan 2020 10:22:35 +0000 Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.4.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.5.bb similarity index 97% rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.4.bb rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.5.bb index c7fb9dc91a..e549728c20 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.4.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.5.bb @@ -9,9 +9,8 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ file://0002-avoid-including-sys-poll.h-directly.patch \ file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ - file://0001-uvcgadget-Use-g_path_get_basename-instead-of-libc-ba.patch \ " -SRC_URI[sha256sum] = "260bd0a463b4faff9a42f41e5e028f787f10a92b779af8959aec64586f546bd3" +SRC_URI[sha256sum] = "3029bfd7265314d609dc8eab503675a344ea46e8274fd73ab34566c8442dc847" S = "${WORKDIR}/gst-plugins-bad-${PV}"