[oe] patch for speex_1.2-beta3.bb and linphone_1.6.0
Thomas Reitmayr
treitmayr at devbase.at
Sun May 25 11:35:29 UTC 2008
FYI, I created the Bugs 4307 and 4308 for tracking these issues.
-Thomas
Am Sonntag, den 25.05.2008, 13:17 +0200 schrieb Thomas Reitmayr:
> 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}"
>
> ============================================================
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
More information about the Openembedded-devel
mailing list