gst-devtools: upgrade 1.24.12 -> 1.26.0
PATCH v5 1/10 gst-devtools: upgrade 1.24.12 -> 1.26.0
Disable new meson option dots_viewer
---
.../0001-connect-has-a-different-signature-on-musl.patch | 2 +-
.../{gst-devtools_1.24.12.bb => gst-devtools_1.26.0.bb} | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.24.12.bb => gst-devtools_1.26.0.bb} (93%)meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch +1 -1
@@ -1,4 +1,4 @@ -From 67809420230cd4fcc63069f78efdc90c7b4c4ee1 Mon Sep 17 00:00:00 2001 +From 9ed608c901955b0906aac102d5d7ab06accee60e Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sun, 9 Sep 2018 17:38:10 -0700 Subject: [PATCH] connect has a different signature on musl
meta/recipes-multimedia/gstreamer/gst-devtools_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gst-devtools_1.24.12.bb +2 -1
@@ -12,7 +12,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV} file://0001-connect-has-a-different-signature-on-musl.patch \ " -SRC_URI[sha256sum] = "4ef3dd12e5827068d6db7ad01876d1216a80717116c24a0d5b3b57fd7e3c3478" +SRC_URI[sha256sum] = "eff33d7dc292bb074a2788ea887b6283398ffdefafa49fb7d08efe6658a65648" DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" RRECOMMENDS:${PN} = "git"
@@ -37,6 +37,7 @@ EXTRA_OEMESON += " \ -Ddoc=disabled \ -Ddebug_viewer=disabled \ -Dtests=disabled \ + -Ddots_viewer=disabled \ -Dvalidate=enabled \ ${@gettext_oemeson(d)} \ "
Signature · 1 line
2.43.0
PATCH v5 2/10 gstreamer1.0: upgrade 1.24.12 -> 1.26.0
- add backport patch to fix undefined reference to `__atomic_fetch_add_8' issue
This patch is part of upstream commit, only pick subprojects/gstreamer/meson.build part that affect us
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8637/commits?commit_id=f2b5c0b6020b50f5173e449b45a6f7a7be31c48f
---
.../0001-Fix-atomic-64-issue-on-armv5.patch | 36 +++++++++++++++++++
...spect-the-idententaion-used-in-meson.patch | 6 ++--
...ts-add-support-for-install-the-tests.patch | 16 ++++-----
...s-use-a-dictionaries-for-environment.patch | 6 ++--
...er-script-to-run-the-installed_tests.patch | 6 ++--
...r1.0_1.24.12.bb => gstreamer1.0_1.26.0.bb} | 3 +-
6 files changed, 55 insertions(+), 18 deletions(-)
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.24.12.bb => gstreamer1.0_1.26.0.bb} (95%)meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 459afbb556432eb417bff5a33719efd596ef7502 Mon Sep 17 00:00:00 2001 +From: Lei Maohui <[email protected]> +Date: Wed, 2 Apr 2025 08:16:51 +0000 +Subject: [PATCH] Fix atomic 64 issue on armv5 + +| /mnt/test/build_auh/tmp/work/armv5e-poky-linux-gnueabi/gstreamer1.0/1.26.0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/14.2.0/ld: gst/libgstreamer-1.0.so.0.2600.0.p/gstbuffer.c.o: in function `gst_atomic_int64_inc': +| /usr/src/debug/gstreamer1.0/1.26.0/gst/gstbuffer.c:180:(.text+0x38c8): undefined reference to `__atomic_fetch_add_8' + +Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8637/commits?commit_id=f2b5c0b6020b50f5173e449b45a6f7a7be31c48f] + +Signed-off-by: Lei Maohui <[email protected]> +--- + meson.build | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/meson.build b/meson.build +index f4c146d..9c24596 100644 +--- a/meson.build ++++ b/meson.build +@@ -599,6 +599,13 @@ if nsl_lib.found() + network_deps += nsl_lib + endif + ++# Check for libatomic for use of C11 atomics: some architectures need ++# to link explicitly to this library. ++# TODO: Once meson 1.7 is in use, this can be updated to ++# dependency('atomic') ++atomic_dep = cc.find_library('atomic', required: false) ++platform_deps += atomic_dep ++ + gir = find_program('g-ir-scanner', required : get_option('introspection')) + gnome = import('gnome') + +-- +2.43.0 +
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch +3 -3
@@ -1,4 +1,4 @@ -From a9d99eea162dfb6dcd5cb90adb7dd9261ec676bc Mon Sep 17 00:00:00 2001 +From cb49c5433f343aa9ae6c0656d2e835365330922b Mon Sep 17 00:00:00 2001 From: Jose Quaresma <[email protected]> Date: Sun, 11 Apr 2021 19:48:13 +0100 Subject: [PATCH] tests: respect the idententaion used in meson
@@ -11,10 +11,10 @@ Signed-off-by: Jose Quaresma <[email protected]> 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/check/meson.build b/tests/check/meson.build -index 7d68212..bf0021f 100644 +index e8419fc..4cc4618 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build -@@ -146,11 +146,11 @@ foreach t : core_tests +@@ -149,11 +149,11 @@ foreach t : core_tests if not skip_test exe = executable(test_name, fname,
meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch +8 -8
@@ -1,4 +1,4 @@ -From f0076c5801bd847c464e31ab11fdb06f1ad0fccd Mon Sep 17 00:00:00 2001 +From d9ad7d4fd596ece5f7a2ce25ed583b5c302984cf Mon Sep 17 00:00:00 2001 From: Jose Quaresma <[email protected]> Date: Sun, 11 Apr 2021 19:48:13 +0100 Subject: [PATCH] tests: add support for install the tests
@@ -19,10 +19,10 @@ Signed-off-by: Jose Quaresma <[email protected]> create mode 100644 tests/check/template.test.in diff --git a/meson.build b/meson.build -index dc9dbe2..55e85b3 100644 +index f1be50c..f4c146d 100644 --- a/meson.build +++ b/meson.build -@@ -645,6 +645,10 @@ if bashcomp_dep.found() +@@ -657,6 +657,10 @@ if bashcomp_dep.found() endif endif
@@ -34,7 +34,7 @@ index dc9dbe2..55e85b3 100644 pkgconfig = import('pkgconfig') diff --git a/meson_options.txt b/meson_options.txt -index 340fb58..5b87f68 100644 +index 39255cf..78af552 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -16,6 +16,7 @@ option('poisoning', type : 'boolean', value : false, description : 'Enable poiso
@@ -46,10 +46,10 @@ index 340fb58..5b87f68 100644 # Feature options option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries') diff --git a/tests/check/meson.build b/tests/check/meson.build -index bf0021f..9a8c42c 100644 +index 4cc4618..f290e2e 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build -@@ -125,10 +125,16 @@ test_defines = [ +@@ -128,10 +128,16 @@ test_defines = [ '-UG_DISABLE_ASSERT', '-UG_DISABLE_CAST_CHECKS', '-DGST_CHECK_TEST_ENVIRONMENT_BEACON="GST_STATE_IGNORE_ELEMENTS"',
@@ -67,7 +67,7 @@ index bf0021f..9a8c42c 100644 # sanity checking if get_option('check').disabled() if get_option('tests').enabled() -@@ -151,6 +157,8 @@ foreach t : core_tests +@@ -154,6 +160,8 @@ foreach t : core_tests include_directories : [configinc], link_with : link_with_libs, dependencies : gst_deps + test_deps,
@@ -76,7 +76,7 @@ index bf0021f..9a8c42c 100644 ) env = environment() -@@ -162,6 +170,18 @@ foreach t : core_tests +@@ -165,6 +173,18 @@ foreach t : core_tests env.set('GST_PLUGIN_SCANNER_1_0', gst_scanner_dir + '/gst-plugin-scanner') env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer')
meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch +3 -3
@@ -1,4 +1,4 @@ -From f9544b0e2d35bf9f9a89cff42bb741bc16e37cc8 Mon Sep 17 00:00:00 2001 +From d24110809da4588354ad3df4ae99556e8c62838a Mon Sep 17 00:00:00 2001 From: Jose Quaresma <[email protected]> Date: Sat, 24 Apr 2021 10:34:47 +0100 Subject: [PATCH] tests: use a dictionaries for environment
@@ -14,10 +14,10 @@ Signed-off-by: Jose Quaresma <[email protected]> 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/tests/check/meson.build b/tests/check/meson.build -index 9a8c42c..6bb346a 100644 +index f290e2e..a3ffcb6 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build -@@ -161,14 +161,19 @@ foreach t : core_tests +@@ -164,14 +164,19 @@ foreach t : core_tests install: installed_tests_enabled, )
meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch +3 -3
@@ -1,4 +1,4 @@ -From 39764bd2b9f9da4a07079f76a2f68baf40c143b9 Mon Sep 17 00:00:00 2001 +From 3b9ae399b57cfb6e332fac6a90997a3abd33c819 Mon Sep 17 00:00:00 2001 From: Jose Quaresma <[email protected]> Date: Sun, 2 May 2021 01:58:01 +0100 Subject: [PATCH] tests: add helper script to run the installed_tests
@@ -18,10 +18,10 @@ Signed-off-by: Jose Quaresma <[email protected]> create mode 100755 tests/check/template.sh.in diff --git a/tests/check/meson.build b/tests/check/meson.build -index 6bb346a..fe57935 100644 +index a3ffcb6..b907dcf 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build -@@ -185,6 +185,23 @@ foreach t : core_tests +@@ -188,6 +188,23 @@ foreach t : core_tests install_dir: installed_tests_metadir, configuration: test_conf )
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.12.bb +2 -1
@@ -21,8 +21,9 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.x file://0002-tests-add-support-for-install-the-tests.patch \ file://0003-tests-use-a-dictionaries-for-environment.patch \ file://0004-tests-add-helper-script-to-run-the-installed_tests.patch \ + file://0001-Fix-atomic-64-issue-on-armv5.patch \ " -SRC_URI[sha256sum] = "b3522d1b4fe174fff3b3c7f0603493e2367bd1c43f5804df15b634bd22b1036f" +SRC_URI[sha256sum] = "1b2ee4028010c25b776effa7c396c7e3e1861b60b9417e416f4914abcdff279f" PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ check \
Signature · 1 line
2.43.0
PATCH v5 3/10 gstreamer1.0-libav: upgrade 1.24.12 -> 1.26.0
In reply to Lei Maohui---
...treamer1.0-libav_1.24.12.bb => gstreamer1.0-libav_1.26.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.24.12.bb => gstreamer1.0-libav_1.26.0.bb} (91%)meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.12.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ " SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz" -SRC_URI[sha256sum] = "ef72c1c70a17b3c0bb283d16d09aba496d3401c927dcf5392a8a7866d9336379" +SRC_URI[sha256sum] = "707a8b687ff5fddcee5b02415e2ec9b71b4ac44d0b7aec3b477364ceecbf1ecf" S = "${WORKDIR}/gst-libav-${PV}"
Signature · 1 line
2.43.0
PATCH v5 4/10 gstreamer1.0-vaapi: upgrade 1.24.12 -> 1.26.0
In reply to Lei Maohui---
...treamer1.0-vaapi_1.24.12.bb => gstreamer1.0-vaapi_1.26.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.24.12.bb => gstreamer1.0-vaapi_1.26.0.bb} (95%)meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.24.12.bb +1 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz" -SRC_URI[sha256sum] = "39ab3d2a381c99a9e10f46182ed57c6baaeaa8be810bd2f84f162c8be299753c" +SRC_URI[sha256sum] = "573931d455f5a96f63db7c8d35d51322b8d287816e8c6a77d84cfbb9fa1351f1" S = "${WORKDIR}/${REALPN}-${PV}" DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
Signature · 1 line
2.43.0
PATCH v5 5/10 gtreamer1.0-rtsp-server: upgrade 1.24.12 -> 1.26.0
In reply to Lei Maohui---
...tsp-server_1.24.12.bb => gstreamer1.0-rtsp-server_1.26.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.24.12.bb => gstreamer1.0-rtsp-server_1.26.0.bb} (90%)meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.24.12.bb +1 -1
@@ -10,7 +10,7 @@ PNREAL = "gst-rtsp-server" SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" -SRC_URI[sha256sum] = "a335f73687d2efe22db94348c6893c73b53a2c6bc55ee7a590028ba196ddc623" +SRC_URI[sha256sum] = "e983c039496e3f75e39696554ce74db4120e2465de17aa1cc37160568e9b40bc" S = "${WORKDIR}/${PNREAL}-${PV}"
Signature · 1 line
2.43.0
PATCH v5 6/10 gstreamer1.0-plugins-base: upgrade 1.24.12 -> 1.26.0
In reply to Lei Maohui- add backport patch to fix undefined reference to `__atomic_fetch_add_8' issue This patch is part of upstream commit
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8637/commits?commit_id=f2b5c0b6020b50f5173e449b45a6f7a7be31c48f
---
...et-caps-from-src-pad-when-query-caps.patch | 4 +-
...gins-base-Fix-atomic-64-issue-on-arm.patch | 52 +++++++++++++++++++
...parse-enhance-SSA-text-lines-parsing.patch | 2 +-
...iv-fb-Make-sure-config.h-is-included.patch | 2 +-
...bb => gstreamer1.0-plugins-base_1.26.0.bb} | 3 +-
5 files changed, 58 insertions(+), 5 deletions(-)
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer1.0-plugins-base-Fix-atomic-64-issue-on-arm.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.24.12.bb => gstreamer1.0-plugins-base_1.26.0.bb} (96%)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch +2 -2
@@ -1,4 +1,4 @@ -From e0478a9b3bb1b49c34aaf076152ed8e49cf909e0 Mon Sep 17 00:00:00 2001 +From bd1436f0027bb09cdcf90386910a497422d9a871 Mon Sep 17 00:00:00 2001 From: zhouming <[email protected]> Date: Wed, 14 May 2014 10:16:20 +0800 Subject: [PATCH] ENGR00312515: get caps from src pad when query caps
@@ -16,7 +16,7 @@ Signed-off-by: zhouming <[email protected]> diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c old mode 100644 new mode 100755 -index ef0ff90..53f05c8 +index 975fe83..df82840 --- a/gst-libs/gst/tag/gsttagdemux.c +++ b/gst-libs/gst/tag/gsttagdemux.c @@ -1796,6 +1796,19 @@ gst_tag_demux_pad_query (GstPad * pad, GstObject * parent, GstQuery * query)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer1.0-plugins-base-Fix-atomic-64-issue-on-arm.patch new file +52 -0
52 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch +1 -1
@@ -1,4 +1,4 @@ -From 1b9887421de593854632571327b4918b880900c6 Mon Sep 17 00:00:00 2001 +From 1cc876662b7707eb5a2f668654f7921b5642e108 Mon Sep 17 00:00:00 2001 From: Mingke Wang <[email protected]> Date: Thu, 19 Mar 2015 14:17:10 +0800 Subject: [PATCH] ssaparse: enhance SSA text lines parsing.
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch +1 -1
@@ -1,4 +1,4 @@ -From 22a0e3a5288486991a15c48fdcb730eaa6dc08e5 Mon Sep 17 00:00:00 2001 +From c0c6944eca0c497477aa9f2cec2c83c4ea7a70e5 Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani <[email protected]> Date: Tue, 21 May 2019 14:01:11 +0200 Subject: [PATCH] viv-fb: Make sure config.h is included
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.12.bb +2 -1
@@ -10,8 +10,9 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-ba file://0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch \ file://0003-viv-fb-Make-sure-config.h-is-included.patch \ file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch \ + file://0001-gstreamer1.0-plugins-base-Fix-atomic-64-issue-on-arm.patch \ " -SRC_URI[sha256sum] = "f6efbaa8fea8d00bc380bccca76a530527b1f083e8523eafb3e9b1e18bc653d3" +SRC_URI[sha256sum] = "e23189fbed2ec486690382d1055c19eeaf5aae3e95e2576fc4c884d96a90e69e" S = "${WORKDIR}/gst-plugins-base-${PV}"
Signature · 1 line
2.43.0
PATCH v5 7/10 gstreamer1.0-plugins-good: upgrade 1.24.12 -> 1.26.0
In reply to Lei Maohui---
...gins-good_1.24.12.bb => gstreamer1.0-plugins-good_1.26.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.24.12.bb => gstreamer1.0-plugins-good_1.26.0.bb} (97%)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.12.bb +1 -1
@@ -6,7 +6,7 @@ BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz" -SRC_URI[sha256sum] = "d0e66e2f935d1575f6adbef7d0a2b3faba7360344383c51bf0233b39e0489a64" +SRC_URI[sha256sum] = "9e18f139ef69ad0867c2dfbb8fe1d1736d76df11aac83f60e8d3adb1e2eaf03b" S = "${WORKDIR}/gst-plugins-good-${PV}"
Signature · 1 line
2.43.0
PATCH v5 8/10 gstreamer1.0-plugins-ugly: upgrade 1.24.12 -> 1.26.0
In reply to Lei Maohui---
...gins-ugly_1.24.12.bb => gstreamer1.0-plugins-ugly_1.26.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.24.12.bb => gstreamer1.0-plugins-ugly_1.26.0.bb} (94%)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.12.bb +1 -1
@@ -15,7 +15,7 @@ SRC_URI = " \ https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ " -SRC_URI[sha256sum] = "19ed6eef4ea1a742234fb35e2cdb107168595a4dd409a9fac0b7a16543eee78b" +SRC_URI[sha256sum] = "a86b51c8454a813120848c803421f327d8c07aabcae461e0597cc49398c0fcde" S = "${WORKDIR}/gst-plugins-ugly-${PV}"
Signature · 1 line
2.43.0
PATCH v5 9/10 gstreamer1.0-python: upgrade 1.24.12 -> 1.26.0
In reply to Lei Maohuigstreamer1.0-python adds depend on gstreamer-analytics-1.0 in gstbad now:
|../../../../../../workspace/sources/gstreamer1.0-python/meson.build:23:13: ERROR: Dependency "gstreamer-analytics-1.0" not found, tried pkgconfig
Source code:
| $ vi workspace/sources/gstreamer1.0-python/meson.build
| 23 gstbad_dep = dependency('gstreamer-analytics-1.0', version :gst_req,
| 24 fallback : [])---
...mer1.0-python_1.24.12.bb => gstreamer1.0-python_1.26.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.24.12.bb => gstreamer1.0-python_1.26.0.bb} (88%)meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.12.bb +2 -2
@@ -8,9 +8,9 @@ LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" -SRC_URI[sha256sum] = "d679e2ca3e655a7328627c4670c324fc22f588d2cb8ecd2fa7a6a42df51132cc" +SRC_URI[sha256sum] = "e5046a05d77abb15671ad01cd1908d17d62e5a06f5d7841be4342ade2a3fb8db" -DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject gstreamer1.0-plugins-bad" RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" PNREAL = "gst-python"
Signature · 1 line
2.43.0
PATCH v5 10/10 gstreamer1.0-plugins-bad: upgrade 1.24.12 -> 1.26.0
In reply to Lei Maohui- enable analytics since gstreamer1.0-python depend on it now
- explicitly diable options that new added in meson_options.txt
- lcevcdecoder
- lcevcencoder
- tensordecoders
- nvcomp
- nvdswrapper
- svtjpegxs
- webview2
- aja
- cuda-nvmm
- d3d12
- add backport patch to fix undefined reference to `__atomic_fetch_add_8' issue This patch is part of upstream commit
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8637/commits?commit_id=f2b5c0b6020b50f5173e449b45a6f7a7be31c48f
---
.../0001-backport-libatomic-issue-patch.patch | 41 +++++++++++++++++++
...issing-opencv-data-dir-in-yocto-buil.patch | 20 ++++-----
....bb => gstreamer1.0-plugins-bad_1.26.0.bb} | 16 +++++++-
3 files changed, 65 insertions(+), 12 deletions(-)
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-backport-libatomic-issue-patch.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.24.12.bb => gstreamer1.0-plugins-bad_1.26.0.bb} (93%)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-backport-libatomic-issue-patch.patch new file +41 -0
@@ -0,0 +1,41 @@ +From f8c802aa778804f02b30a191cd3bcce285023076 Mon Sep 17 00:00:00 2001 +From: Lei Maohui <[email protected]> +Date: Wed, 2 Apr 2025 09:47:41 +0000 +Subject: [PATCH] backport libatomic issue patch + +Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8637/commits?commit_id=f2b5c0b6020b50f5173e449b45a6f7a7be31c48f] + +Signed-off-by: Lei Maohui <[email protected]> +--- + gst-libs/gst/cuda/meson.build | 15 ++++++--------- + 1 file changed, 6 insertions(+), 9 deletions(-) + +diff --git a/gst-libs/gst/cuda/meson.build b/gst-libs/gst/cuda/meson.build +index 3a25244..50ae027 100644 +--- a/gst-libs/gst/cuda/meson.build ++++ b/gst-libs/gst/cuda/meson.build +@@ -48,15 +48,12 @@ if host_system not in ['windows', 'linux'] + subdir_done() + endif + +-# Linux ARM would need -latomic for std::atomic<int64_t> +-if host_system == 'linux' and host_machine.cpu_family() in ['aarch64', 'arm'] +- libatomic_dep = cxx.find_library('atomic', required: get_option('cuda-nvmm')) +- if not libatomic_dep.found() +- subdir_done() +- endif +- +- gstcuda_platform_dep += [libatomic_dep] +-endif ++# Check for libatomic for use of C11 atomics: some architectures need ++# to link explicitly to this library. ++# TODO: Once meson 1.7 is in use, this can be updated to ++# dependency('atomic') ++atomic_dep = cxx.find_library('atomic', required: false) ++gstcuda_platform_dep += [atomic_dep] + + cuda_win32_headers = [ + 'initguid.h', +-- +2.43.0 +
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch +10 -10
@@ -1,4 +1,4 @@ -From bd389203124592cfd91fb020ea05a5e4ad1c1394 Mon Sep 17 00:00:00 2001 +From 11a08e3f3135b649b68714c77670c37559f3a33c Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin <[email protected]> Date: Mon, 27 Jan 2020 10:22:35 +0000 Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build
@@ -17,16 +17,16 @@ Signed-off-by: Jose Quaresma <[email protected]> 1 file changed, 3 insertions(+) diff --git a/gst-libs/gst/opencv/meson.build b/gst-libs/gst/opencv/meson.build -index 1d337f1..f47939a 100644 +index 64e913e..42a0958 100644 --- a/gst-libs/gst/opencv/meson.build +++ b/gst-libs/gst/opencv/meson.build -@@ -52,6 +52,9 @@ if opencv_found - # /usr/include/opencv4/opencv2/flann/logger.h:83:36: error: format string is not a string literal [-Werror,-Wformat-nonliteral] - gstopencv_cargs += cxx.get_supported_arguments(['-Wno-missing-include-dirs', '-Wno-format-nonliteral']) +@@ -61,6 +61,9 @@ gstopencv_cargs += ['-DOPENCV_PREFIX="' + opencv_prefix + '"'] + # /usr/include/opencv4/opencv2/flann/logger.h:83:36: error: format string is not a string literal [-Werror,-Wformat-nonliteral] + gstopencv_cargs += cxx.get_supported_arguments(['-Wno-missing-include-dirs', '-Wno-format-nonliteral']) -+ pkgconf_sysroot = run_command(python3, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip() -+ opencv_prefix = pkgconf_sysroot + opencv_prefix ++pkgconf_sysroot = run_command(python3, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip() ++opencv_prefix = pkgconf_sysroot + opencv_prefix + - # Check the data dir used by opencv for its xml data files - # Use prefix from pkg-config to be compatible with cross-compilation - r = run_command('test', '-d', opencv_prefix + '/share/opencv', check: false) + # Check the data dir used by opencv for its xml data files + # Use prefix from pkg-config to be compatible with cross-compilation + fsmod = import('fs')
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.12.bb +14 -2
@@ -9,8 +9,9 @@ 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-backport-libatomic-issue-patch.patch \ " -SRC_URI[sha256sum] = "3d386af3d1dbd1a06c74a6251250c269b481e703f0e3255ba89ef6c1e063afea" +SRC_URI[sha256sum] = "f8287a84c5f66368a5a50da5f969994a02c47f20220ffe1ca3154193e65af216" S = "${WORKDIR}/gst-plugins-bad-${PV}"
@@ -28,10 +29,11 @@ PACKAGECONFIG ??= " \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \ bz2 closedcaption curl dash dtls hls openssl sbc smoothstreaming \ - sndfile ttml uvch264 webp \ + sndfile ttml uvch264 webp analytics \ ${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'rsvg', d)} \ " +PACKAGECONFIG[analytics] = "-Danalyticsoverlay=enabled,-Danalyticsoverlay=disabled," PACKAGECONFIG[aom] = "-Daom=enabled,-Daom=disabled,aom" PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass" PACKAGECONFIG[avtp] = "-Davtp=enabled,-Davtp=disabled,libavtp"
@@ -152,6 +154,16 @@ EXTRA_OEMESON += " \ -Dwinscreencap=disabled \ -Dwpe=disabled \ -Dzxing=disabled \ + -Dlcevcdecoder=disabled \ + -Dlcevcencoder=disabled \ + -Dtensordecoders=disabled \ + -Dnvcomp=disabled \ + -Dnvdswrapper=disabled \ + -Dsvtjpegxs=disabled \ + -Dwebview2=disabled \ + -Daja=disabled \ + -Dcuda-nvmm=disabled \ + -Dd3d12=disabled \ " export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}"
Signature · 1 line
2.43.0