summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-08-19 17:02:28 +0000
committerPeter Volkov <pva@gentoo.org>2010-08-19 17:02:28 +0000
commit0bc7719488d161ff9d9a57e0e6431396303d19a1 (patch)
treecf149c847bd8af151600ae636c092e14b691c357 /net-libs
parentRemove arfrever. (diff)
downloadhistorical-0bc7719488d161ff9d9a57e0e6431396303d19a1.tar.gz
historical-0bc7719488d161ff9d9a57e0e6431396303d19a1.tar.bz2
historical-0bc7719488d161ff9d9a57e0e6431396303d19a1.zip
Version bump, bug #326467 thank Vladimir for report.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/ptlib/ChangeLog7
-rw-r--r--net-libs/ptlib/Manifest4
-rw-r--r--net-libs/ptlib/ptlib-2.6.7.ebuild270
3 files changed, 279 insertions, 2 deletions
diff --git a/net-libs/ptlib/ChangeLog b/net-libs/ptlib/ChangeLog
index addddeb1b3bd..8ba0185e0727 100644
--- a/net-libs/ptlib/ChangeLog
+++ b/net-libs/ptlib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/ptlib
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ChangeLog,v 1.16 2010/02/18 19:02:37 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ChangeLog,v 1.17 2010/08/19 17:02:28 pva Exp $
+
+*ptlib-2.6.7 (19 Aug 2010)
+
+ 19 Aug 2010; Peter Volkov <pva@gentoo.org> +ptlib-2.6.7.ebuild:
+ Version bump, bug #326467 thank Vladimir for report.
*ptlib-2.6.6 (18 Feb 2010)
diff --git a/net-libs/ptlib/Manifest b/net-libs/ptlib/Manifest
index 51e1fe46e5cf..d8eb72455fa9 100644
--- a/net-libs/ptlib/Manifest
+++ b/net-libs/ptlib/Manifest
@@ -5,8 +5,10 @@ DIST ptlib-2.6.5-htmldoc.tar.bz2 2089061 RMD160 1b15111cc52637ff28f7951542259c3e
DIST ptlib-2.6.5.tar.bz2 3302864 RMD160 ab2f8897b64ab7b1eb9fecc35470ce09af42bcf2 SHA1 919487aee09d5a1ea5c4f0abdc01bc49d9dcb596 SHA256 78e290d3cf78d4dc15c7397b0edd138b4d29cf2ad0a7311bfc1c4dfb88f2a400
DIST ptlib-2.6.6-htmldoc.tar.bz2 2089135 RMD160 1fa6671316c69942b00830627f9dbe34772a5f6a SHA1 b77782bbfcc7de38515e17cacd1ec886c4a8c274 SHA256 b72ce069519850c76e943a7c38f09181028792e449a60e5b0b09ed2aed5c99c7
DIST ptlib-2.6.6.tar.bz2 3301754 RMD160 77a3a5405ba22fa9549e3a4a415e6d8ac440d043 SHA1 5747943fbbe9a06c82e0ca45d755ecc6ed49404f SHA256 669ba23b74a78410e9ce2747d9ad73181b619c66b14c74084beb034e1e64b1eb
+DIST ptlib-2.6.7.tar.bz2 3275152 RMD160 b9f0048057f53bb1869979be865f5baea8280162 SHA1 fb37538665995820a714e2fe5e268553995474e8 SHA256 7dd28225fedd21154d34899b21ee4b6d27c88eb1a9f9931c8e6ced28e8f3b97f
EBUILD ptlib-2.6.4-r1.ebuild 7356 RMD160 bd21f2ae42e792e0401fc88c5972bbdffa8ec4a3 SHA1 2326e0cb10c20fa4dbeb19e5f785ed5a09d8b030 SHA256 935a8bac5d3b1c0216e0cef2c40676305e98265a9633464db728274f4b9176d6
EBUILD ptlib-2.6.5.ebuild 7431 RMD160 ee594903b38a32282ec11926ff2cae239dfb26ce SHA1 713cd7a060c3f6860efe1e2e63aa7f154f743be9 SHA256 086ae855ebcb80deb15d7c2118c8bcb3e71d1e5ef7ed58b71597db442028dabc
EBUILD ptlib-2.6.6.ebuild 7427 RMD160 5a8a64210ee961a3cd2e6acb5924b8889137deb8 SHA1 dc984181f23fdb45ac0eeb9d7637a9ee1b1a3971 SHA256 d30cedeb61803edc6d261f14f855bcd9dbe1440d17a5d1bf5f09937e31211807
-MISC ChangeLog 2566 RMD160 1828e9e4d4d5ca95aa9afdf9543b4b3a06e13ece SHA1 8f2c6abce2dc2841064aa3f02641466dceb7f456 SHA256 a16c027e06aee8aff621d268c6b1ae1fdea9256dc16142732d20d90853df21a6
+EBUILD ptlib-2.6.7.ebuild 7361 RMD160 a68a12f4d043f346926be614af2346e9fc751298 SHA1 cd5cc17651cdeda5c19a784f75b73a3dd5939f2d SHA256 afc30ad2cecf6b7b7a4e04689e39c9f81d7f2af0853ebbfcb6cb1745058be0ba
+MISC ChangeLog 2716 RMD160 d18788d8229d35b17081fa55a7307265c3c1dc9e SHA1 81c8a72ab45e98a11be33f29291acc6aee2f84f3 SHA256 7a94f368261bae5d936fadd35b773507cf5e24db72085bef299213c2a70f54ef
MISC metadata.xml 1160 RMD160 b259b8631049719fe5c9aed02f15b95232860d41 SHA1 78af21a8a19d1d988329da8a70babd744a4e0e6c SHA256 91aa203d63993f44e881c8ee7908d49596ddd1c03b89ea5b041ac86e2877fdb7
diff --git a/net-libs/ptlib/ptlib-2.6.7.ebuild b/net-libs/ptlib/ptlib-2.6.7.ebuild
new file mode 100644
index 000000000000..c83e6708b13d
--- /dev/null
+++ b/net-libs/ptlib/ptlib-2.6.7.ebuild
@@ -0,0 +1,270 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/ptlib/ptlib-2.6.7.ebuild,v 1.1 2010/08/19 17:02:28 pva Exp $
+
+EAPI="2"
+
+inherit eutils
+
+HTMLV="2.6.6" # There no 2.6.7 release of htmldoc
+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/${PN}-${HTMLV}-htmldoc.tar.bz2 )"
+
+LICENSE="MPL-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~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
+}
+
+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."
+}