From: Thomas Reitmayr <treitmayr@devbase.at>
To: openembedded-devel@openembedded.org
Subject: patch for speex_1.2-beta3.bb and linphone_1.6.0
Date: Sun, 25 May 2008 13:17:36 +0200 [thread overview]
Message-ID: <1211714256.6764.5.camel@localhost> (raw)
Hi,
I noticed that linphone 1.6.0 does not build with the most recent speex
library anymore. I found a gentoo patch from which the one below is
derived. Also the speex recipe has to be modified in order to install
the libspeexdsp library.
Please review and apply if it looks ok.
Regards,
-Thomas
speex-bb.patch
==============
#
# old_revision [2d32c4a3ada0c940227e778e5080900811813513]
#
# patch "packages/speex/speex_1.2-beta3.bb"
# from [6319f43f5ea5d3f197ff50ea3901c6dc91a66773]
# to [00a36fc4859ab95fe4f001ba0afd29901a9c6dfc]
#
============================================================
--- packages/speex/speex_1.2-beta3.bb 6319f43f5ea5d3f197ff50ea3901c6dc91a66773
+++ packages/speex/speex_1.2-beta3.bb 00a36fc4859ab95fe4f001ba0afd29901a9c6dfc
@@ -1,9 +1,9 @@ DEPENDS = "libogg"
DESCRIPTION = "Speex is an Open Source/Free Software patent-free audio compression format designed for speech."
SECTION = "libs"
LICENSE = "BSD"
HOMEPAGE = "http://www.speex.org"
DEPENDS = "libogg"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-1.2beta3.tar.gz"
S = "${WORKDIR}/${PN}-1.2beta3"
@@ -37,6 +37,7 @@ do_stage() {
do_stage() {
oe_libinstall -C libspeex -so libspeex ${STAGING_LIBDIR}
+ oe_libinstall -C libspeex -so libspeexdsp ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/speex
install -m 0644 include/speex/*.h ${STAGING_INCDIR}/speex
install -m 0644 speex.m4 ${STAGING_DATADIR}/aclocal/
============================================================
linphone-1.6.0.patch
====================
diff -Nur packages/linphone/files/config-mediastreamer.patch packages/linphone-new/files/config-mediastreamer.patch
--- packages/linphone/files/config-mediastreamer.patch 1970-01-01 01:00:00.000000000 +0100
+++ packages/linphone-new/files/config-mediastreamer.patch 2008-05-25 12:34:44.000000000 +0200
@@ -0,0 +1,29 @@
+--- linphone-1.6.0/mediastreamer2/configure.ac.org 2008-05-25 12:25:03.000000000 +0200
++++ linphone-1.6.0/mediastreamer2/configure.ac 2008-05-25 12:26:20.000000000 +0200
+@@ -258,9 +258,15 @@
+ [try_other_speex=yes]
+ )
+ PKG_CHECK_MODULES(SPEEX, speex >= 1.1.6, build_speex=yes)
++AM_CONDITIONAL(BUILD_SPEEX, test x$build_speex = xyes )
++
+ AC_SUBST(SPEEX_CFLAGS)
+ AC_SUBST(SPEEX_LIBS)
+-AM_CONDITIONAL(BUILD_SPEEX, test x$build_speex = xyes )
++
++PKG_CHECK_MODULES(SPEEXDSP, speexdsp, build_speexdsp=yes, build_speexdsp=no)
++
++AC_SUBST(SPEEXDSP_CFLAGS)
++AC_SUBST(SPEEXDSP_LIBS)
+
+ dnl check for gsm
+ AC_ARG_WITH( gsm,
+--- linphone-1.6.0/mediastreamer2/src/Makefile.am.org 2008-05-25 12:29:41.000000000 +0200
++++ linphone-1.6.0/mediastreamer2/src/Makefile.am 2008-05-25 12:30:03.000000000 +0200
+@@ -87,6 +87,7 @@
+ $(ALSA_LIBS) \
+ $(ARTS_LIBS) \
+ $(SPEEX_LIBS) \
++ $(SPEEXDSP_LIBS) \
+ $(GSM_LIBS) \
+ $(THEORA_LIBS)
+
diff -Nur packages/linphone/linphone_1.6.0.bb packages/linphone-new/linphone_1.6.0.bb
--- packages/linphone/linphone_1.6.0.bb 2008-05-25 12:54:35.000000000 +0200
+++ packages/linphone-new/linphone_1.6.0.bb 2008-05-25 12:52:29.000000000 +0200
@@ -18,10 +18,11 @@
PROVIDES += "linphone linphonec liblinphone"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://download.savannah.nongnu.org/releases/linphone/1.6.x/sources/linphone-${PV}.tar.gz \
- http://download.devbase.at/voip/linphone-1.6.0-pl0.patch;patch=1"
+ http://download.devbase.at/voip/linphone-1.6.0-pl0.patch;patch=1 \
+ file://config-mediastreamer.patch;patch=1"
S = "${WORKDIR}/linphone-${PV}"
============================================================
next reply other threads:[~2008-05-25 11:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-25 11:17 Thomas Reitmayr [this message]
2008-05-25 11:35 ` patch for speex_1.2-beta3.bb and linphone_1.6.0 Thomas Reitmayr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1211714256.6764.5.camel@localhost \
--to=treitmayr@devbase.at \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.