summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir Lamouri <volkmar@gentoo.org>2009-09-26 13:53:07 +0000
committerMounir Lamouri <volkmar@gentoo.org>2009-09-26 13:53:07 +0000
commit313c62e88b3482d98ce54c77c80ffca782b19fad (patch)
tree39ac23c50abd600fd0143a50ad398f7ea05f7cab /net-libs/ptlib
parentFix Manifest (diff)
downloadhistorical-313c62e88b3482d98ce54c77c80ffca782b19fad.tar.gz
historical-313c62e88b3482d98ce54c77c80ffca782b19fad.tar.bz2
historical-313c62e88b3482d98ce54c77c80ffca782b19fad.zip
Version bump to 2.6.5.
Package-Manager: portage-14103-svn/cvs/Linux ppc
Diffstat (limited to 'net-libs/ptlib')
-rw-r--r--net-libs/ptlib/ChangeLog7
-rw-r--r--net-libs/ptlib/Manifest5
-rw-r--r--net-libs/ptlib/ptlib-2.6.5.ebuild274
3 files changed, 284 insertions, 2 deletions
diff --git a/net-libs/ptlib/ChangeLog b/net-libs/ptlib/ChangeLog
index 2080b9ed9975..941ff66fb9dc 100644
--- a/net-libs/ptlib/ChangeLog
+++ b/net-libs/ptlib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/ptlib
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ChangeLog,v 1.13 2009/09/26 10:45:42 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ChangeLog,v 1.14 2009/09/26 13:53:07 volkmar Exp $
+
+*ptlib-2.6.5 (24 Sep 2009)
+
+ 24 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> +ptlib-2.6.5.ebuild:
+ Version bump to 2.6.5
24 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> ptlib-2.6.4-r1.ebuild:
Only apply vxml-ptones patch if vxml is enabled dtmf is disabled.
diff --git a/net-libs/ptlib/Manifest b/net-libs/ptlib/Manifest
index 7024aecb77f1..5d94db76234d 100644
--- a/net-libs/ptlib/Manifest
+++ b/net-libs/ptlib/Manifest
@@ -1,6 +1,9 @@
AUX ptlib-2.6.4-vxml-ptones.patch 250 RMD160 b7eddb71af5d331ab104045c47d763bec1933434 SHA1 e7e586d16a13de169447a392662056549ff84912 SHA256 9d678b1439184728eb28ef7495816c59504b16a5bbc90e978f27f590666f865c
DIST ptlib-2.6.4-htmldoc.tar.bz2 2089282 RMD160 67113ef082fa05ed10874c438d007fccf4aa864b SHA1 f2d53729a7cbf1e2e909fc62ed30e220a10b2fcc SHA256 588ee9c090e6d5f082cca7c11a51d29b563a6d46ed259f13c398820a89f78d8c
DIST ptlib-2.6.4.tar.bz2 3302374 RMD160 53d0ea4b67438f61f86fd0d8b68959ef0aa18342 SHA1 2808a7546c354c1b6c140667a91da6f79a98f5c9 SHA256 22eae4f6c72247f8ac79c57ce4469797ad3df67614758c5096b7ce9290bd10b4
+DIST ptlib-2.6.5-htmldoc.tar.bz2 2089061 RMD160 1b15111cc52637ff28f7951542259c3e085c9e40 SHA1 f8a717e115401c5cde3aff47a2561e30797dc628 SHA256 0e156aefbbf1cb913b259f3fe57825bab51082ff586898bfb3d1c5c042c0f24a
+DIST ptlib-2.6.5.tar.bz2 3302864 RMD160 ab2f8897b64ab7b1eb9fecc35470ce09af42bcf2 SHA1 919487aee09d5a1ea5c4f0abdc01bc49d9dcb596 SHA256 78e290d3cf78d4dc15c7397b0edd138b4d29cf2ad0a7311bfc1c4dfb88f2a400
EBUILD ptlib-2.6.4-r1.ebuild 7343 RMD160 84c8924ebe4643b6de1e2a5e2d8ac13d324c7dbb SHA1 d70ac6ae1f28ddd2c4262dfb5b625ed3d3ae0c65 SHA256 506ddfb38efcb56e28df30f87915f84d4e69b65ac5ff9e3e069c8a9097191b1d
-MISC ChangeLog 2208 RMD160 b0673f28fd0f6bd434a678933602bf6e620b89b2 SHA1 404ed7ed7125b7ad07eb55ad4f17782ff9239b45 SHA256 7fec135ddfa313112b9cc20a300b24592e33a4e43bf8278287ef22d2c68ed589
+EBUILD ptlib-2.6.5.ebuild 7418 RMD160 4f8d82213be518bf999a4da46cc5613b1ea26c22 SHA1 059164d4386c11abe105dfe29e1041c1f206f51e SHA256 60ac8fa8d9875fd1b3cc3445f068d198459bec187edc89117a8e1836fbe0400e
+MISC ChangeLog 2333 RMD160 5306f60e7709447f60caee56da41be2078eb8041 SHA1 af122c8d2fe9daf8d5569476d86bb7a23c1f00fe SHA256 5cc59e1d7a4e143e2050f6dc9dc246aa6271f35e64aaa32d9080aa237afdcb58
MISC metadata.xml 1160 RMD160 b259b8631049719fe5c9aed02f15b95232860d41 SHA1 78af21a8a19d1d988329da8a70babd744a4e0e6c SHA256 91aa203d63993f44e881c8ee7908d49596ddd1c03b89ea5b041ac86e2877fdb7
diff --git a/net-libs/ptlib/ptlib-2.6.5.ebuild b/net-libs/ptlib/ptlib-2.6.5.ebuild
new file mode 100644
index 000000000000..2986eca2b9ed
--- /dev/null
+++ b/net-libs/ptlib/ptlib-2.6.5.ebuild
@@ -0,0 +1,274 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ptlib-2.6.5.ebuild,v 1.1 2009/09/26 13:53:07 volkmar Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="Network focused portable C++ class library providing high level functions"
+HOMEPAGE="http://www.opalvoip.org/"
+SRC_URI="mirror://sourceforge/opalvoip/${P}.tar.bz2
+ doc? ( mirror://sourceforge/opalvoip/${P}-htmldoc.tar.bz2 )"
+
+LICENSE="MPL-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+# default enabled are features from 'minsize', the most used according to ptlib
+IUSE="alsa +asn +audio debug doc dtmf esd examples ffmpeg ftp http ieee1394 ipv6
+jabber ldap mail odbc oss pch qos remote sasl sdl serial shmvideo snmp soap
+socks ssl +stun telnet tts v4l v4l2 +video vxml wav xml xmlrpc"
+
+CDEPEND="
+ audio? ( alsa? ( media-libs/alsa-lib )
+ esd? ( media-sound/esound ) )
+ ldap? ( net-nds/openldap )
+ odbc? ( dev-db/unixODBC )
+ sasl? ( dev-libs/cyrus-sasl:2 )
+ sdl? ( media-libs/libsdl )
+ ssl? ( dev-libs/openssl )
+ video? ( ieee1394? ( media-libs/libdc1394:1
+ media-libs/libdv
+ sys-libs/libavc1394
+ sys-libs/libraw1394 )
+ v4l2? ( media-libs/libv4l ) )
+ xml? ( dev-libs/expat )"
+RDEPEND="${CDEPEND}
+ ffmpeg? ( media-video/ffmpeg )"
+DEPEND="${CDEPEND}
+ dev-util/pkgconfig
+ sys-devel/bison
+ sys-devel/flex
+ video? ( v4l? ( sys-kernel/linux-headers )
+ v4l2? ( sys-kernel/linux-headers ) )
+ !!dev-libs/pwlib"
+
+# NOTES:
+# media-libs/libdc1394:2 should be supported but headers location have changed
+# tools/ directory is ignored
+# looks to have an auto-magic dep with medialibs, but not in the tree so...
+# upstream bug 2794736
+# avc plugin is disabled to fix bug 276514, see upstream bug 2821744
+
+# TODO:
+# manage in a better way the conditional use flags (with eapi-3 ?)
+# libv4l is an automagic dep for v4l2 plugin, see upstream bug 2867383
+
+conditional_use_warn_msg() {
+ ewarn "To enable ${1} USE flag, you need ${2} USE flag to be enabled"
+ ewarn "Please, enable ${2} or disable ${1}"
+}
+
+pkg_setup() {
+ local use_warn=false
+
+ if use sdl && ! use video; then
+ conditional_use_warn_msg "sdl" "video"
+ use_warn=true
+ fi
+
+ if use jabber && ! use xml; then
+ conditional_use_warn_msg "jabber" "xml"
+ use_warn=true
+ fi
+
+ if use vxml; then
+ if ! use xml; then
+ conditional_use_warn_msg "vxml" "xml"
+ use_warn=true
+ fi
+ if ! use http; then
+ conditional_use_warn_msg "vxml" "http"
+ use_warn=true
+ fi
+ fi
+
+ if use xmlrpc; then
+ if ! use xml; then
+ conditional_use_warn_msg "xmlrpc" "xml"
+ use_warn=true
+ fi
+ # configure script tells it needs http but it fails, see bug 277385
+ # the bug has been reported at upstream bug 2820814
+ if ! use http; then
+ conditional_use_warn_msg "xmlrpc" "http"
+ use_warn=true
+ fi
+ fi
+
+ if use soap; then
+ if ! use xml; then
+ conditional_use_warn_msg "soap" "xml"
+ use_warn=true
+ fi
+ # fix bug 280850, see upstream bug 2844915
+ if ! use http; then
+ conditional_use_warn_msg "soap" "http"
+ use_warn=true
+ fi
+ fi
+
+ if ${use_warn}; then
+ echo
+ ewarn "Please look at previous messages and re-emerge accordingly if needed."
+ ebeep
+ epause 5
+ fi
+}
+
+src_prepare() {
+ # remove visual studio related files from samples/
+ if use examples; then
+ rm -f samples/*/*.vcproj
+ rm -f samples/*/*.sln
+ rm -f samples/*/*.dsp
+ rm -f samples/*/*.dsw
+ fi
+
+ # bug 283675, upstream bug 2857750
+ if use vxml && ! use dtmf; then
+ epatch "${FILESDIR}"/${PN}-2.6.4-vxml-ptones.patch
+ fi
+}
+
+src_configure() {
+ local myconf=""
+
+ # plugins are disabled only if ! audio and ! video
+ if ! use audio && ! use video; then
+ myconf="${myconf} --disable-plugins"
+ else
+ myconf="${myconf} --enable-plugins"
+ fi
+
+ # minsize, openh323, opal: presets of features (overwritten by use flags)
+ # ansi-bool, atomicity: there is no reason to disable those features
+ # internalregex: we want to use system one
+ # sunaudio and bsdvideo are respectively for SunOS and BSD's
+ # appshare, vfw: only for windows
+ # samples: no need to build samples
+ # avc: disabled, bug 276514, upstream bug 2821744
+ # pipechan, configfile, resolver, url: force enabling
+ econf ${myconf} \
+ --disable-minsize \
+ --disable-openh323 \
+ --disable-opal \
+ --enable-ansi-bool \
+ --enable-atomicity \
+ --disable-internalregex \
+ --disable-sunaudio \
+ --disable-bsdvideo \
+ --disable-appshare \
+ --disable-vfw \
+ --disable-samples \
+ --disable-avc \
+ --enable-configfile \
+ --enable-pipechan \
+ --enable-resolver \
+ --enable-url \
+ $(use_enable audio) \
+ $(use_enable alsa) \
+ $(use_enable asn) \
+ $(use_enable debug exceptions) \
+ $(use_enable debug memcheck) \
+ $(use_enable debug tracing) \
+ $(use_enable dtmf) \
+ $(use_enable esd) \
+ $(use_enable ffmpeg ffvdev) \
+ $(use_enable ftp) \
+ $(use_enable http) \
+ $(use_enable http httpforms) \
+ $(use_enable http httpsvc) \
+ $(use_enable ieee1394 dc) \
+ $(use_enable ipv6) \
+ $(use_enable jabber) \
+ $(use_enable ldap openldap) \
+ $(use_enable mail pop3smtp) \
+ $(use_enable odbc) \
+ $(use_enable oss) \
+ $(use_enable pch) \
+ $(use_enable qos) \
+ $(use_enable remote remconn) \
+ $(use_enable sasl) \
+ $(use_enable sdl) \
+ $(use_enable serial) \
+ $(use_enable shmvideo) \
+ $(use_enable snmp) \
+ $(use_enable soap) \
+ $(use_enable socks) \
+ $(use_enable ssl openssl) \
+ $(use_enable stun) \
+ $(use_enable telnet) \
+ $(use_enable tts) \
+ $(use_enable v4l) \
+ $(use_enable v4l2) \
+ $(use_enable video) $(use_enable video vidfile) \
+ $(use_enable vxml) \
+ $(use_enable wav wavfile) \
+ $(use_enable xml expat) \
+ $(use_enable xmlrpc)
+}
+
+src_compile() {
+ local makeopts=""
+
+ use debug && makeopts="debug"
+
+ emake ${makeopts} || die "emake failed"
+}
+
+src_install() {
+ local makeopts=""
+
+ use debug && makeopts="DEBUG=1"
+
+ emake DESTDIR="${D}" ${makeopts} install || die "emake install failed"
+
+ if use doc; then
+ dohtml -r "${WORKDIR}"/html/* || die "dohtml failed"
+ fi
+
+ dodoc History.txt ReadMe.txt ReadMe_QOS.txt || die "dodoc failed"
+
+ # ChangeLog is not standard
+ dodoc ChangeLog-${PN}-v${PV//./_}.txt || die "dodoc failed"
+
+ if use audio || use video; then
+ newdoc plugins/ReadMe.txt ReadMe-Plugins.txt || die "newdoc failed"
+ fi
+
+ if use examples; then
+ local exampledir="/usr/share/doc/${PF}/examples"
+ local basedir="samples"
+ local sampledirs="`ls samples --hide=Makefile`"
+
+ # first, install Makefile
+ insinto ${exampledir}/
+ doins ${basedir}/Makefile || die "doins failed"
+
+ # now, all examples
+ for x in ${sampledirs}; do
+ insinto ${exampledir}/${x}/
+ doins ${basedir}/${x}/* || die "doins failed"
+ done
+ fi
+}
+
+pkg_postinst() {
+ if use examples; then
+ ewarn "All examples have been installed, some of them will not work on your system"
+ ewarn "it will depend of the enabled USE flags."
+ ewarn "To test examples, you have to run PTLIBDIR=/usr/share/ptlib make"
+ fi
+
+ if ! use audio || ! use video; then
+ ewarn "You have disabled audio or video USE flags."
+ ewarn "Most audio/video have been disabled silently even if enabled via USE flags."
+ ewarn "Having a feature enabled via use flag but disabled can lead to issues."
+ fi
+
+ ewarn "If you've just removed pwlib to install ptlib, some packages will be broken."
+ ewarn "Please use 'revdep-rebuild' from app-portage/gentoolkit to check."
+ ewarn "If some packages need pwlib, consider removing ptlib and re-installing pwlib"
+ ewarn "or help us to make them live together."
+}