* [Buildroot] [PATCH v2] gst1-plugins-base: update configure options
@ 2015-10-13 22:06 Peter Seiderer
2015-10-14 20:40 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Peter Seiderer @ 2015-10-13 22:06 UTC (permalink / raw)
To: buildroot
- add new gio_unix_2_0 option
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 -> v2:
- change gio_unix_2_0 from disabled to option (needed library
already provided by libglib2 package) (suggested by Thomas Petazzoni)
---
package/gstreamer1/gst1-plugins-base/Config.in | 5 +++++
package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/package/gstreamer1/gst1-plugins-base/Config.in b/package/gstreamer1/gst1-plugins-base/Config.in
index 44367eb..d91f56e 100644
--- a/package/gstreamer1/gst1-plugins-base/Config.in
+++ b/package/gstreamer1/gst1-plugins-base/Config.in
@@ -150,4 +150,9 @@ config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS
help
Vorbis plugin library
+config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_UNIX_2_0
+ bool "gio-unix-2.0"
+ help
+ glib GIO unix plugin
+
endif
diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk
index 08ebe03..f391530 100644
--- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk
+++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk
@@ -202,4 +202,10 @@ else
GST1_PLUGINS_BASE_CONF_OPTS += --disable-vorbis
endif
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_UNIX_2_0),y)
+GST1_PLUGINS_BASE_CONF_OPTS += --enable-gio_unix_2_0
+else
+GST1_PLUGINS_BASE_CONF_OPTS += --disable-gio_unix_2_0
+endif
+
$(eval $(autotools-package))
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* [Buildroot] [PATCH v2] gst1-plugins-base: update configure options 2015-10-13 22:06 [Buildroot] [PATCH v2] gst1-plugins-base: update configure options Peter Seiderer @ 2015-10-14 20:40 ` Thomas Petazzoni 2015-10-15 19:12 ` Peter Seiderer 0 siblings, 1 reply; 3+ messages in thread From: Thomas Petazzoni @ 2015-10-14 20:40 UTC (permalink / raw) To: buildroot Dear Peter Seiderer, On Wed, 14 Oct 2015 00:06:27 +0200, Peter Seiderer wrote: > +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_UNIX_2_0 > + bool "gio-unix-2.0" > + help > + glib GIO unix plugin > + > endif > diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk > index 08ebe03..f391530 100644 > --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk > +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk > @@ -202,4 +202,10 @@ else > GST1_PLUGINS_BASE_CONF_OPTS += --disable-vorbis > endif > > +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_UNIX_2_0),y) > +GST1_PLUGINS_BASE_CONF_OPTS += --enable-gio_unix_2_0 > +else > +GST1_PLUGINS_BASE_CONF_OPTS += --disable-gio_unix_2_0 > +endif This is still not good I believe. You're confusing --disable-gio and --disable-gio_unix_2_0. According ./configure --help: --disable-gio disable dependency-less gio plugin --disable-gio_unix_2_0 disable glib GIO unix: gio-unix-2.0 So the option that enables/disables the gio plugin (as indicated by your Config.in option help text) is --disable-gio. On the other hand, --disable-gio_unix_2_0 is only used for this (from configure.ac): dnl *** gio-unix-2.0 for tests/check/pipelines/tcp.c *** translit(dnm, m, l) AM_CONDITIONAL(USE_GIO_UNIX_2_0, true) AG_GST_CHECK_FEATURE(GIO_UNIX_2_0, [glib GIO unix], gio-unix-2.0, [ AG_GST_PKG_CHECK_MODULES(GIO_UNIX_2_0, gio-unix-2.0 >= 2.24) ]) So I believe we don't really care about gio_unix_2_0, it's only used for tests. We could just as well pass --disable-gio_unix_2_0 unconditionally, and have an option BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO to enable/disable the gio plugin. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2] gst1-plugins-base: update configure options 2015-10-14 20:40 ` Thomas Petazzoni @ 2015-10-15 19:12 ` Peter Seiderer 0 siblings, 0 replies; 3+ messages in thread From: Peter Seiderer @ 2015-10-15 19:12 UTC (permalink / raw) To: buildroot Hello Thomas, On Wed, 14 Oct 2015 22:40:11 +0200, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > Dear Peter Seiderer, > > On Wed, 14 Oct 2015 00:06:27 +0200, Peter Seiderer wrote: > > > +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_UNIX_2_0 > > + bool "gio-unix-2.0" > > + help > > + glib GIO unix plugin > > + > > endif > > diff --git a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk > > index 08ebe03..f391530 100644 > > --- a/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk > > +++ b/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk > > @@ -202,4 +202,10 @@ else > > GST1_PLUGINS_BASE_CONF_OPTS += --disable-vorbis > > endif > > > > +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_UNIX_2_0),y) > > +GST1_PLUGINS_BASE_CONF_OPTS += --enable-gio_unix_2_0 > > +else > > +GST1_PLUGINS_BASE_CONF_OPTS += --disable-gio_unix_2_0 > > +endif > > This is still not good I believe. You're confusing --disable-gio and > --disable-gio_unix_2_0. According ./configure --help: > > --disable-gio disable dependency-less gio plugin > --disable-gio_unix_2_0 disable glib GIO unix: gio-unix-2.0 > > So the option that enables/disables the gio plugin (as indicated by > your Config.in option help text) is --disable-gio. > > On the other hand, --disable-gio_unix_2_0 is only used for this (from > configure.ac): > > dnl *** gio-unix-2.0 for tests/check/pipelines/tcp.c *** > translit(dnm, m, l) AM_CONDITIONAL(USE_GIO_UNIX_2_0, true) > AG_GST_CHECK_FEATURE(GIO_UNIX_2_0, [glib GIO unix], gio-unix-2.0, [ > AG_GST_PKG_CHECK_MODULES(GIO_UNIX_2_0, gio-unix-2.0 >= 2.24) > ]) > > So I believe we don't really care about gio_unix_2_0, it's only used > for tests. We could just as well pass --disable-gio_unix_2_0 > unconditionally, and have an option > BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO to enable/disable the gio > plugin. > ...did mostly concentrate on the 'configure --help' diff between 1.4.5 and 1.6.0 version..., but will fix it in the next patch version... Regards, Peter > Thanks, > > Thomas ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-15 19:12 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-10-13 22:06 [Buildroot] [PATCH v2] gst1-plugins-base: update configure options Peter Seiderer 2015-10-14 20:40 ` Thomas Petazzoni 2015-10-15 19:12 ` Peter Seiderer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox