* [Buildroot] [PATCH 1/1] gst-plugins-base: add missing dependency on libxml2 for subparse
@ 2016-12-29 2:52 Danomi Manchego
2017-01-27 8:53 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Danomi Manchego @ 2016-12-29 2:52 UTC (permalink / raw)
To: buildroot
The gst-plugins-base configure script claims that the subparse plugin is
dependency-less - but it also silently disables subparse if libxml2 is
not available. So depend on libxml2 when subparse is selected.
Note: the analogous gst1 subparse plugin does not have this requirement.
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
package/gstreamer/gst-plugins-base/Config.in | 1 +
package/gstreamer/gst-plugins-base/gst-plugins-base.mk | 1 +
2 files changed, 2 insertions(+)
diff --git a/package/gstreamer/gst-plugins-base/Config.in b/package/gstreamer/gst-plugins-base/Config.in
index 8ad9a8e..e02675e 100644
--- a/package/gstreamer/gst-plugins-base/Config.in
+++ b/package/gstreamer/gst-plugins-base/Config.in
@@ -48,6 +48,7 @@ config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PLAYBACK
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE
bool "subparse"
+ select BR2_PACKAGE_LIBXML2
config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_TCP
bool "tcp"
diff --git a/package/gstreamer/gst-plugins-base/gst-plugins-base.mk b/package/gstreamer/gst-plugins-base/gst-plugins-base.mk
index e1374ed..51c22a9 100644
--- a/package/gstreamer/gst-plugins-base/gst-plugins-base.mk
+++ b/package/gstreamer/gst-plugins-base/gst-plugins-base.mk
@@ -111,6 +111,7 @@ endif
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_SUBPARSE),y)
GST_PLUGINS_BASE_CONF_OPTS += --enable-subparse
+GST_PLUGINS_BASE_DEPENDENCIES += libxml2
else
GST_PLUGINS_BASE_CONF_OPTS += --disable-subparse
endif
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] gst-plugins-base: add missing dependency on libxml2 for subparse
2016-12-29 2:52 [Buildroot] [PATCH 1/1] gst-plugins-base: add missing dependency on libxml2 for subparse Danomi Manchego
@ 2017-01-27 8:53 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-01-27 8:53 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 28 Dec 2016 21:52:08 -0500, Danomi Manchego wrote:
> The gst-plugins-base configure script claims that the subparse plugin is
> dependency-less - but it also silently disables subparse if libxml2 is
> not available. So depend on libxml2 when subparse is selected.
>
> Note: the analogous gst1 subparse plugin does not have this requirement.
>
> Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
> ---
> package/gstreamer/gst-plugins-base/Config.in | 1 +
> package/gstreamer/gst-plugins-base/gst-plugins-base.mk | 1 +
> 2 files changed, 2 insertions(+)
I've applied to master, but before that, I've moved the "subparse"
option from the "dependency-less plugins" category to the "plugins with
external dependencies" section.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-27 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-29 2:52 [Buildroot] [PATCH 1/1] gst-plugins-base: add missing dependency on libxml2 for subparse Danomi Manchego
2017-01-27 8:53 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox