* [Buildroot] [PATCH] gstreamer: needs dynamic libraries
@ 2017-11-05 20:31 Arnout Vandecappelle
2017-11-05 22:16 ` Peter Korsgaard
2017-11-26 21:01 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2017-11-05 20:31 UTC (permalink / raw)
To: buildroot
g_cclosure_marshal_VOID__VOID is defined both in libgobject.a and
libgstreamer.a. It is probably possible to fix this, but gstreamer0.10
has been deprecated for a long time now and is anyway unlikely to be
used in static-only situations, so let's just require dynamic linking.
Propagate to the reverse dependencies. opencv3 already did depend on
dynamic libs.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/gstreamer/gstreamer/Config.in | 6 ++++--
package/libplayer/Config.in | 6 ++++--
package/opencv/Config.in | 7 +++++--
3 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/package/gstreamer/gstreamer/Config.in b/package/gstreamer/gstreamer/Config.in
index eb1249ac5f..99c90f1a14 100644
--- a/package/gstreamer/gstreamer/Config.in
+++ b/package/gstreamer/gstreamer/Config.in
@@ -1,12 +1,14 @@
-comment "gstreamer 0.10 needs a toolchain w/ wchar, threads"
+comment "gstreamer 0.10 needs a toolchain w/ wchar, threads, dynamic library"
depends on BR2_USE_MMU
- depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+ BR2_STATIC_LIBS
config BR2_PACKAGE_GSTREAMER
bool "gstreamer 0.10"
depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_USE_MMU # glib2
+ depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_LIBGLIB2
help
GStreamer is an open source multimedia framework.
diff --git a/package/libplayer/Config.in b/package/libplayer/Config.in
index 0ae558d8df..82083a0eea 100644
--- a/package/libplayer/Config.in
+++ b/package/libplayer/Config.in
@@ -20,11 +20,13 @@ config BR2_PACKAGE_LIBPLAYER_GSTREAMER
depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_USE_MMU # glib2
+ depends on !BR2_STATIC_LIBS # gstreamer
select BR2_PACKAGE_GSTREAMER
-comment "gstreamer backend needs a toolchain w/ wchar, threads"
+comment "gstreamer backend needs a toolchain w/ wchar, threads, dynamic library"
depends on BR2_USE_MMU
- depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+ BR2_STATIC_LIBS
endif
comment "libplayer needs a toolchain w/ threads"
diff --git a/package/opencv/Config.in b/package/opencv/Config.in
index 742ae3ebba..26109a707d 100644
--- a/package/opencv/Config.in
+++ b/package/opencv/Config.in
@@ -208,13 +208,16 @@ config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
depends on BR2_USE_MMU # gstreamer -> libglib2
depends on BR2_USE_WCHAR # gstreamer -> libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer -> libglib2
+ depends on !BR2_STATIC_LIBS # gstreamer
select BR2_PACKAGE_GSTREAMER
select BR2_PACKAGE_GST_PLUGINS_BASE
select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
-comment "gstreamer-0.10 support needs a toolchain w/ wchar, threads"
+comment "gstreamer-0.10 support needs a toolchain w/ wchar, threads, dynamic library"
depends on BR2_USE_MMU
- depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+ BR2_STATIC_LIBS
+
config BR2_PACKAGE_OPENCV_WITH_GSTREAMER1
bool "gstreamer-1.x"
--
2.15.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] gstreamer: needs dynamic libraries
2017-11-05 20:31 [Buildroot] [PATCH] gstreamer: needs dynamic libraries Arnout Vandecappelle
@ 2017-11-05 22:16 ` Peter Korsgaard
2017-11-26 21:01 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2017-11-05 22:16 UTC (permalink / raw)
To: buildroot
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:
> g_cclosure_marshal_VOID__VOID is defined both in libgobject.a and
> libgstreamer.a. It is probably possible to fix this, but gstreamer0.10
> has been deprecated for a long time now and is anyway unlikely to be
> used in static-only situations, so let's just require dynamic linking.
> Propagate to the reverse dependencies. opencv3 already did depend on
> dynamic libs.
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Committed after adding an autobuild reference, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] gstreamer: needs dynamic libraries
2017-11-05 20:31 [Buildroot] [PATCH] gstreamer: needs dynamic libraries Arnout Vandecappelle
2017-11-05 22:16 ` Peter Korsgaard
@ 2017-11-26 21:01 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2017-11-26 21:01 UTC (permalink / raw)
To: buildroot
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:
> g_cclosure_marshal_VOID__VOID is defined both in libgobject.a and
> libgstreamer.a. It is probably possible to fix this, but gstreamer0.10
> has been deprecated for a long time now and is anyway unlikely to be
> used in static-only situations, so let's just require dynamic linking.
> Propagate to the reverse dependencies. opencv3 already did depend on
> dynamic libs.
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Committed to 2017.02.x and 2017.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-26 21:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-05 20:31 [Buildroot] [PATCH] gstreamer: needs dynamic libraries Arnout Vandecappelle
2017-11-05 22:16 ` Peter Korsgaard
2017-11-26 21:01 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.