* [Buildroot] [PATCH 1/2] package/libtheora: Fix dynamic linking
@ 2015-08-01 14:20 Bernd Kuhls
2015-08-01 14:20 ` [Buildroot] [PATCH 2/2] package/ffmpeg: Add optional dependencies Bernd Kuhls
2015-08-02 17:29 ` [Buildroot] [PATCH 1/2] package/libtheora: Fix dynamic linking Thomas Petazzoni
0 siblings, 2 replies; 6+ messages in thread
From: Bernd Kuhls @ 2015-08-01 14:20 UTC (permalink / raw)
To: buildroot
libtheoraenc.so needs to be linked to libtheoradec.so in order to avoid
symbol 'th_comment_query_count': can't resolve symbol in lib '/usr/lib/libtheoraenc.so.1'
when starting Freeswitch.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/libtheora/0001-link-libtheoradec.patch | 21 ++++++++++++
package/libtheora/0002-fix-autoreconf.patch | 46 ++++++++++++++++++++++++++
package/libtheora/libtheora.mk | 1 +
3 files changed, 68 insertions(+)
create mode 100644 package/libtheora/0001-link-libtheoradec.patch
create mode 100644 package/libtheora/0002-fix-autoreconf.patch
diff --git a/package/libtheora/0001-link-libtheoradec.patch b/package/libtheora/0001-link-libtheoradec.patch
new file mode 100644
index 0000000..c38d32b
--- /dev/null
+++ b/package/libtheora/0001-link-libtheoradec.patch
@@ -0,0 +1,21 @@
+libtheoraenc.so needs to be linked to libtheoradec.so in order to avoid
+
+symbol 'th_comment_query_count': can't resolve symbol in lib '/usr/lib/libtheoraenc.so.1'
+
+when starting Freeswitch.
+
+Patch downloaded from
+http://www.sisyphus.ru/en/srpm/Sisyphus/libtheora/patches/0
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+--- libtheora/lib/Makefile.am
++++ libtheora/lib/Makefile.am
+@@ -153,6 +153,7 @@ libtheoraenc_la_SOURCES = \
+ libtheoraenc_la_LDFLAGS = \
+ -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
+ @THEORAENC_LDFLAGS@ $(OGG_LIBS)
++libtheoraenc_la_LIBADD = libtheoradec.la
+
+ libtheora_la_SOURCES = \
+ $(decoder_sources) \
diff --git a/package/libtheora/0002-fix-autoreconf.patch b/package/libtheora/0002-fix-autoreconf.patch
new file mode 100644
index 0000000..dd3f473
--- /dev/null
+++ b/package/libtheora/0002-fix-autoreconf.patch
@@ -0,0 +1,46 @@
+Fix broken autoreconf
+
+Downloaded from upstream git
+https://git.xiph.org/?p=theora.git;a=commitdiff;h=28cc6dbd9b2a141df94f60993256a5fca368fa54
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+
+From: Tim Terriberry <tterribe@xiph.org>
+Date: Fri, 20 May 2011 20:41:50 +0000 (+0000)
+Subject: Make autoreconf -i -f work.
+X-Git-Url: https://git.xiph.org/?p=theora.git;a=commitdiff_plain;h=28cc6dbd9b2a141df94f60993256a5fca368fa54
+
+Make autoreconf -i -f work.
+
+Patch from David Schleef.
+
+svn path=/trunk/theora/; revision=17990
+---
+
+diff --git a/Makefile.am b/Makefile.am
+index 89fd753..1783857 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -4,6 +4,8 @@
+ #AUTOMAKE_OPTIONS = foreign 1.7 dist-zip dist-bzip2
+ AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz
+
++ACLOCAL_AMFLAGS=-I m4
++
+ if THEORA_ENABLE_EXAMPLES
+ EXAMPLES_DIR = examples
+ else
+diff --git a/configure.ac b/configure.ac
+index 1cbec1a..456b603 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -68,7 +68,7 @@ AC_LIBTOOL_WIN32_DLL
+ AM_PROG_LIBTOOL
+
+ dnl Add parameters for aclocal
+-AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
++AC_CONFIG_MACRO_DIR([m4])
+
+ dnl Check for doxygen
+ AC_ARG_ENABLE([doc],
diff --git a/package/libtheora/libtheora.mk b/package/libtheora/libtheora.mk
index 480af75..11f2c3e 100644
--- a/package/libtheora/libtheora.mk
+++ b/package/libtheora/libtheora.mk
@@ -8,6 +8,7 @@ LIBTHEORA_VERSION = 1.1.1
LIBTHEORA_SOURCE = libtheora-$(LIBTHEORA_VERSION).tar.xz
LIBTHEORA_SITE = http://downloads.xiph.org/releases/theora
LIBTHEORA_INSTALL_STAGING = YES
+LIBTHEORA_AUTORECONF = YES
LIBTHEORA_LICENSE = BSD-3c
LIBTHEORA_LICENSE_FILES = COPYING LICENSE
--
2.1.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] package/ffmpeg: Add optional dependencies
2015-08-01 14:20 [Buildroot] [PATCH 1/2] package/libtheora: Fix dynamic linking Bernd Kuhls
@ 2015-08-01 14:20 ` Bernd Kuhls
2015-10-14 21:26 ` Thomas Petazzoni
2015-10-15 14:11 ` Thomas Petazzoni
2015-08-02 17:29 ` [Buildroot] [PATCH 1/2] package/libtheora: Fix dynamic linking Thomas Petazzoni
1 sibling, 2 replies; 6+ messages in thread
From: Bernd Kuhls @ 2015-08-01 14:20 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/ffmpeg/ffmpeg.mk | 60 ++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 56 insertions(+), 4 deletions(-)
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index 54c9f52..5fc2d57 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -51,13 +51,9 @@ FFMPEG_CONF_OPTS = \
--disable-libdc1394 \
--disable-libfaac \
--disable-libgsm \
- --disable-libmp3lame \
--disable-libnut \
--disable-libopenjpeg \
- --disable-librtmp \
--disable-libschroedinger \
- --disable-libspeex \
- --disable-libtheora \
--disable-libvo-aacenc \
--disable-libvo-amrwbenc \
--disable-symver \
@@ -234,6 +230,62 @@ else
FFMPEG_CONF_OPTS += --disable-libvpx
endif
+ifeq ($(BR2_PACKAGE_LIBASS),y)
+FFMPEG_CONF_OPTS += --enable-libass
+FFMPEG_DEPENDENCIES += libass
+else
+FFMPEG_CONF_OPTS += --disable-libass
+endif
+
+ifeq ($(BR2_PACKAGE_LIBBLURAY),y)
+FFMPEG_CONF_OPTS += --enable-libbluray
+FFMPEG_DEPENDENCIES += libbluray
+else
+FFMPEG_CONF_OPTS += --disable-libbluray
+endif
+
+ifeq ($(BR2_PACKAGE_RTMPDUMP),y)
+FFMPEG_CONF_OPTS += --enable-librtmp
+FFMPEG_DEPENDENCIES += rtmpdump
+else
+FFMPEG_CONF_OPTS += --disable-librtmp
+endif
+
+ifeq ($(BR2_PACKAGE_LAME),y)
+FFMPEG_CONF_OPTS += --enable-libmp3lame
+FFMPEG_DEPENDENCIES += lame
+else
+FFMPEG_CONF_OPTS += --disable-libmp3lame
+endif
+
+ifeq ($(BR2_PACKAGE_LIBMODPLUG),y)
+FFMPEG_CONF_OPTS += --enable-libmodplug
+FFMPEG_DEPENDENCIES += libmodplug
+else
+FFMPEG_CONF_OPTS += --disable-libmodplug
+endif
+
+ifeq ($(BR2_PACKAGE_SPEEX),y)
+FFMPEG_CONF_OPTS += --enable-libspeex
+FFMPEG_DEPENDENCIES += speex
+else
+FFMPEG_CONF_OPTS += --disable-libspeex
+endif
+
+ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
+FFMPEG_CONF_OPTS += --enable-libtheora
+FFMPEG_DEPENDENCIES += libtheora
+else
+FFMPEG_CONF_OPTS += --disable-libtheora
+endif
+
+ifeq ($(BR2_PACKAGE_WAVPACK),y)
+FFMPEG_CONF_OPTS += --enable-libwavpack
+FFMPEG_DEPENDENCIES += wavpack
+else
+FFMPEG_CONF_OPTS += --disable-libwavpack
+endif
+
# ffmpeg freetype support require fenv.h which is only
# available/working on glibc.
# The microblaze variant doesn't provide the needed exceptions
--
2.1.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] package/libtheora: Fix dynamic linking
2015-08-01 14:20 [Buildroot] [PATCH 1/2] package/libtheora: Fix dynamic linking Bernd Kuhls
2015-08-01 14:20 ` [Buildroot] [PATCH 2/2] package/ffmpeg: Add optional dependencies Bernd Kuhls
@ 2015-08-02 17:29 ` Thomas Petazzoni
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2015-08-02 17:29 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sat, 1 Aug 2015 16:20:40 +0200, Bernd Kuhls wrote:
> libtheoraenc.so needs to be linked to libtheoradec.so in order to avoid
>
> symbol 'th_comment_query_count': can't resolve symbol in lib '/usr/lib/libtheoraenc.so.1'
>
> when starting Freeswitch.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/libtheora/0001-link-libtheoradec.patch | 21 ++++++++++++
> package/libtheora/0002-fix-autoreconf.patch | 46 ++++++++++++++++++++++++++
> package/libtheora/libtheora.mk | 1 +
> 3 files changed, 68 insertions(+)
> create mode 100644 package/libtheora/0001-link-libtheoradec.patch
> create mode 100644 package/libtheora/0002-fix-autoreconf.patch
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] package/ffmpeg: Add optional dependencies
2015-08-01 14:20 ` [Buildroot] [PATCH 2/2] package/ffmpeg: Add optional dependencies Bernd Kuhls
@ 2015-10-14 21:26 ` Thomas Petazzoni
2015-10-15 14:11 ` Thomas Petazzoni
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2015-10-14 21:26 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sat, 1 Aug 2015 16:20:41 +0200, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/ffmpeg/ffmpeg.mk | 60 ++++++++++++++++++++++++++++++++++++++++++++----
> 1 file changed, 56 insertions(+), 4 deletions(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] package/ffmpeg: Add optional dependencies
2015-08-01 14:20 ` [Buildroot] [PATCH 2/2] package/ffmpeg: Add optional dependencies Bernd Kuhls
2015-10-14 21:26 ` Thomas Petazzoni
@ 2015-10-15 14:11 ` Thomas Petazzoni
2015-10-15 18:56 ` Bernd Kuhls
1 sibling, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2015-10-15 14:11 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sat, 1 Aug 2015 16:20:41 +0200, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/ffmpeg/ffmpeg.mk | 60 ++++++++++++++++++++++++++++++++++++++++++++----
> 1 file changed, 56 insertions(+), 4 deletions(-)
This seems to break the build:
http://autobuild.buildroot.org/results/ae0/ae0c4bab7975ed2ad77a9f9fd6a300d1327d56b9/build-end.log
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] package/ffmpeg: Add optional dependencies
2015-10-15 14:11 ` Thomas Petazzoni
@ 2015-10-15 18:56 ` Bernd Kuhls
0 siblings, 0 replies; 6+ messages in thread
From: Bernd Kuhls @ 2015-10-15 18:56 UTC (permalink / raw)
To: buildroot
Am Thu, 15 Oct 2015 16:11:09 +0200 schrieb Thomas Petazzoni:
> Dear Bernd Kuhls,
>
> On Sat, 1 Aug 2015 16:20:41 +0200, Bernd Kuhls wrote:
>> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
>> ---
>> package/ffmpeg/ffmpeg.mk | 60 ++++++++++++++++++++++++++++++++++++++++++++----
>> 1 file changed, 56 insertions(+), 4 deletions(-)
>
> This seems to break the build:
>
> http://autobuild.buildroot.org/results/ae0/ae0c4bab7975ed2ad77a9f9fd6a300d1327d56b9/build-end.log
Hi Thomas,
should be fixed by http://patchwork.ozlabs.org/patch/530860/
Regards, Bernd
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-10-15 18:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-01 14:20 [Buildroot] [PATCH 1/2] package/libtheora: Fix dynamic linking Bernd Kuhls
2015-08-01 14:20 ` [Buildroot] [PATCH 2/2] package/ffmpeg: Add optional dependencies Bernd Kuhls
2015-10-14 21:26 ` Thomas Petazzoni
2015-10-15 14:11 ` Thomas Petazzoni
2015-10-15 18:56 ` Bernd Kuhls
2015-08-02 17:29 ` [Buildroot] [PATCH 1/2] package/libtheora: Fix dynamic linking Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox