Skip to contentSkip to conversation

gst-devtools: upgrade 1.24.12 -> 1.26.0

PATCH Superseded Lei Maohui 2 participants 14 messages Mar 26, 2025 – Mar 28, 2025 Arm/Amlogic Meson SoC support

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

PATCH v2 1/7 gst-devtools: upgrade 1.24.12 -> 1.26.0

From: Lei Maohui <[email protected]>

---
 .../0001-connect-has-a-different-signature-on-musl.patch        | 2 +-
 .../{gst-devtools_1.24.12.bb => gst-devtools_1.26.0.bb}         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.24.12.bb => gst-devtools_1.26.0.bb} (95%)
meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch +1 -1
index b596f2ef9c..d7a3e2057a 100644
@@ -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 +1 -1
similarity index 95%
rename from meta/recipes-multimedia/gstreamer/gst-devtools_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gst-devtools_1.26.0.bb
index 157cdc6bbb..ca802510d4 100644
@@ -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"
Signature · 1 line
2.43.0
author
#1 lore raw

PATCH v2 2/7 gstreamer1.0: upgrade 1.24.12 -> 1.26.0

From: Lei Maohui <[email protected]>

---
 ...-respect-the-idententaion-used-in-meson.patch |  6 +++---
 ...tests-add-support-for-install-the-tests.patch | 16 ++++++++--------
 ...ests-use-a-dictionaries-for-environment.patch |  6 +++---
 ...elper-script-to-run-the-installed_tests.patch |  6 +++---
 ...amer1.0_1.24.12.bb => gstreamer1.0_1.26.0.bb} |  2 +-
 5 files changed, 18 insertions(+), 18 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.24.12.bb => gstreamer1.0_1.26.0.bb} (97%)
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch +3 -3
index 0dd96bef01..5db93c5be1 100644
@@ -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
index 01d9535eb8..7274d3862f 100644
@@ -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
index 861046d2db..79e494a22a 100644
@@ -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
index cb47f7244f..4b1aad2616 100644
@@ -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 +1 -1
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0_1.26.0.bb
index d224b80eb3..ad5c54fa5d 100644
@@ -22,7 +22,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.x
            file://0003-tests-use-a-dictionaries-for-environment.patch \
            file://0004-tests-add-helper-script-to-run-the-installed_tests.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
author
#2 lore raw

PATCH v2 3/7 gstreamer1.0-libav: upgrade 1.24.12 -> 1.26.0

In reply to Lei Maohui

From: Lei Maohui <[email protected]>

---
 ...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
similarity index 91%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.0.bb
index 77c10da39e..a2d35f8a93 100644
@@ -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
author
#3 lore raw

PATCH v2 4/7 gstreamer1.0-vaapi: upgrade 1.24.12 -> 1.26.0

In reply to Lei Maohui

From: Lei Maohui <[email protected]>

---
 ...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
similarity index 95%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.0.bb
index c634de7c6a..8ed84d0ebe 100644
@@ -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
author
#4 lore raw

PATCH v2 5/7 gtreamer1.0-rtsp-server: upgrade 1.24.12 -> 1.26.0

In reply to Lei Maohui

From: Lei Maohui <[email protected]>

---
 ...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
similarity index 90%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.0.bb
index b23634dcf0..fd801c2c62 100644
@@ -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
author
#5 lore raw

PATCH v2 6/7 gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

In reply to Lei Maohui

From: Lei Maohui <[email protected]>

---
 ...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 +-
 ...ns-good_1.24.12.bb => gstreamer1.0-plugins-good_1.26.0.bb} | 2 +-
 ...ns-ugly_1.24.12.bb => gstreamer1.0-plugins-ugly_1.26.0.bb} | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.24.12.bb => gstreamer1.0-plugins-base_1.26.0.bb} (98%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.24.12.bb => gstreamer1.0-plugins-good_1.26.0.bb} (97%)
 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-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch +2 -2
index e35ec026e4..7373bd3e26 100644
@@ -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
index 810a4ba676..fc9ad474d9 100644
@@ -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
index 8fa46d809a..06b5bc41ed 100644
@@ -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
similarity index 98%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.bb
index f4505d831e..bd0131c647 100644
@@ -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}"
 
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
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.0.bb
index 9cc2d462f6..a2c6426c34 100644
@@ -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}"
 
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
similarity index 94%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.bb
index 75f528216f..f0e42ad8fb 100644
@@ -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
#6 lore raw

Re: [OE-core] [PATCH v2 6/7] gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

Hi Lei,

This is a major bump and is a bit strange that there are no new packageconfig knobs and also some other deprecation. Have you checked the meson opinions changes?

Jose

leimaohui via lists.openembedded.org <leimaohui= [email protected]> escreveu (quarta, 26/03/2025 à(s) 06:37):

Quoted 167 lines

From: Lei Maohui <[email protected]>

---
 ...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 +-
 ...ns-good_1.24.12.bb => gstreamer1.0-plugins-good_1.26.0.bb} | 2 +-
 ...ns-ugly_1.24.12.bb => gstreamer1.0-plugins-ugly_1.26.0.bb} | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{
gstreamer1.0-plugins-base_1.24.12.bb =>
gstreamer1.0-plugins-base_1.26.0.bb} (98%)
 rename meta/recipes-multimedia/gstreamer/{
gstreamer1.0-plugins-good_1.24.12.bb =>
gstreamer1.0-plugins-good_1.26.0.bb} (97%)
 rename meta/recipes-multimedia/gstreamer/{

gstreamer1.0-plugins-ugly_1.24.12.bb =>
gstreamer1.0-plugins-ugly_1.26.0.bb} (94%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch index e35ec026e4..7373bd3e26 100644
---
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch +1 -1
@@ -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

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch +1 -1
-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)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch index 810a4ba676..fc9ad474d9 100644
---
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch

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.

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch index 8fa46d809a..06b5bc41ed 100644
---
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch

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
(quoted diff) +0 -0

gstreamer1.0-plugins-base_1.24.12.bb b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.26.0.bb
similarity index 98%
rename from meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.26.0.bb
index f4505d831e..bd0131c647 100644
--- a/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.26.0.bb

(quoted diff) +0 -0
@@ -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}"

(quoted diff) +0 -0

gstreamer1.0-plugins-good_1.24.12.bb b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.26.0.bb
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.26.0.bb
index 9cc2d462f6..a2c6426c34 100644
--- a/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.26.0.bb

(quoted diff) +0 -0
@@ -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}"

(quoted diff) +0 -0

gstreamer1.0-plugins-ugly_1.24.12.bb b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.26.0.bb
similarity index 94%
rename from meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.26.0.bb
index 75f528216f..f0e42ad8fb 100644
--- a/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.26.0.bb

(quoted diff) +0 -0
@@ -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}"

--
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#213636):
https://lists.openembedded.org/g/openembedded-core/message/213636
Mute This Topic: https://lists.openembedded.org/mt/111912609/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma
#7 lore raw

RE: [OE-core] [PATCH v2 6/7] gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

Quoted 1 line

This is a major bump and is a bit strange that there are no new packageconfig knobs and also some other deprecation.

Have you checked the meson opinions changes?

Yes, I have checked the meson_options.txt changes corresponding to the 10 recipes upgraded this time.

Although some meson_options.txt have changed, but I think the meson options changes do not affect the upgrade this time

It’s mainly about glibc

  1.  gobject-cast-checks --> glibc-debug
  2.  glib-asserts  --> glib_assert   * change type from feature to boolean
  3.  glib-checks  --> glib_checks  * change type from feature to boolean

However, there is no glib related packageconfig options in our gstreamer related recipes, I mean we haven't meson built these options, so their changes have no effect on us

And I also checked all do_configure logs, no option “deprecated” related logs

Please let me know if further confirmations are needed

userland@pumpkin3:/mnt/test/build_auh/workspace/attic/sources/gstreamer1.0.20250326023639$<mailto:userland@pumpkin3:/mnt/test/build_auh/workspace/attic/sources/gstreamer1.0.20250326023639$> git diff devtool-base devtool-base-1.26.0 meson_options.txt

meson_options.txt +0 -0
index 340fb58..39255cf 100644
@@ -33,12 +33,6 @@ option('benchmarks', type : 'feature', value : 'auto', yield : true)

option('tools', type : 'feature', value : 'auto', yield : true)
option('introspection', type : 'feature', value : 'auto', yield : true, description : 'Generate gobject-introspection bindings') option('nls', type : 'feature', value : 'auto', yield: true, description : 'Enable native language support (translations)') -option('gobject-cast-checks', type : 'feature', value : 'auto', yield : true,
- description: 'Enable run-time GObject cast checks (auto = enabled for development, disabled for stable releases)')
-option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
- description: 'Enable GLib assertion (auto = enabled for development, disabled for stable releases)')
-option('glib-checks', type : 'feature', value : 'enabled', yield : true,
- description: 'Enable GLib checks such as API guards (auto = enabled for development, disabled for stable releases)')
option('extra-checks', type : 'feature', value : 'enabled', yield : true, description : 'Enable extra runtime checks')

# Common options
@@ -48,3 +42,21 @@ option('package-origin', type : 'string', value : 'Unknown package origin', yiel
description : 'package origin URL to use in plugins')
option('doc', type : 'feature', value : 'auto', yield: true,
description: 'Enable documentation.')
+option('glib_debug', type : 'feature', value : 'auto', yield : true, description : 'Enable GLib debug infrastructure (see docs/macros.txt)') +option('glib_assert', type : 'boolean', value : true, yield : true, description : 'Enable GLib assertion (see docs/macros.txt)',
+ deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' : 'false'},
+)
+option('glib_checks', type : 'boolean', value : true, yield : true, description : 'Enable GLib checks such as API guards (see docs/macros.txt)',
+ deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' : 'false'},
+)
+
+# Deprecated, kept for backward compat
+option('gobject-cast-checks', type : 'feature', value : 'auto', yield : true,
+ description: 'Enable run-time GObject cast checks (auto = enabled for development, disabled for stable releases)',
+ deprecated: 'glib_debug')
+option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
+ description: 'Enable GLib assertion (auto = enabled for development, disabled for stable releases)',
+ deprecated: 'glib_assert')
+option('glib-checks', type : 'feature', value : 'enabled', yield : true,
+ description: 'Enable GLib checks such as API guards (auto = enabled for development, disabled for stable releases)',
+ deprecated: 'glib_checks')

From: Jose Quaresma <[email protected]>
Sent: Wednesday, March 26, 2025 7:36 PM
To: Lei, Maohui/雷 茂慧 <[email protected]>
Cc: Anuj Mittal <[email protected]>; [email protected]; Lei Maohui <[email protected]>
Subject: Re: [OE-core] [PATCH v2 6/7] gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

Hi Lei,

This is a major bump and is a bit strange that there are no new packageconfig knobs and also some other deprecation. Have you checked the meson opinions changes?

Jose
leimaohui via lists.openembedded.org<http://lists.openembedded.org> <[email protected]<mailto:[email protected]>> escreveu (quarta, 26/03/2025 à(s) 06:37):
From: Lei Maohui <[email protected]<mailto:[email protected]>>

---
 ...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<http://ns-base_1.24.12.bb> => gstreamer1.0-plugins-base_1.26.0.bb<http://gstreamer1.0-plugins-base_1.26.0.bb>} | 2 +-
 ...ns-good_1.24.12.bb<http://ns-good_1.24.12.bb> => gstreamer1.0-plugins-good_1.26.0.bb<http://gstreamer1.0-plugins-good_1.26.0.bb>} | 2 +-
 ...ns-ugly_1.24.12.bb<http://ns-ugly_1.24.12.bb> => gstreamer1.0-plugins-ugly_1.26.0.bb<http://gstreamer1.0-plugins-ugly_1.26.0.bb>} | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.24.12.bb<http://gstreamer1.0-plugins-base_1.24.12.bb> => gstreamer1.0-plugins-base_1.26.0.bb<http://gstreamer1.0-plugins-base_1.26.0.bb>} (98%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.24.12.bb<http://gstreamer1.0-plugins-good_1.24.12.bb> => gstreamer1.0-plugins-good_1.26.0.bb<http://gstreamer1.0-plugins-good_1.26.0.bb>} (97%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.24.12.bb<http://gstreamer1.0-plugins-ugly_1.24.12.bb> => gstreamer1.0-plugins-ugly_1.26.0.bb<http://gstreamer1.0-plugins-ugly_1.26.0.bb>} (94%)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch +2 -2
index e35ec026e4..7373bd3e26 100644
@@ -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]<mailto:[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]<mailto:[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
index 810a4ba676..fc9ad474d9 100644
@@ -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]<mailto:[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
index 8fa46d809a..06b5bc41ed 100644
@@ -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]<mailto:[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<http://gstreamer1.0-plugins-base_1.26.0.bb> renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.12.bb<http://gstreamer1.0-plugins-base_1.24.12.bb> +1 -1
similarity index 98%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.12.bb<http://gstreamer1.0-plugins-base_1.24.12.bb>
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.bb<http://gstreamer1.0-plugins-base_1.26.0.bb>
index f4505d831e..bd0131c647 100644
@@ -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}"
 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.0.bb<http://gstreamer1.0-plugins-good_1.26.0.bb> renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.12.bb<http://gstreamer1.0-plugins-good_1.24.12.bb> +1 -1
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.12.bb<http://gstreamer1.0-plugins-good_1.24.12.bb>
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.0.bb<http://gstreamer1.0-plugins-good_1.26.0.bb>
index 9cc2d462f6..a2c6426c34 100644
@@ -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<https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$%7BPV%7D.tar.xz>"
 
-SRC_URI[sha256sum] = "d0e66e2f935d1575f6adbef7d0a2b3faba7360344383c51bf0233b39e0489a64"
+SRC_URI[sha256sum] = "9e18f139ef69ad0867c2dfbb8fe1d1736d76df11aac83f60e8d3adb1e2eaf03b"
 
 S = "${WORKDIR}/gst-plugins-good-${PV}"
 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.bb<http://gstreamer1.0-plugins-ugly_1.26.0.bb> renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.12.bb<http://gstreamer1.0-plugins-ugly_1.24.12.bb> +1 -1
similarity index 94%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.12.bb<http://gstreamer1.0-plugins-ugly_1.24.12.bb>
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.bb<http://gstreamer1.0-plugins-ugly_1.26.0.bb>
index 75f528216f..f0e42ad8fb 100644
@@ -15,7 +15,7 @@ SRC_URI = " \
             https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz<https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$%7BPV%7D.tar.xz> \
             "
 
-SRC_URI[sha256sum] = "19ed6eef4ea1a742234fb35e2cdb107168595a4dd409a9fac0b7a16543eee78b"
+SRC_URI[sha256sum] = "a86b51c8454a813120848c803421f327d8c07aabcae461e0597cc49398c0fcde"
 
 S = "${WORKDIR}/gst-plugins-ugly-${PV}"
 

--
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#213636): https://lists.openembedded.org/g/openembedded-core/message/213636
Mute This Topic: https://lists.openembedded.org/mt/111912609/5052612
Group Owner: [email protected]<mailto:openembedded-core%[email protected]>
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]<mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-

--
Best regards,

José Quaresma

#8 lore raw

Re: [OE-core] [PATCH v2 6/7] gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

Maohui Lei (Fujitsu) <[email protected]> escreveu (quinta, 27/03/2025 à(s) 03:18):

Quoted 31 lines
Quoted 1 line

This is a major bump and is a bit strange that there are no new

packageconfig knobs and also some other deprecation.

Have you checked the meson opinions changes?

Yes, I have checked the meson_options.txt changes corresponding to the 10 recipes upgraded this time.

Although some meson_options.txt have changed, but I think the meson options changes do not affect the upgrade this time

It’s mainly about glibc

1. gobject-cast-checks à glibc-debug
2. glib-asserts à glib_assert * change type from feature to boolean
3. glib-checks à glib_checks * change type from feature to boolean

However, there is no glib related packageconfig options in our gstreamer related recipes,

I mean we haven't meson built these options, so their changes have no effect on us

Quoted 7 lines

And I also checked all do_configure logs, no option “deprecated” related logs

Please let me know if further confirmations are needed

I see some changes on the gst-plugins-bad:

$ git diff --stat origin/1.26 origin/1.24 $(find | grep meson_options.txt)
 meson_options.txt                                  | 49
+++++++++++++++++--------------------------------
 subprojects/gst-devtools/meson_options.txt         |  2 --
 subprojects/gst-editing-services/meson_options.txt |  4 +---
 subprojects/gst-plugins-bad/meson_options.txt      | 76
+++++++++++++++-------------------------------------------------------------
 subprojects/gst-plugins-base/meson_options.txt     | 24
++++++------------------
 subprojects/gst-plugins-good/meson_options.txt     | 24
++++++------------------
 subprojects/gst-plugins-ugly/meson_options.txt     | 24
++++++------------------
 subprojects/gst-python/meson_options.txt           |  4 +---
 subprojects/gst-rtsp-server/meson_options.txt      | 24
++++++------------------
 subprojects/gstreamer/meson_options.txt            | 24
++++++------------------

I also recommend doing these major updates separately using one commit for each component.

Jose

Quoted 305 lines

userland@pumpkin3:/mnt/test/build_auh/workspace/attic/sources/gstreamer1.0.20250326023639$ git diff devtool-base devtool-base-1.26.0 meson_options.txt

meson_options.txt +0 -0

index 340fb58..39255cf 100644

--- a/meson_options.txt

+++ b/meson_options.txt

meson_options.txt +0 -0
@@ -33,12 +33,6 @@ option('benchmarks', type : 'feature', value : 'auto',
 yield : true)
 
 option('tools', type : 'feature', value : 'auto', yield : true)
 
 option('introspection', type : 'feature', value : 'auto', yield : true,
 description : 'Generate gobject-introspection bindings')

option('nls', type : 'feature', value : 'auto', yield: true, description :
'Enable native language support (translations)')

-option('gobject-cast-checks', type : 'feature', value : 'auto', yield :
true,

- description: 'Enable run-time GObject cast checks (auto = enabled
for development, disabled for stable releases)')

meson_options.txt +0 -2
-option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
 
-       description: 'Enable GLib assertion (auto = enabled for

development, disabled for stable releases)')

meson_options.txt +0 -2
-option('glib-checks', type : 'feature', value : 'enabled', yield : true,
 
-       description: 'Enable GLib checks such as API guards (auto =

enabled for development, disabled for stable releases)')

option('extra-checks', type : 'feature', value : 'enabled', yield : true, description : 'Enable extra runtime checks')

# Common options

meson_options.txt +0 -0
@@ -48,3 +42,21 @@ option('package-origin', type : 'string', value :

'Unknown package origin', yiel

description : 'package origin URL to use in plugins')

option('doc', type : 'feature', value : 'auto', yield: true,

description: 'Enable documentation.')

+option('glib_debug', type : 'feature', value : 'auto', yield : true, description : 'Enable GLib debug infrastructure (see docs/macros.txt)')

+option('glib_assert', type : 'boolean', value : true, yield : true, description : 'Enable GLib assertion (see docs/macros.txt)',

+ deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' :
'false'},

meson_options.txt +2 -0
+)
 
+option('glib_checks', type : 'boolean', value : true, yield : true,

description : 'Enable GLib checks such as API guards (see docs/macros.txt)',

+ deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' :
'false'},

meson_options.txt +4 -0
+)
 
+
 
+# Deprecated, kept for backward compat
 
+option('gobject-cast-checks', type : 'feature', value : 'auto', yield :

true,

+ description: 'Enable run-time GObject cast checks (auto = enabled
for development, disabled for stable releases)',

meson_options.txt +3 -0
+       deprecated: 'glib_debug')
 
+option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
 
+       description: 'Enable GLib assertion (auto = enabled for

development, disabled for stable releases)',

meson_options.txt +3 -0
+       deprecated: 'glib_assert')
 
+option('glib-checks', type : 'feature', value : 'enabled', yield : true,
 
+       description: 'Enable GLib checks such as API guards (auto =

enabled for development, disabled for stable releases)',

+ deprecated: 'glib_checks')

*From:* Jose Quaresma <[email protected]> *Sent:* Wednesday, March 26, 2025 7:36 PM
*To:* Lei, Maohui/雷 茂慧 <[email protected]>
*Cc:* Anuj Mittal <[email protected]>; [email protected]; Lei Maohui < [email protected]>
*Subject:* Re: [OE-core] [PATCH v2 6/7] gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

Hi Lei,

This is a major bump and is a bit strange that there are no new packageconfig knobs and also some other deprecation.

Have you checked the meson opinions changes?

Jose

leimaohui via lists.openembedded.org <leimaohui= [email protected]> escreveu (quarta, 26/03/2025 à(s) 06:37):

From: Lei Maohui <[email protected]>

---
 ...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 +-
 ...ns-good_1.24.12.bb => gstreamer1.0-plugins-good_1.26.0.bb} | 2 +-
 ...ns-ugly_1.24.12.bb => gstreamer1.0-plugins-ugly_1.26.0.bb} | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{
gstreamer1.0-plugins-base_1.24.12.bb =>
gstreamer1.0-plugins-base_1.26.0.bb} (98%)
 rename meta/recipes-multimedia/gstreamer/{
gstreamer1.0-plugins-good_1.24.12.bb =>
gstreamer1.0-plugins-good_1.26.0.bb} (97%)
 rename meta/recipes-multimedia/gstreamer/{

gstreamer1.0-plugins-ugly_1.24.12.bb =>
gstreamer1.0-plugins-ugly_1.26.0.bb} (94%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch index e35ec026e4..7373bd3e26 100644
---
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch

meson_options.txt +1 -1
@@ -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

meson_options.txt +1 -1
-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)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch index 810a4ba676..fc9ad474d9 100644
---
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch

meson_options.txt +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.

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch index 8fa46d809a..06b5bc41ed 100644
---
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch

meson_options.txt +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
(quoted diff) +0 -0

gstreamer1.0-plugins-base_1.24.12.bb b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.26.0.bb
similarity index 98%
rename from meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.26.0.bb
index f4505d831e..bd0131c647 100644
--- a/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.26.0.bb

(quoted diff) +0 -0
@@ -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}"

(quoted diff) +0 -0

gstreamer1.0-plugins-good_1.24.12.bb b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.26.0.bb
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.26.0.bb
index 9cc2d462f6..a2c6426c34 100644
--- a/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.26.0.bb

(quoted diff) +0 -0
@@ -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}"

(quoted diff) +0 -0

gstreamer1.0-plugins-ugly_1.24.12.bb b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.26.0.bb
similarity index 94%
rename from meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.26.0.bb
index 75f528216f..f0e42ad8fb 100644
--- a/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.26.0.bb

(quoted diff) +0 -0
@@ -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}"

--
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#213636):
https://lists.openembedded.org/g/openembedded-core/message/213636
Mute This Topic: https://lists.openembedded.org/mt/111912609/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--

Best regards,

José Quaresma

Signature · 3 lines
Best regards,

José Quaresma
#9 lore raw

RE: [OE-core] [PATCH v2 6/7] gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

Quoted 7 lines

I see some changes on the gst-plugins-bad:

$ git diff --stat origin/1.26 origin/1.24 $(find | grep meson_options.txt)
meson_options.txt                                  | 49 +++++++++++++++++--------------------------------
subprojects/gst-devtools/meson_options.txt         |  2 --
subprojects/gst-editing-services/meson_options.txt |  4 +---
subprojects/gst-plugins-bad/meson_options.txt      | 76 +++++++++++++++-------------------------------------------------------------

Oh, thank you for your carefully reminder
gst-plugins-bad has added support for many plugins
Do I need to add them to PACKAGECONFIG and then explicitly disable them in EXTRA_OEMESON?

$ git log --oneline 1.24.12..1.26.0 subprojects/gst-plugins-bad/meson_options.txt
9a8f3a65a3 nvcodec: Add support for CUDA kernel precompile
775a2bd26f codec2json: move option to right section
fd54c57260 analyticsoverlay: move option to right section
a830c58139 nvdswrapper: Add NVIDIA DeepStream wrapper plugin
8fa4c8f2f0 tensordecoders: Move decoder out of the ONNX plugin
4c82416798 lcevcencoder: Add new LCEVC Encoder plugin
636690f2aa lcevcdecoder: Add new LCEVC Decoder plugin
a6f18726c1 svtjpegxs: add SVT JPEG XS encoder
54a6643986 meson: Fix automagic dependency checks in gstvulkan
84b3a0950d build: Add missing common options that are yielding in subprojects
0ed9c39835 nvcomp: Add nvCOMP library based GPU lossless compression plugin
afb62e98c7 cuda: Enable x86 NVMM support again
d68ac0db57 aja: Update to AJA NTV2 17.0.1
4888a25bac webview2: Add Microsoft WebView2 based web browser source
6c80d2f5f8 d3d12: Allow building without WGC support
13c90b606a d3dshader: Add HLSL shader library
f0761a7358 asio: Drop external SDK header dependency
Quoted 1 line

I also recommend doing these major updates separately using one commit for each component.

OK, got it

Lei
From: Jose Quaresma <[email protected]>
Sent: Thursday, March 27, 2025 8:08 PM
To: Lei, Maohui/雷 茂慧 <[email protected]>
Cc: Anuj Mittal <[email protected]>; [email protected]
Subject: Re: [OE-core] [PATCH v2 6/7] gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

Maohui Lei (Fujitsu) <[email protected]<mailto:[email protected]>> escreveu (quinta, 27/03/2025 à(s) 03:18):

Quoted 1 line

This is a major bump and is a bit strange that there are no new packageconfig knobs and also some other deprecation.

Have you checked the meson opinions changes?

Yes, I have checked the meson_options.txt changes corresponding to the 10 recipes upgraded this time.

Although some meson_options.txt have changed, but I think the meson options changes do not affect the upgrade this time

It’s mainly about glibc

1. gobject-cast-checks --> glibc-debug

2. glib-asserts --> glib_assert * change type from feature to boolean

3. glib-checks --> glib_checks * change type from feature to boolean However, there is no glib related packageconfig options in our gstreamer related recipes, I mean we haven't meson built these options, so their changes have no effect on us

And I also checked all do_configure logs, no option “deprecated” related logs

Please let me know if further confirmations are needed

I see some changes on the gst-plugins-bad:

$ git diff --stat origin/1.26 origin/1.24 $(find | grep meson_options.txt)
 meson_options.txt                                  | 49 +++++++++++++++++--------------------------------
 subprojects/gst-devtools/meson_options.txt         |  2 --
 subprojects/gst-editing-services/meson_options.txt |  4 +---
 subprojects/gst-plugins-bad/meson_options.txt      | 76 +++++++++++++++-------------------------------------------------------------
 subprojects/gst-plugins-base/meson_options.txt     | 24 ++++++------------------
 subprojects/gst-plugins-good/meson_options.txt     | 24 ++++++------------------
 subprojects/gst-plugins-ugly/meson_options.txt     | 24 ++++++------------------
 subprojects/gst-python/meson_options.txt           |  4 +---
 subprojects/gst-rtsp-server/meson_options.txt      | 24 ++++++------------------
 subprojects/gstreamer/meson_options.txt            | 24 ++++++------------------
I also recommend doing these major updates separately using one commit for each component.

Jose

userland@pumpkin3:/mnt/test/build_auh/workspace/attic/sources/gstreamer1.0.20250326023639$<mailto:userland@pumpkin3:/mnt/test/build_auh/workspace/attic/sources/gstreamer1.0.20250326023639$> git diff devtool-base devtool-base-1.26.0 meson_options.txt

meson_options.txt +0 -0
index 340fb58..39255cf 100644
@@ -33,12 +33,6 @@ option('benchmarks', type : 'feature', value : 'auto', yield : true)

option('tools', type : 'feature', value : 'auto', yield : true)
option('introspection', type : 'feature', value : 'auto', yield : true, description : 'Generate gobject-introspection bindings') option('nls', type : 'feature', value : 'auto', yield: true, description : 'Enable native language support (translations)') -option('gobject-cast-checks', type : 'feature', value : 'auto', yield : true,
- description: 'Enable run-time GObject cast checks (auto = enabled for development, disabled for stable releases)')
-option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
- description: 'Enable GLib assertion (auto = enabled for development, disabled for stable releases)')
-option('glib-checks', type : 'feature', value : 'enabled', yield : true,
- description: 'Enable GLib checks such as API guards (auto = enabled for development, disabled for stable releases)')
option('extra-checks', type : 'feature', value : 'enabled', yield : true, description : 'Enable extra runtime checks')

# Common options
@@ -48,3 +42,21 @@ option('package-origin', type : 'string', value : 'Unknown package origin', yiel
description : 'package origin URL to use in plugins')
option('doc', type : 'feature', value : 'auto', yield: true,
description: 'Enable documentation.')
+option('glib_debug', type : 'feature', value : 'auto', yield : true, description : 'Enable GLib debug infrastructure (see docs/macros.txt)') +option('glib_assert', type : 'boolean', value : true, yield : true, description : 'Enable GLib assertion (see docs/macros.txt)',
+ deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' : 'false'},
+)
+option('glib_checks', type : 'boolean', value : true, yield : true, description : 'Enable GLib checks such as API guards (see docs/macros.txt)',
+ deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' : 'false'},
+)
+
+# Deprecated, kept for backward compat
+option('gobject-cast-checks', type : 'feature', value : 'auto', yield : true,
+ description: 'Enable run-time GObject cast checks (auto = enabled for development, disabled for stable releases)',
+ deprecated: 'glib_debug')
+option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
+ description: 'Enable GLib assertion (auto = enabled for development, disabled for stable releases)',
+ deprecated: 'glib_assert')
+option('glib-checks', type : 'feature', value : 'enabled', yield : true,
+ description: 'Enable GLib checks such as API guards (auto = enabled for development, disabled for stable releases)',
+ deprecated: 'glib_checks')

From: Jose Quaresma <[email protected]<mailto:[email protected]>>
Sent: Wednesday, March 26, 2025 7:36 PM
To: Lei, Maohui/雷 茂慧 <[email protected]<mailto:[email protected]>>
Cc: Anuj Mittal <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]>; Lei Maohui <[email protected]<mailto:[email protected]>>
Subject: Re: [OE-core] [PATCH v2 6/7] gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

Hi Lei,

This is a major bump and is a bit strange that there are no new packageconfig knobs and also some other deprecation. Have you checked the meson opinions changes?

Jose
leimaohui via lists.openembedded.org<http://lists.openembedded.org> <[email protected]<mailto:[email protected]>> escreveu (quarta, 26/03/2025 à(s) 06:37):
From: Lei Maohui <[email protected]<mailto:[email protected]>>

---
 ...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<http://ns-base_1.24.12.bb> => gstreamer1.0-plugins-base_1.26.0.bb<http://gstreamer1.0-plugins-base_1.26.0.bb>} | 2 +-
 ...ns-good_1.24.12.bb<http://ns-good_1.24.12.bb> => gstreamer1.0-plugins-good_1.26.0.bb<http://gstreamer1.0-plugins-good_1.26.0.bb>} | 2 +-
 ...ns-ugly_1.24.12.bb<http://ns-ugly_1.24.12.bb> => gstreamer1.0-plugins-ugly_1.26.0.bb<http://gstreamer1.0-plugins-ugly_1.26.0.bb>} | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.24.12.bb<http://gstreamer1.0-plugins-base_1.24.12.bb> => gstreamer1.0-plugins-base_1.26.0.bb<http://gstreamer1.0-plugins-base_1.26.0.bb>} (98%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.24.12.bb<http://gstreamer1.0-plugins-good_1.24.12.bb> => gstreamer1.0-plugins-good_1.26.0.bb<http://gstreamer1.0-plugins-good_1.26.0.bb>} (97%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.24.12.bb<http://gstreamer1.0-plugins-ugly_1.24.12.bb> => gstreamer1.0-plugins-ugly_1.26.0.bb<http://gstreamer1.0-plugins-ugly_1.26.0.bb>} (94%)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch +2 -2
index e35ec026e4..7373bd3e26 100644
@@ -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]<mailto:[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]<mailto:[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
index 810a4ba676..fc9ad474d9 100644
@@ -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]<mailto:[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
index 8fa46d809a..06b5bc41ed 100644
@@ -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]<mailto:[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<http://gstreamer1.0-plugins-base_1.26.0.bb> renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.12.bb<http://gstreamer1.0-plugins-base_1.24.12.bb> +1 -1
similarity index 98%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.12.bb<http://gstreamer1.0-plugins-base_1.24.12.bb>
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.0.bb<http://gstreamer1.0-plugins-base_1.26.0.bb>
index f4505d831e..bd0131c647 100644
@@ -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}"
 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.0.bb<http://gstreamer1.0-plugins-good_1.26.0.bb> renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.12.bb<http://gstreamer1.0-plugins-good_1.24.12.bb> +1 -1
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.12.bb<http://gstreamer1.0-plugins-good_1.24.12.bb>
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.0.bb<http://gstreamer1.0-plugins-good_1.26.0.bb>
index 9cc2d462f6..a2c6426c34 100644
@@ -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<https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$%7BPV%7D.tar.xz>"
 
-SRC_URI[sha256sum] = "d0e66e2f935d1575f6adbef7d0a2b3faba7360344383c51bf0233b39e0489a64"
+SRC_URI[sha256sum] = "9e18f139ef69ad0867c2dfbb8fe1d1736d76df11aac83f60e8d3adb1e2eaf03b"
 
 S = "${WORKDIR}/gst-plugins-good-${PV}"
 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.bb<http://gstreamer1.0-plugins-ugly_1.26.0.bb> renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.12.bb<http://gstreamer1.0-plugins-ugly_1.24.12.bb> +1 -1
similarity index 94%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.12.bb<http://gstreamer1.0-plugins-ugly_1.24.12.bb>
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.0.bb<http://gstreamer1.0-plugins-ugly_1.26.0.bb>
index 75f528216f..f0e42ad8fb 100644
@@ -15,7 +15,7 @@ SRC_URI = " \
             https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz<https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$%7BPV%7D.tar.xz> \
             "
 
-SRC_URI[sha256sum] = "19ed6eef4ea1a742234fb35e2cdb107168595a4dd409a9fac0b7a16543eee78b"
+SRC_URI[sha256sum] = "a86b51c8454a813120848c803421f327d8c07aabcae461e0597cc49398c0fcde"
 
 S = "${WORKDIR}/gst-plugins-ugly-${PV}"
 

--
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#213636): https://lists.openembedded.org/g/openembedded-core/message/213636
Mute This Topic: https://lists.openembedded.org/mt/111912609/5052612
Group Owner: [email protected]<mailto:openembedded-core%[email protected]>
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]<mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-

--
Best regards,

José Quaresma

--
Best regards,

José Quaresma

#10 lore raw

Re: [OE-core] [PATCH v2 6/7] gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

Maohui Lei (Fujitsu) <[email protected]> escreveu (sexta, 28/03/2025 à(s) 03:17):

Quoted 9 lines
Quoted 3 lines

I see some changes on the gst-plugins-bad:

$ git diff --stat origin/1.26 origin/1.24 $(find | grep

meson_options.txt)

Quoted 1 line

meson_options.txt | 49

+++++++++++++++++--------------------------------

Quoted 3 lines
subprojects/gst-devtools/meson_options.txt         |  2 --
subprojects/gst-editing-services/meson_options.txt |  4 +---
subprojects/gst-plugins-bad/meson_options.txt      | 76
Quoted 9 lines

+++++++++++++++-------------------------------------------------------------

Oh, thank you for your carefully reminder

gst-plugins-bad has added support for many plugins

Do I need to add them to PACKAGECONFIG and then explicitly disable them in EXTRA_OEMESON?

Yes, we should add to PACKAGECONFIG those that have dependencies available in oe-core or some other layer,
the option should be disabled by default if the dependencies are outside of oe-core.
For the ones that there are no dependencies we must disable them completely in the EXTRA_OEMESON.
Finally for the deprecations, they must be removed from the component.

This above is not for the bad plugins but for every gstreamer component.

Finally thank you for your help and time spent.

Jose

$ git log --oneline 1.24.12..1.26.0
Quoted 449 lines

subprojects/gst-plugins-bad/meson_options.txt

9a8f3a65a3 nvcodec: Add support for CUDA kernel precompile

775a2bd26f codec2json: move option to right section

fd54c57260 analyticsoverlay: move option to right section

a830c58139 nvdswrapper: Add NVIDIA DeepStream wrapper plugin

8fa4c8f2f0 tensordecoders: Move decoder out of the ONNX plugin

4c82416798 lcevcencoder: Add new LCEVC Encoder plugin

636690f2aa lcevcdecoder: Add new LCEVC Decoder plugin

a6f18726c1 svtjpegxs: add SVT JPEG XS encoder

54a6643986 meson: Fix automagic dependency checks in gstvulkan

84b3a0950d build: Add missing common options that are yielding in subprojects

0ed9c39835 nvcomp: Add nvCOMP library based GPU lossless compression plugin

afb62e98c7 cuda: Enable x86 NVMM support again

d68ac0db57 aja: Update to AJA NTV2 17.0.1

4888a25bac webview2: Add Microsoft WebView2 based web browser source

6c80d2f5f8 d3d12: Allow building without WGC support

13c90b606a d3dshader: Add HLSL shader library

f0761a7358 asio: Drop external SDK header dependency

Quoted 1 line

I also recommend doing these major updates separately using one commit

for each component.

OK, got it

Lei

*From:* Jose Quaresma <[email protected]> *Sent:* Thursday, March 27, 2025 8:08 PM
*To:* Lei, Maohui/雷 茂慧 <[email protected]>
*Cc:* Anuj Mittal <[email protected]>; [email protected]
*Subject:* Re: [OE-core] [PATCH v2 6/7] gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

Maohui Lei (Fujitsu) <[email protected]> escreveu (quinta, 27/03/2025 à(s) 03:18):

Quoted 1 line

This is a major bump and is a bit strange that there are no new

packageconfig knobs and also some other deprecation.

Have you checked the meson opinions changes?

Yes, I have checked the meson_options.txt changes corresponding to the 10 recipes upgraded this time.

Although some meson_options.txt have changed, but I think the meson options changes do not affect the upgrade this time

It’s mainly about glibc

1. gobject-cast-checks à glibc-debug

2. glib-asserts à glib_assert * change type from feature to boolean

3. glib-checks à glib_checks * change type from feature to boolean

However, there is no glib related packageconfig options in our gstreamer related recipes,

I mean we haven't meson built these options, so their changes have no effect on us

And I also checked all do_configure logs, no option “deprecated” related logs

Please let me know if further confirmations are needed

I see some changes on the gst-plugins-bad:

$ git diff --stat origin/1.26 origin/1.24 $(find | grep meson_options.txt)
 meson_options.txt                                  | 49
+++++++++++++++++--------------------------------
 subprojects/gst-devtools/meson_options.txt         |  2 --
 subprojects/gst-editing-services/meson_options.txt |  4 +---
 subprojects/gst-plugins-bad/meson_options.txt      | 76
+++++++++++++++-------------------------------------------------------------
 subprojects/gst-plugins-base/meson_options.txt     | 24
++++++------------------
 subprojects/gst-plugins-good/meson_options.txt     | 24
++++++------------------
 subprojects/gst-plugins-ugly/meson_options.txt     | 24
++++++------------------
 subprojects/gst-python/meson_options.txt           |  4 +---
 subprojects/gst-rtsp-server/meson_options.txt      | 24
++++++------------------
 subprojects/gstreamer/meson_options.txt            | 24
++++++------------------

I also recommend doing these major updates separately using one commit for each component.

Jose

userland@pumpkin3:/mnt/test/build_auh/workspace/attic/sources/gstreamer1.0.20250326023639$ git diff devtool-base devtool-base-1.26.0 meson_options.txt

meson_options.txt +0 -0

index 340fb58..39255cf 100644

--- a/meson_options.txt

+++ b/meson_options.txt

meson_options.txt +0 -0
@@ -33,12 +33,6 @@ option('benchmarks', type : 'feature', value : 'auto',
 yield : true)
 
 option('tools', type : 'feature', value : 'auto', yield : true)
 
 option('introspection', type : 'feature', value : 'auto', yield : true,
 description : 'Generate gobject-introspection bindings')

option('nls', type : 'feature', value : 'auto', yield: true, description :
'Enable native language support (translations)')

-option('gobject-cast-checks', type : 'feature', value : 'auto', yield :
true,

- description: 'Enable run-time GObject cast checks (auto = enabled
for development, disabled for stable releases)')

meson_options.txt +0 -2
-option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
 
-       description: 'Enable GLib assertion (auto = enabled for

development, disabled for stable releases)')

meson_options.txt +0 -2
-option('glib-checks', type : 'feature', value : 'enabled', yield : true,
 
-       description: 'Enable GLib checks such as API guards (auto =

enabled for development, disabled for stable releases)')

option('extra-checks', type : 'feature', value : 'enabled', yield : true, description : 'Enable extra runtime checks')

# Common options

meson_options.txt +0 -0
@@ -48,3 +42,21 @@ option('package-origin', type : 'string', value :

'Unknown package origin', yiel

description : 'package origin URL to use in plugins')

option('doc', type : 'feature', value : 'auto', yield: true,

description: 'Enable documentation.')

+option('glib_debug', type : 'feature', value : 'auto', yield : true, description : 'Enable GLib debug infrastructure (see docs/macros.txt)')

+option('glib_assert', type : 'boolean', value : true, yield : true, description : 'Enable GLib assertion (see docs/macros.txt)',

+ deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' :
'false'},

meson_options.txt +2 -0
+)
 
+option('glib_checks', type : 'boolean', value : true, yield : true,

description : 'Enable GLib checks such as API guards (see docs/macros.txt)',

+ deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' :
'false'},

meson_options.txt +4 -0
+)
 
+
 
+# Deprecated, kept for backward compat
 
+option('gobject-cast-checks', type : 'feature', value : 'auto', yield :

true,

+ description: 'Enable run-time GObject cast checks (auto = enabled
for development, disabled for stable releases)',

meson_options.txt +3 -0
+       deprecated: 'glib_debug')
 
+option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
 
+       description: 'Enable GLib assertion (auto = enabled for

development, disabled for stable releases)',

meson_options.txt +3 -0
+       deprecated: 'glib_assert')
 
+option('glib-checks', type : 'feature', value : 'enabled', yield : true,
 
+       description: 'Enable GLib checks such as API guards (auto =

enabled for development, disabled for stable releases)',

+ deprecated: 'glib_checks')

*From:* Jose Quaresma <[email protected]> *Sent:* Wednesday, March 26, 2025 7:36 PM
*To:* Lei, Maohui/雷 茂慧 <[email protected]>
*Cc:* Anuj Mittal <[email protected]>; [email protected]; Lei Maohui < [email protected]>
*Subject:* Re: [OE-core] [PATCH v2 6/7] gstreamer1.0-plugins-{ugly,base,good}: upgrade 1.24.12 -> 1.26.0

Hi Lei,

This is a major bump and is a bit strange that there are no new packageconfig knobs and also some other deprecation.

Have you checked the meson opinions changes?

Jose

leimaohui via lists.openembedded.org <leimaohui= [email protected]> escreveu (quarta, 26/03/2025 à(s) 06:37):

From: Lei Maohui <[email protected]>

---
 ...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 +-
 ...ns-good_1.24.12.bb => gstreamer1.0-plugins-good_1.26.0.bb} | 2 +-
 ...ns-ugly_1.24.12.bb => gstreamer1.0-plugins-ugly_1.26.0.bb} | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{
gstreamer1.0-plugins-base_1.24.12.bb =>
gstreamer1.0-plugins-base_1.26.0.bb} (98%)
 rename meta/recipes-multimedia/gstreamer/{
gstreamer1.0-plugins-good_1.24.12.bb =>
gstreamer1.0-plugins-good_1.26.0.bb} (97%)
 rename meta/recipes-multimedia/gstreamer/{

gstreamer1.0-plugins-ugly_1.24.12.bb =>
gstreamer1.0-plugins-ugly_1.26.0.bb} (94%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch index e35ec026e4..7373bd3e26 100644
---
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch

meson_options.txt +1 -1
@@ -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

meson_options.txt +1 -1
-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)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch index 810a4ba676..fc9ad474d9 100644
---
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch

meson_options.txt +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.

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch index 8fa46d809a..06b5bc41ed 100644
---
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch

meson_options.txt +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
(quoted diff) +0 -0

gstreamer1.0-plugins-base_1.24.12.bb b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.26.0.bb
similarity index 98%
rename from meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.26.0.bb
index f4505d831e..bd0131c647 100644
--- a/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-base_1.26.0.bb

(quoted diff) +0 -0
@@ -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}"

(quoted diff) +0 -0

gstreamer1.0-plugins-good_1.24.12.bb b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.26.0.bb
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.26.0.bb
index 9cc2d462f6..a2c6426c34 100644
--- a/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-good_1.26.0.bb

(quoted diff) +0 -0
@@ -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}"

(quoted diff) +0 -0

gstreamer1.0-plugins-ugly_1.24.12.bb b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.26.0.bb
similarity index 94%
rename from meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.26.0.bb
index 75f528216f..f0e42ad8fb 100644
--- a/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-ugly_1.26.0.bb

(quoted diff) +0 -0
@@ -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}"

--
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#213636):
https://lists.openembedded.org/g/openembedded-core/message/213636
Mute This Topic: https://lists.openembedded.org/mt/111912609/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--

Best regards,

José Quaresma

--

Best regards,

José Quaresma

Signature · 3 lines
Best regards,

José Quaresma
author
#11 lore raw

PATCH v2 7/7 gstreamer1.0-{plugins-bad, python}: upgrade 1.24.12 -> 1.26.0

In reply to Lei Maohui

From: Lei Maohui <[email protected]>

Couple these two together since 1.26.0 version of gstpython add depends on "analytics" plugin of gstbad

When build 1.26.0 gstreamer1.0-python, issue occurs:
|../../../../../../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 : [])
---
 ...issing-opencv-data-dir-in-yocto-buil.patch | 27 ++++++++++---------
 ....bb => gstreamer1.0-plugins-bad_1.26.0.bb} |  5 ++--
 ...24.12.bb => gstreamer1.0-python_1.26.0.bb} |  4 +--
 3 files changed, 20 insertions(+), 16 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.24.12.bb => gstreamer1.0-plugins-bad_1.26.0.bb} (97%)
 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-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch +15 -12
index 4d0d0e2693..49be4c1eb4 100644
@@ -1,6 +1,6 @@
-From bd389203124592cfd91fb020ea05a5e4ad1c1394 Mon Sep 17 00:00:00 2001
-From: Andrey Zhizhikin <[email protected]>
-Date: Mon, 27 Jan 2020 10:22:35 +0000
+From 11a08e3f3135b649b68714c77670c37559f3a33c Mon Sep 17 00:00:00 2001
+From: Lei Maohui <[email protected]>
+Date: Tue, 25 Mar 2025 00:55:27 +0000
 Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build
 
 When Yocto build is performed, opencv searches for data dir using simple
@@ -17,16 +17,19 @@ 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')
+-- 
+2.43.0
+
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 +3 -2
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.bb
index 91d9150359..8970afdcef 100644
@@ -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"
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
similarity index 88%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.bb
index f62cb159c2..04c96a879f 100644
@@ -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
#12 lore raw

Re: [OE-core] [PATCH v2 7/7] gstreamer1.0-{plugins-bad, python}: upgrade 1.24.12 -> 1.26.0

Hi Lei,

leimaohui via lists.openembedded.org <leimaohui= [email protected]> escreveu (quarta, 26/03/2025 à(s) 06:37):

Quoted 36 lines

From: Lei Maohui <[email protected]>

Couple these two together since 1.26.0 version of gstpython add depends on "analytics" plugin of gstbad

When build 1.26.0 gstreamer1.0-python, issue occurs:

|../../../../../../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 : [])
---
 ...issing-opencv-data-dir-in-yocto-buil.patch | 27 ++++++++++---------
 ....bb => gstreamer1.0-plugins-bad_1.26.0.bb} |  5 ++--
 ...24.12.bb => gstreamer1.0-python_1.26.0.bb} |  4 +--
 3 files changed, 20 insertions(+), 16 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{
gstreamer1.0-plugins-bad_1.24.12.bb => gstreamer1.0-plugins-bad_1.26.0.bb}
(97%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.24.12.bb

=> gstreamer1.0-python_1.26.0.bb} (88%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch index 4d0d0e2693..49be4c1eb4 100644
---
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch line 4

Quoted 7 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch +3 -3
@@ -1,6 +1,6 @@
-From bd389203124592cfd91fb020ea05a5e4ad1c1394 Mon Sep 17 00:00:00 2001
-From: Andrey Zhizhikin <[email protected]>
-Date: Mon, 27 Jan 2020 10:22:35 +0000
+From 11a08e3f3135b649b68714c77670c37559f3a33c Mon Sep 17 00:00:00 2001
+From: Lei Maohui <[email protected]>
+Date: Tue, 25 Mar 2025 00:55:27 +0000
 

What is the reason to change the author of this patch?

Jose

Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build

Quoted 125 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch +0 -0
 When Yocto build is performed, opencv searches for data dir using simple
@@ -17,16 +17,19 @@ 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

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch +1 -3
-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
+

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch +0 -3
-   # 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')
+--
+2.43.0

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch +1 -0
+
(quoted diff) +0 -0

gstreamer1.0-plugins-bad_1.24.12.bb b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-bad_1.26.0.bb
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-bad_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-bad_1.26.0.bb
index 91d9150359..8970afdcef 100644
--- a/meta/recipes-multimedia/gstreamer/ gstreamer1.0-plugins-bad_1.24.12.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.bb

(quoted diff) +0 -0
@@ -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}"

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 +2 -1
@@ -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"

(quoted diff) +0 -0

gstreamer1.0-python_1.24.12.bb b/meta/recipes-multimedia/gstreamer/ gstreamer1.0-python_1.26.0.bb
similarity index 88%
rename from meta/recipes-multimedia/gstreamer/ gstreamer1.0-python_1.24.12.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.bb index f62cb159c2..04c96a879f 100644

meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.12.bb +0 -0
@@ -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"

meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.12.bb +1 -1
-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"
--
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#213634):
https://lists.openembedded.org/g/openembedded-core/message/213634
Mute This Topic: https://lists.openembedded.org/mt/111912607/5052612
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma
#13 lore raw

RE: [OE-core] [PATCH v2 7/7] gstreamer1.0-{plugins-bad, python}: upgrade 1.24.12 -> 1.26.0

Quoted 3 lines

What is the reason to change the author of this patch?

Jose

Oh, sorry for the mistake, I will change the author back in next version

From: Jose Quaresma <[email protected]>
Sent: Wednesday, March 26, 2025 7:40 PM
To: Lei, Maohui/雷 茂慧 <[email protected]>
Cc: Anuj Mittal <[email protected]>; [email protected]; Lei Maohui <[email protected]>
Subject: Re: [OE-core] [PATCH v2 7/7] gstreamer1.0-{plugins-bad, python}: upgrade 1.24.12 -> 1.26.0

Hi Lei,

leimaohui via lists.openembedded.org<http://lists.openembedded.org> <[email protected]<mailto:[email protected]>> escreveu (quarta, 26/03/2025 à(s) 06:37):
From: Lei Maohui <[email protected]<mailto:[email protected]>>

Couple these two together since 1.26.0 version of gstpython add depends on "analytics" plugin of gstbad

When build 1.26.0 gstreamer1.0-python, issue occurs:
|../../../../../../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 : [])
---
 ...issing-opencv-data-dir-in-yocto-buil.patch | 27 ++++++++++---------
 ....bb => gstreamer1.0-plugins-bad_1.26.0.bb<http://gstreamer1.0-plugins-bad_1.26.0.bb>} |  5 ++--
 ...24.12.bb<http://24.12.bb> => gstreamer1.0-python_1.26.0.bb<http://gstreamer1.0-python_1.26.0.bb>} |  4 +--
 3 files changed, 20 insertions(+), 16 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.24.12.bb<http://gstreamer1.0-plugins-bad_1.24.12.bb> => gstreamer1.0-plugins-bad_1.26.0.bb<http://gstreamer1.0-plugins-bad_1.26.0.bb>} (97%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.24.12.bb<http://gstreamer1.0-python_1.24.12.bb> => gstreamer1.0-python_1.26.0.bb<http://gstreamer1.0-python_1.26.0.bb>} (88%)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch +3 -3
index 4d0d0e2693..49be4c1eb4 100644
@@ -1,6 +1,6 @@
-From bd389203124592cfd91fb020ea05a5e4ad1c1394 Mon Sep 17 00:00:00 2001
-From: Andrey Zhizhikin <[email protected]<mailto:[email protected]>>
-Date: Mon, 27 Jan 2020 10:22:35 +0000
+From 11a08e3f3135b649b68714c77670c37559f3a33c Mon Sep 17 00:00:00 2001
+From: Lei Maohui <[email protected]<mailto:[email protected]>>
+Date: Tue, 25 Mar 2025 00:55:27 +0000
 

What is the reason to change the author of this patch?

Jose

Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build

When Yocto build is performed, opencv searches for data dir using simple
@@ -17,16 +17,19 @@ Signed-off-by: Jose Quaresma <[email protected]<mailto:[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')
+--
+2.43.0
+

meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.bb<http://gstreamer1.0-plugins-bad_1.26.0.bb> renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.12.bb<http://gstreamer1.0-plugins-bad_1.24.12.bb> +3 -2
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.12.bb<http://gstreamer1.0-plugins-bad_1.24.12.bb>
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.0.bb<http://gstreamer1.0-plugins-bad_1.26.0.bb>
index 91d9150359..8970afdcef 100644
@@ -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<mailto:$%[email protected]('DISTRO_FEATURES>', 'wayland', 'wayland', '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES<mailto:$%[email protected]('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<mailto:$%[email protected]('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"
meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.bb<http://gstreamer1.0-python_1.26.0.bb> renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.12.bb<http://gstreamer1.0-python_1.24.12.bb> +2 -2
similarity index 88%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.12.bb<http://gstreamer1.0-python_1.24.12.bb>
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.0.bb<http://gstreamer1.0-python_1.26.0.bb>
index f62cb159c2..04c96a879f 100644
@@ -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<https://gstreamer.freedesktop.org/src/$%7BPNREAL%7D/$%7BPNREAL%7D-$%7BPV%7D.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"

--
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#213634): https://lists.openembedded.org/g/openembedded-core/message/213634
Mute This Topic: https://lists.openembedded.org/mt/111912607/5052612
Group Owner: [email protected]<mailto:openembedded-core%[email protected]>
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]<mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-

--
Best regards,

José Quaresma