diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2009-04-27 18:05:17 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2009-04-27 18:05:17 +0000 |
commit | b29513d18f5c948c4a033f1ae73dfb03aeb8b0c2 (patch) | |
tree | a8c664966d660dab471c21479948fc86f223c2bd /net-voip | |
parent | Add to python herd as well (diff) | |
download | historical-b29513d18f5c948c4a033f1ae73dfb03aeb8b0c2.tar.gz historical-b29513d18f5c948c4a033f1ae73dfb03aeb8b0c2.tar.bz2 historical-b29513d18f5c948c4a033f1ae73dfb03aeb8b0c2.zip |
version bump to 3.1.1, bug 263420
Package-Manager: portage-2.1.6.7/cvs/Linux ppc
Diffstat (limited to 'net-voip')
-rw-r--r-- | net-voip/linphone/ChangeLog | 8 | ||||
-rw-r--r-- | net-voip/linphone/Manifest | 5 | ||||
-rw-r--r-- | net-voip/linphone/files/linphone-3.1.1-external-mstreamer.patch | 115 | ||||
-rw-r--r-- | net-voip/linphone/linphone-3.1.1.ebuild | 111 |
4 files changed, 237 insertions, 2 deletions
diff --git a/net-voip/linphone/ChangeLog b/net-voip/linphone/ChangeLog index ca3531003f61..23578be347fa 100644 --- a/net-voip/linphone/ChangeLog +++ b/net-voip/linphone/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-voip/linphone # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/ChangeLog,v 1.26 2009/04/26 03:21:22 volkmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/ChangeLog,v 1.27 2009/04/27 18:05:17 volkmar Exp $ + +*linphone-3.1.1 (27 Apr 2009) + + 27 Apr 2009; Mounir Lamouri <volkmar@gentoo.org> + +files/linphone-3.1.1-external-mstreamer.patch, +linphone-3.1.1.ebuild: + Version bump to 3.1.1. See bug 263420. 26 Apr 2009; Mounir Lamouri <volkmar@gentoo.org> metadata.xml: Taking maintainership. diff --git a/net-voip/linphone/Manifest b/net-voip/linphone/Manifest index e1176f4c5541..6815e944879d 100644 --- a/net-voip/linphone/Manifest +++ b/net-voip/linphone/Manifest @@ -7,11 +7,14 @@ AUX linphone-3.0.0-pkg-config.patch 8889 RMD160 0efdfe1ea146e43f76874e190c9a8f1a AUX linphone-3.1.0-external-mstreamer.patch 3481 RMD160 9b23118033fb3196e2db81a79a1a7a03d4168986 SHA1 50d5b8665a8a5b82cb71c3ab697f05f8a3f67221 SHA256 94d4bbaf6d464c9f23c6022d77878e0abfd5d1b94b80cc51325bc7184d79d4c2 AUX linphone-3.1.0-nls.patch 462 RMD160 529ee4dab04c6884320dc4209f1e8381bb3b5ab6 SHA1 193ea55bd49e7205ab761179e6a30827b24d8ec6 SHA256 81d0dbe21f7ebfbef9f8883d79c19539aaa85b809d9d3411ca80e1f86b234157 AUX linphone-3.1.0-novideo-preferences.patch 504 RMD160 f99f0e18c205e04f8e05feffdffdd7e6e89ad694 SHA1 0713194556b1225b16df10286a318c032a2f2fda SHA256 64cd56f325332eb6c4f8cca44df7ebc64c2fa65c54ff70622601e6c4981839c9 +AUX linphone-3.1.1-external-mstreamer.patch 3480 RMD160 792cc66ccc779848ccb180e3d520ecf84dede8b5 SHA1 2ef2e5ac8a6dfe8a853b1d750ff402c13b3a39ee SHA256 c0799270a91357ff319763ed649fee938ede52f908b782a655bcc11baaf058ce DIST linphone-2.1.1.tar.gz 7662602 RMD160 9d51b97d213d6b81a911b73507b8f8df6b4d5d92 SHA1 93ac2c1e3afef9c9031856b9f836d7997eb9553c SHA256 ae69a6fb606046bccb5bfa20726bbc054ebe25abd1865f004e6205542523184e DIST linphone-3.0.0.tar.gz 7577336 RMD160 66f1083d54902c2ff91f544d84f8bad978a04b0d SHA1 52bd8250367523d59a13d5be4f779ab44eb3e25e SHA256 68657f5efe147bd00ec1375daf3fe13ae1c81f906bf9d81ab4fad8f0ef1fabec DIST linphone-3.1.0.tar.gz 7794213 RMD160 76ac19fcef7595d581f6a938124612ca8fd415a5 SHA1 a665ac78850ae0affe8f4119e9cba37e9e18adc7 SHA256 e41e99925e8c81a9e6c7f4cf399da1d9f571927413196898af46ecbebee6a91b +DIST linphone-3.1.1.tar.gz 7809388 RMD160 a2c1bb3c96bb95cabbe605de463af2993ae3e9ff SHA1 820fad3d273975cc8493d3dabf7959ef59fe7c4d SHA256 d4f4cbf9da3c0437a9f2e181eea611adbefc6b4a7073cf8d8f3ac0fe795c8eff EBUILD linphone-2.1.1.ebuild 3059 RMD160 f719dc7e40a3f228e0c8889f6fcb1c71584c46ec SHA1 417c435cca9c0ba4f69f7d9809f8cd77a7399723 SHA256 b40efd1ba0be2690ca822b01331b2bd25a32315557935538dbeba0cfd5679138 EBUILD linphone-3.0.0.ebuild 2348 RMD160 e7d9d5ba8acb886d9ca0430ce8f32b0b2c6a256b SHA1 3c1d5370d72db3423105297c627b05cc6ba825f9 SHA256 5f12b556e76e2151841dbd3ddf3bde8b457c087a18b41be3773bacc81cf1c6c3 EBUILD linphone-3.1.0.ebuild 3142 RMD160 76579afe8abf3c45092c320cce86dcea64b4c01b SHA1 8f1aa848186743e13748bc77e0ab3039adf33db2 SHA256 bf5448c845e055ca22544c5bd4594398eae1a6d40e06fefd3258c85db1338e83 -MISC ChangeLog 10211 RMD160 9de87b6f7f22d15192f072192c018863b16c1771 SHA1 390a2c29a7296c4a7bcfcd9cf5492551b5bf17e1 SHA256 029ef44dfb68b142bbd884c91e2f5ff03d2b6cf127f0874a0dd37bd6887358c2 +EBUILD linphone-3.1.1.ebuild 3135 RMD160 ad26aff0e9ed6f1b4ee2fb15edf43bee37ccb96a SHA1 6ebf2dcdfa30f12821d0c3c4e57feb91e1828b0a SHA256 7e79ec59e6435f6934176f260d236d9f12fbde248d83f181d682e85677ade79a +MISC ChangeLog 10409 RMD160 bf6f735dd63a91a6b4ba5df5310a3ab020eb338c SHA1 68dbfdc20f5f68413e2727e0b93acb4cbf440e32 SHA256 a3be8e895f1bbdcfff91ea113ab4346851bca27c0022b1c0f2153eda18b46224 MISC metadata.xml 455 RMD160 1a9f797a71004c63bfe84ca5b43c74294d216445 SHA1 4d55aaa34f7e99fe76e95fecee5916440d304ffb SHA256 40891918fcbdc6165f0e31de8ed18c6d5461fc023e21d43775ed822e05f895fa diff --git a/net-voip/linphone/files/linphone-3.1.1-external-mstreamer.patch b/net-voip/linphone/files/linphone-3.1.1-external-mstreamer.patch new file mode 100644 index 000000000000..e31ced7d5372 --- /dev/null +++ b/net-voip/linphone/files/linphone-3.1.1-external-mstreamer.patch @@ -0,0 +1,115 @@ +--- configure.in.old 2009-04-23 18:32:59.000000000 -0400 ++++ configure.in 2009-04-23 18:49:01.000000000 -0400 +@@ -258,7 +258,26 @@ + + AC_SUBST(STRICT_OPTIONS) + +-AC_CONFIG_SUBDIRS( mediastreamer2 ) ++AC_ARG_ENABLE(external-mediastreamer, ++ [ --enable-external-mediastreamer Use external mediastreamer library], ++ [case "${enableval}" in ++ yes) external_mediastreamer=true ;; ++ no) external_mediastreamer=false ;; ++ *) AC_MSG_ERROR(bad value ${enableval} for --enable-external-mediastreamer) ;; ++ esac],[external_mediastreamer=false]) ++ ++if test "$external_mediastreamer" = 'true'; then ++ LP_CHECK_MSTREAMER ++else ++ AC_CONFIG_SUBDIRS( mediastreamer2 ) ++ MSTREAMER_CFLAGS="-I\$(top_srcdir)/mediastreamer2/include" ++ MSTREAMER_LIBS="\$(top_builddir)/mediastreamer2/src/libmediastreamer.la" ++fi ++ ++AC_SUBST(MSTREAMER_CFLAGS) ++AC_SUBST(MSTREAMER_LIBS) ++ ++AM_CONDITIONAL(EXTERNAL_MSTREAMER, [test "$external_mediastreamer" = 'true']) + + dnl check for db2html (docbook) to generate html user manual + AC_CHECK_PROG(have_sgmltools,sgmltools, yes, no) +--- console/Makefile.am.old 2009-04-23 18:38:26.000000000 -0400 ++++ console/Makefile.am 2009-04-23 18:38:56.000000000 -0400 +@@ -7,7 +7,7 @@ + -I$(top_srcdir)/coreapi\ + $(ORTP_CFLAGS) \ + -I$(top_srcdir)/exosip \ +- -I$(top_srcdir)/mediastreamer2/include ++ $(MSTREAMER_CFLAGS) + + + +@@ -16,7 +16,7 @@ + linphonec_SOURCES = linphonec.c linphonec.h commands.c + + linphonec_LDADD = $(top_builddir)/coreapi/liblinphone.la $(READLINE_LIBS) \ +- $(top_builddir)/mediastreamer2/src/libmediastreamer.la \ ++ $(MSTREAMER_LIBS) \ + $(ORTP_LIBS) \ + $(SPEEX_LIBS) \ + $(OSIP_LIBS) +@@ -26,7 +26,7 @@ + + sipomatic_LDADD= $(INTLLIBS) \ + $(top_builddir)/coreapi/liblinphone.la \ +- $(top_builddir)/mediastreamer2/src/libmediastreamer.la \ ++ $(MSTREAMER_LIBS) \ + $(ORTP_LIBS) \ + $(SPEEX_LIBS) \ + $(OSIP_LIBS) +--- coreapi/Makefile.am.old 2009-04-23 18:41:10.000000000 -0400 ++++ coreapi/Makefile.am 2009-04-23 18:41:32.000000000 -0400 +@@ -7,7 +7,7 @@ + + INCLUDES = \ + -I$(top_srcdir)\ +- -I$(top_srcdir)/mediastreamer2/include ++ $(MSTREAMER_CFLAGS) + + + lib_LTLIBRARIES=liblinphone.la +@@ -32,7 +32,7 @@ + + liblinphone_la_LIBADD= \ + $(EXOSIP_LIBS) \ +- $(top_builddir)/mediastreamer2/src/libmediastreamer.la ++ $(MSTREAMER_LIBS) + + + AM_CFLAGS=$(STRICT_OPTIONS) -DIN_LINPHONE \ +--- m4/mstreamer.m4.old 1969-12-31 19:00:00.000000000 -0500 ++++ m4/mstreamer.m4 2009-04-23 19:36:12.000000000 -0400 +@@ -0,0 +1,11 @@ ++AC_DEFUN([LP_CHECK_MSTREAMER],[ ++ ++PKG_CHECK_MODULES([MSTREAMER], [mediastreamer >= 2.2.3], , [ms_failed=true]) ++ ++if test "$ms_failed" = "true"; then ++ AC_MSG_ERROR("External mediastreamer library not found") ++fi ++ ++AC_SUBST([MSTREAMER_LIBS]) ++AC_SUBST([MSTREAMER_CFLAGS]) ++]) +--- gtk-glade/Makefile.am.old 2009-04-26 10:46:48.000000000 -0400 ++++ gtk-glade/Makefile.am 2009-04-26 10:47:39.000000000 -0400 +@@ -37,8 +37,8 @@ + setupwizard.c\ + linphone.h + +-linphone_3_LDADD=$(top_builddir)/oRTP/src/libortp.la \ +- $(top_builddir)/mediastreamer2/src/libmediastreamer.la \ ++linphone_3_LDADD=$(ORTP_LIBS) \ ++ $(MSTREAMER_LIBS) \ + $(top_builddir)/coreapi/liblinphone.la \ + $(LIBGTK_LIBS) $(INTLLIBS) \ + $(LIBGLADE_LIBS) +@@ -57,7 +57,7 @@ + + + AM_CFLAGS= -DIN_LINPHONE -I$(top_srcdir)/coreapi/ \ +- -I$(top_srcdir)/mediastreamer2/include/ \ ++ $(MSTREAMER_CFLAGS) \ + $(LIBGLADE_CFLAGS) $(STRICT_OPTIONS) $(LIBGTK_CFLAGS) $(IPV6_CFLAGS) \ + $(ORTP_CFLAGS) $(OSIP_CFLAGS) + diff --git a/net-voip/linphone/linphone-3.1.1.ebuild b/net-voip/linphone/linphone-3.1.1.ebuild new file mode 100644 index 000000000000..e3811852b33e --- /dev/null +++ b/net-voip/linphone/linphone-3.1.1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/linphone-3.1.1.ebuild,v 1.1 2009/04/27 18:05:17 volkmar Exp $ + +EAPI="2" + +inherit eutils autotools multilib + +DESCRIPTION="Video softphone based on the SIP protocol" +HOMEPAGE="http://www.linphone.org/" +SRC_URI="http://download.savannah.nongnu.org/releases/${PN}/stable/sources/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc" +IUSE="doc gtk ipv6 ncurses nls video" + +RDEPEND=">=media-libs/mediastreamer-2.2.3_p1[video?] + >=net-libs/libeXosip-3.0.2 + >=net-libs/libosip-3.0.0 + >=net-libs/ortp-0.15.0_p1 + gtk? ( dev-libs/glib:2 + >=gnome-base/libglade-2.4.0:2.0 + >=x11-libs/gtk+-2.4.0:2 ) + ncurses? ( sys-libs/readline + sys-libs/ncurses )" +DEPEND="${RDEPEND} + sys-devel/gettext + doc? ( app-text/sgmltools-lite ) + nls? ( dev-util/intltool + dev-util/pkgconfig )" + +IUSE_LINGUAS="fr it de ja es pl cs nl sv pt_BR hu ru" + +for l in ${IUSE_LINGUAS}; do + IUSE="${IUSE} linguas_${l}" +done + +# TODO: +# update ortp ? +# update mediastreamer ? + +# TODO: +# run-time test for ipv6 : does it need mediastreamer[ipv6] ? + +pkg_setup() { + if ! use gtk && ! use ncurses; then + ewarn "gtk and ncurses are disabled." + ewarn "At least one of these use flags are needed to get a front-end." + ewarn "Only liblinphone is going to be installed." + fi + + strip-linguas ${IUSE_LINGUAS} + + if [[ -z "${LINGUAS}" ]]; then + # no linguas set, using the default one + LINGUAS=" " + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-external-mstreamer.patch + + # this patch removes need to gettext and intltool + # but intltool was needed for eautoreconf so I add m4_pattern_allow + # which is probably not the best way but it's working + epatch "${FILESDIR}"/${PN}-3.1.0-nls.patch + + # remove speex check, avoid bug when mediastreamer[-speex] + sed -i -e '/SPEEX/d' configure.in || die "patching configure.in failed" + + # fix path to use lib64 + sed -i -e "s:lib\(/liblinphone\):$(get_libdir)\1:" configure.in \ + || die "patching configure.in failed" + + # removing bundled libs dir prevent them to be reconf + rm -rf mediastreamer2 oRTP || die "should not die" + # and references in Makefile.am + sed -i -e "s:oRTP::" -e "s:mediastreamer2::" Makefile.am \ + || die "patching Makefile.am failed" + + eautoreconf +} + +src_configure() { + # strict: we don't want -Werror + # external-ortp,external-mediastreamer: prefer external libs + # truespeech: seems not used, TODO: ask in ml + # rsvp: breaking the build (not maintained anymore) --disable = --enable + # alsa, artsc and portaudio are used for bundled mediastreamer + econf \ + --libdir=/usr/$(get_libdir) \ + --disable-strict \ + --enable-external-ortp \ + --enable-external-mediastreamer \ + --disable-truespeech \ + --disable-dependency-tracking \ + $(use_enable doc manual) \ + $(use_enable gtk gtk_ui) \ + $(use_enable ipv6) \ + $(use_enable ncurses console_ui) \ + $(use_enable nls) \ + $(use_enable video) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS BUGS ChangeLog NEWS README README.arm TODO \ + || die "dodoc failed" +} |