gstreamer: Add common .inc files for meson based recipes
PATCH 1/12 gstreamer: Add common .inc files for meson based recipes
* gstreamer1.0-plugins-common.inc
The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
Common code for meson based PTest support; autogenerates the run-ptest file and is designed to use the gnome-desktop-testing suite runner (which is why the .inc files inherits from ptest-gnome)
--- .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +++++++++++++ .../gstreamer1.0-plugins-packaging.inc | 70 +++++++++++++++++++ .../gstreamer/gstreamer1.0-ptest.inc | 21 ++++++ 3 files changed, 138 insertions(+) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc new file +47 -0
@@ -0,0 +1,47 @@ +# This .inc file contains the common setup for the gstreamer1.0-plugins-* +# plugin set recipes. + +# SUMMARY is set in the actual .bb recipes +HOMEPAGE = "https://gstreamer.freedesktop.org/" +BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" +SECTION = "multimedia" + +DEPENDS = "gstreamer1.0 glib-2.0-native" + +inherit gettext meson pkgconfig upstream-version-is-even + +require gstreamer1.0-plugins-packaging.inc + +# Orc enables runtime JIT compilation of data processing routines from Orc +# bytecode to SIMD instructions for various architectures (currently SSE, MMX, +# MIPS, Altivec and NEON are supported). +# This value is used in the PACKAGECONFIG values for each plugin set recipe. +# By modifying it, Orc can be enabled/disabled in all of these recipes at once. +GSTREAMER_ORC ?= "orc" + +PACKAGECONFIG[orc] = "-Dorc=enabled,-Dorc=disabled,orc orc-native" + +# TODO: put this in a gettext.bbclass patch (with variables to allow for +# configuring the option name and the enabled/disabled values). +def gettext_oemeson(d): + if d.getVar('USE_NLS') == 'no': + return '-Dnls=disabled' + # Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set + if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'): + return '-Dnls=disabled' + return '-Dnls=enabled' + +# Not all plugin sets contain examples, so the -Dexamples +# option needs to be added conditionally. +GST_PLUGIN_SET_HAS_EXAMPLES ?= "1" + +EXTRA_OEMESON += " \ + ${@bb.utils.contains('GST_PLUGIN_SET_HAS_EXAMPLES', '1', '-Dexamples=disabled', '', d)} \ + ${@gettext_oemeson(d)} \ +" + +GIR_MESON_ENABLE_FLAG = "enabled" +GIR_MESON_DISABLE_FLAG = "disabled" + +# Dynamically generate packages for all enabled plugins +PACKAGES_DYNAMIC = "^${PN}-.*"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc new file +70 -0
70 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc new file +21 -0
@@ -0,0 +1,21 @@ +inherit ptest-gnome + +TEST_FILES_PATH = "${datadir}/installed-tests/gstreamer-1.0/test-files" +RUN_PTEST_FILE = "${D}${PTEST_PATH}/run-ptest" + +EXTRA_OEMESON += "-Dtest-files-path=${TEST_FILES_PATH}" + +# Using do_install_ptest_base instead of do_install_ptest, since +# the default do_install_ptest_base is hardcoded to expect Makefiles. +do_install_ptest_base() { + # Generate run-ptest file + echo "#!/usr/bin/env sh" > "${RUN_PTEST_FILE}" + echo "gnome-desktop-testing-runner ${GST_TEST_SUITE_NAME}" >> "${RUN_PTEST_FILE}" + chmod 0755 "${RUN_PTEST_FILE}" + + # Install additional files required by tests + if [ -d "${S}/tests/files" ] ; then + install -d "${D}/${TEST_FILES_PATH}" + install -m 0644 "${S}/tests/files"/* "${D}/${TEST_FILES_PATH}" + fi +}
Signature · 1 line
2.17.1
PATCH 2/12 gstreamer1.0: Transition to meson based builds
* Moved 0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch from files/ to gstreamer1.0/ since it is gstreamer1.0 recipe specific.
* Removed M4 specific patches:
- 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
- gtk-doc-tweaks.patch
- add-a-target-to-compile-tests.patch
* Added patches:
- 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch Backport for enabling GIR support in meson based cross compilation
- 0002-meson-Add-valgrind-feature.patch
Make valgrind support configurable to be able to control it through a "valgrind" packageconfig
- 0003-meson-Add-option-for-installed-tests.patch
Add support for installable tests and for generating .test and shell scripts which can be used with the gnome-desktop-testing suite runner
* PTest support:
By default, GStreamer does not allow for installing tests, and requires meson to run its unit tests. The 0003 patch fixes this by installing the binaries themselves and by generating accompanying .test and shell scripts. The scripts set up the required environment files and then call the test binaries. The .test file list the shell scripts as Exec= command line.
---
...der.c-when-env-var-is-set-do-not-fal.patch | 0
...even-when-cross-compiling-if-introsp.patch | 36 +++
.../0003-meson-Add-valgrind-feature.patch | 74 +++++
...meson-Add-option-for-installed-tests.patch | 257 ++++++++++++++++++
.../gstreamer/gstreamer1.0_1.16.1.bb | 93 +++----
5 files changed, 404 insertions(+), 56 deletions(-)
rename meta/recipes-multimedia/gstreamer/{files => gstreamer1.0}/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch (100%)
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-valgrind-feature.patch
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-meson-Add-option-for-installed-tests.patchmeta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch renamed from meta/recipes-multimedia/gstreamer/files/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch +0 -0
meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 35db4a2433fbdf8612cf98b5aab5b14aeb5372f8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <[email protected]> +Date: Thu, 17 Oct 2019 12:13:35 +0100 +Subject: [PATCH] meson: build gir even when cross-compiling if introspection + was enabled explicitly + +This can be made to work in certain circumstances when +cross-compiling, so default to not building g-i stuff +when cross-compiling, but allow it if introspection was +enabled explicitly via -Dintrospection=enabled. + +Fixes #454 and #381. + +Upstream-Status: Backport [35db4a2433fbdf8612cf98b5aab5b14aeb5372f8] + +Signed-off-by: Carlos Rafael Giani <[email protected]> +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 90d98d8eb..a47e7f34e 100644 +--- a/meson.build ++++ b/meson.build +@@ -466,7 +466,7 @@ rt_lib = cc.find_library('rt', required : false) + gir = find_program('g-ir-scanner', required : get_option('introspection')) + gnome = import('gnome') + +-build_gir = gir.found() and not meson.is_cross_build() ++build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled()) + + gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ + 'g_setenv("GST_REGISTRY_DISABLE", "yes", TRUE);' + \ +-- +2.17.1 +
meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-valgrind-feature.patch new file +74 -0
74 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-meson-Add-option-for-installed-tests.patch new file +257 -0
257 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.1.bb +37 -56
119 lines not on this page · raw message
Signature · 1 line
2.17.1
Re: [PATCH 02/12] gstreamer1.0: Transition to meson based builds
Quoted 50 lines
-----Original Message-----
From: [email protected] <openembedded-core- [email protected]> On Behalf Of Carlos Rafael Giani
Sent: den 12 januari 2020 15:00
To: [email protected]
Subject: [OE-core] [PATCH 02/12] gstreamer1.0: Transition to meson based builds* Moved 0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch from files/ to gstreamer1.0/ since it is gstreamer1.0 recipe specific.
* Removed M4 specific patches:
- 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
- gtk-doc-tweaks.patch
- add-a-target-to-compile-tests.patch* Added patches:
- 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch Backport for enabling GIR support in meson based cross compilation
- 0002-meson-Add-valgrind-feature.patch
Make valgrind support configurable to be able to control it through a "valgrind" packageconfig
- 0003-meson-Add-option-for-installed-tests.patch
Add support for installable tests and for generating .test and shell scripts which can be used with the gnome-desktop-testing suite runner* PTest support:
By default, GStreamer does not allow for installing tests, and requires meson to run its unit tests. The 0003 patch fixes this by installing the binaries themselves and by generating accompanying .test and shell scripts. The scripts set up the required environment files and then call the test binaries. The .test file list the shell scripts as Exec= command line.Signed-off-by Carlos Rafael Giani <[email protected]>--- ...der.c-when-env-var-is-set-do-not-fal.patch | 0 ...even-when-cross-compiling-if-introsp.patch | 36 +++ .../0003-meson-Add-valgrind-feature.patch | 74 +++++ ...meson-Add-option-for-installed-tests.patch | 257 ++++++++++++++++++ .../gstreamer/gstreamer1.0_1.16.1.bb | 93 +++---- 5 files changed, 404 insertions(+), 56 deletions(-) rename meta/recipes-multimedia/gstreamer/{files => gstreamer1.0}/0001- gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch (100%) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0002- meson-build-gir-even-when-cross-compiling-if-introsp.patch create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0003- meson-Add-valgrind-feature.patch create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-meson-Add-option-for-installed-tests.patch
[cut]
Quoted 39 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.1.bb +1
-5@@ -8,11 +8,7 @@ LICENSE = "LGPLv2+" DEPENDS = "glib-2.0 glib-2.0-native libcap libxml2 bison-native flex-native" -inherit autotools pkgconfig gettext upstream-version-is-even gobject-introspection gtk-doc ptest - -# This way common/m4/introspection.m4 will come first -# (it has a custom INTROSPECTION_INIT macro, and so must be used instead of our common introspection.m4 file) -acpaths = "-I ${S}/common/m4 -I ${S}/m4" +inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection gtk-doc LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d"
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.1.bb +3
-8@@ -21,71 +17,56 @@ S = "${WORKDIR}/gstreamer-${PV}" SRC_URI = " \ https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ - file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ - file://gtk-doc-tweaks.patch \ file://0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch \ - file://add-a-target-to-compile-tests.patch \ - file://run-ptest \ + file://0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch \ + file://0003-meson-Add-valgrind-feature.patch \ + file://0004-meson-Add-option-for-installed-tests.patch \ " SRC_URI[md5sum] = "c505fb818b36988daaa846e9e63eabe8" SRC_URI[sha256sum] = "02211c3447c4daa55919c5c0f43a82a6fbb51740d57fc3af0639d46f1cf4377d" PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ - " - -PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" -PACKAGECONFIG[tests] = "--enable-tests,--disable-tests"
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.1.bb S = "${WORKDIR}/gstreamer-${PV}" · line 31
Quoted 10 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.1.bb +3
-7-PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind," -PACKAGECONFIG[gst-tracer-hooks] = "--enable-gst-tracer-hooks,--disable-gst-tracer-hooks," -PACKAGECONFIG[unwind] = "--with-unwind,--without-unwind,libunwind" -PACKAGECONFIG[dw] = "--with-dw,--without-dw,elfutils" - -EXTRA_OECONF = " \ - --disable-examples \ + tools" + +PACKAGECONFIG[debug] = "-Dgst_debug=true,-Dgst_debug=false"
To avoid confusion, you might want to call that PACKAGECONFIG "gst-debug" instead since -Dgst_debug=true corresponds to the old --enable-gst-debug, not --enable-debug (for which there does not seem to be a corresponding new Meson option).
I find it interesting though that there does not seem to have ever been a PACKAGECONFIG for --enable-gst-debug, which means it used to default to being enabled. (We have always disabled it for our production code due to the performance overhead added by having the GStreamer debug system enabled.)
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.1.bb S = "${WORKDIR}/gstreamer-${PV}" · line 39
Quoted 8 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.1.bb +8
-0+PACKAGECONFIG[tracer-hooks] = "-Dtracer_hooks=true,-Dtracer_hooks=false" +PACKAGECONFIG[tests] = "-Dcheck=enabled -Dtests=enabled -Dinstalled-tests=true,-Dcheck=disabled -Dtests=disabled -Dinstalled-tests=false" +PACKAGECONFIG[valgrind] = "-Dvalgrind=enabled,-Dvalgrind=disabled,valgrind," +PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" +PACKAGECONFIG[dw] = "-Dlibdw=enabled,-Dlibdw=disabled,elfutils" +PACKAGECONFIG[bash-completion] = "-Dbash-completion=enabled,-Dbash-completion=disabled,bash-completion" +PACKAGECONFIG[tools] = "-Dtools=enabled,-Dtools=disabled" +
//Peter
Re: [PATCH 02/12] gstreamer1.0: Transition to meson based builds
Changes to packages/core2-64-poky-linux/gstreamer1.0 (sysroot):
/usr/share/bash-completion/helpers/gst was removed /usr/share/bash-completion/helpers was removed /usr/share/bash-completion/completions/gst-launch-1.0 was removed /usr/share/bash-completion/completions was removed
Bash completion was on by default previously. Also there's a class to package it neatly.
Ross
PATCH 3/12 gstreamer1.0-plugins-base: Transition to meson based builds
In reply to Carlos Rafael Giani* OpenGL packageconfigs now work differently. There are separate ones for OpenGL API/platform/window system selection. The meson.build script expects the selected ones as comma separated lists. For example, like "-Dgl_api=opengl,gles2". The variables OPENGL_APIS / OPENGL_PLATFORMS / OPENGL_WINSYS are whitespace-separated lists (which is the OE norm) of the respective packageconfigs. .bbappend files can then extend these lists with additional possible configs.
"Possible" means that the target can support those packageconfigs. This does not immediately add them to the PACKAGECONFIG variable - this still has to be done manually. The get_opengl_cmdline_list() goes through these lists, and for each entry, checks if it is contained in the PACKAGECONFIG variable. If so, they get added to the comma separated lists that are passed to meson.
For example, a Raspberry Pi layer could add "dispmanx" to OPENGL_WINSYS.
* The "ivorbis" packageconfig got renamed to "tremor", since that is the name of the OE recipe, and now also the name of the meson option.
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch and 0002-meson-Add-variables-for-gir-files.patch are backported fixes for GIR support in the meson.build files.
* make-gio_unix_2_0-dependency-configurable.patch removed because it is no longer useful to have.
* link-with-libvchostif.patch removed because the flags it changed are no longer present in the meson.build scripts. If the related issue reappears, a similar patch can be applied again.
* 0003-riff-add-missing-include-directories-when-calling-in.patch removed since the entire gst riff library has been excluded from GObject introspection due to naming convention issues.
* Removed a number of autotool/M4 related patches and recipe lines.
* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc, since unlike with autotools, only some plugin set packages use gtk-doc.
* zlib is no longer optional, and glib anyway depends on zlib, therefore it gets added to the DEPENDS list.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
--- ....in-don-t-append-GL_CFLAGS-to-CFLAGS.patch | 29 -- ...even-when-cross-compiling-if-introsp.patch | 36 +++ ...ix-calls-to-pkg-config-with-PKG_CONF.patch | 295 ------------------ ...02-meson-Add-variables-for-gir-files.patch | 235 ++++++++++++++ ...-include-directories-when-calling-in.patch | 26 -- ...ect-reference-to-gstreamer-sdp-in-Ma.patch | 25 -- .../link-with-libvchostif.patch | 45 --- ...gio_unix_2_0-dependency-configurable.patch | 45 --- .../gstreamer1.0-plugins-base_1.16.1.bb | 95 +++--- 9 files changed, 329 insertions(+), 502 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-meson-Add-variables-for-gir-files.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-riff-add-missing-include-directories-when-calling-in.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From 61a672e79c8cb1aeeeda4c968997c577ac73a8f3 Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin <[email protected]> -Date: Fri, 12 May 2017 16:47:12 +0300 -Subject: [PATCH] gstreamer-gl.pc.in: don't append GL_CFLAGS to CFLAGS - -Dependencies' include directories should not be added in this way; -it causes problems when cross-compiling in sysroot environments. - -Upstream-Status: Pending - -Signed-off-by: Alexander Kanavin <[email protected]> -Signed-off-by: Maxin B. John <[email protected]> ---- - pkgconfig/gstreamer-gl.pc.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in -index dc672a9..8c290ba 100644 ---- a/pkgconfig/gstreamer-gl.pc.in -+++ b/pkgconfig/gstreamer-gl.pc.in -@@ -13,4 +13,4 @@ Version: @VERSION@ - Requires: gstreamer-video-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@ - - Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ --Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include @GL_CFLAGS@ -+Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include --- -2.7.4 -
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 30672ba7d134553e59935ddc875104adba26f25c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <[email protected]> +Date: Thu, 17 Oct 2019 20:06:24 +0100 +Subject: [PATCH] meson: build gir even when cross-compiling if introspection + was enabled explicitly + +This can be made to work in certain circumstances when +cross-compiling, so default to not building g-i stuff +when cross-compiling, but allow it if introspection was +enabled explicitly via -Dintrospection=enabled. + +See gstreamer/gstreamer#454 and gstreamer/gstreamer#381. + +Upstream-Status: Backport [30672ba7d134553e59935ddc875104adba26f25c] + +Signed-off-by: Carlos Rafael Giani <[email protected]> +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 264d84c9e..c8147c224 100644 +--- a/meson.build ++++ b/meson.build +@@ -372,7 +372,7 @@ endif + + gir = find_program('g-ir-scanner', required : get_option('introspection')) + gnome = import('gnome') +-build_gir = gir.found() and not meson.is_cross_build() ++build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled()) + gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ + 'g_setenv("GST_REGISTRY_DISABLE", "yes", TRUE);' + \ + 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ +-- +2.17.1 +
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch deleted +0 -295
295 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-meson-Add-variables-for-gir-files.patch new file +235 -0
235 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-riff-add-missing-include-directories-when-calling-in.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From b9765efb1696e3e2e79f2955f759be199fe34882 Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin <[email protected]> -Date: Mon, 26 Oct 2015 17:29:37 +0200 -Subject: [PATCH] riff: add missing include directories when calling - introspection scanner - -Upstream-Status: Pending [review on oe-core maillist] -Signed-off-by: Alexander Kanavin <[email protected]> - ---- - gst-libs/gst/riff/Makefile.am | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/gst-libs/gst/riff/Makefile.am b/gst-libs/gst/riff/Makefile.am -index c8c588a..c096453 100644 ---- a/gst-libs/gst/riff/Makefile.am -+++ b/gst-libs/gst/riff/Makefile.am -@@ -41,6 +41,8 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) - # --strip-prefix=Gst \ - # --warn-all \ - # --c-include "gst/riff/riff.h" \ -+# -I$(top_srcdir)/gst-libs \ -+# -I$(top_builddir)/gst-libs \ - # --add-include-path=$(builddir)/../tag \ - # --add-include-path=$(builddir)/../audio \ - # --add-include-path=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch deleted +0 -25
@@ -1,25 +0,0 @@ -From 53b5868491cf99ee797192395dbfeb69df23edd2 Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin <[email protected]> -Date: Mon, 26 Oct 2015 17:30:14 +0200 -Subject: [PATCH] rtsp: drop incorrect reference to gstreamer-sdp in - Makefile.am - -Upstream-Status: Pending [review on oe-core maillist] -Signed-off-by: Alexander Kanavin <[email protected]> - ---- - gst-libs/gst/rtsp/Makefile.am | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/gst-libs/gst/rtsp/Makefile.am b/gst-libs/gst/rtsp/Makefile.am -index 79027cb..2987e23 100644 ---- a/gst-libs/gst/rtsp/Makefile.am -+++ b/gst-libs/gst/rtsp/Makefile.am -@@ -82,7 +82,6 @@ GstRtsp-@[email protected]: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERS - --pkg gio-2.0 \ - --pkg gstreamer-@GST_API_VERSION@ \ - --pkg gstreamer-base-@GST_API_VERSION@ \ -- --pkg gstreamer-sdp-@GST_API_VERSION@ \ - --pkg-export gstreamer-rtsp-@GST_API_VERSION@ \ - --add-init-section="$(INTROSPECTION_INIT)" \ - --output $@ \
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch deleted +0 -45
45 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch deleted +0 -45
45 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb +58 -37
129 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 4/12 gstreamer1.0-plugins-good: Transition to meson based builds
In reply to Carlos Rafael Giani* Removed autotools/M4 related patch 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc, since unlike with autotools, only some plugin set packages use gtk-doc.
* zlib is no longer optional, and glib anyway depends on zlib, therefore it gets added to the DEPENDS list.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
--- .../gstreamer1.0-plugins-good_1.16.1.bb | 79 +++++++++---------- 1 file changed, 38 insertions(+), 41 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +38 -41
@@ -1,8 +1,7 @@ -require gstreamer1.0-plugins.inc +require gstreamer1.0-plugins-common.inc SRC_URI = " \ https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ - file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " SRC_URI[md5sum] = "515987ee763256840a11bd8ea098f2bf"
@@ -15,42 +14,41 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \ file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" -DEPENDS += "gstreamer1.0-plugins-base libcap" +DEPENDS += "gstreamer1.0-plugins-base libcap zlib" RPROVIDES_${PN}-pulseaudio += "${PN}-pulse" RPROVIDES_${PN}-soup += "${PN}-souphttpsrc" -inherit gettext - PACKAGECONFIG ??= " \ ${GSTREAMER_ORC} \ ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ - bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 zlib \ + bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 \ " X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" +X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled -Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled" +X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled" -PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" -PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo" -PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libiec61883 libavc1394 libraw1394" -PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" -PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf" -PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" -PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,libgudev" -PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" -PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" -PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame" -PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng" -PACKAGECONFIG[libv4l2] = "--with-libv4l2,--without-libv4l2,v4l-utils" -PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" -PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio" -PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4" -PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex" -PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib" -PACKAGECONFIG[v4l2] = "--enable-gst_v4l2 --enable-v4l2-probe,--disable-gst_v4l2" -PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx" -PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" -PACKAGECONFIG[x11] = "--enable-x,--disable-x,${X11DEPENDS}" -PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" +PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" +PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" +PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394" +PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" +PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf" +PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" +PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev" +PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" +PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" +PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame" +PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" +PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils" +PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123" +PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio" +PACKAGECONFIG[soup] = "-Dsoup=enabled,-Dsoup=disabled,libsoup-2.4" +PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex" +PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib" +PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false" +PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx" +PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack" +PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" # qt5 support is disabled, because it is not present in OE core, and requires more work than # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake paths).
@@ -58,19 +56,18 @@ PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" # in a gstreamer1.0-plugins-good bbappend). EXTRA_OECONF += " \ - --enable-oss \ - --disable-aalib \ - --disable-aalibtest \ - --disable-directsound \ - --disable-libcaca \ - --disable-libdv \ - --disable-oss4 \ - --disable-osx_audio \ - --disable-osx_video \ - --disable-qt \ - --disable-shout2 \ - --disable-twolame \ - --disable-waveform \ + -Daalib=disabled \ + -Ddirectsound=disabled \ + -Ddv=disabled \ + -Dlibcaca=disabled \ + -Doss=enabled \ + -Doss4=disabled \ + -Dosxaudio=disabled \ + -Dosxvideo=disabled \ + -Dqt=disabled \ + -Dshout2=disabled \ + -Dtwolame=disabled \ + -Dwaveform=disabled \ " FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"
Signature · 1 line
2.17.1
Re: [PATCH 04/12] gstreamer1.0-plugins-good: Transition to meson based builds
Quoted 103 lines · Carlos Rafael Giani
* Removed autotools/M4 related patch 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc, since unlike with autotools, only some plugin set packages use gtk-doc.
* zlib is no longer optional, and glib anyway depends on zlib, therefore it gets added to the DEPENDS list.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
Signed-off-by Carlos Rafael Giani <[email protected]>--- .../gstreamer1.0-plugins-good_1.16.1.bb | 79 +++++++++---------- 1 file changed, 38 insertions(+), 41 deletions(-)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +26
-28@@ -1,8 +1,7 @@ -require gstreamer1.0-plugins.inc +require gstreamer1.0-plugins-common.inc SRC_URI = " \ https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ - file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " SRC_URI[md5sum] = "515987ee763256840a11bd8ea098f2bf"@@ -15,42 +14,41 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \ file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" -DEPENDS += "gstreamer1.0-plugins-base libcap" +DEPENDS += "gstreamer1.0-plugins-base libcap zlib" RPROVIDES_${PN}-pulseaudio += "${PN}-pulse" RPROVIDES_${PN}-soup += "${PN}-souphttpsrc" -inherit gettext - PACKAGECONFIG ??= " \ ${GSTREAMER_ORC} \ ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ - bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 zlib \ + bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 \ " X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" +X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled -Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled" +X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled" -PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" -PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo" -PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libiec61883 libavc1394 libraw1394" -PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" -PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf" -PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" -PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,libgudev" -PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" -PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" -PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame" -PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng" -PACKAGECONFIG[libv4l2] = "--with-libv4l2,--without-libv4l2,v4l-utils" -PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" -PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio" -PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4" -PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex" -PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib" -PACKAGECONFIG[v4l2] = "--enable-gst_v4l2 --enable-v4l2-probe,--disable-gst_v4l2" -PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx" -PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" -PACKAGECONFIG[x11] = "--enable-x,--disable-x,${X11DEPENDS}" -PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" +PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" +PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" +PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394" +PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" +PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf" +PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" +PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev" +PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" +PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" +PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame" +PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" +PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils" +PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123" +PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio" +PACKAGECONFIG[soup] = "-Dsoup=enabled,-Dsoup=disabled,libsoup-2.4" +PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex" +PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib" +PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false" +PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx" +PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack" +PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" # qt5 support is disabled, because it is not present in OE core, and requires more work than # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake paths).@@ -58,19 +56,18 @@ PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" # in a gstreamer1.0-plugins-good bbappend). EXTRA_OECONF += " \
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" · line 70
Quoted 10 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +0
-10- --enable-oss \ - --disable-aalib \ - --disable-aalibtest \ - --disable-directsound \ - --disable-libcaca \ - --disable-libdv \ - --disable-oss4 \ - --disable-osx_audio \ - --disable-osx_video \ - --disable-qt \
Dont disable it explicitly, meta-qt5 will has a packageconfig for it.
Quoted 26 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +12
-4- --disable-shout2 \ - --disable-twolame \ - --disable-waveform \ + -Daalib=disabled \ + -Ddirectsound=disabled \ + -Ddv=disabled \ + -Dlibcaca=disabled \ + -Doss=enabled \ + -Doss4=disabled \ + -Dosxaudio=disabled \ + -Dosxvideo=disabled \ + -Dqt=disabled \ + -Dshout2=disabled \ + -Dtwolame=disabled \ + -Dwaveform=disabled \ " FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" --2.17.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 04/12] gstreamer1.0-plugins-good: Transition to meson based builds
Quoted 9 lines · Khem Raj
On Sun, Jan 12, 2020 at 6:33 AM Carlos Rafael Giani <[email protected]> wrote:
...Quoted 2 lines
# qt5 support is disabled, because it is not present in OE core, and requires more work than # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake paths)....
Quoted 1 line
- --disable-qt \
Dont disable it explicitly, meta-qt5 will has a packageconfig for it.
...
You are commenting on the previous removed code, qt5 support unconditionally disabled is invariant here.
cu
Adrian
Re: [PATCH 04/12] gstreamer1.0-plugins-good: Transition to meson based builds
In reply to Khem RajActually, you have a point. I seem to have forgotten to fix this in this patch. With meson, it appears that the meta-qt5 bbappend is no longer necessary, since meson finds the Qt5 moc/rcc/uic tools on its own, so a packageconfig could be added right here. However, I'd like to investigate that moc/rcc/uic autodetection more to be sure it does not bring with it some "surprises" that could bite us in the behind when doing production builds.
Quoted 141 lines · Khem Raj
Quoted 102 lines · Carlos Rafael Giani
* Removed autotools/M4 related patch 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc, since unlike with autotools, only some plugin set packages use gtk-doc.
* zlib is no longer optional, and glib anyway depends on zlib, therefore it gets added to the DEPENDS list.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
Signed-off-by Carlos Rafael Giani <[email protected]>--- .../gstreamer1.0-plugins-good_1.16.1.bb | 79 +++++++++---------- 1 file changed, 38 insertions(+), 41 deletions(-)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +26
-28@@ -1,8 +1,7 @@ -require gstreamer1.0-plugins.inc +require gstreamer1.0-plugins-common.inc SRC_URI = " \ https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ - file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " SRC_URI[md5sum] = "515987ee763256840a11bd8ea098f2bf"@@ -15,42 +14,41 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \ file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" -DEPENDS += "gstreamer1.0-plugins-base libcap" +DEPENDS += "gstreamer1.0-plugins-base libcap zlib" RPROVIDES_${PN}-pulseaudio += "${PN}-pulse" RPROVIDES_${PN}-soup += "${PN}-souphttpsrc" -inherit gettext - PACKAGECONFIG ??= " \ ${GSTREAMER_ORC} \ ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ - bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 zlib \ + bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 \ " X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" +X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled -Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled" +X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled" -PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" -PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo" -PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libiec61883 libavc1394 libraw1394" -PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" -PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf" -PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" -PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,libgudev" -PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" -PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" -PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame" -PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng" -PACKAGECONFIG[libv4l2] = "--with-libv4l2,--without-libv4l2,v4l-utils" -PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" -PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio" -PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4" -PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex" -PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib" -PACKAGECONFIG[v4l2] = "--enable-gst_v4l2 --enable-v4l2-probe,--disable-gst_v4l2" -PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx" -PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" -PACKAGECONFIG[x11] = "--enable-x,--disable-x,${X11DEPENDS}" -PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" +PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" +PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" +PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394" +PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" +PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf" +PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" +PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev" +PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" +PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" +PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame" +PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" +PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils" +PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123" +PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio" +PACKAGECONFIG[soup] = "-Dsoup=enabled,-Dsoup=disabled,libsoup-2.4" +PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex" +PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib" +PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false" +PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx" +PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack" +PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" # qt5 support is disabled, because it is not present in OE core, and requires more work than # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake paths).@@ -58,19 +56,18 @@ PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" # in a gstreamer1.0-plugins-good bbappend). EXTRA_OECONF += " \meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" · line 70
Quoted 10 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +0
-10- --enable-oss \ - --disable-aalib \ - --disable-aalibtest \ - --disable-directsound \ - --disable-libcaca \ - --disable-libdv \ - --disable-oss4 \ - --disable-osx_audio \ - --disable-osx_video \ - --disable-qt \Dont disable it explicitly, meta-qt5 will has a packageconfig for it.
Quoted 26 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +12
-4- --disable-shout2 \ - --disable-twolame \ - --disable-waveform \ + -Daalib=disabled \ + -Ddirectsound=disabled \ + -Ddv=disabled \ + -Dlibcaca=disabled \ + -Doss=enabled \ + -Doss4=disabled \ + -Dosxaudio=disabled \ + -Dosxvideo=disabled \ + -Dqt=disabled \ + -Dshout2=disabled \ + -Dtwolame=disabled \ + -Dwaveform=disabled \ " FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" --2.17.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 04/12] gstreamer1.0-plugins-good: Transition to meson based builds
Quoted 7 lines · Carlos Rafael Giani
Actually, you have a point. I seem to have forgotten to fix this in this patch. With meson, it appears that the meta-qt5 bbappend is no longer necessary, since meson finds the Qt5 moc/rcc/uic tools on its own, so a packageconfig could be added right here. However, I'd like to investigate that moc/rcc/uic autodetection more to be sure it does not bring with it some "surprises" that could bite us in the behind when doing production builds.
I think that might be better
Quoted 143 lines · Khem Raj
Quoted 141 lines · Carlos Rafael Giani
Quoted 102 lines
* Removed autotools/M4 related patch 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc, since unlike with autotools, only some plugin set packages use gtk-doc.
* zlib is no longer optional, and glib anyway depends on zlib, therefore it gets added to the DEPENDS list.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
Signed-off-by Carlos Rafael Giani <[email protected]>--- .../gstreamer1.0-plugins-good_1.16.1.bb | 79 +++++++++---------- 1 file changed, 38 insertions(+), 41 deletions(-)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +26
-28@@ -1,8 +1,7 @@ -require gstreamer1.0-plugins.inc +require gstreamer1.0-plugins-common.inc SRC_URI = " \ https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ - file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " SRC_URI[md5sum] = "515987ee763256840a11bd8ea098f2bf"@@ -15,42 +14,41 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \ file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" -DEPENDS += "gstreamer1.0-plugins-base libcap" +DEPENDS += "gstreamer1.0-plugins-base libcap zlib" RPROVIDES_${PN}-pulseaudio += "${PN}-pulse" RPROVIDES_${PN}-soup += "${PN}-souphttpsrc" -inherit gettext - PACKAGECONFIG ??= " \ ${GSTREAMER_ORC} \ ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ - bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 zlib \ + bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib v4l2 \ " X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage" +X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled -Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled" +X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled" -PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" -PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo" -PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libiec61883 libavc1394 libraw1394" -PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" -PACKAGECONFIG[gdk-pixbuf] = "--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf" -PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" -PACKAGECONFIG[gudev] = "--with-gudev,--without-gudev,libgudev" -PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" -PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" -PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame" -PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng" -PACKAGECONFIG[libv4l2] = "--with-libv4l2,--without-libv4l2,v4l-utils" -PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" -PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio" -PACKAGECONFIG[soup] = "--enable-soup,--disable-soup,libsoup-2.4" -PACKAGECONFIG[speex] = "--enable-speex,--disable-speex,speex" -PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib" -PACKAGECONFIG[v4l2] = "--enable-gst_v4l2 --enable-v4l2-probe,--disable-gst_v4l2" -PACKAGECONFIG[vpx] = "--enable-vpx,--disable-vpx,libvpx" -PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" -PACKAGECONFIG[x11] = "--enable-x,--disable-x,${X11DEPENDS}" -PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" +PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" +PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" +PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394" +PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" +PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf" +PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" +PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev" +PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" +PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" +PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame" +PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" +PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils" +PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123" +PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio" +PACKAGECONFIG[soup] = "-Dsoup=enabled,-Dsoup=disabled,libsoup-2.4" +PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex" +PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib" +PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false" +PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx" +PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack" +PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" # qt5 support is disabled, because it is not present in OE core, and requires more work than # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake paths).@@ -58,19 +56,18 @@ PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" # in a gstreamer1.0-plugins-good bbappend). EXTRA_OECONF += " \meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" · line 70
Quoted 10 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +0
-10- --enable-oss \ - --disable-aalib \ - --disable-aalibtest \ - --disable-directsound \ - --disable-libcaca \ - --disable-libdv \ - --disable-oss4 \ - --disable-osx_audio \ - --disable-osx_video \ - --disable-qt \Dont disable it explicitly, meta-qt5 will has a packageconfig for it.
Quoted 26 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +12
-4- --disable-shout2 \ - --disable-twolame \ - --disable-waveform \ + -Daalib=disabled \ + -Ddirectsound=disabled \ + -Ddv=disabled \ + -Dlibcaca=disabled \ + -Doss=enabled \ + -Doss4=disabled \ + -Dosxaudio=disabled \ + -Dosxvideo=disabled \ + -Dqt=disabled \ + -Dshout2=disabled \ + -Dtwolame=disabled \ + -Dwaveform=disabled \ " FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" --2.17.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 04/12] gstreamer1.0-plugins-good: Transition to meson based builds
In reply to Carlos Rafael GianiChanges to images/qemux86_64/glibc/core-image-sato (installed-package-names.txt):
gstreamer1.0-plugins-good-monoscope was added gstreamer1.0-plugins-good-oss4 was added
These were not being built with autotools. Do we want them to be enabled out of the box and do we want PACKAGECONFIGs for them?
(the minimal-impact response would be no and yes)
Ross
Re: [PATCH 04/12] gstreamer1.0-plugins-good: Transition to meson based builds
In reply to Carlos Rafael Gianimeta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb PACKAGECONFIG[zlib] = "--enable-zlib, · line 58
Quoted 9 lines · Carlos Rafael Giani
# qt5 support is disabled, because it is not present in OE core, and requires more work than # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake paths).meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +0
-1@@ -58,19 +56,18 @@ PACKAGECONFIG[zlib] = "--enable-zlib, --disable-zlib,zlib" # in a gstreamer1.0-plugins-good bbappend). EXTRA_OECONF += " \
This should have been EXTRA_OEMESON.
Quoted 12 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +0
-12- --enable-oss \ - --disable-aalib \ - --disable-aalibtest \ - --disable-directsound \ - --disable-libcaca \ - --disable-libdv \ - --disable-oss4 \ - --disable-osx_audio \ - --disable-osx_video \ - --disable-qt \ - --disable-shout2 \ - --disable-twolame \
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" · line 67
Quoted 10 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb +9
-1- --disable-waveform \ + -Daalib=disabled \ + -Ddirectsound=disabled \ + -Ddv=disabled \ + -Dlibcaca=disabled \ + -Doss=enabled \ + -Doss4=disabled \ + -Dosxaudio=disabled \ + -Dosxvideo=disabled \ + -Dqt=disabled \
and this should be qt5?
Thanks,
Anuj
PATCH 5/12 gstreamer1.0-plugins-bad: Transition to meson based builds
In reply to Carlos Rafael Giani* Removed autotools/M4 related patch 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* configure-allow-to-disable-libssh2.patch got replaced by the -Dcurl-ssh2 option.
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a fix for GIR support in the meson.build file.
* New "closedcaption" packageconfigs added.
* Removed "flite" packageconfig since flite-alsa was removed from meta-openembedded due it being old and abandoned.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
--- ...even-when-cross-compiling-if-introsp.patch | 36 +++ .../configure-allow-to-disable-libssh2.patch | 61 ----- .../gstreamer1.0-plugins-bad_1.16.1.bb | 209 +++++++++--------- 3 files changed, 141 insertions(+), 165 deletions(-) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <[email protected]> +Date: Fri, 18 Oct 2019 00:39:12 +0100 +Subject: [PATCH 1/2] meson: build gir even when cross-compiling if + introspection was enabled explicitly + +This can be made to work in certain circumstances when +cross-compiling, so default to not building g-i stuff +when cross-compiling, but allow it if introspection was +enabled explicitly via -Dintrospection=enabled. + +See gstreamer/gstreamer#454 and gstreamer/gstreamer#381. + +Upstream-Status: Backport [97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19] + +Signed-off-by: Carlos Rafael Giani <[email protected]> +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 67aeeb4d0..7b3314bd9 100644 +--- a/meson.build ++++ b/meson.build +@@ -411,7 +411,7 @@ python3 = import('python').find_installation() + + gir = find_program('g-ir-scanner', required : get_option('introspection')) + gnome = import('gnome') +-build_gir = gir.found() and not meson.is_cross_build() ++build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled()) + gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ + 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ + 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \ +-- +2.17.1 +
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch deleted +0 -61
61 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb +105 -104
242 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 6/12 gstreamer1.0-plugins-ugly: Transition to meson based builds
In reply to Carlos Rafael Giani* Removed autotools/M4 related patch 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
--- .../gstreamer1.0-plugins-ugly_1.16.1.bb | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb +11 -12
@@ -1,4 +1,4 @@ -require gstreamer1.0-plugins.inc +require gstreamer1.0-plugins-common.inc LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068"
@@ -8,7 +8,6 @@ LICENSE_FLAGS = "commercial" SRC_URI = " \ https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ - file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " SRC_URI[md5sum] = "668795903cb4971fba9aa89abdea8369" SRC_URI[sha256sum] = "4bf913b2ca5195ac3b53b5e3ade2dc7c45d2258507552ddc850c5fa425968a1d"
@@ -17,23 +16,23 @@ S = "${WORKDIR}/gst-plugins-ugly-${PV}" DEPENDS += "gstreamer1.0-plugins-base" -inherit gettext +GST_PLUGIN_SET_HAS_EXAMPLES = "0" PACKAGECONFIG ??= " \ ${GSTREAMER_ORC} \ a52dec mpeg2dec \ " -PACKAGECONFIG[a52dec] = "--enable-a52dec,--disable-a52dec,liba52" -PACKAGECONFIG[amrnb] = "--enable-amrnb,--disable-amrnb,opencore-amr" -PACKAGECONFIG[amrwb] = "--enable-amrwb,--disable-amrwb,opencore-amr" -PACKAGECONFIG[cdio] = "--enable-cdio,--disable-cdio,libcdio" -PACKAGECONFIG[dvdread] = "--enable-dvdread,--disable-dvdread,libdvdread" -PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec" -PACKAGECONFIG[x264] = "--enable-x264,--disable-x264,x264" +PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" +PACKAGECONFIG[amrnb] = "-Damrnb=enabled,-Damrnb=disabled,opencore-amr" +PACKAGECONFIG[amrwb] = "-Damrwbdec=enabled,-Damrwbdec=disabled,opencore-amr" +PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" +PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" +PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec" +PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264" -EXTRA_OECONF += " \ - --disable-sidplay \ +EXTRA_OEMESON += " \ + -Dsidplay=disabled \ " FILES_${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs"
Signature · 1 line
2.17.1
PATCH 7/12 gstreamer1.0-libav: Transition to meson based builds
In reply to Carlos Rafael Gianimeson based builds exclusively rely on external FFmpeg builds. The internal copy was added at a time when stable FFmpeg releases did not exist. They do nowadays, so the internal copy is not needed anymore. As a result, large portions of the recipe are unnecessary, since they set up the internal copy. Same goes for the patches and the zlib/bzip2/xz dependendencies.
--- ...ble-yasm-for-libav-when-disable-yasm.patch | 33 ---------- ...-configure-check-for-armv7ve-variant.patch | 35 ----------- .../0001-fix-host-contamination.patch | 36 ----------- .../mips64_cpu_detection.patch | 32 ---------- ...to-build-gst-libav-for-i586-with-gcc.patch | 26 -------- .../gstreamer/gstreamer1.0-libav_1.16.1.bb | 63 +++++-------------- 6 files changed, 14 insertions(+), 211 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 54bba228ea52d01fd84941d97be23c03f9862b64 Mon Sep 17 00:00:00 2001 -From: Carlos Rafael Giani <[email protected]> -Date: Sat, 6 Apr 2013 01:22:22 +0200 -Subject: [PATCH] Disable yasm for libav when --disable-yasm - -Upstream-Status: Inappropriate [configuration] - -Signed-off-by: Shane Wang <[email protected]> -Signed-off-by: Carlos Rafael Giani <[email protected]> ---- - configure.ac | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 22ede88..ef3c050 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -355,6 +355,12 @@ else - emblibav_configure_args="$emblibav_configure_args --enable-gpl" - fi - -+ AC_ARG_ENABLE(yasm, -+ [AC_HELP_STRING([--disable-yasm], [disable use of yasm assembler])]) -+ if test "x$enable_yasm" = "xno"; then -+ emblibav_configure_args="$emblibav_configure_args --disable-yasm" -+ fi -+ - # if we are cross-compiling, tell libav so - case $host in - *android*) --- -1.8.2 -
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From aac5902d3c9cb35c771e760d0e487622aa2e116a Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Thu, 20 Apr 2017 10:38:18 -0700 -Subject: [PATCH] configure: check for armv7ve variant - -OE passes -mcpu and -march via cmdline and if -package tries to detect one of it own then it -should be compatible otherwise, newer gcc7+ will -error out - -Check for relevant preprocessor macro to determine -armv7ve architecture - -Upstream-Status: Pending - -Signed-off-by: Khem Raj <[email protected]> ---- - gst-libs/ext/libav/configure | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/gst-libs/ext/libav/configure b/gst-libs/ext/libav/configure -index 4a5e477..727818e 100755 ---- a/gst-libs/ext/libav/configure -+++ b/gst-libs/ext/libav/configure -@@ -4745,6 +4745,7 @@ elif enabled arm; then - elif check_arm_arch 6KZ; then echo armv6zk - elif check_arm_arch 6ZK; then echo armv6zk - elif check_arm_arch 6T2; then echo armv6t2 -+ elif check_arm_arch EXT_IDIV; then echo armv7ve - elif check_arm_arch 7; then echo armv7 - elif check_arm_arch 7A 7_A; then echo armv7-a - elif check_arm_arch 7S; then echo armv7-a --- -2.12.2 -
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From c1700f867f876ee33c130a8e28b688e2b1d89663 Mon Sep 17 00:00:00 2001 -From: Anuj Mittal <[email protected]> -Date: Wed, 11 Apr 2018 17:14:55 +0800 -Subject: [PATCH] Prevent host contamination - -Remove reference to host $(libdir) from .la files. - -Upstream-Status: Inappropriate [cross-compile specific] - -Signed-off-by: Anuj Mittal <[email protected]> ---- - gst-libs/ext/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/gst-libs/ext/Makefile.am b/gst-libs/ext/Makefile.am -index 6cdc048..a19d255 100644 ---- a/gst-libs/ext/Makefile.am -+++ b/gst-libs/ext/Makefile.am -@@ -49,7 +49,7 @@ echo " GEN $1.la" && \ - echo "library_names=''" && \ - echo "old_library='$1.a'" && \ - echo "inherited_linker_flags=''" && \ -- echo "dependency_libs=' -L$(libdir) $(if $2,$(foreach dep,$2,$(abs_builddir)/$(dep).la)) $(call find_library_la,$3 $(LIBM),$(LDFLAGS)) '" && \ -+ echo "dependency_libs=' -L $(if $2,$(foreach dep,$2,$(abs_builddir)/$(dep).la)) $(call find_library_la,$3 $(LIBM),$(LDFLAGS)) '" && \ - echo "weak_library_names=''" && \ - echo "current=" && \ - echo "age=" && \ -@@ -58,7 +58,7 @@ echo " GEN $1.la" && \ - echo "shouldnotlink=no" && \ - echo "dlopen=''" && \ - echo "dlpreopen=''" && \ -- echo "libdir='$(libdir)'") > $1.la -+ echo "libdir=''") > $1.la - endef - - libavutil.la:
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch deleted +0 -32
@@ -1,32 +0,0 @@ -It will add -mips64r6 and -mips64r2 to cmdline which will -cause conflicts - -in OE we user mips32r2 and mips64r2 for mips arch versions -so there is no benefit of detecting it automatically by -poking at tools especially in cross env - -Fixes errors like - -linking -mnan=2008 module with previous -mnan=legacy modules -failed to merge target specific data of file - --Khem -Upstream-Status: Inappropriate [OE-Specific] - -Index: gst-libav-1.10.1/gst-libs/ext/libav/configure -=================================================================== ---- gst-libav-1.10.1.orig/gst-libs/ext/libav/configure -+++ gst-libav-1.10.1/gst-libs/ext/libav/configure -@@ -5650,12 +5650,9 @@ elif enabled mips; then - - # Enable minimum ISA based on selected options - if enabled mips64; then -- enabled mips64r6 && check_inline_asm_flags mips64r6 '"dlsa $0, $0, $0, 1"' '-mips64r6' - enabled mips64r2 && check_inline_asm_flags mips64r2 '"dext $0, $0, 0, 1"' '-mips64r2' - disabled mips64r6 && disabled mips64r2 && check_inline_asm_flags mips64r1 '"daddi $0, $0, 0"' '-mips64' - else -- enabled mips32r6 && check_inline_asm_flags mips32r6 '"aui $0, $0, 0"' '-mips32r6' -- enabled mips32r5 && check_inline_asm_flags mips32r5 '"eretnc"' '-mips32r5' - enabled mips32r2 && check_inline_asm_flags mips32r2 '"ext $0, $0, 0, 1"' '-mips32r2' - disabled mips32r6 && disabled mips32r5 && disabled mips32r2 && check_inline_asm_flags mips32r1 '"addi $0, $0, 0"' '-mips32' - fi
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch deleted +0 -26
@@ -1,26 +0,0 @@ -Description: Workaround to build libav for i586 with gcc 4.9.2 by avoiding memset -Author: Bernhard �belacker <[email protected]> - ---- -Bug-Debian: https://bugs.debian.org/783082 -Last-Update: 2015-04-28 - -Upstream-Status: Backport [debian] - -Signed-off-by: Robert Yang <[email protected]> - ---- gst-libav-1.4.5.orig/gst-libs/ext/libav/libavcodec/h264_cabac.c -+++ gst-libav-1.4.5/gst-libs/ext/libav/libavcodec/h264_cabac.c -@@ -2057,7 +2057,11 @@ decode_intra_mb: - // In deblocking, the quantizer is 0 - h->cur_pic.qscale_table[mb_xy] = 0; - // All coeffs are present -- memset(h->non_zero_count[mb_xy], 16, 48); -+ /*memset(h->non_zero_count[mb_xy], 16, 48);*/ -+ /* avoiding this memset because it leads at least with gcc4.9.2 to error: 'asm' operand has impossible constraints */ -+ for (size_t i = 0; i < 48; i++) { -+ ( (unsigned char*)(h->non_zero_count[mb_xy]) ) [i] = 16; -+ } - h->cur_pic.mb_type[mb_xy] = mb_type; - sl->last_qscale_diff = 0; - return 0;
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.1.bb +14 -49
79 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 8/12 gstreamer1.0-vaapi: Transition to meson based builds
In reply to Carlos Rafael Giani* Removed autotools/M4 related patch 0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch.
--- ...le.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch | 33 ------------------- .../gstreamer/gstreamer1.0-vaapi_1.16.1.bb | 26 ++++++++++----- 2 files changed, 17 insertions(+), 42 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 5403a89e6a7ac72a23e0221075c0c19b5f85a021 Mon Sep 17 00:00:00 2001 -From: Fabio Berton <[email protected]> -Date: Wed, 13 Jun 2018 09:09:25 -0300 -Subject: [PATCH] gst/vaapi/Makefile.am: Add EGL_CFLAGS to libgstvaapi CFLAGS -Organization: O.S. Systems Software LTDA. - -We need this to pass correctly EGL CFLAGS when building with EGL support. - -Upstream-Status: Pending - -Signed-off-by: Fabio Berton <[email protected]> ---- - gst/vaapi/Makefile.am | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/gst/vaapi/Makefile.am b/gst/vaapi/Makefile.am -index b299ac98..d6cab71f 100644 ---- a/gst/vaapi/Makefile.am -+++ b/gst/vaapi/Makefile.am -@@ -24,6 +24,10 @@ libgstvaapi_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx.la - endif - - if USE_EGL -+libgstvaapi_CFLAGS += \ -+ $(EGL_CFLAGS) \ -+ $(NULL) -+ - libgstvaapi_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-egl.la - endif - --- -2.17.1 -
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb +17 -9
@@ -9,7 +9,6 @@ LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \ - file://0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch \ file://0001-vaapsink-downgrade-to-marginal.patch \ "
@@ -19,10 +18,18 @@ SRC_URI[sha256sum] = "cb570f6f1e78cb364fbe3c4fb8751824ee9db0c942ba61b62380b9b5ab S = "${WORKDIR}/${REALPN}-${PV}" DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" -inherit autotools pkgconfig gtk-doc features_check upstream-version-is-even +inherit meson pkgconfig gtk-doc features_check upstream-version-is-even REQUIRED_DISTRO_FEATURES ?= "opengl" +EXTRA_OEMESON += " \ + -Dexamples=disabled \ +" + +GTKDOC_MESON_OPTION = "gtk_doc" +GTKDOC_MESON_ENABLE_FLAG = "enabled" +GTKDOC_MESON_DISABLE_FLAG = "disabled" + PACKAGES =+ "${PN}-tests" # OpenGL packageconfig factored out to make it easy for distros
@@ -33,17 +40,18 @@ PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx' bb.utils.contains('DISTRO_FEATURES', 'opengl', 'egl', \ '', d), d)}" -PACKAGECONFIG ??= "drm \ +PACKAGECONFIG ??= "drm encoders \ ${PACKAGECONFIG_GL} \ ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" -PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm" -PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" -PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/libgl" -PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols" -PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender" +PACKAGECONFIG[drm] = "-Dwith_drm=yes,-Dwith_drm=no,udev libdrm" +PACKAGECONFIG[egl] = "-Dwith_egl=yes,-Dwith_egl=no,virtual/egl" +PACKAGECONFIG[encoders] = "-Dwith_encoders=yes,-Dwith_encoders=no" +PACKAGECONFIG[glx] = "-Dwith_glx=yes,-Dwith_glx=no,virtual/libgl" +PACKAGECONFIG[wayland] = "-Dwith_wayland=yes,-Dwith_wayland=no,wayland-native wayland wayland-protocols" +PACKAGECONFIG[x11] = "-Dwith_x11=yes,-Dwith_x11=no,virtual/libx11 libxrandr libxrender" FILES_${PN} += "${libdir}/gstreamer-*/*.so" FILES_${PN}-dbg += "${libdir}/gstreamer-*/.debug" -FILES_${PN}-dev += "${libdir}/gstreamer-*/*.la ${libdir}/gstreamer-*/*.a" +FILES_${PN}-dev += "${libdir}/gstreamer-*/*.a" FILES_${PN}-tests = "${bindir}/*"
Signature · 1 line
2.17.1
PATCH 9/12 gstreamer1.0-omx: Transition to meson based build
In reply to Carlos Rafael Giani* Removed autotools/M4 specific bits from recipe.
* gettext, gtk-doc, and valgrind support is no longer present in gst-omx, and arguably never really was (because they were present in the "common" git submodule that is no longer being used in meson base builds).
--- .../gstreamer/gstreamer1.0-omx_1.16.1.bb | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb +2 -13
@@ -16,14 +16,12 @@ S = "${WORKDIR}/gst-omx-${PV}" DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" -inherit autotools pkgconfig gettext gtk-doc upstream-version-is-even - -acpaths = "-I ${S}/common/m4 -I ${S}/m4" +inherit meson pkgconfig upstream-version-is-even GSTREAMER_1_0_OMX_TARGET ?= "bellagio" GSTREAMER_1_0_OMX_CORE_NAME ?= "${libdir}/libomxil-bellagio.so.0" -EXTRA_OECONF += "--disable-valgrind --with-omx-target=${GSTREAMER_1_0_OMX_TARGET}" +EXTRA_OEMESON += "-Dtarget=${GSTREAMER_1_0_OMX_TARGET}" python __anonymous () { omx_target = d.getVar("GSTREAMER_1_0_OMX_TARGET")
@@ -37,21 +35,12 @@ python __anonymous () { d.setVar("PACKAGE_ARCH", d.getVar("MACHINE_ARCH")) } -delete_pkg_m4_file() { - # Delete m4 files which we provide patched versions of but will be ignored - # if these exist - rm -f "${S}/common/m4/pkg.m4" - rm -f "${S}/common/m4/gtk-doc.m4" -} -do_configure[prefuncs] += "delete_pkg_m4_file" - set_omx_core_name() { sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}${sysconfdir}/xdg/gstomx.conf" } do_install[postfuncs] += " set_omx_core_name " FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" -FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la" FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" RDEPENDS_${PN} = "libomxil"
Signature · 1 line
2.17.1
PATCH 10/12 gstreamer1.0-rtsp-server: Transition to meson based build
In reply to Carlos Rafael Giani* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a fix for GIR support in the meson.build file.
--- ...even-when-cross-compiling-if-introsp.patch | 36 +++++++++++++++++++ .../gstreamer1.0-rtsp-server_1.16.1.bb | 23 ++++++------ 2 files changed, 46 insertions(+), 13 deletions(-) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 95ce953e34cd0e9f5d42ce7900a9572e7bc8ca47 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <[email protected]> +Date: Fri, 18 Oct 2019 00:42:12 +0100 +Subject: [PATCH] meson: build gir even when cross-compiling if introspection + was enabled explicitly + +This can be made to work in certain circumstances when +cross-compiling, so default to not building g-i stuff +when cross-compiling, but allow it if introspection was +enabled explicitly via -Dintrospection=enabled. + +See gstreamer/gstreamer#454 and gstreamer/gstreamer#381. + +Upstream-Status: Backport [95ce953e34cd0e9f5d42ce7900a9572e7bc8ca47] + +Signed-off-by: Carlos Rafael Giani <[email protected]> +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index e1e3b1d..3f45f0e 100644 +--- a/meson.build ++++ b/meson.build +@@ -173,7 +173,7 @@ endif + + gir = find_program('g-ir-scanner', required : get_option('introspection')) + gnome = import('gnome') +-build_gir = gir.found() and not meson.is_cross_build() ++build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled()) + gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ + 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ + 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \ +-- +2.17.1 +
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb +10 -13
@@ -9,8 +9,7 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base" PNREAL = "gst-rtsp-server" SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \ - file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ - file://gtk-doc-tweaks.patch \ + file://0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch \ " SRC_URI[md5sum] = "380d6a42e856c32fcefa508ad57129e0"
@@ -18,17 +17,15 @@ SRC_URI[sha256sum] = "b0abacad2f86f60d63781d2b24443c5668733e8b08664bbef94124906d S = "${WORKDIR}/${PNREAL}-${PV}" -inherit autotools pkgconfig upstream-version-is-even gobject-introspection gtk-doc +inherit meson pkgconfig upstream-version-is-even gobject-introspection -EXTRA_OECONF = "--disable-examples --disable-tests" +EXTRA_OEMESON += " \ + -Dexamples=disabled \ + -Dtests=disabled \ +" -# Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well -LIBV = "1.0" -require gst-plugins-package.inc - -delete_pkg_m4_file() { - # This m4 file is out of date and is missing PKG_CONFIG_SYSROOT_PATH tweaks which we need for introspection - rm "${S}/common/m4/pkg.m4" || true -} +GIR_MESON_ENABLE_FLAG = "enabled" +GIR_MESON_DISABLE_FLAG = "disabled" -do_configure[prefuncs] += " delete_pkg_m4_file" +# Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well +require gstreamer1.0-plugins-packaging.inc
Signature · 1 line
2.17.1
PATCH 11/12 gst-validate: Move recipe specific patch to dedicated subdirectory
In reply to Carlos Rafael GianiThis does not belong in files/, since that subdirectory is where patches that aren't recipe specific are located. This patch however is gst-validate specific.
---
.../0001-connect-has-a-different-signature-on-musl.patch | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename meta/recipes-multimedia/gstreamer/{files => gst-validate}/0001-connect-has-a-different-signature-on-musl.patch (100%)meta/recipes-multimedia/gstreamer/gst-validate/0001-connect-has-a-different-signature-on-musl.patch renamed from meta/recipes-multimedia/gstreamer/files/0001-connect-has-a-different-signature-on-musl.patch +0 -0
Signature · 1 line
2.17.1
PATCH 12/12 gstreamer: Remove unused common files and patches
In reply to Carlos Rafael Gianigst-plugins-package.inc gstreamer1.0-plugins.inc got replaced by gstreamer1.0-plugins-packaging.inc and gstreamer1.0-plugins-common.inc, respectively.
--- ...-prefix-pkgconfig-paths-with-PKG_CON.patch | 40 ----------- .../files/add-a-target-to-compile-tests.patch | 69 ------------------- .../gstreamer/files/gtk-doc-tweaks.patch | 47 ------------- .../gstreamer/files/run-ptest | 3 - .../gstreamer/gst-plugins-package.inc | 56 --------------- .../gstreamer/gstreamer1.0-plugins.inc | 41 ----------- 6 files changed, 256 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch delete mode 100644 meta/recipes-multimedia/gstreamer/files/add-a-target-to-compile-tests.patch delete mode 100644 meta/recipes-multimedia/gstreamer/files/gtk-doc-tweaks.patch delete mode 100644 meta/recipes-multimedia/gstreamer/files/run-ptest delete mode 100644 meta/recipes-multimedia/gstreamer/gst-plugins-package.inc delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 2b0436f9a07773fae8c74df902d7024e8bfc3512 Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin <[email protected]> -Date: Tue, 24 Nov 2015 16:46:27 +0200 -Subject: [PATCH] introspection.m4: prefix pkgconfig paths with - PKG_CONFIG_SYSROOT_DIR - -We can't use our tweaked introspection.m4 from gobject-introspection tarball -because gstreamer also defines INTROSPECTION_INIT in its introspection.m4, which -is later supplied to g-ir-scanner. - -Upstream-Status: Pending [review on oe-core list] -Signed-off-by: Alexander Kanavin <[email protected]> - ---- - common/m4/introspection.m4 | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/common/m4/introspection.m4 b/common/m4/introspection.m4 -index 162be57..933f979 100644 ---- a/common/m4/introspection.m4 -+++ b/common/m4/introspection.m4 -@@ -54,14 +54,14 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], - INTROSPECTION_GIRDIR= - INTROSPECTION_TYPELIBDIR= - if test "x$found_introspection" = "xyes"; then -- INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` -- INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` -- INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` -+ INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` -+ INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` -+ INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` - INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` - INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" - INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` - INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` -- INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection -+ INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection - INTROSPECTION_INIT="extern void gst_init(gint*,gchar**); gst_init(NULL,NULL);" - fi - AC_SUBST(INTROSPECTION_SCANNER)
meta/recipes-multimedia/gstreamer/files/add-a-target-to-compile-tests.patch deleted +0 -69
69 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/files/gtk-doc-tweaks.patch deleted +0 -47
47 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/files/run-ptest deleted +0 -3
@@ -1,3 +0,0 @@ -#!/bin/sh - -make -k runtests
meta/recipes-multimedia/gstreamer/gst-plugins-package.inc deleted +0 -56
56 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc deleted +0 -41
41 lines not on this page · raw message
Signature · 1 line
2.17.1
Quoted 10 lines · Carlos Rafael Giani
* gstreamer1.0-plugins-common.inc
The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
Common code for meson based PTest support; autogenerates the run-ptest file and is designed to use the gnome-desktop-testing suite runner (which is why the .inc files inherits from ptest-gnome)Signed-off-by Carlos Rafael Giani <[email protected]>
Quoted 8 lines
--- .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +++++++++++++ .../gstreamer1.0-plugins-packaging.inc | 70 +++++++++++++++++++ .../gstreamer/gstreamer1.0-ptest.inc | 21 ++++++ 3 files changed, 138 insertions(+) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc
Thanks for this, I know its not an easy patch set to sort out!
I ran it on the autobuilder for testing since there was bandwidth available and there was one issue:
https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/1455
which was in a plain OE-Core + bitbake build (no poky, so nodistro).
Any idea what is wrong there?
Cheers,
Richard
Nope. This is an odd one. Are you sure there isn't a problem with the setup itself? In step2c, I see:
Quoted 1 line
ERROR: core-image-sato-1.0-r0
do_testsdk: The toolchain/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-nodistro.0.shis not built. Build it before running the tests: 'bitbake <image> -cpopulate_sdk' .
Quoted 34 lines · Richard Purdie
Quoted 10 lines · Carlos Rafael Giani
* gstreamer1.0-plugins-common.inc
The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
Common code for meson based PTest support; autogenerates the run-ptest file and is designed to use the gnome-desktop-testing suite runner (which is why the .inc files inherits from ptest-gnome)Signed-off-by Carlos Rafael Giani <[email protected]>Quoted 8 lines
--- .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +++++++++++++ .../gstreamer1.0-plugins-packaging.inc | 70 +++++++++++++++++++ .../gstreamer/gstreamer1.0-ptest.inc | 21 ++++++ 3 files changed, 138 insertions(+)create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc
Thanks for this, I know its not an easy patch set to sort out!
I ran it on the autobuilder for testing since there was bandwidth available and there was one issue:
https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/1455
which was in a plain OE-Core + bitbake build (no poky, so nodistro).
Any idea what is wrong there?
Cheers,
Richard
Quoted 10 lines · Carlos Rafael Giani
Nope. This is an odd one. Are you sure there isn't a problem with the
setup itself? In step2c, I see:Quoted 1 line
ERROR: core-image-sato-1.0-r0
do_testsdk: The toolchain
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-nodistro.0.sh
is not built. Build it before running the tests: 'bitbake <image> -cpopulate_sdk' .
2c fails as earlier stepd didn't build. I think the real issue is step1b which says:
| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config (0.29.2) | Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4 | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake) | Looking for a fallback subproject for the dependency gstreamer-check-1.0 | Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO | | meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in subproject gstreamer | | A full log can be found at /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt | WARNING: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1 exit 1 from 'exit 1' |
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure: Failed
| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config (0.29.2) | Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4 | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake) | Looking for a fallback subproject for the dependency gstreamer-check-1.0 | Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO | | meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in subproject gstreamer | | A full log can be found at /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt | WARNING: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1 exit 1 from 'exit 1' |
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure: Failed
missing a check dependency?
Cheers,
Richard
Except that there is no such package. Also, even if I build GStreamer from scratch with all optional packageconfigs disabled, I do not get this error, nor do I get any warnings about potentially missing dependencies. So, I don't know what is going on here..
Quoted 77 lines · Richard Purdie
Quoted 10 lines · Carlos Rafael Giani
Nope. This is an odd one. Are you sure there isn't a problem with the
setup itself? In step2c, I see:Quoted 1 line
ERROR: core-image-sato-1.0-r0
do_testsdk: The toolchain
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-nodistro.0.sh
is not built. Build it before running the tests: 'bitbake <image> -cpopulate_sdk' .2c fails as earlier stepd didn't build. I think the real issue is step1b which says:
| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config (0.29.2) | Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4 | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake) | Looking for a fallback subproject for the dependency gstreamer-check-1.0 | Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO | | meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in subproject gstreamer | | A full log can be found at /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt | WARNING: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1 exit 1 from 'exit 1' |NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task
do_configure: Failed| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config (0.29.2) | Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4 | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake) | Looking for a fallback subproject for the dependency gstreamer-check-1.0 | Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO | | meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in subproject gstreamer | | A full log can be found at /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt | WARNING: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1 exit 1 from 'exit 1' |NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task
do_configure: Failedmissing a check dependency?
Cheers,
Richard
I have reproduced this just now. You need to set up a special 'nodistro' configuration like this:
bblayers.conf:
BBLAYERS ?= " \
/home/alexander/development/poky/meta \
"
(and no other layers)
local.conf:
MACHINE ??= "qemuarm"
DISTRO ?= "nodistro"
INHERIT += 'uninative'
require conf/distro/include/yocto-uninative.inc
... (dl_dir, sstate etc)
and build gstreamer1.0-plugins-base.
Alex
Quoted 109 lines · Carlos Rafael Giani
Except that there is no such package. Also, even if I build GStreamer from scratch with all optional packageconfigs disabled, I do not get this error, nor do I get any warnings about potentially missing dependencies. So, I don't know what is going on here..
Quoted 11 lines · Richard Purdie
Quoted 10 lines · Carlos Rafael Giani
Nope. This is an odd one. Are you sure there isn't a problem with the
setup itself? In step2c, I see:Quoted 1 line
ERROR: core-image-sato-1.0-r0
do_testsdk: The toolchain
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-nodistro.0.sh
is not built. Build it before running the tests: 'bitbake <image> -cpopulate_sdk' .Quoted 5 lines
2c fails as earlier stepd didn't build. I think the real issue is step1b which says:
| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config(0.29.2)Quoted 6 lines
| Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4Quoted 8 lines
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig andcmake)
Quoted 1 line
| Looking for a fallback subproject for the dependency
gstreamer-check-1.0
Quoted 3 lines
| Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamerfound: NO
Quoted 2 lines
|
| meson.build:309:0: ERROR: Could not find dependencygst_controller_depin subproject gstreamer
Quoted 2 lines
|
| A full log can be found at
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txtQuoted 1 line
| WARNING:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1exit 1 from 'exit 1'Quoted 2 lines
|
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: taskdo_configure:Failed
Quoted 3 lines
| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config(0.29.2)Quoted 6 lines
| Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4Quoted 8 lines
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig andcmake)
Quoted 1 line
| Looking for a fallback subproject for the dependency
gstreamer-check-1.0
Quoted 3 lines
| Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamerfound: NO
Quoted 2 lines
|
| meson.build:309:0: ERROR: Could not find dependencygst_controller_depin subproject gstreamer
Quoted 2 lines
|
| A full log can be found at
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txtQuoted 1 line
| WARNING:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1exit 1 from 'exit 1'Quoted 2 lines
|
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: taskdo_configure:Failed
Quoted 8 lines
missing a check dependency?
Cheers,
Richard
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
I just sent a patch for this, and for the ptest issue. Should be good to merge now!
Alex
Quoted 135 lines · Alexander Kanavin
I have reproduced this just now. You need to set up a special 'nodistro' configuration like this:
bblayers.conf:
BBLAYERS ?= " \
/home/alexander/development/poky/meta\
"
(and no other layers)local.conf:
MACHINE ??= "qemuarm"
DISTRO ?= "nodistro"
INHERIT += 'uninative'
require conf/distro/include/yocto-uninative.inc
... (dl_dir, sstate etc)and build gstreamer1.0-plugins-base.
Alex
Quoted 109 lines · Carlos Rafael Giani
Except that there is no such package. Also, even if I build GStreamer from scratch with all optional packageconfigs disabled, I do not get this error, nor do I get any warnings about potentially missing dependencies. So, I don't know what is going on here..
Quoted 11 lines · Richard Purdie
Quoted 10 lines · Carlos Rafael Giani
Nope. This is an odd one. Are you sure there isn't a problem with the
setup itself? In step2c, I see:Quoted 1 line
ERROR: core-image-sato-1.0-r0
do_testsdk: The toolchain
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-nodistro.0.sh
is not built. Build it before running the tests: 'bitbake <image> -cpopulate_sdk' .Quoted 5 lines
2c fails as earlier stepd didn't build. I think the real issue is step1b which says:
| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config(0.29.2)Quoted 6 lines
| Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4Quoted 8 lines
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfigand cmake)
Quoted 1 line
| Looking for a fallback subproject for the dependency
gstreamer-check-1.0
Quoted 3 lines
| Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamerfound: NO
Quoted 2 lines
|
| meson.build:309:0: ERROR: Could not find dependency
gst_controller_depin subproject gstreamerQuoted 2 lines
|
| A full log can be found at
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txtQuoted 1 line
| WARNING:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1exit 1 from 'exit 1'Quoted 2 lines
|
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: taskdo_configure:Failed
Quoted 3 lines
| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config(0.29.2)Quoted 6 lines
| Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4Quoted 8 lines
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfigand cmake)
Quoted 1 line
| Looking for a fallback subproject for the dependency
gstreamer-check-1.0
Quoted 3 lines
| Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamerfound: NO
Quoted 2 lines
|
| meson.build:309:0: ERROR: Could not find dependency
gst_controller_depin subproject gstreamerQuoted 2 lines
|
| A full log can be found at
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txtQuoted 1 line
| WARNING:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1exit 1 from 'exit 1'Quoted 2 lines
|
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: taskdo_configure:Failed
Quoted 8 lines
missing a check dependency?
Cheers,
Richard
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Nice find! But, there is still one issue Khem found, regarding errors in meta-multimedia plugins: https://errors.yoctoproject.org/Errors/Build/96752/
This, and the discussion about the qt5 packageconfig, means to me that a v2 set is warranted. What do you think?
Quoted 150 lines · Alexander Kanavin
I just sent a patch for this, and for the ptest issue. Should be good to merge now!
Alex
On Mon, 13 Jan 2020 at 19:01, Alexander Kanavin <[email protected] <mailto:[email protected]>> wrote:
I have reproduced this just now. You need to set up a special 'nodistro' configuration like this:
bblayers.conf:
BBLAYERS ?= " \
/home/alexander/development/poky/meta\
"
(and no other layers)local.conf:
MACHINE ??= "qemuarm"
DISTRO ?= "nodistro"
INHERIT += 'uninative'
require conf/distro/include/yocto-uninative.inc ... (dl_dir, sstate etc)and build gstreamer1.0-plugins-base.
Alex
On Mon, 13 Jan 2020 at 16:38, Carlos Rafael Giani <[email protected] <mailto:[email protected]>> wrote:
Except that there is no such package. Also, even if I build GStreamer
from scratch with all optional packageconfigs disabled, I do not get
this error, nor do I get any warnings about potentially missing dependencies. So, I don't know what is going on here..On 13.01.20 13:59, Richard Purdie wrote:
> On Mon, 2020-01-13 at 13:55 +0100, Carlos Rafael Giani wrote:
>> Nope. This is an odd one. Are you sure there isn't a
problem with
>> the
>> setup itself? In step2c, I see:
>>
>> > ERROR: core-image-sato-1.0-r0do_testsdk: The toolchain
>>/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-
>> glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-
>>nodistro.0.sh<http://nodistro.0.sh>
>> is not built. Build it before running the tests: 'bitbake
<image> -c
>>populate_sdk' .
> 2c fails as earlier stepd didn't build. I think the real
issue is
> step1b which says:
>
> | Compiler for C supports arguments
-Wdeclaration-after-statement: YES
> | Found pkg-config:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config(0.29.2)
> | Run-time dependency x11 found: YES 1.6.9
> | Run-time dependency glib-2.0 found: YES 2.62.4
> | Run-time dependency gobject-2.0 found: YES 2.62.4
> | Run-time dependency gio-2.0 found: YES 2.62.4
> | Run-time dependency gio-unix-2.0 found: YES 2.62.4
> | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
> | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
> | Dependency gtk+-3.0 skipped: feature examples disabled
> | Dependency gtk+-x11-3.0 skipped: feature examples disabled
> | Run-time dependency gstreamer-1.0 found: YES 1.16.1
> | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
> | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
> | Found CMake: NO
> | Run-time dependency gstreamer-check-1.0 found: NO (tried
pkgconfig and cmake)
> | Looking for a fallback subproject for the dependency
gstreamer-check-1.0
> | Subproject directory not found and gstreamer.wrap file not
found
> | Subproject subprojects/gstreamer is buildable: NO (disabling)
> | Dependency gstreamer-check-1.0 from subproject
subprojects/gstreamer found: NO
> |
> | meson.build:309:0: ERROR: Could not find dependency
gst_controller_depin subproject gstreamer
> |
> | A full log can be found at/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt> | WARNING:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1exit 1 from 'exit 1'
> |
> NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task
do_configure: Failed
>
> | Compiler for C supports arguments
-Wdeclaration-after-statement: YES
> | Found pkg-config:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config(0.29.2)
> | Run-time dependency x11 found: YES 1.6.9
> | Run-time dependency glib-2.0 found: YES 2.62.4
> | Run-time dependency gobject-2.0 found: YES 2.62.4
> | Run-time dependency gio-2.0 found: YES 2.62.4
> | Run-time dependency gio-unix-2.0 found: YES 2.62.4
> | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
> | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
> | Dependency gtk+-3.0 skipped: feature examples disabled
> | Dependency gtk+-x11-3.0 skipped: feature examples disabled
> | Run-time dependency gstreamer-1.0 found: YES 1.16.1
> | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
> | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
> | Found CMake: NO
> | Run-time dependency gstreamer-check-1.0 found: NO (tried
pkgconfig and cmake)
> | Looking for a fallback subproject for the dependency
gstreamer-check-1.0
> | Subproject directory not found and gstreamer.wrap file not
found
> | Subproject subprojects/gstreamer is buildable: NO (disabling)
> | Dependency gstreamer-check-1.0 from subproject
subprojects/gstreamer found: NO
> |
> | meson.build:309:0: ERROR: Could not find dependency
gst_controller_depin subproject gstreamer
> |
> | A full log can be found at/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt> | WARNING:
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1exit 1 from 'exit 1'
> |
> NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task
do_configure: Failed
>
> missing a check dependency?
>
> Cheers,
>
> Richard
>
>
--
_______________________________________________
Openembedded-core mailing list
[email protected]
<mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 3 lines · Carlos Rafael Giani
Nice find! But, there is still one issue Khem found, regarding errors in meta-multimedia plugins: https://errors.yoctoproject.org/Errors/Build/96752/
I have already fixed them. Also sent a patch to enable debug in gstreamer to support shark plugin
https://patchwork.openembedded.org/patch/168874/
https://git.openembedded.org/meta-openembedded/commit/?id=ea8604a0e3fe38a5a49690b1b92b5b4964e7b5da
https://git.openembedded.org/meta-openembedded/commit/?id=449fe9920555d815dadb295d2fce61935486bce8
Quoted 1 line
This, and the discussion about the qt5 packageconfig, means to me that a v2 set is warranted. What
do you think?
There is a packageconfig in a bbappend that I plan to propose once its in.
https://github.com/YoeDistro/meta-qt5/commit/cf2505af20c67f975dc4630e6c45e19f15103ef1
perhaps it could be in main recipe instead of bbappend.
Quoted 120 lines · Alexander Kanavin
I just sent a patch for this, and for the ptest issue. Should be good to merge now!
Alex
Quoted 112 lines · Alexander Kanavin
I have reproduced this just now. You need to set up a special 'nodistro' configuration like this:
bblayers.conf:
BBLAYERS ?= " \
/home/alexander/development/poky/meta\
"
(and no other layers)local.conf:
MACHINE ??= "qemuarm"
DISTRO ?= "nodistro"
INHERIT += 'uninative'
require conf/distro/include/yocto-uninative.inc
... (dl_dir, sstate etc)and build gstreamer1.0-plugins-base.
Alex
Quoted 89 lines · Carlos Rafael Giani
Except that there is no such package. Also, even if I build GStreamer from scratch with all optional packageconfigs disabled, I do not get this error, nor do I get any warnings about potentially missing dependencies. So, I don't know what is going on here..
Quoted 68 lines · Richard Purdie
Quoted 10 lines · Carlos Rafael Giani
Nope. This is an odd one. Are you sure there isn't a problem with the
setup itself? In step2c, I see:Quoted 1 line
ERROR: core-image-sato-1.0-r0
do_testsdk: The toolchain
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-nodistro.0.sh
is not built. Build it before running the tests: 'bitbake <image> -cpopulate_sdk' .2c fails as earlier stepd didn't build. I think the real issue is step1b which says:
| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config (0.29.2) | Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4 | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake) | Looking for a fallback subproject for the dependency gstreamer-check-1.0 | Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO | | meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in subproject gstreamer | | A full log can be found at /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt | WARNING: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1 exit 1 from 'exit 1' |NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task
do_configure: Failed| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config (0.29.2) | Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4 | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake) | Looking for a fallback subproject for the dependency gstreamer-check-1.0 | Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO | | meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in subproject gstreamer | | A full log can be found at /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt | WARNING: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1 exit 1 from 'exit 1' |Quoted 9 lines
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task
do_configure: Failedmissing a check dependency?
Cheers,
Richard
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Hm alright, then I guess there are no showstoppers for merging anymore. The qt5 thing can be added in a followup commit.
Quoted 137 lines · Khem Raj
Quoted 2 lines · Carlos Rafael Giani
Nice find! But, there is still one issue Khem found, regarding errors in meta-multimedia plugins: https://errors.yoctoproject.org/Errors/Build/96752/
I have already fixed them. Also sent a patch to enable debug in gstreamer to support shark plugin
https://patchwork.openembedded.org/patch/168874/
https://git.openembedded.org/meta-openembedded/commit/?id=ea8604a0e3fe38a5a49690b1b92b5b4964e7b5da
https://git.openembedded.org/meta-openembedded/commit/?id=449fe9920555d815dadb295d2fce61935486bce8Quoted 1 line
This, and the discussion about the qt5 packageconfig, means to me that a v2 set is warranted. What
do you think?
There is a packageconfig in a bbappend that I plan to propose once its in.
https://github.com/YoeDistro/meta-qt5/commit/cf2505af20c67f975dc4630e6c45e19f15103ef1
perhaps it could be in main recipe instead of bbappend.
Quoted 117 lines · Alexander Kanavin
I just sent a patch for this, and for the ptest issue. Should be good to merge now!
Alex
Quoted 110 lines · Alexander Kanavin
I have reproduced this just now. You need to set up a special 'nodistro' configuration like this:
bblayers.conf:
BBLAYERS ?= " \ /home/alexander/development/poky/meta \"
(and no other layers)local.conf:
MACHINE ??= "qemuarm"
DISTRO ?= "nodistro"
INHERIT += 'uninative'
require conf/distro/include/yocto-uninative.inc
... (dl_dir, sstate etc)and build gstreamer1.0-plugins-base.
Alex
Quoted 88 lines · Carlos Rafael Giani
Except that there is no such package. Also, even if I build GStreamer from scratch with all optional packageconfigs disabled, I do not get this error, nor do I get any warnings about potentially missing dependencies. So, I don't know what is going on here..
Quoted 68 lines · Richard Purdie
Quoted 10 lines · Carlos Rafael Giani
Nope. This is an odd one. Are you sure there isn't a problem with the
setup itself? In step2c, I see:Quoted 1 line
ERROR: core-image-sato-1.0-r0
do_testsdk: The toolchain
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-nodistro.0.sh
is not built. Build it before running the tests: 'bitbake <image> -cpopulate_sdk' .2c fails as earlier stepd didn't build. I think the real issue is step1b which says:
| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config (0.29.2) | Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4 | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake) | Looking for a fallback subproject for the dependency gstreamer-check-1.0 | Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO | | meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in subproject gstreamer | | A full log can be found at /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt | WARNING: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1 exit 1 from 'exit 1' |NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task
do_configure: Failed| Compiler for C supports arguments -Wdeclaration-after-statement: YES | Found pkg-config: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config (0.29.2) | Run-time dependency x11 found: YES 1.6.9 | Run-time dependency glib-2.0 found: YES 2.62.4 | Run-time dependency gobject-2.0 found: YES 2.62.4 | Run-time dependency gio-2.0 found: YES 2.62.4 | Run-time dependency gio-unix-2.0 found: YES 2.62.4 | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4 | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled | Dependency gtk+-3.0 skipped: feature examples disabled | Dependency gtk+-x11-3.0 skipped: feature examples disabled | Run-time dependency gstreamer-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1 | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1 | Found CMake: NO | Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake) | Looking for a fallback subproject for the dependency gstreamer-check-1.0 | Subproject directory not found and gstreamer.wrap file not found | Subproject subprojects/gstreamer is buildable: NO (disabling) | Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO | | meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in subproject gstreamer | | A full log can be found at /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt | WARNING: /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1 exit 1 from 'exit 1' |Quoted 9 lines
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task
do_configure: Failedmissing a check dependency?
Cheers,
Richard
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 22 lines · Richard Purdie
Quoted 10 lines · Carlos Rafael Giani
* gstreamer1.0-plugins-common.inc
The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
Common code for meson based PTest support; autogenerates the run-ptest file and is designed to use the gnome-desktop-testing suite runner (which is why the .inc files inherits from ptest-gnome)Signed-off-by Carlos Rafael Giani <[email protected]>Quoted 8 lines
--- .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +++++++++++++ .../gstreamer1.0-plugins-packaging.inc | 70 +++++++++++++++++++ .../gstreamer/gstreamer1.0-ptest.inc | 21 ++++++ 3 files changed, 138 insertions(+) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.incThanks for this, I know its not an easy patch set to sort out!
Quoted 8 lines
I ran it on the autobuilder for testing since there was bandwidth available and there was one issue:
https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/1455
which was in a plain OE-Core + bitbake build (no poky, so nodistro).
Any idea what is wrong there?
gcc: fatal error: cannot execute ‘cc1obj’: execvp: No such file or directory
seems it needs objC ?
Quoted 10 lines
Cheers,
Richard
Signature · 4 lines
_______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
${GST_TEST_SUITE_NAME} is not actually defined anywhere? I believe this
has the undesired effect of running all installed test suites rather than just gstreamer, including glib and others.
Alex
Quoted 208 lines · Carlos Rafael Giani
* gstreamer1.0-plugins-common.inc
The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
Common code for meson based PTest support; autogenerates the run-ptest file and is designed to use the gnome-desktop-testing suite runner (which is why the .inc files inherits from ptest-gnome)Signed-off-by Carlos Rafael Giani <[email protected]>--- .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +++++++++++++ .../gstreamer1.0-plugins-packaging.inc | 70 +++++++++++++++++++ .../gstreamer/gstreamer1.0-ptest.inc | 21 ++++++ 3 files changed, 138 insertions(+) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc create mode 100644meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc new file mode 100644
index 0000000000..ccf55500a9meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc new file +16
-0@@ -0,0 +1,47 @@ +# This .inc file contains the common setup for the gstreamer1.0-plugins-* +# plugin set recipes. + +# SUMMARY is set in the actual .bb recipes +HOMEPAGE = "https://gstreamer.freedesktop.org/" +BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" +SECTION = "multimedia" + +DEPENDS = "gstreamer1.0 glib-2.0-native" + +inherit gettext meson pkgconfig upstream-version-is-even + +require gstreamer1.0-plugins-packaging.inc + +# Orc enables runtime JIT compilation of data processing routines from Orc +# bytecode to SIMD instructions for various architectures (currently SSE,MMX,
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc new file +2
-0+# MIPS, Altivec and NEON are supported). +# This value is used in the PACKAGECONFIG values for each plugin setrecipe.
+# By modifying it, Orc can be enabled/disabled in all of these recipes at once.meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc new file +11
-0+GSTREAMER_ORC ?= "orc" + +PACKAGECONFIG[orc] = "-Dorc=enabled,-Dorc=disabled,orc orc-native" + +# TODO: put this in a gettext.bbclass patch (with variables to allow for +# configuring the option name and the enabled/disabled values). +def gettext_oemeson(d): + if d.getVar('USE_NLS') == 'no': + return '-Dnls=disabled' + # Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set + if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d,'cross-canadian'):
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc new file +9
-0+ return '-Dnls=disabled' + return '-Dnls=enabled' + +# Not all plugin sets contain examples, so the -Dexamples +# option needs to be added conditionally. +GST_PLUGIN_SET_HAS_EXAMPLES ?= "1" + +EXTRA_OEMESON += " \ + ${@bb.utils.contains('GST_PLUGIN_SET_HAS_EXAMPLES', '1','-Dexamples=disabled', '', d)} \
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc new file +8
-0+ ${@gettext_oemeson(d)} \ +" + +GIR_MESON_ENABLE_FLAG = "enabled" +GIR_MESON_DISABLE_FLAG = "disabled" + +# Dynamically generate packages for all enabled plugins +PACKAGES_DYNAMIC = "^${PN}-.*"diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc new file mode 100644
index 0000000000..9a7a1b6afemeta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc new file +18
-0@@ -0,0 +1,70 @@ +# This .inc file contains functionality for automatically splitting +# built plugins into individual packages for each plugin. A -meta +# package is also set up that has no files of its own, but contains +# the names of all plugin packages in its RDEPENDS list. +# +# This is mainly used by the gstreamer1.0-plugins-* plugin set recipes, +# but can be used in any recipe that produces GStreamer plugins. + +PACKAGESPLITFUNCS_prepend = " split_gstreamer10_packages " +PACKAGESPLITFUNCS_append = " set_gstreamer10_metapkg_rdepends " + +python split_gstreamer10_packages () { + gst_libdir = d.expand('${libdir}/gstreamer-1.0') + postinst = d.getVar('plugin_postinst') + glibdir = d.getVar('libdir') + + # GStreamer libraries + do_split_packages(d, glibdir, r'^lib(.*)\.so\.*', 'lib%s', 'GStreamer1.0 %s library', extra_depends='', allow_links=True)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc new file +2
-0+ # GStreamer plugin shared objects + do_split_packages(d, gst_libdir, r'libgst(.*)\.so$',
d.expand('${PN}-%s'), 'GStreamer 1.0 plugin for %s', postinst=postinst, extra_depends='')meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc new file +2
-0+ # GObject introspection files for GStreamer plugins + do_split_packages(d, glibdir+'/girepository-1.0',r'Gst(.*)-1.0\.typelib$',
d.expand('${PN}-%s-typelib'), 'GStreamer 1.0 typelib file for %s', postinst=postinst, extra_depends='')meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc new file +2
-0+ # Static GStreamer libraries for development + do_split_packages(d, gst_libdir, r'libgst(.*)\.a$',
d.expand('${PN}-%s-staticdev'), 'GStreamer 1.0 plugin for %s (static development files)', extra_depends='${PN}-staticdev')meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc new file +8
-0+} + +python set_gstreamer10_metapkg_rdepends () { + import os + import oe.utils + + # Go through all generated packages (excluding the main package and + # the -meta package itself) and add them to the -meta package asRDEPENDS.
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc new file +11
-0+ + pn = d.getVar('PN') + metapkg = pn + '-meta' + d.setVar('ALLOW_EMPTY_' + metapkg, "1") + d.setVar('FILES_' + metapkg, "") + blacklist = [ pn, pn + '-meta' ] + metapkg_rdepends = [] + pkgdest = d.getVar('PKGDEST') + for pkg in oe.utils.packages_filter_out_system(d): + if pkg not in blacklist and pkg not in metapkg_rdepends: + # See if the package is empty by looking at the contents ofits PKGDEST subdirectory.
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc new file +2
-0+ # If this subdirectory is empty, then the package is. + # Empty packages do not get added to the meta package'sRDEPENDS
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc new file +25
-0+ pkgdir = os.path.join(pkgdest, pkg) + if os.path.exists(pkgdir): + dir_contents = os.listdir(pkgdir) or [] + else: + dir_contents = [] + is_empty = len(dir_contents) == 0 + if not is_empty: + metapkg_rdepends.append(pkg) + d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends)) + d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package') +} + +# each plugin-dev depends on PN-dev, plugin-staticdev on PN-staticdev +# so we need them even when empty (like in gst-plugins-good case) +ALLOW_EMPTY_${PN} = "1" +ALLOW_EMPTY_${PN}-dev = "1" +ALLOW_EMPTY_${PN}-staticdev = "1" + +PACKAGES += "${PN}-apps ${PN}-meta ${PN}-glib" + +FILES_${PN} = "" +FILES_${PN}-apps = "${bindir}" +FILES_${PN}-glib = "${datadir}/glib-2.0" + +RRECOMMENDS_${PN} += "${PN}-meta"meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc new file +13
-0@@ -0,0 +1,21 @@ +inherit ptest-gnome + +TEST_FILES_PATH = "${datadir}/installed-tests/gstreamer-1.0/test-files" +RUN_PTEST_FILE = "${D}${PTEST_PATH}/run-ptest" + +EXTRA_OEMESON += "-Dtest-files-path=${TEST_FILES_PATH}" + +# Using do_install_ptest_base instead of do_install_ptest, since +# the default do_install_ptest_base is hardcoded to expect Makefiles. +do_install_ptest_base() { + # Generate run-ptest file + echo "#!/usr/bin/env sh" > "${RUN_PTEST_FILE}" + echo "gnome-desktop-testing-runner ${GST_TEST_SUITE_NAME}" >>"${RUN_PTEST_FILE}"
meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc new file +8
-1+ chmod 0755 "${RUN_PTEST_FILE}" + + # Install additional files required by tests + if [ -d "${S}/tests/files" ] ; then + install -d "${D}/${TEST_FILES_PATH}" + install -m 0644 "${S}/tests/files"/* "${D}/${TEST_FILES_PATH}" + fi +} --2.17.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 22 lines · Carlos Rafael Giani
* gstreamer1.0-plugins-common.inc
The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
Common code for meson based PTest support; autogenerates the run-
ptest
file and is designed to use the gnome-desktop-testing suite runner (which is why the .inc files inherits from ptest-gnome)Signed-off-by Carlos Rafael Giani <[email protected]>--- .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +++++++++++++ .../gstreamer1.0-plugins-packaging.inc | 70 +++++++++++++++++++ .../gstreamer/gstreamer1.0-ptest.inc | 21 ++++++ 3 files changed, 138 insertions(+) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0- plugins-common.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0- plugins-packaging.inc create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-
Quoted 1 line
ptest.inc
FWIW I've merged this series with some of the fixes that were also sent. I've done this on the basis that its the correct direction we're going and whilst there are some gremlins to sort out such as the issue Ross mentions, some of the comments/options and so on, we may as well move forward and we can fix those things as follow ups.
Thanks again for working on this, I know its not a simple change!
Cheers,
Richard