All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc
@ 2016-02-21 17:34 Bernd Kuhls
  2016-02-21 17:34 ` [Buildroot] [PATCH 02/10] package/openobex: depends on libusb-compat Bernd Kuhls
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Bernd Kuhls @ 2016-02-21 17:34 UTC (permalink / raw)
  To: buildroot

When orc was compiled before, gnuradio will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/gnuradio-config-info | grep NEEDED
[...]
 0x0000000000000001 (NEEDED)             Shared library: [liborc-0.4.so.0]
[...]

Apparently there is no option provided by the build system to
en-/disable support for orc:
https://github.com/gnuradio/volk/blob/41b4df055b2c8d4f2c23ad2bdc60c0b47b4f0dd8/lib/CMakeLists.txt#L449

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/gnuradio/gnuradio.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/gnuradio/gnuradio.mk b/package/gnuradio/gnuradio.mk
index fc5cd1f..b7dbcb9 100644
--- a/package/gnuradio/gnuradio.mk
+++ b/package/gnuradio/gnuradio.mk
@@ -17,6 +17,10 @@ GNURADIO_DEPENDENCIES = \
 	host-swig \
 	boost
 
+ifeq ($(BR2_PACKAGE_ORC),y)
+GNURADIO_DEPENDENCIES += orc
+endif
+
 GNURADIO_CONF_OPTS = \
 	-DENABLE_DEFAULT=OFF \
 	-DENABLE_VOLK=ON \
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 02/10] package/openobex: depends on libusb-compat
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
@ 2016-02-21 17:34 ` Bernd Kuhls
  2016-02-21 20:25   ` Thomas Petazzoni
  2016-02-21 17:34 ` [Buildroot] [PATCH 03/10] package/gnupg2: add optional support for libusb-compat Bernd Kuhls
                   ` (10 subsequent siblings)
  11 siblings, 1 reply; 16+ messages in thread
From: Bernd Kuhls @ 2016-02-21 17:34 UTC (permalink / raw)
  To: buildroot

Openobex looks for libusb.pc provided by libusb-compat, not libusb-1.0.pc
provided by libusb:
https://github.com/zuckschwerdt/openobex/blob/master/acinclude.m4#L171

Openobex links against both libusb (libusb-1.0.so.0) and libusb-compat
(libusb-0.1.so.4):
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/ircp | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libopenobex.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libusb-0.1.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [libusb-1.0.so.0]
[...]

This patch changes the dependency in openobex.mk and also selects
libusb-compat.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/openobex/Config.in   | 3 ++-
 package/openobex/openobex.mk | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/openobex/Config.in b/package/openobex/Config.in
index 2b8cf38..ed1b81f 100644
--- a/package/openobex/Config.in
+++ b/package/openobex/Config.in
@@ -22,8 +22,9 @@ comment "bluez support needs a toolchain w/ wchar, threads, dynamic library"
 
 config BR2_PACKAGE_OPENOBEX_LIBUSB
 	bool "enable libusb support"
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
+	select BR2_PACKAGE_LIBUSB_COMPAT
 
 comment "libusb support needs a toolchain w/ threads"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/openobex/openobex.mk b/package/openobex/openobex.mk
index b50dbb7..6a1a10b 100644
--- a/package/openobex/openobex.mk
+++ b/package/openobex/openobex.mk
@@ -36,7 +36,7 @@ OPENOBEX_CONF_OPTS += --disable-bluetooth
 endif
 
 ifeq ($(BR2_PACKAGE_OPENOBEX_LIBUSB),y)
-OPENOBEX_DEPENDENCIES += libusb
+OPENOBEX_DEPENDENCIES += libusb-compat
 OPENOBEX_CONF_OPTS += --with-usb=$(STAGING_DIR)
 else
 OPENOBEX_CONF_OPTS += --disable-usb
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 03/10] package/gnupg2: add optional support for libusb-compat
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
  2016-02-21 17:34 ` [Buildroot] [PATCH 02/10] package/openobex: depends on libusb-compat Bernd Kuhls
@ 2016-02-21 17:34 ` Bernd Kuhls
  2016-02-21 20:26   ` Thomas Petazzoni
  2016-02-21 17:34 ` [Buildroot] [PATCH 04/10] package/mediastreamer: add optional support for libupnp Bernd Kuhls
                   ` (9 subsequent siblings)
  11 siblings, 1 reply; 16+ messages in thread
From: Bernd Kuhls @ 2016-02-21 17:34 UTC (permalink / raw)
  To: buildroot

When libusb-compat was compiled before, gnupg2 will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/libexec/scdaemon | grep NEEDED
[...]
 0x0000000000000001 (NEEDED)             Shared library: [libusb-0.1.so.4]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/gnupg2/gnupg2.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk
index 2e1f067..8d4f373 100644
--- a/package/gnupg2/gnupg2.mk
+++ b/package/gnupg2/gnupg2.mk
@@ -38,6 +38,13 @@ else
 GNUPG2_CONF_OPTS += --disable-bzip2
 endif
 
+ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
+GNUPG2_CONF_OPTS += --enable-ccid-driver
+GNUPG2_DEPENDENCIES += libusb-compat
+else
+GNUPG2_CONF_OPTS += --disable-ccid-driver
+endif
+
 ifeq ($(BR2_PACKAGE_READLINE),y)
 GNUPG2_CONF_OPTS += --with-readline=$(STAGING_DIR)
 GNUPG2_DEPENDENCIES += readline
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 04/10] package/mediastreamer: add optional support for libupnp
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
  2016-02-21 17:34 ` [Buildroot] [PATCH 02/10] package/openobex: depends on libusb-compat Bernd Kuhls
  2016-02-21 17:34 ` [Buildroot] [PATCH 03/10] package/gnupg2: add optional support for libusb-compat Bernd Kuhls
@ 2016-02-21 17:34 ` Bernd Kuhls
  2016-02-21 20:29   ` Thomas Petazzoni
  2016-02-21 17:34 ` [Buildroot] [PATCH 05/10] package/mediastreamer: add optional support for opus Bernd Kuhls
                   ` (8 subsequent siblings)
  11 siblings, 1 reply; 16+ messages in thread
From: Bernd Kuhls @ 2016-02-21 17:34 UTC (permalink / raw)
  To: buildroot

When libupnp was compiled before, mediastreamer will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libmediastreamer_voip.so.3.0.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libmediastreamer_base.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libupnp.so.6]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/mediastreamer/mediastreamer.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/mediastreamer/mediastreamer.mk b/package/mediastreamer/mediastreamer.mk
index 79d8e75..047509e 100644
--- a/package/mediastreamer/mediastreamer.mk
+++ b/package/mediastreamer/mediastreamer.mk
@@ -20,6 +20,13 @@ else
 MEDIASTREAMER_CONF_OPTS += --disable-alsa
 endif
 
+ifeq ($(BR2_PACKAGE_LIBUPNP),y)
+MEDIASTREAMER_CONF_OPTS += --enable-upnp
+MEDIASTREAMER_DEPENDENCIES += libupnp
+else
+MEDIASTREAMER_CONF_OPTS += --disable-upnp
+endif
+
 # portaudio backend needs speex as well
 ifeq ($(BR2_PACKAGE_PORTAUDIO)$(BR2_PACKAGE_SPEEX),yy)
 MEDIASTREAMER_CONF_OPTS += --enable-portaudio
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 05/10] package/mediastreamer: add optional support for opus
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
                   ` (2 preceding siblings ...)
  2016-02-21 17:34 ` [Buildroot] [PATCH 04/10] package/mediastreamer: add optional support for libupnp Bernd Kuhls
@ 2016-02-21 17:34 ` Bernd Kuhls
  2016-02-21 17:34 ` [Buildroot] [PATCH 06/10] package/mediastreamer: add optional support for libvpx Bernd Kuhls
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 16+ messages in thread
From: Bernd Kuhls @ 2016-02-21 17:34 UTC (permalink / raw)
  To: buildroot

When opus was compiled before, mediastreamer will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libmediastreamer_voip.so.3.0.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libmediastreamer_base.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libopus.so.0]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/mediastreamer/mediastreamer.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/mediastreamer/mediastreamer.mk b/package/mediastreamer/mediastreamer.mk
index 047509e..cf25196 100644
--- a/package/mediastreamer/mediastreamer.mk
+++ b/package/mediastreamer/mediastreamer.mk
@@ -27,6 +27,13 @@ else
 MEDIASTREAMER_CONF_OPTS += --disable-upnp
 endif
 
+ifeq ($(BR2_PACKAGE_OPUS),y)
+MEDIASTREAMER_CONF_OPTS += --enable-opus
+MEDIASTREAMER_DEPENDENCIES += opus
+else
+MEDIASTREAMER_CONF_OPTS += --disable-opus
+endif
+
 # portaudio backend needs speex as well
 ifeq ($(BR2_PACKAGE_PORTAUDIO)$(BR2_PACKAGE_SPEEX),yy)
 MEDIASTREAMER_CONF_OPTS += --enable-portaudio
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 06/10] package/mediastreamer: add optional support for libvpx
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
                   ` (3 preceding siblings ...)
  2016-02-21 17:34 ` [Buildroot] [PATCH 05/10] package/mediastreamer: add optional support for opus Bernd Kuhls
@ 2016-02-21 17:34 ` Bernd Kuhls
  2016-02-21 17:34 ` [Buildroot] [PATCH 07/10] package/pure-ftpd: add optional support for libsodium Bernd Kuhls
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 16+ messages in thread
From: Bernd Kuhls @ 2016-02-21 17:34 UTC (permalink / raw)
  To: buildroot

When libvpx was compiled before, mediastreamer will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libmediastreamer_voip.so.3.0.0 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libmediastreamer_base.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libopus.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libvpx.so.2]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/mediastreamer/mediastreamer.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/mediastreamer/mediastreamer.mk b/package/mediastreamer/mediastreamer.mk
index cf25196..81f5b50 100644
--- a/package/mediastreamer/mediastreamer.mk
+++ b/package/mediastreamer/mediastreamer.mk
@@ -27,6 +27,13 @@ else
 MEDIASTREAMER_CONF_OPTS += --disable-upnp
 endif
 
+ifeq ($(BR2_PACKAGE_LIBVPX),y)
+MEDIASTREAMER_CONF_OPTS += --enable-vp8
+MEDIASTREAMER_DEPENDENCIES += libvpx
+else
+MEDIASTREAMER_CONF_OPTS += --disable-vp8
+endif
+
 ifeq ($(BR2_PACKAGE_OPUS),y)
 MEDIASTREAMER_CONF_OPTS += --enable-opus
 MEDIASTREAMER_DEPENDENCIES += opus
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 07/10] package/pure-ftpd: add optional support for libsodium
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
                   ` (4 preceding siblings ...)
  2016-02-21 17:34 ` [Buildroot] [PATCH 06/10] package/mediastreamer: add optional support for libvpx Bernd Kuhls
@ 2016-02-21 17:34 ` Bernd Kuhls
  2016-02-21 17:34 ` [Buildroot] [PATCH 08/10] package/gawk: add optional support for libsigsegv Bernd Kuhls
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 16+ messages in thread
From: Bernd Kuhls @ 2016-02-21 17:34 UTC (permalink / raw)
  To: buildroot

When libsodium was compiled before, pure-ftpd will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/pure-statsdecode | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libsodium.so.17]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]

The build system offers no option to en-/disable libsodium support,
check configure.ac, line 953.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/pure-ftpd/pure-ftpd.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk
index 8df4c23..e1040fa 100644
--- a/package/pure-ftpd/pure-ftpd.mk
+++ b/package/pure-ftpd/pure-ftpd.mk
@@ -27,6 +27,10 @@ else
 PURE_FTPD_CONF_OPTS += --without-capabilities
 endif
 
+ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
+PURE_FTPD_DEPENDENCIES += libsodium
+endif
+
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 PURE_FTPD_CONF_OPTS += --with-tls
 PURE_FTPD_DEPENDENCIES += openssl
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 08/10] package/gawk: add optional support for libsigsegv
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
                   ` (5 preceding siblings ...)
  2016-02-21 17:34 ` [Buildroot] [PATCH 07/10] package/pure-ftpd: add optional support for libsodium Bernd Kuhls
@ 2016-02-21 17:34 ` Bernd Kuhls
  2016-02-21 17:34 ` [Buildroot] [PATCH 09/10] package/lxc: add optional support for libseccomp Bernd Kuhls
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 16+ messages in thread
From: Bernd Kuhls @ 2016-02-21 17:34 UTC (permalink / raw)
  To: buildroot

When libsigsegv was compiled before, gawk will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/gawk | grep NEEDED
  0x0000000000000001 (NEEDED)             Shared library: [libsigsegv.so.2]
[...]

The build system offers no option to en-/disable libsigsegv support:
http://git.savannah.gnu.org/cgit/gawk.git/tree/m4/libsigsegv.m4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/gawk/gawk.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/gawk/gawk.mk b/package/gawk/gawk.mk
index 507ea6d..da9be95 100644
--- a/package/gawk/gawk.mk
+++ b/package/gawk/gawk.mk
@@ -16,6 +16,10 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
 GAWK_DEPENDENCIES += busybox
 endif
 
+ifeq ($(BR2_PACKAGE_LIBSIGSEGV),y)
+GAWK_DEPENDENCIES += libsigsegv
+endif
+
 # --with-mpfr requires an argument so just let
 # configure find it automatically
 ifeq ($(BR2_PACKAGE_MPFR),y)
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 09/10] package/lxc: add optional support for libseccomp
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
                   ` (6 preceding siblings ...)
  2016-02-21 17:34 ` [Buildroot] [PATCH 08/10] package/gawk: add optional support for libsigsegv Bernd Kuhls
@ 2016-02-21 17:34 ` Bernd Kuhls
  2016-02-21 17:34 ` [Buildroot] [PATCH 10/10] package/mutt: add optional support for libidn Bernd Kuhls
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 16+ messages in thread
From: Bernd Kuhls @ 2016-02-21 17:34 UTC (permalink / raw)
  To: buildroot

When libseccomp was compiled before, lxc will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/libexec/lxc/lxc-monitord | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [liblxc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libseccomp.so.2]
[...]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/lxc/lxc.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/lxc/lxc.mk b/package/lxc/lxc.mk
index e382f4d..8190969 100644
--- a/package/lxc/lxc.mk
+++ b/package/lxc/lxc.mk
@@ -15,4 +15,11 @@ LXC_CONF_OPTS = --disable-apparmor --with-distro=buildroot \
 	--disable-lua --disable-python \
 	$(if $(BR2_PACKAGE_BASH),,--disable-bash)
 
+ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
+LXC_CONF_OPTS += --enable-seccomp
+LXC_DEPENDENCIES += libseccomp
+else
+LXC_CONF_OPTS += --disable-seccomp
+endif
+
 $(eval $(autotools-package))
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 10/10] package/mutt: add optional support for libidn
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
                   ` (7 preceding siblings ...)
  2016-02-21 17:34 ` [Buildroot] [PATCH 09/10] package/lxc: add optional support for libseccomp Bernd Kuhls
@ 2016-02-21 17:34 ` Bernd Kuhls
  2016-02-21 20:18 ` [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Thomas Petazzoni
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 16+ messages in thread
From: Bernd Kuhls @ 2016-02-21 17:34 UTC (permalink / raw)
  To: buildroot

When libidn was compiled before, mutt will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/mutt | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libncurses.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libidn.so.11]
 0x0000000000000001 (NEEDED)             Shared library: [libintl.so.8]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/mutt/mutt.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk
index b07f9b2..14c5be9 100644
--- a/package/mutt/mutt.mk
+++ b/package/mutt/mutt.mk
@@ -17,6 +17,13 @@ MUTT_DEPENDENCIES += libiconv
 MUTT_CONF_OPTS += --enable-iconv
 endif
 
+ifeq ($(BR2_PACKAGE_LIBIDN),y)
+MUTT_DEPENDENCIES += libidn
+MUTT_CONF_OPTS += --with-idn
+else
+MUTT_CONF_OPTS += --without-idn
+endif
+
 ifeq ($(BR2_PACKAGE_MUTT_IMAP),y)
 MUTT_CONF_OPTS += --enable-imap
 else
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
                   ` (8 preceding siblings ...)
  2016-02-21 17:34 ` [Buildroot] [PATCH 10/10] package/mutt: add optional support for libidn Bernd Kuhls
@ 2016-02-21 20:18 ` Thomas Petazzoni
  2016-02-22 14:23 ` gwenhael.goavec
  2016-02-23 21:21 ` Thomas Petazzoni
  11 siblings, 0 replies; 16+ messages in thread
From: Thomas Petazzoni @ 2016-02-21 20:18 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sun, 21 Feb 2016 18:34:50 +0100, Bernd Kuhls wrote:
> When orc was compiled before, gnuradio will use it as optional
> dependency:
> 
> $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/gnuradio-config-info | grep NEEDED
> [...]
>  0x0000000000000001 (NEEDED)             Shared library: [liborc-0.4.so.0]
> [...]
> 
> Apparently there is no option provided by the build system to
> en-/disable support for orc:
> https://github.com/gnuradio/volk/blob/41b4df055b2c8d4f2c23ad2bdc60c0b47b4f0dd8/lib/CMakeLists.txt#L449
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Can you check it properly finds the orcc compiler in
$(HOST_DIR)/usr/bin ? I believe this might need some more tweaks than
just depending on orc.

I'm Cc'ing Gwenhael, who is the main contributor to the GNURadio
package. Gwenhael, can you have a look at Bernd's patch to enable ORC
as an optional dependency of GNURadio ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 02/10] package/openobex: depends on libusb-compat
  2016-02-21 17:34 ` [Buildroot] [PATCH 02/10] package/openobex: depends on libusb-compat Bernd Kuhls
@ 2016-02-21 20:25   ` Thomas Petazzoni
  0 siblings, 0 replies; 16+ messages in thread
From: Thomas Petazzoni @ 2016-02-21 20:25 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sun, 21 Feb 2016 18:34:51 +0100, Bernd Kuhls wrote:
> Openobex looks for libusb.pc provided by libusb-compat, not libusb-1.0.pc
> provided by libusb:
> https://github.com/zuckschwerdt/openobex/blob/master/acinclude.m4#L171
> 
> Openobex links against both libusb (libusb-1.0.so.0) and libusb-compat
> (libusb-0.1.so.4):
> $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/ircp | grep NEEDED
>  0x0000000000000001 (NEEDED)             Shared library: [libopenobex.so.1]
>  0x0000000000000001 (NEEDED)             Shared library: [libusb-0.1.so.4]
>  0x0000000000000001 (NEEDED)             Shared library: [libusb-1.0.so.0]
> [...]
> 
> This patch changes the dependency in openobex.mk and also selects
> libusb-compat.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/openobex/Config.in   | 3 ++-
>  package/openobex/openobex.mk | 2 +-
>  2 files changed, 3 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 03/10] package/gnupg2: add optional support for libusb-compat
  2016-02-21 17:34 ` [Buildroot] [PATCH 03/10] package/gnupg2: add optional support for libusb-compat Bernd Kuhls
@ 2016-02-21 20:26   ` Thomas Petazzoni
  0 siblings, 0 replies; 16+ messages in thread
From: Thomas Petazzoni @ 2016-02-21 20:26 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sun, 21 Feb 2016 18:34:52 +0100, Bernd Kuhls wrote:
> When libusb-compat was compiled before, gnupg2 will use it as optional
> dependency:
> 
> $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/libexec/scdaemon | grep NEEDED
> [...]
>  0x0000000000000001 (NEEDED)             Shared library: [libusb-0.1.so.4]
> [...]
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/gnupg2/gnupg2.mk | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 04/10] package/mediastreamer: add optional support for libupnp
  2016-02-21 17:34 ` [Buildroot] [PATCH 04/10] package/mediastreamer: add optional support for libupnp Bernd Kuhls
@ 2016-02-21 20:29   ` Thomas Petazzoni
  0 siblings, 0 replies; 16+ messages in thread
From: Thomas Petazzoni @ 2016-02-21 20:29 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sun, 21 Feb 2016 18:34:53 +0100, Bernd Kuhls wrote:
> When libupnp was compiled before, mediastreamer will use it as optional
> dependency:
> 
> $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libmediastreamer_voip.so.3.0.0 | grep NEEDED
>  0x0000000000000001 (NEEDED)             Shared library: [libmediastreamer_base.so.3]
>  0x0000000000000001 (NEEDED)             Shared library: [libupnp.so.6]
> [...]
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/mediastreamer/mediastreamer.mk | 7 +++++++
>  1 file changed, 7 insertions(+)

Patches 4 to 10 applied to master, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
                   ` (9 preceding siblings ...)
  2016-02-21 20:18 ` [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Thomas Petazzoni
@ 2016-02-22 14:23 ` gwenhael.goavec
  2016-02-23 21:21 ` Thomas Petazzoni
  11 siblings, 0 replies; 16+ messages in thread
From: gwenhael.goavec @ 2016-02-22 14:23 UTC (permalink / raw)
  To: buildroot

Hi Bernd,

Reviewed-by: "Gwenhael Goavec-Merou" <gwenhael.goavec-merou@trabucayre.com>
Tested-by: "Gwenhael Goavec-Merou" <gwenhael.goavec-merou@trabucayre.com>

Best regards,

Gwenhael

On Sun, 21 Feb 2016 18:34:50 +0100
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> When orc was compiled before, gnuradio will use it as optional
> dependency:
> 
> $ output/host/usr/bin/x86_64-linux-readelf -a
> output/target/usr/bin/gnuradio-config-info | grep NEEDED [...]
>  0x0000000000000001 (NEEDED)             Shared library:
> [liborc-0.4.so.0] [...]
> 
> Apparently there is no option provided by the build system to
> en-/disable support for orc:
> https://github.com/gnuradio/volk/blob/41b4df055b2c8d4f2c23ad2bdc60c0b47b4f0dd8/lib/CMakeLists.txt#L449
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/gnuradio/gnuradio.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/gnuradio/gnuradio.mk
> b/package/gnuradio/gnuradio.mk index fc5cd1f..b7dbcb9 100644
> --- a/package/gnuradio/gnuradio.mk
> +++ b/package/gnuradio/gnuradio.mk
> @@ -17,6 +17,10 @@ GNURADIO_DEPENDENCIES = \
>  	host-swig \
>  	boost
>  
> +ifeq ($(BR2_PACKAGE_ORC),y)
> +GNURADIO_DEPENDENCIES += orc
> +endif
> +
>  GNURADIO_CONF_OPTS = \
>  	-DENABLE_DEFAULT=OFF \
>  	-DENABLE_VOLK=ON \
> -- 
> 2.7.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc
  2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
                   ` (10 preceding siblings ...)
  2016-02-22 14:23 ` gwenhael.goavec
@ 2016-02-23 21:21 ` Thomas Petazzoni
  11 siblings, 0 replies; 16+ messages in thread
From: Thomas Petazzoni @ 2016-02-23 21:21 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sun, 21 Feb 2016 18:34:50 +0100, Bernd Kuhls wrote:
> When orc was compiled before, gnuradio will use it as optional
> dependency:
> 
> $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/gnuradio-config-info | grep NEEDED
> [...]
>  0x0000000000000001 (NEEDED)             Shared library: [liborc-0.4.so.0]
> [...]
> 
> Apparently there is no option provided by the build system to
> en-/disable support for orc:
> https://github.com/gnuradio/volk/blob/41b4df055b2c8d4f2c23ad2bdc60c0b47b4f0dd8/lib/CMakeLists.txt#L449
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/gnuradio/gnuradio.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Applied to master, thanks!

Thanks to Gwenhael for testing!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-02-23 21:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-21 17:34 [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Bernd Kuhls
2016-02-21 17:34 ` [Buildroot] [PATCH 02/10] package/openobex: depends on libusb-compat Bernd Kuhls
2016-02-21 20:25   ` Thomas Petazzoni
2016-02-21 17:34 ` [Buildroot] [PATCH 03/10] package/gnupg2: add optional support for libusb-compat Bernd Kuhls
2016-02-21 20:26   ` Thomas Petazzoni
2016-02-21 17:34 ` [Buildroot] [PATCH 04/10] package/mediastreamer: add optional support for libupnp Bernd Kuhls
2016-02-21 20:29   ` Thomas Petazzoni
2016-02-21 17:34 ` [Buildroot] [PATCH 05/10] package/mediastreamer: add optional support for opus Bernd Kuhls
2016-02-21 17:34 ` [Buildroot] [PATCH 06/10] package/mediastreamer: add optional support for libvpx Bernd Kuhls
2016-02-21 17:34 ` [Buildroot] [PATCH 07/10] package/pure-ftpd: add optional support for libsodium Bernd Kuhls
2016-02-21 17:34 ` [Buildroot] [PATCH 08/10] package/gawk: add optional support for libsigsegv Bernd Kuhls
2016-02-21 17:34 ` [Buildroot] [PATCH 09/10] package/lxc: add optional support for libseccomp Bernd Kuhls
2016-02-21 17:34 ` [Buildroot] [PATCH 10/10] package/mutt: add optional support for libidn Bernd Kuhls
2016-02-21 20:18 ` [Buildroot] [PATCH 01/10] package/gnuradio: add optional support for orc Thomas Petazzoni
2016-02-22 14:23 ` gwenhael.goavec
2016-02-23 21:21 ` Thomas Petazzoni

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.