gst-devtools: upgrade 1.24.12 -> 1.26.0
PATCH v4 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 v4 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
Re: [OE-core] [PATCH v4 02/10] gstreamer1.0: upgrade 1.24.12 -> 1.26.0
Lei Maohui <[email protected]> escreveu (quarta, 2/04/2025 à(s) 10:08):
Quoted 43 lines
- 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 usSigned-off-by Lei Maohui <[email protected]>--- .../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%)
diff --git
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patchb/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patchnew file mode 100644
index 0000000000..19a09f6829
---/dev/null
+++b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patchmeta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch new file +6
-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'(quoted diff) +2
-0+ +Upstream-Status: Backport [
Quoted 3 lines
Hi Lei,
As you can see this patch touches more than one component, especially:
gstreamer, gst-plugin-base and gst-plugin-bad.
so your patchset should also include the same backports in those components.
Thanks
Jose
Quoted 207 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch new file +22
-0+ +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')meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch new file +4
-0+ +-- +2.43.0 +diff --git
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patchb/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patchindex0dd96bef01..5db93c5be1100644
---a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch
+++b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patchmeta/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,diff --git
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patchb/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patchindex01d9535eb8..7274d3862f100644
---a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch
+++b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patchmeta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch +4
-4@@ -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
meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch +2
-2@@ -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"',
meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch +2
-2@@ -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')diff --git
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patchb/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patchindex861046d2db..79e494a22a100644
---a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch
+++b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patchmeta/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, )diff --git
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patchb/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patchindexcb47f7244f..4b1aad2616100644
---a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch
+++b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patchmeta/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 +0
-0@@ -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 \
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.12.bb +1
-1+ 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 \--
2.43.0
Signature · 3 lines
Best regards, José Quaresma
RE: [OE-core] [PATCH v4 02/10] gstreamer1.0: upgrade 1.24.12 -> 1.26.0
I know.. v5 in on the way, I will send it in minutes.
From: Jose Quaresma <[email protected]>
Sent: Wednesday, April 2, 2025 5:48 PM
To: Lei, Maohui/雷 茂慧 <[email protected]>
Cc: Alexander Kanavin <[email protected]>; Anuj Mittal <[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH v4 02/10] gstreamer1.0: upgrade 1.24.12 -> 1.26.0
Lei Maohui <[email protected]<mailto:[email protected]>> escreveu (quarta, 2/04/2025 à(s) 10:08):
- 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<http://r1.0_1.24.12.bb> => gstreamer1.0_1.26.0.bb<http://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<http://gstreamer1.0_1.24.12.bb> => gstreamer1.0_1.26.0.bb<http://gstreamer1.0_1.26.0.bb>} (95%)
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch new file +9 -0
@@ -0,0 +1,36 @@ +From 459afbb556432eb417bff5a33719efd596ef7502 Mon Sep 17 00:00:00 2001 +From: Lei Maohui <[email protected]<mailto:[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]
Hi Lei,
As you can see this patch touches more than one component, especially: gstreamer, gst-plugin-base and gst-plugin-bad. so your patchset should also include the same backports in those components.
Thanks
Jose
+
+Signed-off-by: Lei Maohui <[email protected]<mailto:[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]<mailto:[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]<mailto:[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]<mailto:[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]<mailto:[email protected]>> create mode 100644 tests/check/template.test.in<http://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]<mailto:[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]<mailto:[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]<mailto:[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]<mailto:[email protected]>> create mode 100755 tests/check/template.sh.in<http://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<http://gstreamer1.0_1.26.0.bb> renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.12.bb<http://gstreamer1.0_1.24.12.bb> +2 -1
@@ -21,8 +21,9 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.x<https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$%7BPV%7D.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 \
--
2.43.0
--
Best regards,
José Quaresma
PATCH v4 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 v4 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 v4 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 v4 6/10 gstreamer1.0-plugins-base: upgrade 1.24.12 -> 1.26.0
In reply to Lei Maohui---
...1-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch | 4 ++--
.../0002-ssaparse-enhance-SSA-text-lines-parsing.patch | 2 +-
.../0003-viv-fb-Make-sure-config.h-is-included.patch | 2 +-
...ns-base_1.24.12.bb => gstreamer1.0-plugins-base_1.26.0.bb} | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.24.12.bb => gstreamer1.0-plugins-base_1.26.0.bb} (98%)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/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 +1 -1
@@ -11,7 +11,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-ba file://0003-viv-fb-Make-sure-config.h-is-included.patch \ file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch \ " -SRC_URI[sha256sum] = "f6efbaa8fea8d00bc380bccca76a530527b1f083e8523eafb3e9b1e18bc653d3" +SRC_URI[sha256sum] = "e23189fbed2ec486690382d1055c19eeaf5aae3e95e2576fc4c884d96a90e69e" S = "${WORKDIR}/gst-plugins-base-${PV}"
Signature · 1 line
2.43.0
PATCH v4 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 v4 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 1/1 python3-webcolors: upgrade 24.8.0 -> 24.11.1
In reply to Lei MaohuiFix the issue that:
| Traceback (most recent call last): | File "/mnt/test/build_auh/tmp/work/core2-64-poky-linux/python3-webcolors/24.11.1/recipe-sysroot-native/usr/lib/pyth on3.13/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook | raise BackendUnavailable( | ...<4 lines>... | ) | pyproject_hooks._impl.BackendUnavailable: Cannot import 'pdm.backend'
python3-webcolors has migrated to pdm-backend
| diff --git a/pyproject.toml b/pyproject.toml | index 6fcec77..9f2dfa9 100644 | --- a/pyproject.toml | +++ b/pyproject.toml | @@ -1,65 +1,110 @@ | [build-system] | -requires = ["setuptools>=61.0"] | -build-backend = "setuptools.build_meta" | +requires = [ | + "pdm-backend", | +] | +build-backend = "pdm.backend"
---
...n3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} (70%)meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +6 -1
@@ -3,10 +3,15 @@ HOMEPAGE = "https://pypi.org/project/webcolors/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448" -SRC_URI[sha256sum] = "08b07af286a01bcd30d583a7acadf629583d1f79bfef27dd2c2c5c263817277d" +SRC_URI[sha256sum] = "ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6" inherit pypi python_setuptools_build_meta ptest-python-pytest +DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ +" + RDEPENDS:${PN}:class-target = "\ python3-stringold \ "
Signature · 1 line
2.43.0
Re: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1
Quoted 44 lines · leimaohui via lists.openembedded.org
Fix the issue that:
| Traceback (most recent call last): | File "/mnt/test/build_auh/tmp/work/core2-64-poky-linux/python3-webcolors/24.11.1/recipe-sysroot-native/usr/lib/pyth on3.13/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook | raise BackendUnavailable( | ...<4 lines>... | ) | pyproject_hooks._impl.BackendUnavailable: Cannot import 'pdm.backend'python3-webcolors has migrated to pdm-backend
| diff --git a/pyproject.toml b/pyproject.toml | index 6fcec77..9f2dfa9 100644 | --- a/pyproject.toml | +++ b/pyproject.toml | @@ -1,65 +1,110 @@ | [build-system] | -requires = ["setuptools>=61.0"] | -build-backend = "setuptools.build_meta" | +requires = [ | + "pdm-backend", | +] | +build-backend = "pdm.backend"Signed-off-by Lei Maohui <[email protected]>---
...n3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} | 7 ++++++-1 file changed, 6 insertions(+), 1 deletion(-)rename meta/recipes-devtools/python/{python3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} (70%)
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +0
-0@@ -3,10 +3,15 @@ HOMEPAGE = "https://pypi.org/project/webcolors/"LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448"meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +1
-1-SRC_URI[sha256sum] = "08b07af286a01bcd30d583a7acadf629583d1f79bfef27dd2c2c5c263817277d" +SRC_URI[sha256sum] = "ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6"
inherit pypipython_setuptools_build_metaptest-python-pytest
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb HOMEPAGE = "https://pypi.org/project/webcolors/" · line 14
Quoted 5 lines
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +5
-0+DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ +" +
ERROR: Nothing RPROVIDES 'python3-webcolors-dev' (but meta/recipes-devtools/python/python3-webcolors_24.11.1.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-webcolors-dev'
That recipe isn't in core.
Cheers,
Richard
Re: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1
Quoted 56 lines · Richard Purdie via lists.openembedded.org
Quoted 39 lines · leimaohui via lists.openembedded.org
Fix the issue that:
| Traceback (most recent call last): | File "/mnt/test/build_auh/tmp/work/core2-64-poky-linux/python3-webcolors/24.11.1/recipe-sysroot-native/usr/lib/pyth on3.13/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook | raise BackendUnavailable( | ...<4 lines>... | ) | pyproject_hooks._impl.BackendUnavailable: Cannot import 'pdm.backend'python3-webcolors has migrated to pdm-backend
| diff --git a/pyproject.toml b/pyproject.toml | index 6fcec77..9f2dfa9 100644 | --- a/pyproject.toml | +++ b/pyproject.toml | @@ -1,65 +1,110 @@ | [build-system] | -requires = ["setuptools>=61.0"] | -build-backend = "setuptools.build_meta" | +requires = [ | + "pdm-backend", | +] | +build-backend = "pdm.backend"Signed-off-by Lei Maohui <[email protected]>--- ...n3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} (70%)meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +0
-0@@ -3,10 +3,15 @@ HOMEPAGE = "https://pypi.org/project/webcolors/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448"meta/recipes-devtools/python/python3-webcolors_24.11.1.bb HOMEPAGE = "https://pypi.org/project/webcolors/" · line 14
Quoted 10 lines
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +6
-1-SRC_URI[sha256sum] = "08b07af286a01bcd30d583a7acadf629583d1f79bfef27dd2c2c5c263817277d" +SRC_URI[sha256sum] = "ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6" inherit pypi python_setuptools_build_meta ptest-python-pytest +DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ +" +ERROR: Nothing RPROVIDES 'python3-webcolors-dev' (but meta/recipes-devtools/python/python3-webcolors_24.11.1.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-webcolors-dev'
Quoted 1 line
That recipe isn't in core.
Looks like you've accidentally copied the 2nd error about RPROVIDES not the first one about PROVIDES.
The main error is about python3-pdm which is in meta-oe/meta-python/recipes-devtools/python/python3-pdm_2.22.4.bb
RE: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1
Quoted 82 lines
-----Original Message-----
From: Martin Jansa <[email protected]>
Sent: Wednesday, April 2, 2025 6:04 PM
To: [email protected]
Cc: Lei, Maohui/雷 茂慧 <[email protected]>; Alexander Kanavin <[email protected]>; Jose Quaresma <[email protected]>; Anuj Mittal <[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1Quoted 2 lines · Richard Purdie via lists.openembedded.org
On Wed, 2025-04-02 at 17:07 +0800, leimaohui via lists.openembedded.org
Quoted 3 lines · wrote:
Quoted 3 lines
Fix the issue that:
| Traceback (most recent call last):
| File"
/mnt/test/build_auh/tmp/work/core2-64-poky-linux/python3-webcolors/24. 11.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/pyproject_hooks/_impl.py", line 402, in_call_hookQuoted 4 lines
Quoted 4 lines
| raise BackendUnavailable( | ...<4 lines>... | ) | pyproject_hooks._impl.BackendUnavailable: Cannot import'pdm.backend'
Quoted 19 lines
Quoted 19 lines
python3-webcolors has migrated to pdm-backend | diff --git
a/pyproject.tomlb/pyproject.toml| index 6fcec77..9f2dfa9 100644| --- a/pyproject.toml | +++ b/pyproject.toml | @@ -1,65 +1,110 @@ | [build-system] | -requires = ["setuptools>=61.0"] | -build-backend = "setuptools.build_meta" | +requires = [ | + "pdm-backend", | +] | +build-backend = "pdm.backend"Signed-off-by Lei Maohui <[email protected]>--- ...n3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) renamemeta/recipes-devtools/python/{python3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} (70%)
Quoted 12 lines
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb HOMEPAGE = "https://pypi.org/project/webcolors/" · line 4
Quoted 12 lines
diff --git a/meta/recipes-devtools/python/python3-webcolors_24.8.0.bb b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb similarity index 70%
rename from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb rename to meta/recipes-devtools/python/python3-webcolors_24.11.1.bb indexc5ed4bd7d3..cda63d2a35100644meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +0
-0@@ -3,10 +3,15 @@ HOMEPAGE = "https://pypi.org/project/webcolors/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM ="file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448"
Quoted 2 lines
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb HOMEPAGE = "https://pypi.org/project/webcolors/" · line 5
Quoted 2 lines
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +0
-1-SRC_URI[sha256sum] ="
08b07af286a01bcd30d583a7acadf629583d1f79bfef27dd2c2c5c263817277d"Quoted 1 line
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb HOMEPAGE = "https://pypi.org/project/webcolors/" · line 5
Quoted 1 line
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +1
-0+SRC_URI[sha256sum] ="
ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6"Quoted 11 lines
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb HOMEPAGE = "https://pypi.org/project/webcolors/" · line 14
Quoted 8 lines
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +5
-0inherit pypi python_setuptools_build_meta ptest-python-pytest +DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ +" +ERROR: Nothing RPROVIDES 'python3-webcolors-dev' (but meta/recipes-devtools/python/python3-webcolors_24.11.1.bb RDEPENDS
on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-webcolors-dev'
Quoted 7 lines
Quoted 1 line
That recipe isn't in core.
Looks like you've accidentally copied the 2nd error about RPROVIDES not the first one about PROVIDES.
The main error is about python3-pdm which is in meta-oe/meta-python/recipes-devtools/python/python3-pdm_2.22.4.bb
Thank you, but how can we solve this kind of issue that 24.11.1 version of python3-webcolors depends on packages out of core
Re: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1
Quoted 99 lines · Maohui Lei (Fujitsu)
Quoted 99 lines
-----Original Message-----
From: Martin Jansa <[email protected]>
Sent: Wednesday, April 2, 2025 6:04 PM
To: [email protected]
Cc: Lei, Maohui/雷 茂慧 <[email protected]>; Alexander Kanavin <[email protected]>; Jose Quaresma <[email protected]>; Anuj Mittal <[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1Quoted 3 lines · Richard Purdie via lists.openembedded.org
On Wed, 2025-04-02 at 17:07 +0800, leimaohui via
lists.openembedded.orgQuoted 3 lines · wrote:
Quoted 3 lines
Fix the issue that:
| Traceback (most recent call last):
| File"
/mnt/test/build_auh/tmp/work/core2-64-poky-linux/python3-webcolors/24. 11.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/pyproject_hooks/_impl.py", line 402, in_call_hookQuoted 4 lines
Quoted 4 lines
| raise BackendUnavailable( | ...<4 lines>... | ) | pyproject_hooks._impl.BackendUnavailable: Cannot import'pdm.backend'
Quoted 21 lines
Quoted 21 lines
python3-webcolors has migrated to pdm-backend | diff --git
a/pyproject.tomlb/pyproject.toml | index 6fcec77..9f2dfa9 100644Quoted 3 lines
--- a/pyproject.toml | +++ b/pyproject.toml | @@ -1,65 +1,110 @@
[build-system] | -requires = ["setuptools>=61.0"] |-build-backend = "setuptools.build_meta"
| +requires = [ | + "pdm-backend", | +] | +build-backend = "pdm.backend"Signed-off-by Lei Maohui <[email protected]>---
...n3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} | 7
++++++-1 file changed, 6 insertions(+), 1 deletion(-) renamemeta/recipes-devtools/python/{python3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} (70%)
Quoted 15 lines
Quoted 12 lines
diff --git a/meta/recipes-devtools/python/python3-webcolors_24.8.0.bb b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb similarity index 70%
rename from meta/recipes-devtools/python/python3- webcolors_24.8.0.bb
rename to meta/recipes-devtools/python/python3- webcolors_24.11.1.bb
indexc5ed4bd7d3..cda63d2a35100644meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +0
-0@@ -3,10 +3,15 @@ HOMEPAGE =Quoted 3 lines
"https://pypi.org/project/webcolors/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM ="file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448"
Quoted 2 lines
Quoted 2 lines
-SRC_URI[sha256sum] =
"
08b07af286a01bcd30d583a7acadf629583d1f79bfef27dd2c2c5c263817277d"Quoted 1 line
Quoted 1 line
+SRC_URI[sha256sum] =
"
ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6"Quoted 12 lines
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb HOMEPAGE = "https://pypi.org/project/webcolors/" · line 14
Quoted 8 lines
inherit pypi
python_setuptools_build_metaptest-python-pytestmeta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +5
-0+DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ +" +ERROR: Nothing RPROVIDES 'python3-webcolors-dev' (but meta/recipes-devtools/python/python3-webcolors_24.11.1.bb RDEPENDS
on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-webcolors-dev'
Quoted 1 line
That recipe isn't in core.
Looks like you've accidentally copied the 2nd error about RPROVIDES not the
first one about PROVIDES.
Quoted 5 lines
Quoted 2 lines
The main error is about python3-pdm which is in meta-oe/meta-python/recipes-devtools/python/python3-pdm_2.22.4.bb
Thank you, but how can we solve this kind of issue that 24.11.1 version of python3-webcolors depends on packages out of core
Sometimes we have to move recipes to oe-core for this reason, or we move the recipe to meta-oe. It depends what is using it and which layer it really belongs in.
Cheers,
Richard
Re: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1
Quoted 93 lines · Richard Purdie via lists.openembedded.org
Quoted 92 lines · Maohui Lei (Fujitsu)
Quoted 92 lines
-----Original Message-----
From: Martin Jansa<[email protected]>
Sent: Wednesday, April 2, 2025 6:04 PM To:[email protected]
Cc: Lei, Maohui/雷 茂慧<[email protected]>; Alexander Kanavin <[email protected]>; Jose Quaresma<[email protected]>; Anuj Mittal<[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1Quoted 2 lines · Richard Purdie via lists.openembedded.org
On Wed, 2025-04-02 at 17:07 +0800, leimaohui via
lists.openembedded.orgQuoted 3 lines · wrote:
Quoted 3 lines
Fix the issue that:
| Traceback (most recent call last):
| File"
/mnt/test/build_auh/tmp/work/core2-64-poky-linux/python3-webcolors/24. 11.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/pyproject_hooks/_impl.py", line 402, in_call_hookQuoted 4 lines
Quoted 4 lines
| raise BackendUnavailable( | ...<4 lines>... | ) | pyproject_hooks._impl.BackendUnavailable: Cannot import'pdm.backend'
Quoted 20 lines
Quoted 20 lines
python3-webcolors has migrated to pdm-backend | diff --git
a/pyproject.tomlb/pyproject.toml | index 6fcec77..9f2dfa9 100644Quoted 3 lines
--- a/pyproject.toml | +++ b/pyproject.toml | @@ -1,65 +1,110 @@
[build-system] | -requires = ["setuptools>=61.0"] |-build-backend = "setuptools.build_meta"
| +requires = [ | + "pdm-backend", | +] | +build-backend = "pdm.backend"Signed-off-by Lei Maohui<[email protected]>--- ...n3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) renamemeta/recipes-devtools/python/{python3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} (70%)
Quoted 15 lines
Quoted 12 lines
diff --git a/meta/recipes-devtools/python/python3-webcolors_24.8.0.bb b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb similarity index 70%
rename from meta/recipes-devtools/python/python3- webcolors_24.8.0.bb
rename to meta/recipes-devtools/python/python3- webcolors_24.11.1.bb
indexc5ed4bd7d3..cda63d2a35100644meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +0
-0@@ -3,10 +3,15 @@ HOMEPAGE =Quoted 3 lines
"https://pypi.org/project/webcolors/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM ="file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448"
Quoted 1 line
Quoted 1 line
-SRC_URI[sha256sum] =
"
08b07af286a01bcd30d583a7acadf629583d1f79bfef27dd2c2c5c263817277d"Quoted 1 line
Quoted 1 line
+SRC_URI[sha256sum] =
"
ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6"Quoted 10 lines
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb HOMEPAGE = "https://pypi.org/project/webcolors/" · line 14
Quoted 7 lines
inherit pypi
python_setuptools_build_metaptest-python-pytestmeta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +5
-0+DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ +" +ERROR: Nothing RPROVIDES 'python3-webcolors-dev' (but meta/recipes-devtools/python/python3-webcolors_24.11.1.bb RDEPENDS
on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-webcolors-dev'
Quoted 1 line
That recipe isn't in core.
Looks like you've accidentally copied the 2nd error about RPROVIDES not the
first one about PROVIDES.
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
The main error is about python3-pdm which is in meta-oe/meta-python/recipes-devtools/python/python3-pdm_2.22.4.bb
Thank you, but how can we solve this kind of issue that 24.11.1 version of python3-webcolors depends on packages out of core
Sometimes we have to move recipes to oe-core for this reason, or we move the recipe to meta-oe. It depends what is using it and which layer it really belongs in.
In this case, I think we need to bring pdm module to core, since webcolors is needed by jsonschema which is used in selftests and also in dtschema which is used by validation feature for linux-yocto, so moving webcolors out would not be right thing to do here.
Quoted 13 lines
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#214260):https://lists.openembedded.org/g/openembedded-core/message/214260 Mute This Topic:https://lists.openembedded.org/mt/112043451/1997914
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 1 line
-Khem
RE: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1
In reply to Richard PurdieQuoted 115 lines
-----Original Message-----
From: Richard Purdie <[email protected]>
Sent: Wednesday, April 2, 2025 7:09 PM
To: Lei, Maohui/雷 茂慧 <[email protected]>; Martin Jansa <[email protected]>
Cc: Alexander Kanavin <[email protected]>; Jose Quaresma <[email protected]>; Anuj Mittal <[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1Quoted 71 lines · Maohui Lei (Fujitsu)
Quoted 71 lines
-----Original Message-----
From: Martin Jansa <[email protected]>
Sent: Wednesday, April 2, 2025 6:04 PM
To: [email protected]
Cc: Lei, Maohui/雷 茂慧 <[email protected]>; Alexander Kanavin <[email protected]>; Jose Quaresma <[email protected]>; Anuj Mittal <[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH] python3-webcolors: upgrade 24.8.0 -> 24.11.1Quoted 3 lines · Richard Purdie via lists.openembedded.org
On Wed, 2025-04-02 at 17:07 +0800, leimaohui via
lists.openembedded.orgQuoted 3 lines · wrote:
Quoted 3 lines
Fix the issue that:
| Traceback (most recent call last):
| File"
/mnt/test/build_auh/tmp/work/core2-64-poky-linux/python3-webcolors/24. 11.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/pyproject_hooks/_impl.py", line 402, in_call_hookQuoted 4 lines
Quoted 4 lines
| raise BackendUnavailable( | ...<4 lines>... | ) | pyproject_hooks._impl.BackendUnavailable: Cannot import'pdm.backend'
Quoted 21 lines
Quoted 21 lines
python3-webcolors has migrated to pdm-backend | diff --git
a/pyproject.tomlb/pyproject.toml | index 6fcec77..9f2dfa9 100644Quoted 3 lines
--- a/pyproject.toml | +++ b/pyproject.toml | @@ -1,65 +1,110 @@
[build-system] | -requires = ["setuptools>=61.0"] |-build-backend = "setuptools.build_meta"
| +requires = [ | + "pdm-backend", | +] | +build-backend = "pdm.backend"Signed-off-by Lei Maohui <[email protected]>---
...n3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} | 7
++++++-1 file changed, 6 insertions(+), 1 deletion(-) renamemeta/recipes-devtools/python/{python3-webcolors_24.8.0.bb => python3-webcolors_24.11.1.bb} (70%)
Quoted 15 lines
Quoted 12 lines
diff --git a/meta/recipes-devtools/python/python3-webcolors_24.8.0.bb b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb similarity index 70%
rename from meta/recipes-devtools/python/python3- webcolors_24.8.0.bb
rename to meta/recipes-devtools/python/python3- webcolors_24.11.1.bb
indexc5ed4bd7d3..cda63d2a35100644meta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +0
-0@@ -3,10 +3,15 @@ HOMEPAGE =Quoted 3 lines
"https://pypi.org/project/webcolors/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM ="file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448"
Quoted 1 line
Quoted 1 line
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
-SRC_URI[sha256sum] =
"
08b07af286a01bcd30d583a7acadf629583d1f79bfef27dd2c2c5c263817277dQuoted 3 lines
Quoted 3 lines
"
Quoted 1 line
Quoted 1 line
+SRC_URI[sha256sum] =
"
ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80fQuoted 24 lines
Quoted 23 lines
6"
Quoted 11 lines
meta/recipes-devtools/python/python3-webcolors_24.11.1.bb HOMEPAGE = "https://pypi.org/project/webcolors/" · line 14
Quoted 7 lines
inherit pypi
python_setuptools_build_metaptest-python-pytestmeta/recipes-devtools/python/python3-webcolors_24.11.1.bb renamed from meta/recipes-devtools/python/python3-webcolors_24.8.0.bb +4
-0+DEPENDS += " \ + python3-pdm-native \ + python3-pdm-backend-native \ " +ERROR: Nothing RPROVIDES 'python3-webcolors-dev' (but meta/recipes-devtools/python/python3-webcolors_24.11.1.bb RDEPENDS
on or otherwise requires it) No eligible RPROVIDERs exist for 'python3-webcolors-dev'
Quoted 1 line
That recipe isn't in core.
Looks like you've accidentally copied the 2nd error about RPROVIDES not the first one about PROVIDES.
The main error is about python3-pdm which is in meta-oe/meta-python/recipes-devtools/python/python3-pdm_2.22.4.bb
Quoted 6 lines
Quoted 2 lines
Thank you, but how can we solve this kind of issue that 24.11.1 version of python3-webcolors depends on packages out of core
Sometimes we have to move recipes to oe-core for this reason, or we move the recipe to meta-oe. It depends what is using it and which layer it really belongs in.
It seems that neither moving the pdm and pdm-backend related recipes to oe-core nor integrating python3-webcolors into meta-oe can be achieved with a single straightforward step.
To prevent more packages from being migrated to pdm-backend, I will attempt to move the pdm related recipes to oe-core.
Would this approach be acceptable?
Lei
Quoted 4 lines
Cheers,
Richard
PATCH v4 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 v4 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
---
...issing-opencv-data-dir-in-yocto-buil.patch | 20 +++++++++----------
....bb => gstreamer1.0-plugins-bad_1.26.0.bb} | 15 ++++++++++++--
2 files changed, 23 insertions(+), 12 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.24.12.bb => gstreamer1.0-plugins-bad_1.26.0.bb} (94%)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 +13 -2
@@ -10,7 +10,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad file://0002-avoid-including-sys-poll.h-directly.patch \ file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ " -SRC_URI[sha256sum] = "3d386af3d1dbd1a06c74a6251250c269b481e703f0e3255ba89ef6c1e063afea" +SRC_URI[sha256sum] = "f8287a84c5f66368a5a50da5f969994a02c47f20220ffe1ca3154193e65af216" S = "${WORKDIR}/gst-plugins-bad-${PV}"
@@ -28,10 +28,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 +153,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