summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-10-08 14:39:07 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-10-08 14:39:07 +0000
commit69585d7cbf1d86ac2320dce203a22af89130c6df (patch)
treed0414ddf1b07103cc472dddb261c2223cc643a64 /dev-libs/pwlib
parentFix makeinfo version check to work with texinfo-4.11 #195074. (diff)
downloadhistorical-69585d7cbf1d86ac2320dce203a22af89130c6df.tar.gz
historical-69585d7cbf1d86ac2320dce203a22af89130c6df.tar.bz2
historical-69585d7cbf1d86ac2320dce203a22af89130c6df.zip
version bump
Package-Manager: portage-2.1.3.12
Diffstat (limited to 'dev-libs/pwlib')
-rw-r--r--dev-libs/pwlib/ChangeLog7
-rw-r--r--dev-libs/pwlib/Manifest26
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.10.103
-rw-r--r--dev-libs/pwlib/pwlib-1.10.10.ebuild152
4 files changed, 173 insertions, 15 deletions
diff --git a/dev-libs/pwlib/ChangeLog b/dev-libs/pwlib/ChangeLog
index 058e63a64e54..3f7ecc1f94ac 100644
--- a/dev-libs/pwlib/ChangeLog
+++ b/dev-libs/pwlib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/pwlib
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.136 2007/04/18 12:57:07 drizzt Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.137 2007/10/08 14:39:07 genstef Exp $
+
+*pwlib-1.10.10 (08 Oct 2007)
+
+ 08 Oct 2007; Stefan Schweizer <genstef@gentoo.org> +pwlib-1.10.10.ebuild:
+ version bump
16 Apr 2007; Timothy Redaelli <drizzt@gentoo.org> pwlib-1.10.7.ebuild:
Fix cross-distcc
diff --git a/dev-libs/pwlib/Manifest b/dev-libs/pwlib/Manifest
index d63d57e12ff6..db7fe6ebf0d2 100644
--- a/dev-libs/pwlib/Manifest
+++ b/dev-libs/pwlib/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX pwlib-1.10.2-asm.patch 986 RMD160 9884754a5d29c34c9b030f95c528c67c41ea3eb5 SHA1 d3ea2aaca29edc3c0861cafbad1db0a4bab80d16 SHA256 52099f9eba393af85ceac985ad284b20bfa052a39219607bb51d7e169c240dc2
MD5 c39dc45921e068678b7b223839457aa7 files/pwlib-1.10.2-asm.patch 986
RMD160 9884754a5d29c34c9b030f95c528c67c41ea3eb5 files/pwlib-1.10.2-asm.patch 986
@@ -13,8 +10,13 @@ AUX pwlib-1.9.3-sdl-configure.patch 1403 RMD160 240822a74944a5f54f147023b50966c7
MD5 e6f4109b8afd168be571ddc00b16707b files/pwlib-1.9.3-sdl-configure.patch 1403
RMD160 240822a74944a5f54f147023b50966c72a232f24 files/pwlib-1.9.3-sdl-configure.patch 1403
SHA256 467c44ad1d8d2c6f76e712e908476d3a1f948d5e3b1412546f1fb0b776068052 files/pwlib-1.9.3-sdl-configure.patch 1403
+DIST pwlib-1.10.10.tar.gz 2266255 RMD160 b9e2f3f79911c377dc2d2fbef62d3628aa8364f7 SHA1 ebadd7403695c73fae69488a50a34d15763fd245 SHA256 90a04544e1a6eb4957f92f4845c94950ec3612e0378d1e281c3607548f5092f6
DIST pwlib-1.10.5.tar.gz 2050733 RMD160 6cc7eabf4bf00331db6f19f405710449b0ea861d SHA1 06ee165888da56f41cdda00c84d4b89f751ea6dd SHA256 bb758c9297273cdb4bbef495edf8de52713f9a54cc228e699d31c5ff01f16e1d
DIST pwlib-1.10.7.tar.gz 2051682 RMD160 e1c9f98c48deb944c4c8714c33a322834d7a8c94 SHA1 524d71be5ce0c9089af7f99392400bce3175b263 SHA256 07a0b0e7e13d9356693317fdcef7ee8dfc0675f57ec7a99a8f3d9f968c44602c
+EBUILD pwlib-1.10.10.ebuild 4517 RMD160 5773a5e07fbca7aa122aa848440e8e91d0ca6439 SHA1 9aaa7619ebce00ae7ec9f7d7592365df05df96fd SHA256 0b34a9b6a390e90928e6b3050a2d2e131d5633ebf047b4318aabc848d38ae044
+MD5 b5c33d6263395d2bc0eb7d4a404b3288 pwlib-1.10.10.ebuild 4517
+RMD160 5773a5e07fbca7aa122aa848440e8e91d0ca6439 pwlib-1.10.10.ebuild 4517
+SHA256 0b34a9b6a390e90928e6b3050a2d2e131d5633ebf047b4318aabc848d38ae044 pwlib-1.10.10.ebuild 4517
EBUILD pwlib-1.10.5.ebuild 4452 RMD160 f4aafe3e4cc9cc3d28f39427ce724b674efa2074 SHA1 abf6e7284811abb211e31cf3e3695456ff7dec5a SHA256 f9b1317d61cbe03004b4900e1efe272a8a26310e416433fdb6ed7887e6ad0478
MD5 e6154e05859d83a29e474c439aed6018 pwlib-1.10.5.ebuild 4452
RMD160 f4aafe3e4cc9cc3d28f39427ce724b674efa2074 pwlib-1.10.5.ebuild 4452
@@ -23,24 +25,20 @@ EBUILD pwlib-1.10.7.ebuild 4515 RMD160 281e8fd6d999f1bf050e80c2a3a174f9846f6e72
MD5 b0bbbbf79b1613f2f49c5fdb37afa66c pwlib-1.10.7.ebuild 4515
RMD160 281e8fd6d999f1bf050e80c2a3a174f9846f6e72 pwlib-1.10.7.ebuild 4515
SHA256 33372bf3b51394efc5619c0ffd2c1262497a2c7bd62d0051e777861da42f8072 pwlib-1.10.7.ebuild 4515
-MISC ChangeLog 20482 RMD160 d40ddfe1189efb380678f7b164375a1bbcbef542 SHA1 c22212467a3df2c4f72ae8cae2b49ef984184a3f SHA256 6bb521d8f254d8c9b7d66fdf47391471eb3b31b6da54190837c248a24dd3da33
-MD5 08539a092fa99b8228cf5f33fd3d8f7d ChangeLog 20482
-RMD160 d40ddfe1189efb380678f7b164375a1bbcbef542 ChangeLog 20482
-SHA256 6bb521d8f254d8c9b7d66fdf47391471eb3b31b6da54190837c248a24dd3da33 ChangeLog 20482
+MISC ChangeLog 20605 RMD160 11412bff879116e79c7f41a8d46beaefe2b1cbcf SHA1 48350c533097bd1cddb331c7420e6b2fc1aabe3a SHA256 7ba9b6488bdfc3e02cb8b4d8f85fc560b6b570abed94e652561b684e6827c1f1
+MD5 d9b1472e703f237056f70eaa33b6dafe ChangeLog 20605
+RMD160 11412bff879116e79c7f41a8d46beaefe2b1cbcf ChangeLog 20605
+SHA256 7ba9b6488bdfc3e02cb8b4d8f85fc560b6b570abed94e652561b684e6827c1f1 ChangeLog 20605
MISC metadata.xml 235 RMD160 1373a565e08a962328dc14bb2ccd2ed31f887a91 SHA1 be1055e9141769fc4e44c3cc9026c635aa97d8cc SHA256 6b190d921eb507c8ae01261acc24b4c26d9a7efdd79e244efda043d8d0b66756
MD5 e7e31f6f265883cdf48d812f42a9f856 metadata.xml 235
RMD160 1373a565e08a962328dc14bb2ccd2ed31f887a91 metadata.xml 235
SHA256 6b190d921eb507c8ae01261acc24b4c26d9a7efdd79e244efda043d8d0b66756 metadata.xml 235
+MD5 4ee81e0faf86b0b4430a52231ae2affa files/digest-pwlib-1.10.10 244
+RMD160 a8cb9829cd55303a490552049b531fdbeadf69bf files/digest-pwlib-1.10.10 244
+SHA256 a00695b07a8af5a6b487d35141b6652a75cc0e1b985074539b7b2b4bc6b46605 files/digest-pwlib-1.10.10 244
MD5 2a48df6813a546c8d6f6a36f1c695bd9 files/digest-pwlib-1.10.5 241
RMD160 f4cdcdbff467844c4b36e46036b7820b051fb22a files/digest-pwlib-1.10.5 241
SHA256 1cda179e09f89a736321ee5c4435834bbaa00dac2cf4ea2d5df9d069f69867b1 files/digest-pwlib-1.10.5 241
MD5 e45aa5143261a417220b5bbc453dde3d files/digest-pwlib-1.10.7 241
RMD160 b54aec17555c4a1b67e213f81078f56aa16719e6 files/digest-pwlib-1.10.7 241
SHA256 60ea11cd9a1317adfb5a3c28865bf1413c9c62885df42342a2e91bb44bfca754 files/digest-pwlib-1.10.7 241
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
-
-iD8DBQFGJhXBjJyKLBkBVroRAsqLAKCiNc8azoYrTOk+IqvyPngkBK6HAwCfcWh4
-toCN1vh6WAWFC8BjK0uECSE=
-=agWD
------END PGP SIGNATURE-----
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.10.10 b/dev-libs/pwlib/files/digest-pwlib-1.10.10
new file mode 100644
index 000000000000..8b02f451ee60
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.10.10
@@ -0,0 +1,3 @@
+MD5 abebf45332e70772ffa876d31975d4b9 pwlib-1.10.10.tar.gz 2266255
+RMD160 b9e2f3f79911c377dc2d2fbef62d3628aa8364f7 pwlib-1.10.10.tar.gz 2266255
+SHA256 90a04544e1a6eb4957f92f4845c94950ec3612e0378d1e281c3607548f5092f6 pwlib-1.10.10.tar.gz 2266255
diff --git a/dev-libs/pwlib/pwlib-1.10.10.ebuild b/dev-libs/pwlib/pwlib-1.10.10.ebuild
new file mode 100644
index 000000000000..67f2d3766ed3
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.10.10.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.10.ebuild,v 1.1 2007/10/08 14:39:07 genstef Exp $
+
+inherit eutils flag-o-matic multilib autotools toolchain-funcs
+
+IUSE="alsa debug ieee1394 ipv6 ldap oss sasl sdl ssl v4l v4l2 xml"
+
+DESCRIPTION="Portable Multiplatform Class Libraries used by several VoIP applications"
+HOMEPAGE="http://www.ekiga.org"
+SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ ieee1394? ( media-libs/libdv
+ sys-libs/libavc1394
+ sys-libs/libraw1394
+ <media-libs/libdc1394-1.9.99 )
+ ldap? ( >=net-nds/openldap-2.3.35 )
+ sasl? ( dev-libs/cyrus-sasl )
+ sdl? ( media-libs/libsdl )
+ ssl? ( dev-libs/openssl )
+ xml? ( dev-libs/expat )"
+DEPEND="${RDEPEND}
+ >=sys-devel/bison-1.28
+ >=sys-devel/flex-2.5.4a
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # filter out -O3, -Os and -mcpu embedded compiler flags
+ sed -i \
+ -e "s:-mcpu=\$(CPUTYPE)::" \
+ -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
+ -e "s:-Os::" \
+ make/unix.mak
+
+ # don't break make install if there are no plugins to install
+ epatch "${FILESDIR}"/pwlib-1.8.7-instplugins.diff
+
+ # use sdl-config to query required libraries
+ epatch "${FILESDIR}"/pwlib-1.9.3-sdl-configure.patch
+
+ # this patch fixes bugs: #145424 and #140358
+ epatch "${FILESDIR}"/${PN}-1.10.2-asm.patch
+
+ eautoconf || die "autoconf failed"
+}
+
+src_compile() {
+ tc-export CC CXX
+ local myconf=""
+ # may cause ICE (bug #70638)
+ filter-flags -fstack-protector
+ # disable-alsa breaks oss, see bug 127677
+ use alsa && myconf="--enable-alsa"
+
+ econf \
+ --enable-plugins \
+ $(use_enable v4l2) \
+ $(use_enable v4l) \
+ $(use_enable ieee1394 dc) \
+ $(use_enable ieee1394 avc) \
+ $(use_enable oss) \
+ $(use_enable ipv6) \
+ $(use_enable sdl) \
+ $(use_enable ssl openssl) \
+ $(use_enable debug exceptions) \
+ $(use_enable debug memcheck) \
+ $(use_enable ldap openldap) \
+ $(use_enable sasl) \
+ $(use_enable xml expat) \
+ ${myconf} \
+ || die "configure failed"
+
+ # Horrible hack to strip out -L/usr/lib to allow upgrades
+ # problem is it adds -L/usr/lib before -L${S} when SSL is
+ # enabled. Same thing for -I/usr/include.
+# sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \
+# -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \
+# ${S}/make/ptbuildopts.mak
+
+# sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \
+# -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \
+# -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \
+# ${S}/make/ptlib-config
+
+ emake -j1 opt || die "make failed"
+}
+
+src_install() {
+ local libdir libname
+
+ libdir=$(get_libdir)
+
+ # makefile doesn't create ${D}/usr/bin
+ make PREFIX=/usr DESTDIR="${D}" install || die "install failed"
+
+ ## vv will try to fix the mess below, requires a lot of patching though...
+
+ # update 2005/08/22:
+ #
+ # locations in *.mak files haven been fixed
+ # directories have been replaced w/ symlinks
+ # (left to not break things, doing some testing atm)
+
+ # Note: reactivating this seems to be the only easy solution to slot pwlib ebuild
+ # and keep applications happy (e.g. gnomemeeting / ekiga)
+
+# dosym /usr/include /usr/share/pwlib/include
+# dosym /usr/${libdir} /usr/share/pwlib/${libdir}
+#
+# # just in case...
+# if [[ "${libdir}" = "lib64" ]]; then
+# dosym /usr/share/pwlib/lib64 /usr/share/pwlib/lib
+# fi
+
+ ## ^^ bad stuff
+
+ # fix symlink
+ libname=$(basename "`ls "${D}"/usr/${libdir}/libpt_*_*_r.so.${PV}`")
+ rm "${D}"/usr/${libdir}/libpt.so
+ dosym ${libname} /usr/${libdir}/libpt.so
+
+ # fix makefiles to use headers from /usr/include and libs from /usr/lib
+ # instead of /usr/share/pwlib
+ # Note: change to /usr/include/pwlib-${PV} (or whereever includes will be)
+ # once pwlib ebuilds get slotted
+ sed -i -e "s:-I\$(PWLIBDIR)\(/include[a-zA-Z0-9_/-]\+\):-I/usr/include\1:g" \
+ -e "s:-I\$(PWLIBDIR)/include::g" \
+ -e "s:^\(PW_LIBDIR[ \t]\+=\).*:\1 /usr/${libdir}:" \
+ "${D}"/usr/share/pwlib/make/*.mak
+
+ # dodgy configure/makefiles forget to expand this
+ # Note: change to /usr/share/pwlib/${PV} (or whatever PWLIBDIR should point to)
+ # once pwlib ebuilds get slotted
+ sed -i -e "s:\${exec_prefix}:/usr:" \
+ "${D}"/usr/bin/ptlib-config \
+ "${D}"/usr/share/pwlib/make/ptlib-config
+
+ # copy version.h
+ insinto /usr/share/pwlib
+ doins version.h
+
+ dodoc ReadMe.txt ReadMe_QOS.txt History.txt
+ dohtml mpl-1.0.htm
+}