* [gentoo-commits] repo/gentoo:master commit in: net-libs/ptlib/, net-libs/ptlib/files/
@ 2017-07-14 11:11 Pacho Ramos
0 siblings, 0 replies; only message in thread
From: Pacho Ramos @ 2017-07-14 11:11 UTC (permalink / raw
To: gentoo-commits
commit: 1c66552dfc3b19112390c65e34b74df7aa4b8f63
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 14 10:58:45 2017 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Jul 14 10:58:45 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c66552d
net-libs/ptlib: Drop hardmasked versions
Package-Manager: Portage-2.3.6, Repoman-2.3.2
net-libs/ptlib/Manifest | 2 -
.../files/ptlib-2.12.4-respect_cxxflags.patch | 12 --
.../ptlib/files/ptlib-2.12.4-sdl-linking.patch | 11 -
net-libs/ptlib/ptlib-2.12.9-r1.ebuild | 225 ---------------------
net-libs/ptlib/ptlib-2.12.9.ebuild | 222 --------------------
5 files changed, 472 deletions(-)
diff --git a/net-libs/ptlib/Manifest b/net-libs/ptlib/Manifest
index 25ccec0b196..40ae609deb8 100644
--- a/net-libs/ptlib/Manifest
+++ b/net-libs/ptlib/Manifest
@@ -1,4 +1,2 @@
DIST ptlib-2.10.10-htmldoc.tar.bz2 4504867 SHA256 bce8a9eeb32f5e556acab3a753844500e751cd4a6db6ce88778fba692d24019a SHA512 7db5d169ad107132d2bca945a1269bae0dd0100b7566b1766dda83d0559a6f2044ffc21905520f7f15d218dd0b1290eaa13d5150d81340c6b0a9a464a713741d WHIRLPOOL 1832acdaded357471c5db982195723dfbf30d22359427d7dc7ac880d2a997a73d9963f7003cae70c6d17874daf1984f5c24c3c600656b078edcec3fa6552ce36
DIST ptlib-2.10.11.tar.bz2 3736259 SHA256 27a8ba1fd147195c0b310897f81d26f73996b77b18147e587638444cfacd681a SHA512 ac8af8962330abf11986ccb863be0990c2e78ae611666d17c68068b72c4a5ea523ba74c55566284c3549e2346e407ccfffb5cc509fbf6ef19f1eb51dcb8b5f15 WHIRLPOOL 3dafe50df538b8d24a20b58252c5dfa578ac81f25d9086f748af928f54658533e1bf28dc1f40cbbeadd5062d57072ad71e243c0275428f155077ee752e26e4ab
-DIST ptlib-2.12.9-htmldoc.tar.bz2 6069775 SHA256 1c03474f1c27a8b7648497b1cc95296f07aa398f1b45d9ae4dc2cfad95b1c7f7 SHA512 08800ef09be97573d9e861da80d98723ffbf55ec76c3e3a7788f811cf7d04bbad35d4c2363cc696a2aff9f890dd8e09967825266cbba4a6cfdb916f9df26d70d WHIRLPOOL 9606e2538bb842fea5382dfd95a83b41fd7062336b058e2a95615725e688ad4b40a95cf0ce9669cd786c3c94884cb82f77660ee490ae6e780f8307d55767713d
-DIST ptlib-2.12.9.tar.bz2 4134345 SHA256 e38d31a24a41546b7a84673f9c42ffab60ebd83727254cf5bdfb85da46565adf SHA512 1a7869203aff7779d318c6a2f70e0fe6181381696493f7c1ea69113c9795e6a13e4423ed3609b5e6d8900388eedc3bcdb6a19e9d6f03357348b21e1003ef917a WHIRLPOOL 5652bdee09d5d8ed3079080bc1d4b8bb495a8812bd49b2e963645c47673af3789a80c9d0a9aeaf0d4ec9d2782637b8763e625db340c0cc94ce362bb952c9fb9e
diff --git a/net-libs/ptlib/files/ptlib-2.12.4-respect_cxxflags.patch b/net-libs/ptlib/files/ptlib-2.12.4-respect_cxxflags.patch
deleted file mode 100644
index 85f590c8c88..00000000000
--- a/net-libs/ptlib/files/ptlib-2.12.4-respect_cxxflags.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN ptlib-2.12.4.old/configure.ac ptlib-2.12.4/configure.ac
---- ptlib-2.12.4.old/configure.ac 2013-06-22 21:01:51.392606863 +0200
-+++ ptlib-2.12.4/configure.ac 2013-06-22 21:02:02.991606450 +0200
-@@ -448,7 +448,7 @@
- ],
- [
- AC_MSG_RESULT(no)
-- PTLIB_CXXFLAGS="$PTLIB_CFLAGS -frtti"
-+ PTLIB_CXXFLAGS="$PTLIB_CXXFLAGS -frtti"
- ]
- )
-
diff --git a/net-libs/ptlib/files/ptlib-2.12.4-sdl-linking.patch b/net-libs/ptlib/files/ptlib-2.12.4-sdl-linking.patch
deleted file mode 100644
index 91e5c0811d5..00000000000
--- a/net-libs/ptlib/files/ptlib-2.12.4-sdl-linking.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -urN ptlib-2.12.4/configure.ac ptlib-2.12.4.new/configure.ac
---- ptlib-2.12.4/configure.ac 2013-06-21 07:02:48.000000000 +0200
-+++ ptlib-2.12.4.new/configure.ac 2013-06-24 11:51:18.356368722 +0200
-@@ -1735,6 +1735,7 @@
- PTLIB_CFLAGS="$PTLIB_CFLAGS ${SDL_CFLAGS}"
- LDFLAGS="$LDFLAGS `pkg-config --libs sdl`"
- ],[HAS_SDL=])
-+ ENDLDLIBS="$ENDLDLIBS ${SDL_LIBS}"
- fi
- fi
- AC_SUBST(HAS_SDL)
diff --git a/net-libs/ptlib/ptlib-2.12.9-r1.ebuild b/net-libs/ptlib/ptlib-2.12.9-r1.ebuild
deleted file mode 100644
index 5c0aa42c79c..00000000000
--- a/net-libs/ptlib/ptlib-2.12.9-r1.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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/${PV}"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-# default enabled are features from 'minsize', the most used according to ptlib
-IUSE="alsa +asn debug doc +dtmf examples ffmpeg ftp +http ipv6
-xmpp ldap libressl lua mail odbc oss pch pulseaudio remote sasl sdl serial
-shmvideo snmp soap socks +sound ssl static-libs +stun telnet tts v4l +video
-vxml wav xml xmlrpc"
-
-CDEPEND="
- ldap? ( net-nds/openldap )
- lua? ( dev-lang/lua )
- odbc? ( dev-db/unixODBC )
- pulseaudio? ( media-sound/pulseaudio )
- sasl? ( dev-libs/cyrus-sasl:2 )
- sdl? ( media-libs/libsdl )
- sound? ( alsa? ( media-libs/alsa-lib ) )
- ssl? (
- !libressl? ( dev-libs/openssl:0 )
- libressl? ( dev-libs/libressl )
- )
- video? ( v4l? ( media-libs/libv4l ) )
- xml? ( dev-libs/expat )
- !!dev-libs/pwlib"
-RDEPEND="${CDEPEND}
- ffmpeg? ( virtual/ffmpeg )"
-DEPEND="${CDEPEND}
- virtual/pkgconfig
- sys-devel/bison
- sys-devel/flex
- video? ( v4l? ( sys-kernel/linux-headers ) )"
-
-# NOTES:
-# media-libs/libdc1394:2 should be supported but headers location have changed
-# tools/ directory is ignored
-# avc plugin is disabled to fix bug 276514, see upstream bug 2821744
-
-REQUIRED_USE="sdl? ( video )
- xmpp? ( xml )
- vxml? ( http tts xml )
- xmlrpc? ( http xml )
- soap? ( http xml )"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-2.10.9-svn_revision_override.patch" \
- "${FILESDIR}/${PN}-2.10.9-pkgconfig_ldflags.patch" \
- "${FILESDIR}/${PN}-2.12.4-respect_cxxflags.patch" \
- "${FILESDIR}/${PN}-2.12.4-sdl-linking.patch"
-
- if ! use telnet; then
- epatch "${FILESDIR}/${PN}-2.10.9-disable-telnet-symbols.patch"
- fi
-
- # 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
-
- if [[ ! -z ${TARGET+set} ]]; then
- ewarn "TARGET variable is set. Removing as it would break the build, bug #465722."
- unset TARGET
- fi
-}
-
-src_configure() {
- local myconf=""
-
- # plugins are disabled only if ! sound and ! video
- if ! use sound && ! use video; then
- myconf+=" --disable-plugins"
- else
- myconf+=" --enable-plugins"
- fi
-
- # minsize: 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
- # mlib: SUN mediaLibs. Not in tree.
- # pipechan, configfile, resolver, url: force enabling
- econf ${myconf} \
- --disable-minsize \
- --enable-ansi-bool \
- --enable-atomicity \
- --disable-internalregex \
- --disable-sunaudio \
- --disable-bsdvideo \
- --disable-appshare \
- --disable-vfw \
- --disable-samples \
- --disable-avc \
- --disable-mlib \
- --enable-configfile \
- --enable-pipechan \
- --enable-resolver \
- --enable-url \
- $(use_enable alsa) \
- $(use_enable asn) \
- $(use_enable debug exceptions) \
- $(use_enable debug memcheck) \
- $(use_enable debug tracing) \
- $(use_enable dtmf) \
- --disable-esd \
- $(use_enable ffmpeg ffvdev) \
- $(use_enable ftp) \
- $(use_enable http) \
- $(use_enable http httpforms) \
- $(use_enable http httpsvc) \
- --disable-dc \
- $(use_enable ipv6) \
- $(use_enable xmpp jabber) \
- $(use_enable ldap openldap) \
- $(use_enable lua) \
- $(use_enable mail pop3smtp) \
- $(use_enable pulseaudio pulse) \
- $(use_enable odbc) \
- $(use_enable oss) \
- $(use_enable pch) \
- $(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 sound audio) \
- $(use_enable ssl openssl) \
- $(use_enable stun) \
- $(use_enable telnet) \
- $(use_enable tts) \
- --disable-v4l \
- $(use_enable v4l 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=""
- tc-env_build
-
- use debug && makeopts="debug"
-
- emake ${makeopts}
-}
-
-src_install() {
- local makeopts=""
-
- use debug && makeopts="DEBUG=1"
-
- emake DESTDIR="${D}" ${makeopts} install
-
- # Get rid of static libraries if not requested
- # There seems to be no easy way to disable this in the build system
- if ! use static-libs; then
- rm -v "${D}"/usr/lib*/*.a || die
- fi
-
- if use doc; then
- dohtml -r "${WORKDIR}"/html/*
- fi
-
- dodoc History.txt ReadMe.txt ReadMe_QOS.txt
-
- if use sound || use video; then
- newdoc plugins/ReadMe.txt ReadMe-Plugins.txt
- 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 sound || ! use video; then
- ewarn "You have disabled sound 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."
-}
diff --git a/net-libs/ptlib/ptlib-2.12.9.ebuild b/net-libs/ptlib/ptlib-2.12.9.ebuild
deleted file mode 100644
index 8f305eae19d..00000000000
--- a/net-libs/ptlib/ptlib-2.12.9.ebuild
+++ /dev/null
@@ -1,222 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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/${PV}"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-# default enabled are features from 'minsize', the most used according to ptlib
-IUSE="alsa +asn debug doc +dtmf examples ffmpeg ftp +http ipv6
-xmpp ldap lua mail odbc oss pch pulseaudio remote sasl sdl serial
-shmvideo snmp soap socks +sound ssl static-libs +stun telnet tts v4l +video
-vxml wav xml xmlrpc"
-
-CDEPEND="
- ldap? ( net-nds/openldap )
- lua? ( dev-lang/lua )
- odbc? ( dev-db/unixODBC )
- pulseaudio? ( media-sound/pulseaudio )
- sasl? ( dev-libs/cyrus-sasl:2 )
- sdl? ( media-libs/libsdl )
- sound? ( alsa? ( media-libs/alsa-lib ) )
- ssl? ( dev-libs/openssl )
- video? ( v4l? ( media-libs/libv4l ) )
- xml? ( dev-libs/expat )
- !!dev-libs/pwlib"
-RDEPEND="${CDEPEND}
- ffmpeg? ( virtual/ffmpeg )"
-DEPEND="${CDEPEND}
- virtual/pkgconfig
- sys-devel/bison
- sys-devel/flex
- video? ( v4l? ( sys-kernel/linux-headers ) )"
-
-# NOTES:
-# media-libs/libdc1394:2 should be supported but headers location have changed
-# tools/ directory is ignored
-# avc plugin is disabled to fix bug 276514, see upstream bug 2821744
-
-REQUIRED_USE="sdl? ( video )
- xmpp? ( xml )
- vxml? ( http tts xml )
- xmlrpc? ( http xml )
- soap? ( http xml )"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-2.10.9-svn_revision_override.patch" \
- "${FILESDIR}/${PN}-2.10.9-pkgconfig_ldflags.patch" \
- "${FILESDIR}/${PN}-2.12.4-respect_cxxflags.patch" \
- "${FILESDIR}/${PN}-2.12.4-sdl-linking.patch"
-
- if ! use telnet; then
- epatch "${FILESDIR}/${PN}-2.10.9-disable-telnet-symbols.patch"
- fi
-
- # 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
-
- if [[ ! -z ${TARGET+set} ]]; then
- ewarn "TARGET variable is set. Removing as it would break the build, bug #465722."
- unset TARGET
- fi
-}
-
-src_configure() {
- local myconf=""
-
- # plugins are disabled only if ! sound and ! video
- if ! use sound && ! use video; then
- myconf+=" --disable-plugins"
- else
- myconf+=" --enable-plugins"
- fi
-
- # minsize: 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
- # mlib: SUN mediaLibs. Not in tree.
- # pipechan, configfile, resolver, url: force enabling
- econf ${myconf} \
- --disable-minsize \
- --enable-ansi-bool \
- --enable-atomicity \
- --disable-internalregex \
- --disable-sunaudio \
- --disable-bsdvideo \
- --disable-appshare \
- --disable-vfw \
- --disable-samples \
- --disable-avc \
- --disable-mlib \
- --enable-configfile \
- --enable-pipechan \
- --enable-resolver \
- --enable-url \
- $(use_enable alsa) \
- $(use_enable asn) \
- $(use_enable debug exceptions) \
- $(use_enable debug memcheck) \
- $(use_enable debug tracing) \
- $(use_enable dtmf) \
- --disable-esd \
- $(use_enable ffmpeg ffvdev) \
- $(use_enable ftp) \
- $(use_enable http) \
- $(use_enable http httpforms) \
- $(use_enable http httpsvc) \
- --disable-dc \
- $(use_enable ipv6) \
- $(use_enable xmpp jabber) \
- $(use_enable ldap openldap) \
- $(use_enable lua) \
- $(use_enable mail pop3smtp) \
- $(use_enable pulseaudio pulse) \
- $(use_enable odbc) \
- $(use_enable oss) \
- $(use_enable pch) \
- $(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 sound audio) \
- $(use_enable ssl openssl) \
- $(use_enable stun) \
- $(use_enable telnet) \
- $(use_enable tts) \
- --disable-v4l \
- $(use_enable v4l 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=""
- tc-env_build
-
- use debug && makeopts="debug"
-
- emake ${makeopts}
-}
-
-src_install() {
- local makeopts=""
-
- use debug && makeopts="DEBUG=1"
-
- emake DESTDIR="${D}" ${makeopts} install
-
- # Get rid of static libraries if not requested
- # There seems to be no easy way to disable this in the build system
- if ! use static-libs; then
- rm -v "${D}"/usr/lib*/*.a || die
- fi
-
- if use doc; then
- dohtml -r "${WORKDIR}"/html/*
- fi
-
- dodoc History.txt ReadMe.txt ReadMe_QOS.txt
-
- if use sound || use video; then
- newdoc plugins/ReadMe.txt ReadMe-Plugins.txt
- 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 sound || ! use video; then
- ewarn "You have disabled sound 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."
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-14 11:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-14 11:11 [gentoo-commits] repo/gentoo:master commit in: net-libs/ptlib/, net-libs/ptlib/files/ Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox