diff options
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch | 36 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch | 6 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch | 16 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch | 6 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch | 6 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0_1.26.0.bb (renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.12.bb) | 3 |
6 files changed, 55 insertions, 18 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch new file mode 100644 index 0000000000..19a09f6829 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 459afbb556432eb417bff5a33719efd596ef7502 Mon Sep 17 00:00:00 2001 | ||
2 | From: Lei Maohui <leimaohui@fujitsu.com> | ||
3 | Date: Wed, 2 Apr 2025 08:16:51 +0000 | ||
4 | Subject: [PATCH] Fix atomic 64 issue on armv5 | ||
5 | |||
6 | | /mnt/test/build_auh/tmp/work/armv5e-poky-linux-gnueabi/gstreamer1.0/1.26.0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/14.2.0/ld: gst/libgstreamer-1.0.so.0.2600.0.p/gstbuffer.c.o: in function `gst_atomic_int64_inc': | ||
7 | | /usr/src/debug/gstreamer1.0/1.26.0/gst/gstbuffer.c:180:(.text+0x38c8): undefined reference to `__atomic_fetch_add_8' | ||
8 | |||
9 | Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8637/commits?commit_id=f2b5c0b6020b50f5173e449b45a6f7a7be31c48f] | ||
10 | |||
11 | Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> | ||
12 | --- | ||
13 | meson.build | 7 +++++++ | ||
14 | 1 file changed, 7 insertions(+) | ||
15 | |||
16 | diff --git a/meson.build b/meson.build | ||
17 | index f4c146d..9c24596 100644 | ||
18 | --- a/meson.build | ||
19 | +++ b/meson.build | ||
20 | @@ -599,6 +599,13 @@ if nsl_lib.found() | ||
21 | network_deps += nsl_lib | ||
22 | endif | ||
23 | |||
24 | +# Check for libatomic for use of C11 atomics: some architectures need | ||
25 | +# to link explicitly to this library. | ||
26 | +# TODO: Once meson 1.7 is in use, this can be updated to | ||
27 | +# dependency('atomic') | ||
28 | +atomic_dep = cc.find_library('atomic', required: false) | ||
29 | +platform_deps += atomic_dep | ||
30 | + | ||
31 | gir = find_program('g-ir-scanner', required : get_option('introspection')) | ||
32 | gnome = import('gnome') | ||
33 | |||
34 | -- | ||
35 | 2.43.0 | ||
36 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch index 0dd96bef01..5db93c5be1 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a9d99eea162dfb6dcd5cb90adb7dd9261ec676bc Mon Sep 17 00:00:00 2001 | 1 | From cb49c5433f343aa9ae6c0656d2e835365330922b Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sun, 11 Apr 2021 19:48:13 +0100 | 3 | Date: Sun, 11 Apr 2021 19:48:13 +0100 |
4 | Subject: [PATCH] tests: respect the idententaion used in meson | 4 | Subject: [PATCH] tests: respect the idententaion used in meson |
@@ -11,10 +11,10 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | |||
11 | 1 file changed, 5 insertions(+), 5 deletions(-) | 11 | 1 file changed, 5 insertions(+), 5 deletions(-) |
12 | 12 | ||
13 | diff --git a/tests/check/meson.build b/tests/check/meson.build | 13 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
14 | index 7d68212..bf0021f 100644 | 14 | index e8419fc..4cc4618 100644 |
15 | --- a/tests/check/meson.build | 15 | --- a/tests/check/meson.build |
16 | +++ b/tests/check/meson.build | 16 | +++ b/tests/check/meson.build |
17 | @@ -146,11 +146,11 @@ foreach t : core_tests | 17 | @@ -149,11 +149,11 @@ foreach t : core_tests |
18 | 18 | ||
19 | if not skip_test | 19 | if not skip_test |
20 | exe = executable(test_name, fname, | 20 | exe = executable(test_name, fname, |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch index 01d9535eb8..7274d3862f 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f0076c5801bd847c464e31ab11fdb06f1ad0fccd Mon Sep 17 00:00:00 2001 | 1 | From d9ad7d4fd596ece5f7a2ce25ed583b5c302984cf Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sun, 11 Apr 2021 19:48:13 +0100 | 3 | Date: Sun, 11 Apr 2021 19:48:13 +0100 |
4 | Subject: [PATCH] tests: add support for install the tests | 4 | Subject: [PATCH] tests: add support for install the tests |
@@ -19,10 +19,10 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | |||
19 | create mode 100644 tests/check/template.test.in | 19 | create mode 100644 tests/check/template.test.in |
20 | 20 | ||
21 | diff --git a/meson.build b/meson.build | 21 | diff --git a/meson.build b/meson.build |
22 | index dc9dbe2..55e85b3 100644 | 22 | index f1be50c..f4c146d 100644 |
23 | --- a/meson.build | 23 | --- a/meson.build |
24 | +++ b/meson.build | 24 | +++ b/meson.build |
25 | @@ -645,6 +645,10 @@ if bashcomp_dep.found() | 25 | @@ -657,6 +657,10 @@ if bashcomp_dep.found() |
26 | endif | 26 | endif |
27 | endif | 27 | endif |
28 | 28 | ||
@@ -34,7 +34,7 @@ index dc9dbe2..55e85b3 100644 | |||
34 | 34 | ||
35 | pkgconfig = import('pkgconfig') | 35 | pkgconfig = import('pkgconfig') |
36 | diff --git a/meson_options.txt b/meson_options.txt | 36 | diff --git a/meson_options.txt b/meson_options.txt |
37 | index 340fb58..5b87f68 100644 | 37 | index 39255cf..78af552 100644 |
38 | --- a/meson_options.txt | 38 | --- a/meson_options.txt |
39 | +++ b/meson_options.txt | 39 | +++ b/meson_options.txt |
40 | @@ -16,6 +16,7 @@ option('poisoning', type : 'boolean', value : false, description : 'Enable poiso | 40 | @@ -16,6 +16,7 @@ option('poisoning', type : 'boolean', value : false, description : 'Enable poiso |
@@ -46,10 +46,10 @@ index 340fb58..5b87f68 100644 | |||
46 | # Feature options | 46 | # Feature options |
47 | option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries') | 47 | option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries') |
48 | diff --git a/tests/check/meson.build b/tests/check/meson.build | 48 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
49 | index bf0021f..9a8c42c 100644 | 49 | index 4cc4618..f290e2e 100644 |
50 | --- a/tests/check/meson.build | 50 | --- a/tests/check/meson.build |
51 | +++ b/tests/check/meson.build | 51 | +++ b/tests/check/meson.build |
52 | @@ -125,10 +125,16 @@ test_defines = [ | 52 | @@ -128,10 +128,16 @@ test_defines = [ |
53 | '-UG_DISABLE_ASSERT', | 53 | '-UG_DISABLE_ASSERT', |
54 | '-UG_DISABLE_CAST_CHECKS', | 54 | '-UG_DISABLE_CAST_CHECKS', |
55 | '-DGST_CHECK_TEST_ENVIRONMENT_BEACON="GST_STATE_IGNORE_ELEMENTS"', | 55 | '-DGST_CHECK_TEST_ENVIRONMENT_BEACON="GST_STATE_IGNORE_ELEMENTS"', |
@@ -67,7 +67,7 @@ index bf0021f..9a8c42c 100644 | |||
67 | # sanity checking | 67 | # sanity checking |
68 | if get_option('check').disabled() | 68 | if get_option('check').disabled() |
69 | if get_option('tests').enabled() | 69 | if get_option('tests').enabled() |
70 | @@ -151,6 +157,8 @@ foreach t : core_tests | 70 | @@ -154,6 +160,8 @@ foreach t : core_tests |
71 | include_directories : [configinc], | 71 | include_directories : [configinc], |
72 | link_with : link_with_libs, | 72 | link_with : link_with_libs, |
73 | dependencies : gst_deps + test_deps, | 73 | dependencies : gst_deps + test_deps, |
@@ -76,7 +76,7 @@ index bf0021f..9a8c42c 100644 | |||
76 | ) | 76 | ) |
77 | 77 | ||
78 | env = environment() | 78 | env = environment() |
79 | @@ -162,6 +170,18 @@ foreach t : core_tests | 79 | @@ -165,6 +173,18 @@ foreach t : core_tests |
80 | env.set('GST_PLUGIN_SCANNER_1_0', gst_scanner_dir + '/gst-plugin-scanner') | 80 | env.set('GST_PLUGIN_SCANNER_1_0', gst_scanner_dir + '/gst-plugin-scanner') |
81 | env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer') | 81 | env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer') |
82 | 82 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch index 861046d2db..79e494a22a 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f9544b0e2d35bf9f9a89cff42bb741bc16e37cc8 Mon Sep 17 00:00:00 2001 | 1 | From d24110809da4588354ad3df4ae99556e8c62838a Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sat, 24 Apr 2021 10:34:47 +0100 | 3 | Date: Sat, 24 Apr 2021 10:34:47 +0100 |
4 | Subject: [PATCH] tests: use a dictionaries for environment | 4 | Subject: [PATCH] tests: use a dictionaries for environment |
@@ -14,10 +14,10 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | |||
14 | 1 file changed, 13 insertions(+), 8 deletions(-) | 14 | 1 file changed, 13 insertions(+), 8 deletions(-) |
15 | 15 | ||
16 | diff --git a/tests/check/meson.build b/tests/check/meson.build | 16 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
17 | index 9a8c42c..6bb346a 100644 | 17 | index f290e2e..a3ffcb6 100644 |
18 | --- a/tests/check/meson.build | 18 | --- a/tests/check/meson.build |
19 | +++ b/tests/check/meson.build | 19 | +++ b/tests/check/meson.build |
20 | @@ -161,14 +161,19 @@ foreach t : core_tests | 20 | @@ -164,14 +164,19 @@ foreach t : core_tests |
21 | install: installed_tests_enabled, | 21 | install: installed_tests_enabled, |
22 | ) | 22 | ) |
23 | 23 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch index cb47f7244f..4b1aad2616 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 39764bd2b9f9da4a07079f76a2f68baf40c143b9 Mon Sep 17 00:00:00 2001 | 1 | From 3b9ae399b57cfb6e332fac6a90997a3abd33c819 Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sun, 2 May 2021 01:58:01 +0100 | 3 | Date: Sun, 2 May 2021 01:58:01 +0100 |
4 | Subject: [PATCH] tests: add helper script to run the installed_tests | 4 | Subject: [PATCH] tests: add helper script to run the installed_tests |
@@ -18,10 +18,10 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | |||
18 | create mode 100755 tests/check/template.sh.in | 18 | create mode 100755 tests/check/template.sh.in |
19 | 19 | ||
20 | diff --git a/tests/check/meson.build b/tests/check/meson.build | 20 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
21 | index 6bb346a..fe57935 100644 | 21 | index a3ffcb6..b907dcf 100644 |
22 | --- a/tests/check/meson.build | 22 | --- a/tests/check/meson.build |
23 | +++ b/tests/check/meson.build | 23 | +++ b/tests/check/meson.build |
24 | @@ -185,6 +185,23 @@ foreach t : core_tests | 24 | @@ -188,6 +188,23 @@ foreach t : core_tests |
25 | install_dir: installed_tests_metadir, | 25 | install_dir: installed_tests_metadir, |
26 | configuration: test_conf | 26 | configuration: test_conf |
27 | ) | 27 | ) |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.12.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.26.0.bb index d224b80eb3..a908ecd166 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.12.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.26.0.bb | |||
@@ -21,8 +21,9 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.x | |||
21 | file://0002-tests-add-support-for-install-the-tests.patch \ | 21 | file://0002-tests-add-support-for-install-the-tests.patch \ |
22 | file://0003-tests-use-a-dictionaries-for-environment.patch \ | 22 | file://0003-tests-use-a-dictionaries-for-environment.patch \ |
23 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch \ | 23 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch \ |
24 | file://0001-Fix-atomic-64-issue-on-armv5.patch \ | ||
24 | " | 25 | " |
25 | SRC_URI[sha256sum] = "b3522d1b4fe174fff3b3c7f0603493e2367bd1c43f5804df15b634bd22b1036f" | 26 | SRC_URI[sha256sum] = "1b2ee4028010c25b776effa7c396c7e3e1861b60b9417e416f4914abcdff279f" |
26 | 27 | ||
27 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ | 28 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ |
28 | check \ | 29 | check \ |