Skip to contentSkip to conversation

package/libshout: disable tools

PATCH New Fabrice Fontaine 2 participants 2 messages Mar 5, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/libshout: disable tools

This will fix static build of libshout in version 2.4.5 with openssl (tools were added by
https://gitlab.xiph.org/xiph/icecast-libshout/-/commit/34a535bdbb7d8bb4545d2bd71ba29a212e83041e)

Fixes:
- http://autobuild.buildroot.org/results/1c2885d75219aabadbb66ab66fe0dc4b4346ff1e

---
Changes v1 -> v2:
- Add link to autobuilder failure

 ...re.ac-add-an-option-to-disable-tools.patch | 51 +++++++++++++++++++
 package/libshout/libshout.mk                  |  6 ++-
 2 files changed, 56 insertions(+), 1 deletion(-)
 create mode 100644 package/libshout/0001-configure.ac-add-an-option-to-disable-tools.patch
package/libshout/0001-configure.ac-add-an-option-to-disable-tools.patch new file +51 -0
new file mode 100644
index 0000000000..5c20db72e9
@@ -0,0 +1,51 @@
+From 148b56bf894192cef6dd133715e295260b934a71 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <[email protected]>
+Date: Fri, 5 Mar 2021 15:50:32 +0100
+Subject: [PATCH] configure.ac: add an option to disable tools
+
+Signed-off-by: Fabrice Fontaine <[email protected]>
+[Upstream status:
+https://gitlab.xiph.org/xiph/icecast-libshout/-/issues/2331]
+---
+ Makefile.am  | 5 ++++-
+ configure.ac | 5 +++++
+ 2 files changed, 9 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index ea855cf..79241f1 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -3,10 +3,13 @@
+ AUTOMAKE_OPTIONS = 1.6 foreign
+ ACLOCAL_AMFLAGS = -I m4
+ 
+-SUBDIRS = include src doc win32 tools
++SUBDIRS = include src doc win32
+ if HAVE_EXAMPLES
+ SUBDIRS += examples
+ endif
++if HAVE_TOOLS
++SUBDIRS += tools
++endif
+ 
+ EXTRA_DIST = INSTALL m4/shout.m4 m4/acx_pthread.m4 \
+ 	m4/ogg.m4 m4/vorbis.m4 m4/xiph_compiler.m4 m4/xiph_net.m4 \
+diff --git a/configure.ac b/configure.ac
+index 264b9b0..34f971c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -100,6 +100,11 @@ AC_ARG_ENABLE([examples],
+   AS_HELP_STRING([--disable-examples],[Do not build example code]))
+ AM_CONDITIONAL([HAVE_EXAMPLES],[test "${enable_examples}" != "no"])
+ 
++dnl Allow tools not to be build
++AC_ARG_ENABLE([tools],
++  AS_HELP_STRING([--disable-tools],[Do not build tools]))
++AM_CONDITIONAL([HAVE_TOOLS],[test "${enable_tools}" != "no"])
++
+ dnl Module checks
+ XIPH_NET
+ 
+-- 
+2.30.0
+
package/libshout/libshout.mk +5 -1
index 01ccf22e23..57d26390c5 100644
@@ -10,7 +10,11 @@ LIBSHOUT_LICENSE = LGPL-2.0+
 LIBSHOUT_LICENSE_FILES = COPYING
 LIBSHOUT_INSTALL_STAGING = YES
 LIBSHOUT_DEPENDENCIES = host-pkgconf libogg libvorbis
-LIBSHOUT_CONF_OPTS = --disable-examples
+# We're patching configure.ac
+LIBSHOUT_AUTORECONF = YES
+LIBSHOUT_CONF_OPTS = \
+	--disable-examples \
+	--disable-tools
 
 ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
 LIBSHOUT_CONF_OPTS += --enable-theora
Signature · 1 line
2.30.0
#1 lore raw

PATCH v2 1/1 package/libshout: disable tools

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

This will fix static build of libshout in version 2.4.5 with openssl (tools were added by
https://gitlab.xiph.org/xiph/icecast-libshout/-/commit/34a535bdbb7d8bb4545d2bd71ba29a212e83041e)

Fixes:
- http://autobuild.buildroot.org/results/1c2885d75219aabadbb66ab66fe0dc4b4346ff1e

This looks to be a kismet failure. I've replaced by:

http://autobuild.buildroot.net/results/a6b/a6b7df5d4b4bccbfe54f3173365e88d849ed0e30/

And committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard