[meta-freescale] [meta-fsl-arm][PATCH v2 1/2] gstreamer1.0-plugins-bad: Install head file of gstaggregator and gstvideoaggregator

Carlos Rafael Giani dv at pseudoterminal.org
Fri Oct 2 01:37:44 PDT 2015


Sorry for the late reply. This looks plausible, since the GstAggregator 
API isn't public yet. But it is so because it is unstable.
The recommended option for now is to copy the GstAggregator and 
GstVideoAggregator files from -bad (and rename the symbols to avoid 
collisions), but I guess that would cause a licensing conflict, since 
these files are under the LGPL, while the gst1.0-fsl-plugin code uses 
the Freescale EULA.

That said, this *is* an unstable API, so the package might not compile 
with some future GStreamer version.

Am 2015-09-22 um 11:35 schrieb Yuqing Zhu:
> Install the head file of gstaggregator and gstvideoaggregator.
> So that we can use them outside of gstreamer-plugins-bad package.
>
> Signed-off-by: Yuqing Zhu <b54851 at freescale.com>
> ---
>   ...ll-gstaggregator-and-gstvideoaggregator-h.patch | 59 ++++++++++++++++++++++
>   .../gstreamer/gstreamer1.0-plugins-bad_%.bbappend  |  5 ++
>   2 files changed, 64 insertions(+)
>   create mode 100755 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch
>
> diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch
> new file mode 100755
> index 0000000..018826f
> --- /dev/null
> +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch
> @@ -0,0 +1,59 @@
> +From 853d7f2ca821682c1e1e594b23ff654505e07054 Mon Sep 17 00:00:00 2001
> +From: Mingke Wang <mingke.wang at freescale.com>
> +Date: Wed, 1 Jul 2015 10:19:25 +0800
> +Subject: [PATCH] [PATCH] install gstaggregator and gstvideoaggregator header
> + file
> +
> +intall the header file of gstaggregator and gstvideoaggregator
> +so that we can use them outside of gstreamer-plugins-bad package
> +
> +Upstream-Status: Inappropriate [i.MX specific]
> +
> +Signed-off-by: Mingke Wang <mingke.wang at freescale.com>
> +
> +diff --git a/gst-libs/gst/base/Makefile.am b/gst-libs/gst/base/Makefile.am
> +old mode 100644
> +new mode 100755
> +index 0d55368..7268095
> +--- a/gst-libs/gst/base/Makefile.am
> ++++ b/gst-libs/gst/base/Makefile.am
> +@@ -6,11 +6,12 @@ libgstbadbase_ at GST_API_VERSION@_la_SOURCES = \
> + libgstbadbase_ at GST_API_VERSION@_la_CFLAGS = $(GST_CFLAGS) \
> + 	-DGST_USE_UNSTABLE_API
> +
> ++libgstbadbase_ at GST_API_VERSION@includedir = $(includedir)/gstreamer- at GST_API_VERSION@/gst/base
> ++libgstbadbase_ at GST_API_VERSION@include_HEADERS = \
> ++        gstaggregator.h
> ++
> + libgstbadbase_ at GST_API_VERSION@_la_LIBADD = $(GST_LIBS)
> + libgstbadbase_ at GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
> +
> +-noinst_HEADERS =	\
> +-	gstaggregator.h
> +-
> + EXTRA_DIST =
> +
> +diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am
> +old mode 100644
> +new mode 100755
> +index 4f0f09f..3c5da6b
> +--- a/gst-libs/gst/video/Makefile.am
> ++++ b/gst-libs/gst/video/Makefile.am
> +@@ -19,8 +19,13 @@ libgstbadvideo_ at GST_API_VERSION@_la_CFLAGS = \
> + 	$(GST_PLUGINS_BASE_CFLAGS) \
> + 	$(GST_BASE_CFLAGS)
> +
> ++libgstbadvideo_ at GST_API_VERSION@includedir = $(includedir)/gstreamer- at GST_API_VERSION@/gst/video
> ++libgstbadvideo_ at GST_API_VERSION@include_HEADERS = \
> ++        gstvideoaggregatorpad.h \
> ++        gstvideoaggregator.h
> ++
> + libgstbadvideo_ at GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) -lgstvideo-$(GST_API_VERSION)\
> + 	$(top_builddir)/gst-libs/gst/base/libgstbadbase-$(GST_API_VERSION).la $(LIBM)
> + libgstbadvideo_ at GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
> +
> +-noinst_HEADERS = gstcms.h videoconvert.h gstvideoaggregatorpad.h gstvideoaggregator.h
> ++noinst_HEADERS = gstcms.h videoconvert.h
> +--
> +1.7.9.5
> +
> diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> index bcce7c7..9255b3f 100644
> --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> @@ -1,5 +1,7 @@
>   # Vivante EGL headers require the correct preprocessor
>   # defines to be set for each platform
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> +
>   CFLAGS_append_mx6 = " -DLINUX \
>                         ${@base_contains('DISTRO_FEATURES', 'x11', '', \
>                            base_contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DWL_EGL_PLATFORM', \
> @@ -9,3 +11,6 @@ CFLAGS_append_mx6 = " -DLINUX \
>   PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
>                              base_contains('DISTRO_FEATURES', 'x11', \
>                                       'opengl', '', d), '', d)}"
> +
> +SRC_URI_append = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h.patch \
> +"



More information about the meta-freescale mailing list