gstreamer: needs dynamic libraries
PATCH 1/1 gstreamer: needs dynamic libraries
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.
--- package/gstreamer/gstreamer/Config.in | 6 ++++-- package/libplayer/Config.in | 6 ++++-- package/opencv/Config.in | 7 +++++-- 3 files changed, 13 insertions(+), 6 deletions(-)
package/gstreamer/gstreamer/Config.in +4 -2
@@ -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.
package/libplayer/Config.in +4 -2
@@ -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"
package/opencv/Config.in +5 -2
@@ -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"
Signature · 1 line
2.15.0
PATCH 1/1 gstreamer: needs dynamic libraries
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:
g_cclosure_marshal_VOID__VOIDis 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.
Committed after adding an autobuild reference, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 gstreamer: needs dynamic libraries
In reply to Arnout Vandecappelle (Essensium/Mind)Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:
g_cclosure_marshal_VOID__VOIDis 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.
Committed to 2017.02.x and 2017.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard