summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-10-03 01:46:45 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-10-03 01:46:45 +0000
commit4628f989f27f1baae47b4f7135fa9286fe98956b (patch)
tree980f28eb748c36a5e639f0d4305e5bf5320e98f8 /dev-libs
parentnet-misc/asterisk: PDEPEND="|| ( media-sound/mpg123 net-misc/asterisk-addons )" (diff)
downloadvoip-4628f989f27f1baae47b4f7135fa9286fe98956b.tar.gz
voip-4628f989f27f1baae47b4f7135fa9286fe98956b.tar.bz2
voip-4628f989f27f1baae47b4f7135fa9286fe98956b.zip
new sourceforge pwlib and opal, masked because it breaks ekiga, remove some old stuff
svn path=/trunk/; revision=376
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/pwlib-cvs/ChangeLog13
-rw-r--r--dev-libs/pwlib-cvs/Manifest20
-rw-r--r--dev-libs/pwlib-cvs/files/digest-pwlib-cvs-200511251
-rw-r--r--dev-libs/pwlib/ChangeLog413
-rw-r--r--dev-libs/pwlib/Manifest127
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.10.03
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.10.13
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.5.03
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.5.0-r13
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.5.2-r33
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.6.3-r33
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.6.6-r21
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.8.3-r11
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.8.43
-rw-r--r--dev-libs/pwlib/files/digest-pwlib-1.8.73
-rw-r--r--dev-libs/pwlib/files/pwlib-1.11.0-sdl-configure.patch49
-rw-r--r--dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff11
-rw-r--r--dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff56
-rw-r--r--dev-libs/pwlib/files/pwlib-1.6.3-dyn-esd.patch (renamed from dev-libs/pwlib-cvs/files/pwlib-1.6.3-dyn-esd.patch)0
-rw-r--r--dev-libs/pwlib/files/pwlib-1.6.6-alsa_dmix.diff259
-rw-r--r--dev-libs/pwlib/files/pwlib-1.6.6-ieee1394dc-fix.diff197
-rw-r--r--dev-libs/pwlib/files/pwlib-1.8.4-gcc4.diff46
-rw-r--r--dev-libs/pwlib/files/pwlib-1.8.7-gcc-4.1-v4l2.patch11
-rw-r--r--dev-libs/pwlib/files/pwlib-1.8.7-gcc41.patch38
-rw-r--r--dev-libs/pwlib/files/pwlib-1.8.7-instplugins.diff (renamed from dev-libs/pwlib-cvs/files/pwlib-1.8.7-instplugins.diff)0
-rw-r--r--dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch48
-rw-r--r--dev-libs/pwlib/metadata.xml9
-rw-r--r--dev-libs/pwlib/pwlib-1.10.0.ebuild148
-rw-r--r--dev-libs/pwlib/pwlib-1.10.1.ebuild151
-rw-r--r--dev-libs/pwlib/pwlib-1.11.0.ebuild158
-rw-r--r--dev-libs/pwlib/pwlib-1.5.0-r1.ebuild88
-rw-r--r--dev-libs/pwlib/pwlib-1.5.0.ebuild84
-rw-r--r--dev-libs/pwlib/pwlib-1.5.2-r3.ebuild108
-rw-r--r--dev-libs/pwlib/pwlib-1.6.3-r3.ebuild154
-rw-r--r--dev-libs/pwlib/pwlib-1.6.6-r2.ebuild163
-rw-r--r--dev-libs/pwlib/pwlib-1.8.3-r1.ebuild162
-rw-r--r--dev-libs/pwlib/pwlib-1.8.4.ebuild156
-rw-r--r--dev-libs/pwlib/pwlib-1.8.7.ebuild (renamed from dev-libs/pwlib-cvs/pwlib-cvs-20051125.ebuild)81
38 files changed, 2692 insertions, 85 deletions
diff --git a/dev-libs/pwlib-cvs/ChangeLog b/dev-libs/pwlib-cvs/ChangeLog
deleted file mode 100644
index c906f7b..0000000
--- a/dev-libs/pwlib-cvs/ChangeLog
+++ /dev/null
@@ -1,13 +0,0 @@
-2005-11-26 21:00 stkn
-
- * [r49] Manifest, pwlib-cvs-20051125.ebuild:
- Fix creation of /usr/lib/libpt.so symlink, PV can not be used in
- a cvs snapshot ebuild
-
-2005-11-26 19:00 stkn
-
- * [r46] ., Manifest, files, files/digest-pwlib-cvs-20051125,
- files/pwlib-1.6.3-dyn-esd.patch,
- files/pwlib-1.8.7-instplugins.diff, pwlib-cvs-20051125.ebuild:
- Add CVS snapshot ebuild for pwlib
-
diff --git a/dev-libs/pwlib-cvs/Manifest b/dev-libs/pwlib-cvs/Manifest
deleted file mode 100644
index 2fad2d1..0000000
--- a/dev-libs/pwlib-cvs/Manifest
+++ /dev/null
@@ -1,20 +0,0 @@
-AUX pwlib-1.6.3-dyn-esd.patch 366 RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 SHA1 ba9177add96a9903646503bae739cf01cbc49d4f SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9
-MD5 94fe183a68413eaeb8242cd30532d963 files/pwlib-1.6.3-dyn-esd.patch 366
-RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 files/pwlib-1.6.3-dyn-esd.patch 366
-SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9 files/pwlib-1.6.3-dyn-esd.patch 366
-AUX pwlib-1.8.7-instplugins.diff 1044 RMD160 722bc5e665f787e14f9d0e54679c8ba3fcc5e7e6 SHA1 90ccb7e33024dbb36e635b5b47ee0f67a9af7c05 SHA256 39e0b892ae1aa82af87a92a71c8ba78a84ee18984732856ce2f228a6d4340552
-MD5 cd832010589d81cab25d2523d62a3401 files/pwlib-1.8.7-instplugins.diff 1044
-RMD160 722bc5e665f787e14f9d0e54679c8ba3fcc5e7e6 files/pwlib-1.8.7-instplugins.diff 1044
-SHA256 39e0b892ae1aa82af87a92a71c8ba78a84ee18984732856ce2f228a6d4340552 files/pwlib-1.8.7-instplugins.diff 1044
-DIST pwlib-cvs_20051125-01.tar.gz 2960821
-EBUILD pwlib-cvs-20051125.ebuild 4854 RMD160 663519aeb298e95cabda37b6424d906fee0403fe SHA1 2eaf7601b7fb849e90bd59fe1d57aed43a3f12fd SHA256 a8bb1d27b578be7baa5273d38183c680049d35b96b7f4335e566ad803ec6509d
-MD5 f937c45662cf2a5b9176f860103fc6da pwlib-cvs-20051125.ebuild 4854
-RMD160 663519aeb298e95cabda37b6424d906fee0403fe pwlib-cvs-20051125.ebuild 4854
-SHA256 a8bb1d27b578be7baa5273d38183c680049d35b96b7f4335e566ad803ec6509d pwlib-cvs-20051125.ebuild 4854
-MISC ChangeLog 390 RMD160 09de19398bf15f05dfc52d257bbba90ed12565d8 SHA1 d33c0b19183dd5cd8436681bd040d76abb60970e SHA256 869908f99d5a2f08e0762f86315c048f01e0c92c44e26ef7d1ead363d6316915
-MD5 bf4858c31f96e6dda28d3f5ad053ca66 ChangeLog 390
-RMD160 09de19398bf15f05dfc52d257bbba90ed12565d8 ChangeLog 390
-SHA256 869908f99d5a2f08e0762f86315c048f01e0c92c44e26ef7d1ead363d6316915 ChangeLog 390
-MD5 d025ebbb9802e8d85edb4a88b1ca9d66 files/digest-pwlib-cvs-20051125 74
-RMD160 9e5734f2241a8b0ac7a9344063f7e23fb92fd8b8 files/digest-pwlib-cvs-20051125 74
-SHA256 33631419cc8747319bb481e2deccfc7105155c8e1817ece3cc0ed1e435b42eff files/digest-pwlib-cvs-20051125 74
diff --git a/dev-libs/pwlib-cvs/files/digest-pwlib-cvs-20051125 b/dev-libs/pwlib-cvs/files/digest-pwlib-cvs-20051125
deleted file mode 100644
index d271a2c..0000000
--- a/dev-libs/pwlib-cvs/files/digest-pwlib-cvs-20051125
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ccb3c58b5ac13140b857f059a011fda4 pwlib-cvs_20051125-01.tar.gz 2960821
diff --git a/dev-libs/pwlib/ChangeLog b/dev-libs/pwlib/ChangeLog
new file mode 100644
index 0000000..04c3315
--- /dev/null
+++ b/dev-libs/pwlib/ChangeLog
@@ -0,0 +1,413 @@
+# ChangeLog for dev-libs/pwlib
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.98 2006/07/05 00:50:55 nerdboy Exp $
+
+ 05 Jul 2006; Steve Arnold <nerdboy@gentoo.org>
+ +files/pwlib-1.8.7-gcc-4.1-v4l2.patch, pwlib-1.8.7.ebuild:
+ Added the rest of the gcc4 support (see bug 135909) since it's broken
+ without it. Thanks to Zdenek Behan <behanz _at_ seznam.cz> for the patch.
+
+ 06 Jun 2006; Stefan Schweizer <genstef@gentoo.org> pwlib-1.10.1.ebuild:
+ Make USE="-alsa oss" work, thanks to Christophe PEREZ <chris@novazur.fr> in
+ bug 127677
+
+*pwlib-1.10.1 (06 Jun 2006)
+
+ 06 Jun 2006; Stefan Schweizer <genstef@gentoo.org> +pwlib-1.10.1.ebuild:
+ version bump thanks to David PIRY <klessou@gmail.com> in bug 135785
+
+ 01 May 2006; Mark Loeser <halcy0n@gentoo.org>
+ +files/pwlib-1.8.7-gcc41.patch, pwlib-1.8.7.ebuild:
+ Add patch to fix compilation with gcc-4.1
+
+*pwlib-1.10.0 (20 Mar 2006)
+
+ 20 Mar 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/pwlib-1.9.3-sdl-configure.patch, +pwlib-1.10.0.ebuild:
+ version bump
+
+*pwlib-1.8.7 (12 Sep 2005)
+
+ 12 Sep 2005; Stefan Knoblich <stkn@gentoo.org>
+ +files/pwlib-1.8.7-instplugins.diff, +pwlib-1.8.7.ebuild:
+ Version bump, finally removed /usr/share/pwlib/{lib,lib32,lib64,include}
+ symlinks and other little cleanups.
+
+ 12 Sep 2005; Aron Griffis <agriffis@gentoo.org> pwlib-1.8.4.ebuild:
+ Mark 1.8.4 stable on alpha
+
+ 09 Sep 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.4.ebuild:
+ Changed ebuild to fix #105057, pwlib no longer builds plugins that have their
+ flags disabled. New libdc1394 API is currently unsupported, changed DEPENDS to
+ block >=libdc1394-2.0.0_pre0 (to avoid possible loops during updating) and
+ depend on <1.9.9.
+
+ 07 Sep 2005; Stefan Knoblich <stkn@gentoo.org> +files/pwlib-1.8.4-gcc4.diff,
+ -files/pwlib-gcc4.gz, pwlib-1.8.4.ebuild:
+ Ungzipped and renamed gcc4 patch (origin unknown -> .diff).
+
+ 06 Sep 2005; Hanno Boeck <hanno@gentoo.org> +files/pwlib-gcc4.gz,
+ pwlib-1.8.4.ebuild:
+ Fix for gcc4.
+
+ 03 Sep 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.3-r3.ebuild:
+ Added missing eutils eclass to inherit line.
+
+ 26 Aug 2005; Seemant Kulleen <seemant@gentoo.org> pwlib-1.6.6-r2.ebuild,
+ pwlib-1.8.3-r1.ebuild, pwlib-1.8.4.ebuild:
+ moved libdc1394 from media-plugins to media-libs
+
+ 15 Aug 2005; <stkn@gentoo.org> +files/pwlib-1.6.3-dyn-esd.patch,
+ pwlib-1.6.3-r3.ebuild, pwlib-1.6.6-r2.ebuild, pwlib-1.8.3-r1.ebuild,
+ pwlib-1.8.4.ebuild:
+ Newer version of esound doesn't install libesd.a anymore,
+ added patch (provided by Geoff Leach) to use the dynamic library
+ instead (fixes #100432). Basic compile testing done with latest
+ revisions of 1.6.3, 1.6.6, 1.8.3 and 1.8.4. Extended build testing
+ with pwlib-1.8.4 and openh323-1.15.3.
+
+ 15 Aug 2005; <stkn@gentoo.org> -pwlib-1.5.2.ebuild,
+ -pwlib-1.5.2-r1.ebuild, -pwlib-1.5.2-r2.ebuild, -pwlib-1.6.3.ebuild,
+ -pwlib-1.6.3-r1.ebuild, -pwlib-1.6.3-r2.ebuild, -pwlib-1.6.6.ebuild,
+ -pwlib-1.6.6-r1.ebuild, -pwlib-1.8.3.ebuild:
+ Removing obsolete ebuilds.
+
+ 27 Jul 2005; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ pwlib-1.8.3.ebuild, pwlib-1.8.3-r1.ebuild, pwlib-1.8.4.ebuild:
+ Marked 1.8.3-5 stable. Used in the Freescale DES. Dependency for openh323.
+
+*pwlib-1.8.4 (11 Apr 2005)
+
+ 11 Apr 2005; Stefan Knoblich <stkn@gentoo.org> +pwlib-1.8.4.ebuild:
+ Version bump.
+
+ 11 Apr 2005; Stefan Knoblich <stkn@gentoo.org> -files/pwlib-1.3.11-r1.diff,
+ -pwlib-1.3.11-r1.ebuild, -pwlib-1.4.11.ebuild:
+ cleanup part #1
+
+ 27 Feb 2005; Simon Stelling <blubb@gentoo.org> pwlib-1.8.3-r1.ebuild:
+ stable on amd64; fixes bug #72706
+
+ 19 Feb 2005; David Holm <dholm@gentoo.org> pwlib-1.6.6-r2.ebuild:
+ Stable on ppc
+
+ 18 Feb 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.3-r1.ebuild:
+ Added support for v4l2 use-flag (bug #84239, thx to jcn@xtra.co.nz).
+
+*pwlib-1.8.3-r1 (03 Feb 2005)
+
+ 03 Feb 2005; Stefan Knoblich <stkn@gentoo.org> +pwlib-1.6.3-r3.ebuild,
+ +pwlib-1.6.6-r2.ebuild, +pwlib-1.8.3-r1.ebuild:
+ Small cleanups and important fixes for amd64.
+
+ 14 Jan 2005; <dholm@gentoo.org> pwlib-1.8.3.ebuild:
+ Added to ~ppc.
+
+ 12 Jan 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.3.ebuild:
+ Changed MAKEOPTS="..." to emake -j1, removed RESTRICT.
+
+ 10 Jan 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.6-r1.ebuild,
+ pwlib-1.8.3.ebuild:
+ Filter -fstack-protector, this may cause an ICE (bug #70638).
+
+ 10 Jan 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.3.ebuild:
+ Marked ~alpha.
+
+ 09 Jan 2005; Jason Wever <weeve@gentoo.org> pwlib-1.8.3.ebuild:
+ Added ~sparc keyword as it went missing in the version bump.
+
+ 08 Jan 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.3.ebuild:
+ marked ~x86
+
+ 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 29 Dec 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.3.ebuild:
+ cleanup, SRC_URI changed, include order fix
+
+*pwlib-1.8.3 (28 Dec 2004)
+
+ 28 Dec 2004; Stefan Knoblich <stkn@gentoo.org> +pwlib-1.8.3.ebuild:
+ new version, hard-masked for now (needs testing)
+
+ 05 Dec 2004; Stefan Knoblich <stkn@gentoo.org>
+ +files/pwlib-1.6.6-alsa_dmix.diff:
+ cvs broke the patch, removed and re-added with -kb, closes #73008
+
+*pwlib-1.6.6-r1 (30 Nov 2004)
+
+ 30 Nov 2004; <stkn@gentoo.org> +files/pwlib-1.6.6-alsa_dmix.diff,
+ +pwlib-1.6.6-r1.ebuild:
+ backported patch makes it possible to use gnomemeeting (and other apps)
+ to use alsa+dmix for sound output, thx to Benoit Chesneau <bchesneau@gmail.com>
+
+ 09 Nov 2004; Bryan Østergaard <kloeri@gentoo.org> pwlib-1.6.6.ebuild:
+ ~alpha keyword.
+
+ 31 Oct 2004; Joseph Jezak <josejx@gentoo.org> pwlib-1.6.6.ebuild:
+ Marked ppc stable.
+
+ 23 Oct 2004; Jason Wever <weeve@gentoo.org> pwlib-1.6.6.ebuild:
+ Added ~sparc keyword.
+
+ 19 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> pwlib-1.6.3-r2.ebuild:
+ Stable on alpha.
+
+ 14 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> pwlib-1.6.3-r2.ebuild:
+ Add ~alpha keyword.
+
+ 18 Sep 2004; Jason Wever <weeve@gentoo.org> pwlib-1.6.3-r2.ebuild:
+ Stable on sparc.
+
+ 01 Sep 2004; <stkn@gentoo.org> files/pwlib-1.6.6-ieee1394dc-fix.diff:
+ fix the patch one more time...
+
+ 01 Sep 2004; Stefan Knoblich <stkn@gentoo.org>
+ files/pwlib-1.6.6-ieee1394dc-fix.diff:
+ fix the patch once again
+
+ 31 Aug 2004; <stkn@gentoo.org> files/pwlib-1.6.6-ieee1394dc-fix.diff:
+ cvs killed the patch... (closing #62192)
+
+ 30 Aug 2004; <stkn@gentoo.org> +files/pwlib-1.6.6-ieee1394dc-fix.diff,
+ pwlib-1.6.6.ebuild:
+ fixes libdc1394 related bug in vidinput_dc plugin (thx to Can Altineller
+ <caltineller@ttnet.net.tr> for reporting this), adds libdc1394 to DEPENDS and
+ enables dc plugin if ieee1394 use-flag is set
+
+ 14 Aug 2004; <stkn@gentoo.org> pwlib-1.5.0-r1.ebuild:
+ fixed wrong patch suffix in ebuild (#60345)
+
+ 14 Aug 2004; Danny van Dyk <kugelfang@gentoo.org> pwlib-1.6.6.ebuild:
+ Marked ~amd64.
+
+ 07 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> pwlib-1.5.2-r3.ebuild:
+ Stable on alpha.
+
+ 03 Jun 2004; Aron Griffis <agriffis@gentoo.org> pwlib-1.4.11.ebuild,
+ pwlib-1.5.0.ebuild, pwlib-1.5.2-r1.ebuild, pwlib-1.5.2-r2.ebuild,
+ pwlib-1.5.2.ebuild, pwlib-1.6.3-r1.ebuild, pwlib-1.6.3-r2.ebuild,
+ pwlib-1.6.3.ebuild, pwlib-1.6.6.ebuild:
+ Fix use invocation
+
+ 27 May 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.3-r2.ebuild:
+ pwlib-1.6.3-r2 stable on x86
+
+ 09 May 2004; David Holm <dholm@gentoo.org> pwlib-1.6.6.ebuild:
+ Added to ~ppc. Some joker decided to remove the keyword.
+
+*pwlib-1.6.6 (11 Apr 2004)
+
+ 11 Apr 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.6.ebuild:
+ version bump
+
+ 31 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.5.2-r3.ebuild:
+ Marked stable on x86
+
+ 30 Mar 2004; Jon Portnoy <avenj@gentoo.org> pwlib-1.5.2-r3.ebuild :
+ Stable on AMD64.
+
+ 30 Mar 2004; Lars Weiler <pylon@gentoo.org> pwlib-1.6.3-r2.ebuild:
+ Added ~ppc on request of cybersystem
+
+ 30 Mar 2004; Lars Weiler <pylon@gentoo.org> pwlib-1.5.2-r3.ebuild:
+ stable on ppc
+
+ 30 Mar 2004; Sven Blumenstein <bazik@gentoo.org> pwlib-1.5.2-r3.ebuild:
+ Stable on sparc, see #45846
+
+ 29 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.3-r2.ebuild:
+ Fix #46017 and cleanup libpt.so symlink creation. Tested on sparc.
+
+*pwlib-1.5.2-r3 (29 Mar 2004)
+
+ 29 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.5.2-r3.ebuild,
+ files/pwlib-1.5.2-asnparser-secfix.diff:
+ Fix #45864 (possible buffer overflow in asn parser,
+ fixed by James Strandboge <jstrand1@rochester.rr.com>), #46017 and amd64.
+ Cleanup libpt.so symlink creation. Tested on ppc, alpha and sparc.
+
+*pwlib-1.6.3-r2 (25 Mar 2004)
+
+ 25 Mar 2004; Jason Huebel,,, <jhuebel@gentoo.org> pwlib-1.6.3-r1.ebuild,
+ pwlib-1.6.3-r2.ebuild:
+ Revision bump for amd64 only. Masked 1.6.3-r1 for amd64 since it's broken
+
+ 24 Mar 2004; Jason Huebel,,, <jhuebel@gentoo.org> pwlib-1.6.3-r1.ebuild:
+ added ~amd64 to keywords
+
+ 19 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org> pwlib-1.6.3-r1.ebuild:
+ ~sparc lovin
+
+ 19 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.3-r1.ebuild:
+ fixes bugs #45016 and #45059 (thx to Konrad Rieck <kr@roqe.org>)
+
+*pwlib-1.6.3-r1 (12 Mar 2004)
+
+ 12 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.3-r1.ebuild:
+ this update fixes a gnugk/mysql++ compile problem and other c++ programs
+ that link against pwlib and use the typeid c++ function
+
+*pwlib-1.6.3 (09 Mar 2004)
+
+ 09 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.3.11-r1.ebuild,
+ pwlib-1.4.11.ebuild, pwlib-1.5.0.ebuild, pwlib-1.5.2-r1.ebuild,
+ pwlib-1.5.2-r2.ebuild, pwlib-1.5.2.ebuild, pwlib-1.6.3.ebuild,
+ files/pwlib-1.6.3-install.diff:
+ new version, plugin configuration contributed by Edward Middleton
+ <edwardmiddleton@k3.dion.ne.jp>. Copyright header updates
+
+*pwlib-1.5.0-r1 (08 Feb 2004)
+
+ 08 Feb 2004; <nerdboy@gentoo.org> pwlib-1.5.0-r1.ebuild,
+ files/pwlib-1.5.0-r1-gentoo.diff:
+ added fix for 2.6.1 kernel header time.h bug
+
+*pwlib-1.5.2-r2 (13 Nov 2003)
+
+ 13 Nov 2003; <stkn@gentoo.org> pwlib-1.5.2-r2.ebuild:
+ fixes include problems on gcc-2.95 systems when using ssl support,
+ found and fixed by Martin Schlemmer <azarah@gentoo.org>
+ (bug #33204)
+
+ 10 Nov 2003; <stkn@gentoo.org> metadata.xml:
+ new maintainer
+
+ 09 Nov 2003; Jason Wever <weeve@gentoo.org> pwlib-1.5.2-r1.ebuild:
+ Added ~sparc to keywords and fixed library symlink
+ s to work on sparc.
+
+*pwlib-1.5.2-r1 (24 Oct 2003)
+
+ 24 Oct 2003; <stkn@gentoo.org> pwlib-1.5.2-r1.ebuild:
+ install version.h, required fix for asterisk h.323 plugin
+
+ 03 Sep 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.5.0.ebuild:
+ marking 1.5.0 as stable x86
+
+*pwlib-1.5.2 (03 Sep 2003)
+
+ 03 Sep 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.5.2.ebuild:
+ version bump. fixes to ptlib-config installation. switch back to using
+ emake but set MAKEOPTS=-j1
+
+ 02 Jul 2003; Patrick Kursawe <phosphan@gentoo.org> pwlib-1.5.0.ebuild:
+ Had trouble with parallel make. Changing emake to make.
+
+ 27 Jun 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.5.0.ebuild:
+ further fixes. symlinks don't override existing directories using portage :(
+
+ 27 Jun 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.5.0.ebuild:
+ workaround upgrade path problems (#23594)
+
+*pwlib-1.5.0 (27 Jun 2003)
+
+ 27 Jun 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.5.0.ebuild:
+ version bump. the build systems has changed to ./configure. also removed
+ extraneous files from /usr/share/pwlib
+
+ 17 May 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.4.11.ebuild:
+ marked as x86 stable
+
+*pwlib-1.4.11 (20 Mar 2003)
+
+ 01 Apr 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.4.11.ebuild:
+ workaround for problems when upgrading openh323 and pwlib. fixes #14979.
+
+ 20 Mar 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.4.11.ebuild:
+ version bump
+
+*pwlib-1.4.10 (06 Mar 2003)
+
+ 06 Mar 2003; Nick Hadaway <lu_zero@gentoo.org> pwlib-1.4.10.ebuild :
+ Version Bump, thanks to Michele Balistreri <brain87@gmx.net>
+
+*pwlib-1.4.7 (Jan 28 2003)
+
+ 27 Mar 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.4.7.ebuild:
+ using gnomemeeting SRC_URI temporarily
+
+ 13 Feb 2003; Nick Hadaway <raker@gentoo.org> pwlib-1.4.7.ebuild :
+ Added a warning so people realize that during a pwlib upgrade,
+ the build will fail and to unmerge previous versions before
+ continuing.
+
+ 01 Feb 2003; Nick Hadaway <raker@gentoo.org> pwlib-1.4.7.ebuild :
+ Marked stable
+
+ 28 Jan 2003; Nick Hadaway <raker@gentoo.org> pwlib-1.4.7.ebuild,
+ files/digest-pwlib-1.4.7 :
+ Version bump to coincide with gnomemeeting-0.96
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*pwlib-1.3.11-r1 (04 Nov 2002)
+
+ 09 Nov 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.11-r1.ebuild :
+ Removed esound support as it causes more trouble than it is worth.
+ Added minor change so ppc libs are linked correctly
+
+ 04 Nov 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.11-r1.ebuild,
+ files/digest-pwlib-1.3.11-r1, files/pwlib-1.3.11-r1.diff :
+ New ebuild with support for esd and ssl added. Big patch update.
+ Changed -ppc to ~ppc as a user has reported success with gnomemeeting
+ on ppc. Also fixed a problem where ptclib files were not being
+ installed.
+
+*pwlib-1.3.11 (24 Oct 2002)
+
+ 09 Nov 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.11.ebuild :
+ Removed esound support as it causes more trouble than it is worth.
+
+ 04 Oct 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.11.ebuild :
+ Added dependancy on dev-libs/expat.
+
+ 24 Oct 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.11.ebuild,
+ files/digest-pwlib-1.3.11 :
+ Previous patch works with this new version. Updated to coincide with
+ new gnomemeeting release. Marked unsuntil the new gnomemeeting gets
+ tested.
+
+*pwlib-1.3.3 (20 Jul 2002)
+
+ 22 Jul 2002; Nick Hadaway <raker@gentoo.org> files/opts.diff :
+ Added a patch to remove unix makefile optimizations to allow the users
+ make.conf to set the appropriate optimization flags. Closes bug #5413.
+
+ 20 Jul 2002; Nick Hadaway <raker@gentoo.org>
+ pwlib-1.3.3.ebuild, file/digest-pwlib-1.3.3 :
+ Updated to pwlib version that matches the gnomemeeting-0.93 install.
+ Removed all previous version from cvs. Re-SLOT'ed to 0.
+
+*pwlib-1.2.19 (05 Jul 2002)
+
+ 05 Jul 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.2.19.ebuild:
+ openh323.org no longer has 1.2.x series available for download.
+ This is a download from gnomemeeting.org. The patch for 1.2.20
+ has also been used for this build and seems to work fine.
+
+#pwlib-1.3.2 (05 Jul 2002)
+
+ 05 Jul 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.2.ebuild:
+ Version bump. This time it compiles beautilfully with gcc-3.1.
+
+*pwlib-1.3.1 (03 Jul 2002)
+
+ 03 Jul 2002; Daniel Robbins <drobbins@gentoo.org> New version of pwlib that
+ works with gcc 3.1. Needs additional testing, so masking for now.
+
+*pwlib-1.2.13 (29 Mar 2002)
+
+ 29 Mar 2002; Seemant Kulleen <seemant@gentoo.org> pwlib-1.2.13.ebuild : I was
+ careless and did not check the SRC_URI. The package name in the .12 ebuild
+ was hardcoded, so that's the one that got fetched anyway. Thanks to
+ lostlogic for catching and reporting this. And now, the ebuild can simply be
+ renamed for future version bumps.
+
+*pwlib-1.2.13 (28 Mar 2002)
+
+ 28 Mar 2002; Seemant Kulleen <seemant@gentoo.org> pwlib-1.2.13.ebuild :
+ Version bump, and the patch has been renamed to allow it to work with both
+ pacakge versions, and the patch has been augmented to include the <stdio.h>
+ lib. This fix, provided by vikingo <gabriel@elvikingo.com.ar> on the
+ gentoo-user list, allows for successful compilation of pwlib again.
diff --git a/dev-libs/pwlib/Manifest b/dev-libs/pwlib/Manifest
new file mode 100644
index 0000000..deeb517
--- /dev/null
+++ b/dev-libs/pwlib/Manifest
@@ -0,0 +1,127 @@
+AUX pwlib-1.5.0-r1-gentoo.diff 391 RMD160 5fa8bfc2c4b27a495c54f0610314888f6cb12526 SHA1 acfbb5b64f1fdc416c589ac8012ca1d43d4914ce SHA256 eaf7a4188e746db29c2809366f7ee9dffde36d5d70032988c7a684ddbb2beab8
+MD5 0a9a8c5a1417127269e2e0f24ded1b2c files/pwlib-1.5.0-r1-gentoo.diff 391
+RMD160 5fa8bfc2c4b27a495c54f0610314888f6cb12526 files/pwlib-1.5.0-r1-gentoo.diff 391
+SHA256 eaf7a4188e746db29c2809366f7ee9dffde36d5d70032988c7a684ddbb2beab8 files/pwlib-1.5.0-r1-gentoo.diff 391
+AUX pwlib-1.5.2-asnparser-secfix.diff 1299 RMD160 9cbd32778be7bc7484aa179d282ff7590b9875d8 SHA1 80a0313d8fa0e93dbd108cffdafacad32ab3f6c0 SHA256 463f6bcb1f759433eb8e253508c527c497c8543ef306e6322110dfd31e6421e2
+MD5 8c6469f000dea2a13869631fcedbe0ff files/pwlib-1.5.2-asnparser-secfix.diff 1299
+RMD160 9cbd32778be7bc7484aa179d282ff7590b9875d8 files/pwlib-1.5.2-asnparser-secfix.diff 1299
+SHA256 463f6bcb1f759433eb8e253508c527c497c8543ef306e6322110dfd31e6421e2 files/pwlib-1.5.2-asnparser-secfix.diff 1299
+AUX pwlib-1.6.3-dyn-esd.patch 366 RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 SHA1 ba9177add96a9903646503bae739cf01cbc49d4f SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9
+MD5 94fe183a68413eaeb8242cd30532d963 files/pwlib-1.6.3-dyn-esd.patch 366
+RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 files/pwlib-1.6.3-dyn-esd.patch 366
+SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9 files/pwlib-1.6.3-dyn-esd.patch 366
+AUX pwlib-1.6.6-alsa_dmix.diff 7450 RMD160 f393b89f1c8dca190b6252b02ca459f0d27526e5 SHA1 d5c46a78e806b2775a57dc8a9e17d39885b86d26 SHA256 b544a297b257c9d6cc160012faddc93af683aa454f5ddc6548740ec01250cdfe
+MD5 0fbee42a70e13b6fe530a1f1ca8086ac files/pwlib-1.6.6-alsa_dmix.diff 7450
+RMD160 f393b89f1c8dca190b6252b02ca459f0d27526e5 files/pwlib-1.6.6-alsa_dmix.diff 7450
+SHA256 b544a297b257c9d6cc160012faddc93af683aa454f5ddc6548740ec01250cdfe files/pwlib-1.6.6-alsa_dmix.diff 7450
+AUX pwlib-1.6.6-ieee1394dc-fix.diff 7207 RMD160 8020610ca1bfb6e0d565297100ba90b337770e5e SHA1 487829388504ce21ffd4bd92064b85180bbdedb3 SHA256 ee9b8b13cb82ae7f5a9104d64fd0f329693df2daf54cea5bd26a2a893ad12e35
+MD5 ef62669acbbbc63a30d475ca9865adb6 files/pwlib-1.6.6-ieee1394dc-fix.diff 7207
+RMD160 8020610ca1bfb6e0d565297100ba90b337770e5e files/pwlib-1.6.6-ieee1394dc-fix.diff 7207
+SHA256 ee9b8b13cb82ae7f5a9104d64fd0f329693df2daf54cea5bd26a2a893ad12e35 files/pwlib-1.6.6-ieee1394dc-fix.diff 7207
+AUX pwlib-1.8.4-gcc4.diff 1574 RMD160 6ed6e3c8fc9532472516cd140f8b61b56a639116 SHA1 648bbd13aca363593ed8a279722670220a6b97d6 SHA256 051a9c0b01254ab919b911320bddef16f92f68adcac952a6a671ea24c2f5bb9e
+MD5 6aa40def4f33c78a2c05f91aeda058c1 files/pwlib-1.8.4-gcc4.diff 1574
+RMD160 6ed6e3c8fc9532472516cd140f8b61b56a639116 files/pwlib-1.8.4-gcc4.diff 1574
+SHA256 051a9c0b01254ab919b911320bddef16f92f68adcac952a6a671ea24c2f5bb9e files/pwlib-1.8.4-gcc4.diff 1574
+AUX pwlib-1.8.7-gcc-4.1-v4l2.patch 365 RMD160 59912c01346938ce57e251ae85f54f16882a6301 SHA1 d11665768db40b463cc0171d9ced8c61b3be3149 SHA256 5c76311cff3b883d5e6c8ea68df09d523d0704fc7f615c292606e6f1f157e93b
+MD5 3fecacf32bc697a6b106ca508b2a6463 files/pwlib-1.8.7-gcc-4.1-v4l2.patch 365
+RMD160 59912c01346938ce57e251ae85f54f16882a6301 files/pwlib-1.8.7-gcc-4.1-v4l2.patch 365
+SHA256 5c76311cff3b883d5e6c8ea68df09d523d0704fc7f615c292606e6f1f157e93b files/pwlib-1.8.7-gcc-4.1-v4l2.patch 365
+AUX pwlib-1.8.7-gcc41.patch 1540 RMD160 8260dab8d84081ae9c21bdc5ba4841f39d4e6be1 SHA1 035b0de63fc1eabe1be4452c64c60609cee65502 SHA256 fadfc6d4c1223cb0a3eac73fbd6eafc0618b8d1fde323f46d9d2071d75757b8d
+MD5 223dafbac9787545227998ed2979a44f files/pwlib-1.8.7-gcc41.patch 1540
+RMD160 8260dab8d84081ae9c21bdc5ba4841f39d4e6be1 files/pwlib-1.8.7-gcc41.patch 1540
+SHA256 fadfc6d4c1223cb0a3eac73fbd6eafc0618b8d1fde323f46d9d2071d75757b8d files/pwlib-1.8.7-gcc41.patch 1540
+AUX pwlib-1.8.7-instplugins.diff 1044 RMD160 722bc5e665f787e14f9d0e54679c8ba3fcc5e7e6 SHA1 90ccb7e33024dbb36e635b5b47ee0f67a9af7c05 SHA256 39e0b892ae1aa82af87a92a71c8ba78a84ee18984732856ce2f228a6d4340552
+MD5 cd832010589d81cab25d2523d62a3401 files/pwlib-1.8.7-instplugins.diff 1044
+RMD160 722bc5e665f787e14f9d0e54679c8ba3fcc5e7e6 files/pwlib-1.8.7-instplugins.diff 1044
+SHA256 39e0b892ae1aa82af87a92a71c8ba78a84ee18984732856ce2f228a6d4340552 files/pwlib-1.8.7-instplugins.diff 1044
+AUX pwlib-1.9.3-sdl-configure.patch 1403 RMD160 240822a74944a5f54f147023b50966c72a232f24 SHA1 4d65a4a4c0663ac3c8a281ad6bfbe06a86727f1c SHA256 467c44ad1d8d2c6f76e712e908476d3a1f948d5e3b1412546f1fb0b776068052
+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.0.tar.gz 1480233 RMD160 5341a4d21996472665032b3cfcc184f04435ddab SHA1 ce8be112cbb0f88ab33be0c4061d18d4bfa967dd SHA256 3bcbb47600061b6872215fbc68e7f04566a93bc602fa008636c85d47be5f5c00
+DIST pwlib-1.10.1.tar.gz 1485094 RMD160 860ce13ea7df77723c5697691602be4fe9087b5d SHA1 104e7fe42661b410749d19c90803715734bc1e3b SHA256 c7356f43f13995ece66e0becf84e38932b2e9f7a238b07f345c5b8fac6f823e3
+DIST pwlib-1.6.3.tar.gz 1158037 RMD160 a8f52e7825106475ad23a312e38e7ab8ebcc929b SHA1 e40fd4e27f479652bf4c51978a5f9da212d0697e SHA256 c371238a4719c9fe53bf6b1a89f490fdc6b5ea834c610b88f7e944c681179d03
+DIST pwlib-1.8.4.tar.gz 1382438 RMD160 3848d47d3cb903444759ecf41c5fc4c716fadc8c SHA1 bf56dd1e2383c1c1f3bdf3a6424234c26550fed0 SHA256 08f204423cc4112794e6f031ba0b908c0d90cbefb58e83ea7c4b4e55643ebf01
+DIST pwlib-1.8.7.tar.gz 1900458 RMD160 b968571a6ffeb162e4b426e1588c82b490b8d7dc SHA1 9333edf45f1022ba2529f7e731db9e5ffa92a17f SHA256 120e95ba090f0c8fa8768e8241b98a711e88973cb625288c2616092061d08ff7
+DIST pwlib-v1_6_6-src.tar.gz 1583087
+DIST pwlib-v1_8_3-src-tar.gz 1900922
+DIST pwlib_1.5.0.tar.gz 1074311 RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 SHA1 762384a53fb4f42522b0f322fa37fb7271b1f41a SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da
+DIST pwlib_1.5.2.tar.gz 1085203 RMD160 87ec385fe384fb0098e53ebecf2a6e1b260a7917 SHA1 cbf9170dfe727d2423e312ca701cdf263c42ac86 SHA256 62b254548ad7a9e71231a160275827d67ff39022ee8e2854a7c9d9fe9a688e65
+EBUILD pwlib-1.10.0.ebuild 4383 RMD160 1417a5d2abb5b790c20c7d73a4f3e4ac53215094 SHA1 845dad3450fbbe4b5d59ea0a923deb7bbeb9c632 SHA256 0d1193659af55c2849a2b25a20c4ddc31e3bd035589b36ed68b2149b066a279d
+MD5 97c11aed6d1726b635936f4ca4ce9d1c pwlib-1.10.0.ebuild 4383
+RMD160 1417a5d2abb5b790c20c7d73a4f3e4ac53215094 pwlib-1.10.0.ebuild 4383
+SHA256 0d1193659af55c2849a2b25a20c4ddc31e3bd035589b36ed68b2149b066a279d pwlib-1.10.0.ebuild 4383
+EBUILD pwlib-1.10.1.ebuild 4470 RMD160 4ba23f2d9296e7b18b7ae425de4f988d3bda80b7 SHA1 396bb1805155c52d27941f2da96df2e2c04b4bc2 SHA256 539736287c586886e2223e0614ec1b8483a7cb5d86dddd2cbad7546c2a5222d2
+MD5 38480cb00770d21d86be49f500696624 pwlib-1.10.1.ebuild 4470
+RMD160 4ba23f2d9296e7b18b7ae425de4f988d3bda80b7 pwlib-1.10.1.ebuild 4470
+SHA256 539736287c586886e2223e0614ec1b8483a7cb5d86dddd2cbad7546c2a5222d2 pwlib-1.10.1.ebuild 4470
+EBUILD pwlib-1.5.0-r1.ebuild 2403 RMD160 1dcbc0cf473bc53579c66434ca8e8674e3953163 SHA1 14f82f991ed03e4b9c289ba538a93f75eaeb30ed SHA256 b1c06e307fc870f5bced97ce8c4506cfb2c5f47506b5bd441bda5f3c4ca5faa0
+MD5 7b71ebcce6d852f0dc6738ee8b77ea49 pwlib-1.5.0-r1.ebuild 2403
+RMD160 1dcbc0cf473bc53579c66434ca8e8674e3953163 pwlib-1.5.0-r1.ebuild 2403
+SHA256 b1c06e307fc870f5bced97ce8c4506cfb2c5f47506b5bd441bda5f3c4ca5faa0 pwlib-1.5.0-r1.ebuild 2403
+EBUILD pwlib-1.5.0.ebuild 2304 RMD160 db44fa968d38c112e2d6cf0220c2f62ff5bb9ba2 SHA1 c2c24d269f1b5fb6bd8a24818deba7487079baca SHA256 8e1298cf9acb087a62e1d9067ddded2e616a25b2e478b4c6e6a9006cd513575e
+MD5 4690d9e7395046ed1c573e68a47bd053 pwlib-1.5.0.ebuild 2304
+RMD160 db44fa968d38c112e2d6cf0220c2f62ff5bb9ba2 pwlib-1.5.0.ebuild 2304
+SHA256 8e1298cf9acb087a62e1d9067ddded2e616a25b2e478b4c6e6a9006cd513575e pwlib-1.5.0.ebuild 2304
+EBUILD pwlib-1.5.2-r3.ebuild 2993 RMD160 cca125f25eafb84e302c83b70e474ec48edc5119 SHA1 a235eee75a1b5d12cfc91f54922ba51631f28cc6 SHA256 167e62e52bad008b4f617b8deae40ab11b3d051ef6ba4eb3c57ede51cb15ad85
+MD5 8a3df2068f3fa7e096c3dc77cc28e7ea pwlib-1.5.2-r3.ebuild 2993
+RMD160 cca125f25eafb84e302c83b70e474ec48edc5119 pwlib-1.5.2-r3.ebuild 2993
+SHA256 167e62e52bad008b4f617b8deae40ab11b3d051ef6ba4eb3c57ede51cb15ad85 pwlib-1.5.2-r3.ebuild 2993
+EBUILD pwlib-1.6.3-r3.ebuild 4338 RMD160 cf7d20715361a0f456c265bb893660697d1dfa5f SHA1 4d686788293f723fa5af9c6bb8029f509e0f8ebb SHA256 4849929f966e3a73f7fbb103dc4751fb46bbf19258d951e7a0d3121868b4c3b9
+MD5 ae4e2d28a1696afcf545ed158be25bd7 pwlib-1.6.3-r3.ebuild 4338
+RMD160 cf7d20715361a0f456c265bb893660697d1dfa5f pwlib-1.6.3-r3.ebuild 4338
+SHA256 4849929f966e3a73f7fbb103dc4751fb46bbf19258d951e7a0d3121868b4c3b9 pwlib-1.6.3-r3.ebuild 4338
+EBUILD pwlib-1.6.6-r2.ebuild 4546 RMD160 952171286f195e37c7d856a5568831928071dd3d SHA1 55d49804fac5e6e2e354ebf71250d7b8eea86ed0 SHA256 f65f2b9de6d83b275ff8a2fbe024629b4bebe22f6ba0e3e7e3fb2aabca3d05f0
+MD5 233dc6b0601309ce4da5385aa36e5bdc pwlib-1.6.6-r2.ebuild 4546
+RMD160 952171286f195e37c7d856a5568831928071dd3d pwlib-1.6.6-r2.ebuild 4546
+SHA256 f65f2b9de6d83b275ff8a2fbe024629b4bebe22f6ba0e3e7e3fb2aabca3d05f0 pwlib-1.6.6-r2.ebuild 4546
+EBUILD pwlib-1.8.3-r1.ebuild 4465 RMD160 027bd4d4c67a470917cb83d6034adbe9a112f17d SHA1 704d4f408dac845b5288d521c55cc9715aa75607 SHA256 3e324a959686e45d34949715d6b6dc51c95b309b0d03bd5f98f3f4b82dc6e727
+MD5 00ce2a439ee24cd57f8c947d8fcadea1 pwlib-1.8.3-r1.ebuild 4465
+RMD160 027bd4d4c67a470917cb83d6034adbe9a112f17d pwlib-1.8.3-r1.ebuild 4465
+SHA256 3e324a959686e45d34949715d6b6dc51c95b309b0d03bd5f98f3f4b82dc6e727 pwlib-1.8.3-r1.ebuild 4465
+EBUILD pwlib-1.8.4.ebuild 4341 RMD160 b0f8d77959a9e653163deb17e2909bdf1bf246ab SHA1 3ddf30ae98464639b76d2674b556260677929ac0 SHA256 0b63ea3143ee5f6d39a04d2f8bd22498602cf01cdc3c9c969bc41e452d6ff538
+MD5 cad8c6f27ca92756b593272323ca3d25 pwlib-1.8.4.ebuild 4341
+RMD160 b0f8d77959a9e653163deb17e2909bdf1bf246ab pwlib-1.8.4.ebuild 4341
+SHA256 0b63ea3143ee5f6d39a04d2f8bd22498602cf01cdc3c9c969bc41e452d6ff538 pwlib-1.8.4.ebuild 4341
+EBUILD pwlib-1.8.7.ebuild 4220 RMD160 c902df936833d38fe39e59fcfa33457d10e30c61 SHA1 a9a09a033f5df94ffb602cabaf506a7f94689329 SHA256 1fa420729865a2881748f8f8d29e16e05561eeb6081e41b139469b612c5ba4fe
+MD5 6992db4ead53cc3721a88bc8ca6a354a pwlib-1.8.7.ebuild 4220
+RMD160 c902df936833d38fe39e59fcfa33457d10e30c61 pwlib-1.8.7.ebuild 4220
+SHA256 1fa420729865a2881748f8f8d29e16e05561eeb6081e41b139469b612c5ba4fe pwlib-1.8.7.ebuild 4220
+MISC ChangeLog 15663 RMD160 adb53d3270c1de2bd6fbec3eaf4c042357f1d2df SHA1 aa7e9ab2679a40509570faaa0021a1facc4410dd SHA256 7e3dda15faefe8e45014b9dc0b8206e4b0bf79f4ae5a13057dcaff9c3d64dcac
+MD5 9855961f979b3a2b91dc024d031df341 ChangeLog 15663
+RMD160 adb53d3270c1de2bd6fbec3eaf4c042357f1d2df ChangeLog 15663
+SHA256 7e3dda15faefe8e45014b9dc0b8206e4b0bf79f4ae5a13057dcaff9c3d64dcac ChangeLog 15663
+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 e75b1e9ed282919b963de08f047bc69f files/digest-pwlib-1.10.0 241
+RMD160 dee98852a31e19f87c840b2435ed03d1b6afe9e8 files/digest-pwlib-1.10.0 241
+SHA256 d646df1b3934423b54ef64267d7056015b2b4127cc4b413458e5132ce9fc03b2 files/digest-pwlib-1.10.0 241
+MD5 b0029942c03a5823083f0f53c64bc607 files/digest-pwlib-1.10.1 241
+RMD160 8c06d6103de41c9e505e37f80f9f594298ede49f files/digest-pwlib-1.10.1 241
+SHA256 63a8de6ebd1f21855e6936af628e948143185eb8db0cb422e5691f5a691a283b files/digest-pwlib-1.10.1 241
+MD5 ad5d0ce28351a8c82409f95d5e6a553f files/digest-pwlib-1.5.0 238
+RMD160 eafad45bc69e99548d2743b53d0c15f47ea13db9 files/digest-pwlib-1.5.0 238
+SHA256 c4d40904e5090113d605e83fadbb836228bc5b1bee83677144cb7f1619b59788 files/digest-pwlib-1.5.0 238
+MD5 ad5d0ce28351a8c82409f95d5e6a553f files/digest-pwlib-1.5.0-r1 238
+RMD160 eafad45bc69e99548d2743b53d0c15f47ea13db9 files/digest-pwlib-1.5.0-r1 238
+SHA256 c4d40904e5090113d605e83fadbb836228bc5b1bee83677144cb7f1619b59788 files/digest-pwlib-1.5.0-r1 238
+MD5 9d697bfbb229d75334c178f53aa93ba3 files/digest-pwlib-1.5.2-r3 238
+RMD160 03da7294631bff3e2fb69f69c1ba233c6e745876 files/digest-pwlib-1.5.2-r3 238
+SHA256 33e90a1c32cafa3e9e68776f4bc922ce0649a055a7185a90a4b7181a813e2b50 files/digest-pwlib-1.5.2-r3 238
+MD5 e152a7da0e17cbe3bfe81b70a4317aaa files/digest-pwlib-1.6.3-r3 238
+RMD160 bf1648783e58c17f7a58df993c9d30a5445805f9 files/digest-pwlib-1.6.3-r3 238
+SHA256 96045bfb873ec80294c191733dc7cac35530674f1256554728c9e621bcc0c1af files/digest-pwlib-1.6.3-r3 238
+MD5 3057a7e05b6e701041865f26fd1fb8c3 files/digest-pwlib-1.6.6-r2 69
+RMD160 c1625f314aaa6d02637be52980b0660dee47536e files/digest-pwlib-1.6.6-r2 69
+SHA256 ad3953aa43f4721a418dce9a14db87f23c18eb00389bb2f731dba26710a0dd39 files/digest-pwlib-1.6.6-r2 69
+MD5 66bc7e154effc3454029566adff8a2f7 files/digest-pwlib-1.8.3-r1 69
+RMD160 00a2031d1062fde769bcfb989b78cff8d123690d files/digest-pwlib-1.8.3-r1 69
+SHA256 778cbe52cb05b523a583c9e48c329ddc6174de08216a57a499b488f2784ba9f2 files/digest-pwlib-1.8.3-r1 69
+MD5 60c1f666a87cbb373faa3250ff4cee49 files/digest-pwlib-1.8.4 238
+RMD160 d93891d3baf0e3410477d4162624c57656c83dd4 files/digest-pwlib-1.8.4 238
+SHA256 b1ab93579d2be34efa156c45ad024836ddbde40ba3e5f32024728ee6863406d4 files/digest-pwlib-1.8.4 238
+MD5 fa4bf5181ae19decd0c4c4b6364e0468 files/digest-pwlib-1.8.7 238
+RMD160 2ee9e56a4822094c7398583124fdfe1b51bbcbaa files/digest-pwlib-1.8.7 238
+SHA256 56d302889c4df1d12b155e947d06dd1484c7eae0b49c0838825aa1f0bc0b01e2 files/digest-pwlib-1.8.7 238
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.10.0 b/dev-libs/pwlib/files/digest-pwlib-1.10.0
new file mode 100644
index 0000000..405b316
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.10.0
@@ -0,0 +1,3 @@
+MD5 97da19588bdc25cd8b48afb135eded1d pwlib-1.10.0.tar.gz 1480233
+RMD160 5341a4d21996472665032b3cfcc184f04435ddab pwlib-1.10.0.tar.gz 1480233
+SHA256 3bcbb47600061b6872215fbc68e7f04566a93bc602fa008636c85d47be5f5c00 pwlib-1.10.0.tar.gz 1480233
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.10.1 b/dev-libs/pwlib/files/digest-pwlib-1.10.1
new file mode 100644
index 0000000..aa6a792
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.10.1
@@ -0,0 +1,3 @@
+MD5 51414920d7b21125df2bf6870c0fc2e4 pwlib-1.10.1.tar.gz 1485094
+RMD160 860ce13ea7df77723c5697691602be4fe9087b5d pwlib-1.10.1.tar.gz 1485094
+SHA256 c7356f43f13995ece66e0becf84e38932b2e9f7a238b07f345c5b8fac6f823e3 pwlib-1.10.1.tar.gz 1485094
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.0 b/dev-libs/pwlib/files/digest-pwlib-1.5.0
new file mode 100644
index 0000000..040a8e6
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.5.0
@@ -0,0 +1,3 @@
+MD5 e6bcdd121a85687c040f4871f24b7352 pwlib_1.5.0.tar.gz 1074311
+RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 pwlib_1.5.0.tar.gz 1074311
+SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da pwlib_1.5.0.tar.gz 1074311
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 b/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1
new file mode 100644
index 0000000..040a8e6
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1
@@ -0,0 +1,3 @@
+MD5 e6bcdd121a85687c040f4871f24b7352 pwlib_1.5.0.tar.gz 1074311
+RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 pwlib_1.5.0.tar.gz 1074311
+SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da pwlib_1.5.0.tar.gz 1074311
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3 b/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3
new file mode 100644
index 0000000..13e15f2
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3
@@ -0,0 +1,3 @@
+MD5 0fa33ba1b32b254abe0b731a52c0f2f9 pwlib_1.5.2.tar.gz 1085203
+RMD160 87ec385fe384fb0098e53ebecf2a6e1b260a7917 pwlib_1.5.2.tar.gz 1085203
+SHA256 62b254548ad7a9e71231a160275827d67ff39022ee8e2854a7c9d9fe9a688e65 pwlib_1.5.2.tar.gz 1085203
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.6.3-r3 b/dev-libs/pwlib/files/digest-pwlib-1.6.3-r3
new file mode 100644
index 0000000..683a250
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.6.3-r3
@@ -0,0 +1,3 @@
+MD5 c190324ded05c349cf50b0d37fe0c8a1 pwlib-1.6.3.tar.gz 1158037
+RMD160 a8f52e7825106475ad23a312e38e7ab8ebcc929b pwlib-1.6.3.tar.gz 1158037
+SHA256 c371238a4719c9fe53bf6b1a89f490fdc6b5ea834c610b88f7e944c681179d03 pwlib-1.6.3.tar.gz 1158037
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.6.6-r2 b/dev-libs/pwlib/files/digest-pwlib-1.6.6-r2
new file mode 100644
index 0000000..82c1731
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.6.6-r2
@@ -0,0 +1 @@
+MD5 c3ae07b03cd48d57cd9d6ec346182ed4 pwlib-v1_6_6-src.tar.gz 1583087
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.8.3-r1 b/dev-libs/pwlib/files/digest-pwlib-1.8.3-r1
new file mode 100644
index 0000000..bd4b079
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.8.3-r1
@@ -0,0 +1 @@
+MD5 082e0ca640c3dd81c637b6d6a3c9b4b3 pwlib-v1_8_3-src-tar.gz 1900922
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.8.4 b/dev-libs/pwlib/files/digest-pwlib-1.8.4
new file mode 100644
index 0000000..54e0c71
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.8.4
@@ -0,0 +1,3 @@
+MD5 fc638a64216b7751271c539ee4ccd0a8 pwlib-1.8.4.tar.gz 1382438
+RMD160 3848d47d3cb903444759ecf41c5fc4c716fadc8c pwlib-1.8.4.tar.gz 1382438
+SHA256 08f204423cc4112794e6f031ba0b908c0d90cbefb58e83ea7c4b4e55643ebf01 pwlib-1.8.4.tar.gz 1382438
diff --git a/dev-libs/pwlib/files/digest-pwlib-1.8.7 b/dev-libs/pwlib/files/digest-pwlib-1.8.7
new file mode 100644
index 0000000..9a11033
--- /dev/null
+++ b/dev-libs/pwlib/files/digest-pwlib-1.8.7
@@ -0,0 +1,3 @@
+MD5 ba4fddd6cb8d4420cc18f308ccf48e00 pwlib-1.8.7.tar.gz 1900458
+RMD160 b968571a6ffeb162e4b426e1588c82b490b8d7dc pwlib-1.8.7.tar.gz 1900458
+SHA256 120e95ba090f0c8fa8768e8241b98a711e88973cb625288c2616092061d08ff7 pwlib-1.8.7.tar.gz 1900458
diff --git a/dev-libs/pwlib/files/pwlib-1.11.0-sdl-configure.patch b/dev-libs/pwlib/files/pwlib-1.11.0-sdl-configure.patch
new file mode 100644
index 0000000..97b90d1
--- /dev/null
+++ b/dev-libs/pwlib/files/pwlib-1.11.0-sdl-configure.patch
@@ -0,0 +1,49 @@
+diff -ur pwlib_v1_11_0.orig/configure.ac pwlib_v1_11_0/configure.ac
+--- pwlib_v1_11_0.orig/configure.ac 2006-07-10 11:54:17.000000000 +0200
++++ pwlib_v1_11_0/configure.ac 2006-07-10 11:55:22.000000000 +0200
+@@ -1500,6 +1500,7 @@
+ AC_ARG_ENABLE(sdl,
+ [ --disable-sdl disable SDL support])
+
++
+ if test "${enable_sdl}z" = "z" ; then
+ enable_sdl=$default_sdl
+ fi
+@@ -1509,6 +1510,9 @@
+ AC_MSG_NOTICE(SDL disabled)
+ AC_DEFINE(P_SDL, 0)
+ else
++ dnl check for sdl-config
++ AC_PATH_PROG([SDL_CONFIG], [sdl-config],, [$PATH:/usr/local/bin])
++
+ dnl SDL checks
+ if test "${SDLLIB:-unset}" = "unset" ; then
+ SDLLIB=SDL
+@@ -1520,7 +1524,13 @@
+ if test "${X11LIBDIR:-unset}" == "unset" ; then
+ X11LIBDIR=/usr/X11R6/lib
+ fi
+- AC_CHECK_LIB(SDL, SDL_CreateYUVOverlay, HAS_SDL=1, HAS_SDL=, -L${X11LIBDIR} -lpthread -lX11 -lXext -laa)
++ if test "x${SDL_CONFIG}" = "x" ; then
++ SDL_LIBS="-L${X11LIBDIR} -lpthread -lX11 -lXext -laa"
++ else
++ SDL_LIBS="`${SDL_CONFIG} --libs`"
++ fi
++
++ AC_CHECK_LIB([SDL], [SDL_CreateYUVOverlay], [HAS_SDL=1], [HAS_SDL=], [$SDL_LIBS])
+ fi
+
+ dnl freeBSD SDL check
+@@ -1540,7 +1550,11 @@
+ if test ${SDLLIBDIR:-unset} != "unset" ; then
+ LDFLAGS="$LDFLAGS -L${SDLLIBDIR}"
+ fi
+- ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}"
++ if test "x${SDL_CONFIG}" = "x" ; then
++ ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}"
++ else
++ ENDLDLIBS="$ENDLDLIBS `${SDL_CONFIG} --libs`"
++ fi
+ fi
+ fi
+ AC_SUBST(HAS_SDL)
diff --git a/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff b/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff
new file mode 100644
index 0000000..8f6d056
--- /dev/null
+++ b/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff
@@ -0,0 +1,11 @@
+--- include/ptlib/unix/ptlib/videoio.h.orig 2003-01-06 10:41:08.000000000 -0800
++++ include/ptlib/unix/ptlib/videoio.h 2004-02-08 15:56:51.781845630 -0800
+@@ -101,6 +101,8 @@
+
+ #ifndef _PVIDEOIO
+
++/* update for 2.6.1 kernel headers */
++#include <sys/time.h>
+
+ #if defined(P_LINUX) && !defined(NO_VIDEO_CAPTURE)
+ #include <linux/videodev.h> /* change this to "videodev2.h" for v4l2 */
diff --git a/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff b/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff
new file mode 100644
index 0000000..444214a
--- /dev/null
+++ b/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff
@@ -0,0 +1,56 @@
+--- pwlib/src/ptclib/asnper.cxx.orig Fri Aug 1 02:11:38 2003
++++ pwlib-1.5.2/src/ptclib/asnper.cxx Fri Feb 20 15:35:05 2004
+@@ -1224,7 +1224,12 @@
+ return -1;
+
+ value += lower;
+- return 0;
++
++ // clamp value to upper limit
++ if (value > upper)
++ value = upper;
++
++ return 0;
+ }
+
+
+@@ -1268,7 +1273,13 @@
+ unsigned base;
+ if (!MultiBitDecode(CountBits(upper - lower + 1), base))
+ return -1;
+- return lower + base; // 10.9.4.1
++ len = lower + base; // 10.9.4.1
++
++ // clamp value to upper limit
++ if (len > upper)
++ len = upper;
++
++ return 0;
+ }
+
+ if (upper < 65536) // 10.9.3.3
+@@ -1279,13 +1290,20 @@
+ if (IsAtEnd())
+ return -1;
+
+- if (SingleBitDecode() == 0)
+- return MultiBitDecode(7, len) ? 0 : -1; // 10.9.3.6
+-
+- if (SingleBitDecode() == 0)
+- return MultiBitDecode(14, len) ? 0 : -1; // 10.9.3.7
++ if (SingleBitDecode() == 0) {
++ if (!MultiBitDecode(7, len)) // 10.9.3.6
++ return -1; // 10.9.3.8 unsupported
++ }
++ else if (SingleBitDecode() == 0) {
++ if (!MultiBitDecode(14, len)) // 10.9.3.7
++ return -1; // 10.9.3.8 unsupported
++ }
+
+- return -1; // 10.9.3.8 unsupported
++ // clamp value to upper limit
++ if (len > upper)
++ len = upper;
++
++ return 0;
+ }
diff --git a/dev-libs/pwlib-cvs/files/pwlib-1.6.3-dyn-esd.patch b/dev-libs/pwlib/files/pwlib-1.6.3-dyn-esd.patch
index 638fd78..638fd78 100644
--- a/dev-libs/pwlib-cvs/files/pwlib-1.6.3-dyn-esd.patch
+++ b/dev-libs/pwlib/files/pwlib-1.6.3-dyn-esd.patch
diff --git a/dev-libs/pwlib/files/pwlib-1.6.6-alsa_dmix.diff b/dev-libs/pwlib/files/pwlib-1.6.6-alsa_dmix.diff
new file mode 100644
index 0000000..2d1ded9
--- /dev/null
+++ b/dev-libs/pwlib/files/pwlib-1.6.6-alsa_dmix.diff
@@ -0,0 +1,259 @@
+diff -ru pwlib-orig/plugins/sound_alsa/sound_alsa.cxx pwlib/plugins/sound_alsa/sound_alsa.cxx
+--- pwlib-orig/plugins/sound_alsa/sound_alsa.cxx 2004-03-13 13:36:14.000000000 +0100
++++ pwlib/plugins/sound_alsa/sound_alsa.cxx 2004-10-21 18:33:38.562610536 +0200
+@@ -28,6 +28,21 @@
+ * Contributor(s): /
+ *
+ * $Log: sound_alsa.cxx,v $
++ * Revision 1.21 2004/10/18 11:43:39 dsandras
++ * Use Capture instead of Mic when changing the volume. Use the correct mixer when using the Default device.
++ *
++ * Revision 1.20 2004/10/14 19:30:16 dsandras
++ * Removed DMIX and DSNOOP plugins and added support for DEFAULT as it is the correcti way to do things.
++ *
++ * Revision 1.19 2004/08/30 21:09:41 dsandras
++ * Added DSNOOP plugin support.
++ *
++ * Revision 1.18 2004/05/14 10:15:26 dominance
++ * Fixes direct opening of sound output devices. The list of devices does no longer return NULL in that case. Patch provided by Julien Puydt <julien.puydt@laposte.net>.
++ *
++ * Revision 1.17 2004/04/03 10:33:45 dsandras
++ * Use PStringToOrdinal to store the detected devices, that fixes problems if there is a discontinuity in the succession of soundcard ID's. For example the user has card ID 1 and 3, but not 2.
++ *
+ * Revision 1.16 2004/03/13 12:36:14 dsandras
+ * Added support for DMIX plugin output.
+ *
+@@ -81,8 +96,8 @@
+ PCREATE_SOUND_PLUGIN(ALSA, PSoundChannelALSA)
+
+
+-static PStringArray playback_devices;
+-static PStringArray capture_devices;
++static PStringToOrdinal playback_devices;
++static PStringToOrdinal capture_devices;
+
+ ///////////////////////////////////////////////////////////////////////////////
+
+@@ -119,8 +134,9 @@
+ }
+
+
+-PStringArray PSoundChannelALSA::GetDeviceNames (Directions dir)
++void PSoundChannelALSA::UpdateDictionary (Directions dir)
+ {
++
+ int card = -1, dev = -1;
+
+ snd_ctl_t *handle = NULL;
+@@ -134,12 +150,12 @@
+ if (dir == Recorder) {
+
+ stream = SND_PCM_STREAM_CAPTURE;
+- capture_devices = PStringArray ();
++ capture_devices = PStringToOrdinal ();
+ }
+ else {
+
+ stream = SND_PCM_STREAM_PLAYBACK;
+- playback_devices = PStringArray ();
++ playback_devices = PStringToOrdinal ();
+ }
+
+ snd_ctl_card_info_alloca (&info);
+@@ -148,7 +164,7 @@
+ /* No sound card found */
+ if (snd_card_next (&card) < 0 || card < 0) {
+
+- return PStringArray ();
++ return;
+ }
+
+
+@@ -176,13 +192,11 @@
+ snd_card_get_name (card, &name);
+ if (dir == Recorder) {
+
+- if (capture_devices.GetStringsIndex (name) == P_MAX_INDEX)
+- capture_devices.AppendString (name);
++ capture_devices.SetAt (name, card);
+ }
+ else {
+
+- if (playback_devices.GetStringsIndex (name) == P_MAX_INDEX)
+- playback_devices.AppendString (name);
++ playback_devices.SetAt (name, card);
+ }
+
+ free (name);
+@@ -193,17 +207,27 @@
+ snd_ctl_close(handle);
+ snd_card_next (&card);
+ }
++}
+
+-
+- if (dir == Recorder)
+- return capture_devices;
+- else {
++PStringArray PSoundChannelALSA::GetDeviceNames (Directions dir)
++{
++ PStringArray devices;
++ PStringToOrdinal devices_dict;
+
+- if (playback_devices.GetSize () > 0)
+- playback_devices += "DMIX Plugin";
++ if (dir == Recorder)
++ devices_dict = capture_devices;
++ else
++ devices_dict = playback_devices;
++
++ UpdateDictionary (dir);
++
++ if (devices_dict.GetSize () > 0)
++ devices += "Default";
++
++ for (PINDEX j = 0 ; j < devices_dict.GetSize () ; j++)
++ devices += devices_dict.GetKeyAt (j);
+
+- return playback_devices;
+- }
++ return devices;
+ }
+
+
+@@ -223,7 +247,7 @@
+ unsigned _bitsPerSample)
+ {
+ PString real_device_name;
+- PINDEX i = 0;
++ POrdinalKey *i = NULL;
+ snd_pcm_stream_t stream;
+
+ Close();
+@@ -236,21 +260,31 @@
+ stream = SND_PCM_STREAM_PLAYBACK;
+
+ /* Open in NONBLOCK mode */
+- if (_dir != Recorder && _device == "DMIX Plugin") {
++ if (_device == "Default") {
+
+- real_device_name = "plug:dmix";
++ real_device_name = "default";
++ card_nr = -2;
+ }
+- else if ((i = (_dir == Recorder) ? capture_devices.GetStringsIndex (_device) : playback_devices.GetStringsIndex (_device)) != P_MAX_INDEX) {
++ else {
++
++ if ((_dir == Recorder && capture_devices.IsEmpty ())
++ || (_dir == Player && playback_devices.IsEmpty ()))
++ UpdateDictionary (_dir);
++
++ i = (_dir == Recorder) ? capture_devices.GetAt (_device) : playback_devices.GetAt (_device);
+
+- real_device_name = "plughw:" + PString (i);
+- card_nr = i;
++ if (i) {
++
++ real_device_name = "plughw:" + PString (*i);
++ card_nr = *i;
++ }
++ else {
++
++ PTRACE (1, "ALSA\tDevice not found");
++ return FALSE;
++ }
+ }
+- else {
+
+- PTRACE (1, "ALSA\tDevice unavailable");
+- return FALSE;
+- }
+-
+ if (snd_pcm_open (&os_handle, real_device_name, stream, SND_PCM_NONBLOCK) < 0) {
+
+ PTRACE (1, "ALSA\tOpen Failed");
+@@ -735,7 +769,7 @@
+ snd_mixer_elem_t *elem;
+ snd_mixer_selem_id_t *sid;
+
+- const char *play_mix_name = (direction == Player) ? "PCM": "Mic";
++ const char *play_mix_name = (direction == Player) ? "PCM": "Capture";
+ PString card_name;
+
+ long pmin = 0, pmax = 0;
+@@ -744,7 +778,10 @@
+ if (!os_handle)
+ return FALSE;
+
+- card_name = "hw:" + PString (card_nr);
++ if (card_nr == -2)
++ card_name = "default";
++ else
++ card_name = "hw:" + PString (card_nr);
+
+ //allocate simple id
+ snd_mixer_selem_id_alloca (&sid);
+@@ -796,23 +833,39 @@
+ return FALSE;
+ }
+
+- snd_mixer_selem_get_playback_volume_range (elem, &pmin, &pmax);
+
+ if (set) {
+-
+- vol = (set_vol * (pmax?pmax:31)) / 100;
+- snd_mixer_selem_set_playback_volume (elem,
+- SND_MIXER_SCHN_FRONT_LEFT, vol);
+- snd_mixer_selem_set_playback_volume (elem,
+- SND_MIXER_SCHN_FRONT_RIGHT, vol);
+
++ if (direction == Player) {
++
++ snd_mixer_selem_get_playback_volume_range (elem, &pmin, &pmax);
++ vol = (set_vol * (pmax?pmax:31)) / 100;
++ snd_mixer_selem_set_playback_volume_all (elem, vol);
++ }
++ else {
++
++ snd_mixer_selem_get_capture_volume_range (elem, &pmin, &pmax);
++ vol = (set_vol * (pmax?pmax:31)) / 100;
++ snd_mixer_selem_set_capture_volume_all (elem, vol);
++ }
+ PTRACE (4, "Set volume to " << vol);
+ }
+ else {
+
+- snd_mixer_selem_get_playback_volume (elem,
+- SND_MIXER_SCHN_FRONT_LEFT, &vol);
++ if (direction == Player) {
++
++ snd_mixer_selem_get_playback_volume_range (elem, &pmin, &pmax);
++ snd_mixer_selem_get_playback_volume (elem, SND_MIXER_SCHN_FRONT_LEFT,
++ &vol);
++ }
++ else {
++
++ snd_mixer_selem_get_capture_volume_range (elem, &pmin, &pmax);
++ snd_mixer_selem_get_capture_volume (elem, SND_MIXER_SCHN_FRONT_LEFT,
++ &vol);
++ }
+ get_vol = (vol * 100) / (pmax?pmax:31);
++
+ PTRACE (4, "Got volume " << vol);
+ }
+
+Only in pwlib/plugins/sound_alsa: .sound_alsa.cxx-patch.swp
+diff -ru pwlib-orig/plugins/sound_alsa/sound_alsa.h pwlib/plugins/sound_alsa/sound_alsa.h
+--- pwlib-orig/plugins/sound_alsa/sound_alsa.h 2003-12-28 16:10:35.000000000 +0100
++++ pwlib/plugins/sound_alsa/sound_alsa.h 2004-10-21 18:35:51.559391952 +0200
+@@ -89,7 +89,8 @@
+ BOOL IsOpen() const;
+
+ private:
+-
++
++ static void UpdateDictionary(PSoundChannel::Directions);
+ BOOL Volume (BOOL, unsigned, unsigned &);
+ PSoundChannel::Directions direction;
+ PString device;
+
diff --git a/dev-libs/pwlib/files/pwlib-1.6.6-ieee1394dc-fix.diff b/dev-libs/pwlib/files/pwlib-1.6.6-ieee1394dc-fix.diff
new file mode 100644
index 0000000..25c9e10
--- /dev/null
+++ b/dev-libs/pwlib/files/pwlib-1.6.6-ieee1394dc-fix.diff
@@ -0,0 +1,197 @@
+===================================================================
+RCS file: /cvsroot/openh323/pwlib/plugins/vidinput_dc/video4dc1394.cxx,v
+retrieving revision 1.1
+retrieving revision 1.5
+diff -u -r1.1 -r1.5
+--- openh323/pwlib/plugins/vidinput_dc/video4dc1394.cxx 2003/12/17 15:40:56 1.1
++++ openh323/pwlib/plugins/vidinput_dc/video4dc1394.cxx 2004/06/15 23:55:50 1.5
+@@ -413,7 +425,7 @@
+ else if (supported_framerates & (1U << (31-0)))
+ framerate = FRAMERATE_1_875;
+ else {
+- PTRACE(1, "No supported frame rate??!!" << supported_framerates);
++ PTRACE(1, "Frame rate " << supported_framerates << " is not supported");
+ return FALSE;
+ }
+
+@@ -423,7 +435,11 @@
+ FORMAT_VGA_NONCOMPRESSED,
+ dc1394_mode,
+ P_DC1394_DEFAULT_SPEED,
+- framerate, 4, 1, deviceName,
++ framerate, 4, 1,
++#ifdef NEW_DC_API
++ 1,
++#endif
++ deviceName,
+ &camera)!=DC1394_SUCCESS) ||
+ (!UseDMA && dc1394_setup_capture(handle,camera_nodes[channelNumber],
+ 0, /* channel of IEEE 1394 */
+===================================================================
+RCS file: /cvsroot/openh323/pwlib/plugins/configure.in,v
+retrieving revision 1.6
+retrieving revision 1.7
+diff -u -r1.6 -r1.7
+--- openh323/pwlib/plugins/configure.in 2004/02/04 02:34:38 1.6
++++ openh323/pwlib/plugins/configure.in 2004/06/15 23:55:50 1.7
+@@ -134,6 +134,35 @@
+ if test "${DC1394HDR:-unset}" != "unset" -a ${RAW1394HDR:-unset} != "unset"; then
+ AC_SUBST(HAS_DC1394, 1)
+ AC_MSG_RESULT(yes)
++ AC_MSG_CHECKING(if dc1394_dma_setup_capture has 12 parms)
++ AC_COMPILE_IFELSE([[
++#include "libdc1394/dc1394_control.h"
++int main(int ac,char **av)
++{
++ raw1394handle_t handle;
++ nodeid_t node;
++ int channel;
++ int format;
++ int mode;
++ int speed;
++ int frame_rate;
++ int num_dma_buffers;
++ int do_extra_buffering;
++ int drop_frames;
++ const char *dma_device_file;
++ dc1394_cameracapture *camera;
++ dc1394_dma_setup_capture(handle, node, channel, format, mode, speed, frame_rate, num_dma_buffers,
++ do_extra_buffering, drop_frames, dma_device_file, camera);
++ return 0;
++}
++]],NEW_DC_API=1, NEW_DC_API=0)
++ if test "$NEW_DC_API" = "1" ; then
++ AC_SUBST(DC_CFLAGS, -DNEW_DC_API)
++ AC_MSG_RESULT(yes)
++ else
++ AC_SUBST(DC_CFLAGS)
++ AC_MSG_RESULT(no)
++ fi
+ else
+ AC_MSG_RESULT(no)
+ fi
+@@ -146,5 +175,6 @@
+ dnl output header file
+
+ AC_CONFIG_FILES(Makefile)
++AC_CONFIG_FILES(vidinput_dc/Makefile)
+
+ AC_OUTPUT()
+===================================================================
+RCS file: /cvsroot/openh323/pwlib/plugins/configure,v
+retrieving revision 1.3
+retrieving revision 1.4
+diff -u -r1.3 -r1.4
+--- openh323/pwlib/plugins/configure 2004/02/04 02:34:37 1.3
++++ openh323/pwlib/plugins/configure 2004/06/15 23:55:50 1.4
+@@ -308,7 +308,7 @@
+ # include <unistd.h>
+ #endif"
+
+-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT PWLIBDIR PWINSTDIR INSTALLPREFIX LIBDIR CC CFLAGS ac_ct_CC CPP EGREP HAS_ALSA HAS_OSS HAS_V4L HAS_BSDVIDEOCAP HAS_AVC1394 HAS_DC1394 LIBOBJS LTLIBOBJS'
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT PWLIBDIR PWINSTDIR INSTALLPREFIX LIBDIR CC CFLAGS ac_ct_CC CPP EGREP HAS_ALSA HAS_OSS HAS_V4L HAS_BSDVIDEOCAP HAS_AVC1394 HAS_DC1394 DC_CFLAGS LIBOBJS LTLIBOBJS'
+ ac_subst_files=''
+
+ # Initialize some variables set by options.
+@@ -4567,6 +4567,61 @@
+
+ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
++ echo "$as_me:$LINENO: checking if dc1394_dma_setup_capture has 12 parms" >&5
++echo $ECHO_N "checking if dc1394_dma_setup_capture has 12 parms... $ECHO_C" >&6
++ cat >conftest.$ac_ext <<_ACEOF
++
++#include "libdc1394/dc1394_control.h"
++int main(int ac,char **av)
++{
++ raw1394handle_t handle;
++ nodeid_t node;
++ int channel;
++ int format;
++ int mode;
++ int speed;
++ int frame_rate;
++ int num_dma_buffers;
++ int do_extra_buffering;
++ int drop_frames;
++ const char *dma_device_file;
++ dc1394_cameracapture *camera;
++ dc1394_dma_setup_capture(handle, node, channel, format, mode, speed, frame_rate, num_dma_buffers,
++ do_extra_buffering, drop_frames, dma_device_file, camera);
++ return 0;
++}
++
++_ACEOF
++rm -f conftest.$ac_objext
++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
++ (eval $ac_compile) 2>&5
++ ac_status=$?
++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
++ (exit $ac_status); } &&
++ { ac_try='test -s conftest.$ac_objext'
++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++ (eval $ac_try) 2>&5
++ ac_status=$?
++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
++ (exit $ac_status); }; }; then
++ NEW_DC_API=1
++else
++ echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++NEW_DC_API=0
++fi
++rm -f conftest.$ac_objext conftest.$ac_ext
++ if test "$NEW_DC_API" = "1" ; then
++ DC_CFLAGS=-DNEW_DC_API
++
++ echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++ else
++
++ echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++ fi
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+@@ -4578,6 +4633,8 @@
+
+ ac_config_files="$ac_config_files Makefile"
+
++ ac_config_files="$ac_config_files vidinput_dc/Makefile"
++
+
+ cat >confcache <<\_ACEOF
+ # This file is a shell script that caches the results of configure
+@@ -5129,6 +5186,7 @@
+ case "$ac_config_target" in
+ # Handling of arguments.
+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
++ "vidinput_dc/Makefile" ) CONFIG_FILES="$CONFIG_FILES vidinput_dc/Makefile" ;;
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
+ echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+ { (exit 1); exit 1; }; };;
+@@ -5234,6 +5292,7 @@
+ s,@HAS_BSDVIDEOCAP@,$HAS_BSDVIDEOCAP,;t t
+ s,@HAS_AVC1394@,$HAS_AVC1394,;t t
+ s,@HAS_DC1394@,$HAS_DC1394,;t t
++s,@DC_CFLAGS@,$DC_CFLAGS,;t t
+ s,@LIBOBJS@,$LIBOBJS,;t t
+ s,@LTLIBOBJS@,$LTLIBOBJS,;t t
+ CEOF
+--- openh323/pwlib/plugins/vidinput_dc/Makefile.in 1970-01-01 01:00:00.000000000 +0100
++++ openh323/pwlib/plugins/vidinput_dc/Makefile.in 2004-08-30 03:08:49.095486368 +0200
+@@ -0,0 +1,12 @@
++ifndef PWLIBDIR
++PWLIBDIR = $(HOME)/pwlib
++endif
++
++PLUGIN_NAME = dc
++PLUGIN_FAMILY = device/videoinput
++PLUGIN_LIBS = -lraw1394 -ldv -ldc1394_control
++PLUGIN_SOURCES = video4dc1394.cxx
++
++CFLAGS = @DC_CFLAGS@
++
++include ../../make/plugins.mak
diff --git a/dev-libs/pwlib/files/pwlib-1.8.4-gcc4.diff b/dev-libs/pwlib/files/pwlib-1.8.4-gcc4.diff
new file mode 100644
index 0000000..e154658
--- /dev/null
+++ b/dev-libs/pwlib/files/pwlib-1.8.4-gcc4.diff
@@ -0,0 +1,46 @@
+diff -Naur pwlib-1.8.4/include/ptlib/pprocess.h pwlib-1.8.4-gcc4/include/ptlib/pprocess.h
+--- pwlib-1.8.4/include/ptlib/pprocess.h 2004-06-30 14:17:04.000000000 +0200
++++ pwlib-1.8.4-gcc4/include/ptlib/pprocess.h 2005-09-06 15:06:16.032949750 +0200
+@@ -249,6 +249,7 @@
+ #include <ptlib/syncpoint.h>
+ #include <ptlib/pfactory.h>
+
++class PHouseKeepingThread;
+
+ /**Create a process.
+ This macro is used to create the components necessary for a user PWLib
+@@ -752,10 +753,10 @@
+
+ PArgList arguments;
+ // The list of arguments
+-
++ public:
+ PTimerList timers;
+ // List of active timers in system
+-
++ private:
+ PTime programStartTime;
+ // time at which process was intantiated, i.e. started
+
+diff -Naur pwlib-1.8.4/include/ptlib/timer.h pwlib-1.8.4-gcc4/include/ptlib/timer.h
+--- pwlib-1.8.4/include/ptlib/timer.h 2003-09-17 11:01:00.000000000 +0200
++++ pwlib-1.8.4-gcc4/include/ptlib/timer.h 2005-09-06 15:06:16.036950000 +0200
+@@ -123,6 +123,7 @@
+ #endif
+
+ class PThread;
++class PTimerList;
+
+ #include <ptlib/notifier.h>
+
+diff -Naur pwlib-1.8.4/include/ptlib/unix/ptlib/pprocess.h pwlib-1.8.4-gcc4/include/ptlib/unix/ptlib/pprocess.h
+--- pwlib-1.8.4/include/ptlib/unix/ptlib/pprocess.h 2004-05-23 23:11:39.000000000 +0200
++++ pwlib-1.8.4-gcc4/include/ptlib/unix/ptlib/pprocess.h 2005-09-06 15:06:16.036950000 +0200
+@@ -171,6 +171,7 @@
+ PDICTIONARY(ThreadDict, POrdinalKey, PThread);
+ ThreadDict activeThreads;
+ PMutex threadMutex;
++ public:
+ int timerChangePipe[2];
+ PHouseKeepingThread * housekeepingThread;
+
diff --git a/dev-libs/pwlib/files/pwlib-1.8.7-gcc-4.1-v4l2.patch b/dev-libs/pwlib/files/pwlib-1.8.7-gcc-4.1-v4l2.patch
new file mode 100644
index 0000000..f544662
--- /dev/null
+++ b/dev-libs/pwlib/files/pwlib-1.8.7-gcc-4.1-v4l2.patch
@@ -0,0 +1,11 @@
+--- plugins/vidinput_v4l2/vidinput_v4l2.cxx.old 2006-06-06 21:34:31.000000000 +0200
++++ plugins/vidinput_v4l2/vidinput_v4l2.cxx 2006-06-06 21:35:17.000000000 +0200
+@@ -74,7 +74,7 @@
+
+ protected:
+
+- virtual PString V4L2Names::BuildUserFriendly(PString devname);
++ virtual PString BuildUserFriendly(PString devname);
+
+ enum KernelVersionEnum {
+ K2_4,
diff --git a/dev-libs/pwlib/files/pwlib-1.8.7-gcc41.patch b/dev-libs/pwlib/files/pwlib-1.8.7-gcc41.patch
new file mode 100644
index 0000000..ad0c1ba
--- /dev/null
+++ b/dev-libs/pwlib/files/pwlib-1.8.7-gcc41.patch
@@ -0,0 +1,38 @@
+diff -ur pwlib-1.8.7-orig/include/ptclib/vxml.h pwlib-1.8.7/include/ptclib/vxml.h
+--- pwlib-1.8.7-orig/include/ptclib/vxml.h 2006-05-01 13:16:53.000000000 -0400
++++ pwlib-1.8.7/include/ptclib/vxml.h 2006-05-01 13:20:30.000000000 -0400
+@@ -366,7 +366,7 @@
+
+ virtual PString GetVar(const PString & str) const;
+ virtual void SetVar(const PString & ostr, const PString & val);
+- virtual PString PVXMLSession::EvaluateExpr(const PString & oexpr);
++ virtual PString EvaluateExpr(const PString & oexpr);
+
+ virtual BOOL RetreiveResource(const PURL & url, PString & contentType, PFilePath & fn, BOOL useCache = TRUE);
+
+diff -ur pwlib-1.8.7-orig/include/ptlib/pstring.h pwlib-1.8.7/include/ptlib/pstring.h
+--- pwlib-1.8.7-orig/include/ptlib/pstring.h 2006-05-01 13:16:53.000000000 -0400
++++ pwlib-1.8.7/include/ptlib/pstring.h 2006-05-01 13:17:25.000000000 -0400
+@@ -3182,5 +3182,10 @@
+ int lastError;
+ };
+
++PString psprintf(
++ const char * cfmt, /// C string for output format.
++ ... /// Extra parameters for #sprintf()# call.
++ );
++
+
+ // End Of File ///////////////////////////////////////////////////////////////
+diff -ur pwlib-1.8.7-orig/src/ptlib/unix/svcproc.cxx pwlib-1.8.7/src/ptlib/unix/svcproc.cxx
+--- pwlib-1.8.7-orig/src/ptlib/unix/svcproc.cxx 2006-05-01 13:16:53.000000000 -0400
++++ pwlib-1.8.7/src/ptlib/unix/svcproc.cxx 2006-05-01 13:26:51.000000000 -0400
+@@ -279,6 +279,8 @@
+ #include <sys/resource.h>
+ #endif
+
++extern void PXSignalHandler(int sig);
++
+ #define new PNEW
+
+
diff --git a/dev-libs/pwlib-cvs/files/pwlib-1.8.7-instplugins.diff b/dev-libs/pwlib/files/pwlib-1.8.7-instplugins.diff
index bd59a4b..bd59a4b 100644
--- a/dev-libs/pwlib-cvs/files/pwlib-1.8.7-instplugins.diff
+++ b/dev-libs/pwlib/files/pwlib-1.8.7-instplugins.diff
diff --git a/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch b/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch
new file mode 100644
index 0000000..bf8f402
--- /dev/null
+++ b/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch
@@ -0,0 +1,48 @@
+--- pwlib-1.9.3/configure.ac.orig 2006-01-31 10:23:43.000000000 +0100
++++ pwlib-1.9.3/configure.ac 2006-02-16 00:42:27.000000000 +0100
+@@ -1476,6 +1476,7 @@
+ AC_ARG_ENABLE(sdl,
+ [ --disable-sdl disable SDL support])
+
++
+ if test "${enable_sdl}z" = "z" ; then
+ enable_sdl=$default_sdl
+ fi
+@@ -1485,6 +1486,9 @@
+ AC_MSG_NOTICE(SDL disabled)
+ AC_DEFINE(P_SDL, 0)
+ else
++ dnl check for sdl-config
++ AC_PATH_PROG([SDL_CONFIG], [sdl-config],, [$PATH:/usr/local/bin])
++
+ dnl SDL checks
+ if test "${SDLLIB:-unset}" = "unset" ; then
+ SDLLIB=SDL
+@@ -1496,7 +1500,13 @@
+ if test "${X11LIBDIR:-unset}" == "unset" ; then
+ X11LIBDIR=/usr/X11R6/lib
+ fi
+- AC_CHECK_LIB(SDL, SDL_CreateYUVOverlay, HAS_SDL=1, HAS_SDL=, -L${X11LIBDIR} -lpthread -lX11 -lXext)
++ if test "x${SDL_CONFIG}" = "x" ; then
++ SDL_LIBS="-L${X11LIBDIR} -lpthread -lX11 -lXext -laa"
++ else
++ SDL_LIBS="`${SDL_CONFIG} --libs`"
++ fi
++
++ AC_CHECK_LIB([SDL], [SDL_CreateYUVOverlay], [HAS_SDL=1], [HAS_SDL=], [$SDL_LIBS])
+ fi
+
+ dnl freeBSD SDL check
+@@ -1516,7 +1526,11 @@
+ if test ${SDLLIBDIR:-unset} != "unset" ; then
+ LDFLAGS="$LDFLAGS -L${SDLLIBDIR}"
+ fi
+- ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}"
++ if test "x${SDL_CONFIG}" = "x" ; then
++ ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}"
++ else
++ ENDLDLIBS="$ENDLDLIBS `${SDL_CONFIG} --libs`"
++ fi
+ fi
+ fi
+ AC_SUBST(HAS_SDL)
diff --git a/dev-libs/pwlib/metadata.xml b/dev-libs/pwlib/metadata.xml
new file mode 100644
index 0000000..9b95cf0
--- /dev/null
+++ b/dev-libs/pwlib/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>voip</herd>
+<herd>gnome</herd>
+<maintainer>
+ <email>stkn@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-libs/pwlib/pwlib-1.10.0.ebuild b/dev-libs/pwlib/pwlib-1.10.0.ebuild
new file mode 100644
index 0000000..abd0e5c
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.10.0.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.0.ebuild,v 1.1 2006/03/20 23:27:37 genstef Exp $
+
+inherit eutils flag-o-matic multilib
+
+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 ~ppc ~sparc ~x86"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ ieee1394? ( media-libs/libdv
+ sys-libs/libavc1394
+ sys-libs/libraw1394
+ <media-libs/libdc1394-1.9.99
+ !>=media-libs/libdc1394-2.0.0_pre1 )
+ ldap? ( net-nds/openldap )
+ 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
+
+# # fix "command not found" error during configure run
+# epatch ${FILESDIR}/pwlib-1.9.2-ldap-configure.patch
+
+ # use sdl-config to query required libraries
+ epatch ${FILESDIR}/pwlib-1.9.3-sdl-configure.patch
+
+ autoconf || die "autoconf failed"
+}
+
+src_compile() {
+ # may cause ICE (bug #70638)
+ filter-flags -fstack-protector
+
+ econf \
+ --enable-plugins \
+ $(use_enable v4l2) \
+ $(use_enable v4l) \
+ $(use_enable ieee1394 dc) \
+ $(use_enable ieee1394 avc) \
+ $(use_enable oss) \
+ $(use_enable alsa) \
+ $(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) \
+ || 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 mpl-1.0.htm
+}
diff --git a/dev-libs/pwlib/pwlib-1.10.1.ebuild b/dev-libs/pwlib/pwlib-1.10.1.ebuild
new file mode 100644
index 0000000..6928c6b
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.10.1.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.1.ebuild,v 1.2 2006/06/06 18:50:13 genstef Exp $
+
+inherit eutils flag-o-matic multilib
+
+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 ~ppc ~sparc ~x86"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ ieee1394? ( media-libs/libdv
+ sys-libs/libavc1394
+ sys-libs/libraw1394
+ <media-libs/libdc1394-1.9.99
+ !>=media-libs/libdc1394-2.0.0_pre1 )
+ ldap? ( net-nds/openldap )
+ 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
+
+# # fix "command not found" error during configure run
+# epatch ${FILESDIR}/pwlib-1.9.2-ldap-configure.patch
+
+ # use sdl-config to query required libraries
+ epatch ${FILESDIR}/pwlib-1.9.3-sdl-configure.patch
+
+ autoconf || die "autoconf failed"
+}
+
+src_compile() {
+ 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 mpl-1.0.htm
+}
diff --git a/dev-libs/pwlib/pwlib-1.11.0.ebuild b/dev-libs/pwlib/pwlib-1.11.0.ebuild
new file mode 100644
index 0000000..df38ccb
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.11.0.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.1.ebuild,v 1.2 2006/06/06 18:50:13 genstef Exp $
+
+inherit eutils flag-o-matic multilib autotools
+
+IUSE="alsa debug ieee1394 ipv6 ldap oss sasl sdl ssl v4l v4l2 xml"
+
+MY_P="${PN}-v${PV//./_}"
+DESCRIPTION="Portable Multiplatform Class Libraries used by several VoIP applications"
+HOMEPAGE="http://www.ekiga.org"
+SRC_URI="mirror://sourceforge/openh323/${MY_P}-src-tar.gz"
+#SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ ieee1394? ( media-libs/libdv
+ sys-libs/libavc1394
+ sys-libs/libraw1394
+ <media-libs/libdc1394-1.9.99
+ !>=media-libs/libdc1394-2.0.0_pre1 )
+ ldap? ( net-nds/openldap )
+ 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"
+S=${WORKDIR}/${MY_P/-/_}
+
+src_unpack() {
+ # currently complaining to upstream about new naming scheme
+ tar -C ${WORKDIR} -xzf ${DISTDIR}/${MY_P}-src-tar.gz || die "Unpacking of ${PF} failed"
+
+ 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
+
+# # fix "command not found" error during configure run
+# epatch ${FILESDIR}/pwlib-1.9.2-ldap-configure.patch
+
+ # use sdl-config to query required libraries
+ epatch ${FILESDIR}/pwlib-1.11.0-sdl-configure.patch
+
+ # eautoheader fails, thus we only select some of eautoreconfig
+ eaclocal
+ eautoconf
+}
+
+src_compile() {
+ 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 mpl-1.0.htm
+}
diff --git a/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild b/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild
new file mode 100644
index 0000000..008bfb3
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild,v 1.6 2005/01/08 20:12:42 stkn Exp $
+
+inherit eutils
+
+DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
+HOMEPAGE="http://www.openh323.org/"
+SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc -sparc"
+IUSE="ldap sdl ssl"
+
+DEPEND=">=sys-devel/bison-1.28
+ >=sys-devel/flex-2.5.4a
+ dev-libs/expat
+ >=sys-apps/sed-4
+ ldap? ( net-nds/openldap )
+ sdl? ( media-libs/libsdl )
+ ssl? ( dev-libs/openssl )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/make
+
+ # filter out -O3 and -mcpu embedded compiler flags
+ sed -i \
+ -e "s:-mcpu=\$(CPUTYPE)::" \
+ -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
+ unix.mak
+ cd ${S}
+ epatch ${FILESDIR}/pwlib-1.5.0-r1-gentoo.diff || die "patch failed"
+}
+
+src_compile() {
+ if use ssl ; then
+ export OPENSSLFLAG=1
+ export OPENSSLDIR=/usr
+ export OPENSSLLIBS="-lssl -lcrypt"
+ fi
+
+ econf || 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
+ sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${S}/make/ptbuildopts.mak
+ sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${S}/make/ptlib-config
+
+ make opt || die "make failed"
+}
+
+src_install() {
+ # make these because the makefile isn't smart enough
+ dodir /usr/bin /usr/lib /usr/share /usr/include
+ make PREFIX=${D}/usr install || die "install failed"
+
+ # these are for compiling openh323
+ # NOTE: symlinks don't work when upgrading
+ # FIXME: probably should fix this with ptlib-config
+ dodir /usr/share/pwlib/include
+ cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
+
+ dodir /usr/share/pwlib/lib
+ for x in ${D}/usr/lib/*; do
+ dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
+ done
+
+ # remove CVS dirs
+ find ${D} -name CVS -type d | xargs rm -rf
+
+ # fix symlink
+ rm ${D}/usr/lib/libpt.so
+ if [ ${ARCH} = "ppc" ] ; then
+ dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so
+ else
+ dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so
+ fi
+
+ # strip ${S} stuff
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
+
+ dodoc ReadMe.txt History.txt
+}
diff --git a/dev-libs/pwlib/pwlib-1.5.0.ebuild b/dev-libs/pwlib/pwlib-1.5.0.ebuild
new file mode 100644
index 0000000..911d187
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.5.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.0.ebuild,v 1.14 2005/01/08 20:12:42 stkn Exp $
+
+DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
+HOMEPAGE="http://www.openh323.org/"
+SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="x86 ppc -sparc"
+IUSE="ldap sdl ssl"
+
+DEPEND=">=sys-devel/bison-1.28
+ >=sys-devel/flex-2.5.4a
+ dev-libs/expat
+ >=sys-apps/sed-4
+ ldap? ( net-nds/openldap )
+ sdl? ( media-libs/libsdl )
+ ssl? ( dev-libs/openssl )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/make
+
+ # filter out -O3 and -mcpu embedded compiler flags
+ sed -i \
+ -e "s:-mcpu=\$(CPUTYPE)::" \
+ -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
+ unix.mak
+}
+
+src_compile() {
+ if use ssl; then
+ export OPENSSLFLAG=1
+ export OPENSSLDIR=/usr
+ export OPENSSLLIBS="-lssl -lcrypt"
+ fi
+
+ econf || 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
+ sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${S}/make/ptbuildopts.mak
+ sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${S}/make/ptlib-config
+
+ make opt || die "make failed"
+}
+
+src_install() {
+ # make these because the makefile isn't smart enough
+ dodir /usr/bin /usr/lib /usr/share /usr/include
+ make PREFIX=${D}/usr install || die "install failed"
+
+ # these are for compiling openh323
+ # NOTE: symlinks don't work when upgrading
+ # FIXME: probably should fix this with ptlib-config
+ dodir /usr/share/pwlib/include
+ cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
+
+ dodir /usr/share/pwlib/lib
+ for x in ${D}/usr/lib/*; do
+ dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
+ done
+
+ # remove CVS dirs
+ find ${D} -name CVS -type d | xargs rm -rf
+
+ # fix symlink
+ rm ${D}/usr/lib/libpt.so
+ if [ ${ARCH} = "ppc" ] ; then
+ dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so
+ else
+ dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so
+ fi
+
+ # strip ${S} stuff
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
+
+ dodoc ReadMe.txt History.txt
+}
diff --git a/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild b/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild
new file mode 100644
index 0000000..d4addd9
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild,v 1.9 2005/01/08 20:12:42 stkn Exp $
+
+inherit eutils
+
+DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
+HOMEPAGE="http://www.openh323.org/"
+SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="x86 ppc sparc alpha amd64"
+IUSE="ssl sdl ldap"
+
+DEPEND=">=sys-devel/bison-1.28
+ >=sys-devel/flex-2.5.4a
+ dev-libs/expat
+ >=sys-apps/sed-4
+ ldap? ( net-nds/openldap )
+ sdl? ( media-libs/libsdl )
+ ssl? ( dev-libs/openssl )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # fix #45846 / CAN-2004-0097
+ epatch ${FILESDIR}/${P}-asnparser-secfix.diff
+
+ cd ${S}/make
+
+ # filter out -O3 and -mcpu embedded compiler flags
+ sed -i \
+ -e "s:-mcpu=\$(CPUTYPE)::" \
+ -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
+ unix.mak
+}
+
+src_compile() {
+ if use ssl ; then
+ export OPENSSLFLAG=1
+ export OPENSSLDIR="/usr"
+ export OPENSSLLIBS="-lssl -lcrypt"
+ fi
+
+ econf || 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() {
+ # make these because the makefile isn't smart enough
+ dodir /usr/bin /usr/lib /usr/share /usr/include
+ make PREFIX=${D}/usr install || die "install failed"
+
+ # these are for compiling openh323
+ # NOTE: symlinks don't work when upgrading
+ # FIXME: probably should fix this with ptlib-config
+ dodir /usr/share/pwlib/include
+ cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
+
+ dodir /usr/share/pwlib/lib
+ for x in ${D}/usr/lib/*; do
+ dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
+ done
+
+ # remove CVS dirs
+ find ${D} -name CVS -type d | xargs rm -rf
+
+ # fix symlink
+ # only amd64 needs special care, afaiks
+ rm ${D}/usr/lib/libpt.so
+ if [ ${ARCH} = "amd64" ] ; then
+ dosym /usr/lib/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so
+ else
+ dosym /usr/lib/libpt_linux_${ARCH}_r.so.${PV} /usr/lib/libpt.so
+ fi
+
+ # strip ${S} stuff
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
+
+ # dodgy configure/makefiles forget to expand this
+ dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
+
+ # satisfy ptlib.mak's weird definition (should check if true for future versions)
+ cp ${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 History.txt
+}
diff --git a/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild b/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild
new file mode 100644
index 0000000..f0724d8
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild,v 1.3 2005/09/02 22:47:08 stkn Exp $
+
+inherit eutils multilib
+
+IUSE="ssl sdl ieee1394 alsa esd"
+
+DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
+HOMEPAGE="http://www.openh323.org/"
+SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="x86 sparc amd64 ppc alpha"
+
+DEPEND=">=sys-devel/bison-1.28
+ >=sys-devel/flex-2.5.4a
+ dev-libs/expat
+ >=sys-apps/sed-4
+ net-nds/openldap
+ sdl? ( media-libs/libsdl )
+ ssl? ( dev-libs/openssl )
+ alsa? ( media-libs/alsa-lib )
+ ieee1394? ( media-libs/libdv
+ sys-libs/libavc1394
+ sys-libs/libraw1394 )
+ esd? ( media-sound/esound )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/make
+
+ # filter out -O3 and -mcpu embedded compiler flags
+ sed -i \
+ -e "s:-mcpu=\$(CPUTYPE)::" \
+ -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
+ unix.mak
+
+ # newer esound package doesn't install libesd.a anymore,
+ # use dynamic library instead (fixes #100432)
+ epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch
+}
+
+src_compile() {
+ local plugins
+ local myconf
+
+ if use ssl; then
+ export OPENSSLFLAG=1
+ export OPENSSLDIR="/usr"
+ export OPENSSLLIBS="-lssl -lcrypt"
+ fi
+
+ ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support
+ ## (even if itself is built without...)
+ #use ipv6 \
+ # && myconf="${myconf} --enable-ipv6" \
+ # || myconf="${myconf} --disable-ipv6"
+ myconf="${myconf} --enable-ipv6"
+
+ # plugins, oss and v4l are default
+ plugins="oss v4l"
+
+ use ieee1394 \
+ && plugins="${plugins} avc"
+
+ use alsa \
+ && plugins="${plugins} alsa"
+
+ if use esd; then
+ # fixes bug #45059
+ export ESDDIR=/usr
+ fi
+
+ # merge plugin options (safe way if default = "")
+ plugins="`echo ${plugins} | sed -e "y: :,:"`"
+
+ econf ${myconf} \
+ --enable-plugins \
+ --with-plugins=${plugins} || 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
+
+ # remove -fno-rtti, this breaks various things *grr*
+ sed -i -e "s:-fno-rtti::" \
+ make/ptbuildopts.mak
+ sed -i -e "s:-fno-rtti::" \
+ make/ptlib-config
+
+ emake -j1 opt || die "make failed"
+ emake -j1 PWLIBDIR=${S} -C plugins opt || die "make plugins failed"
+}
+
+src_install() {
+ # make these because the makefile isn't smart enough
+ dodir /usr/bin /usr/$(get_libdir) /usr/share /usr/include
+ make PREFIX=/usr DESTDIR=${D} install || die "install failed"
+
+ # these are for compiling openh323
+ # NOTE: symlinks don't work when upgrading
+ # FIXME: probably should fix this with ptlib-config
+ dodir /usr/share/pwlib/include
+ cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
+
+ dodir /usr/share/pwlib/$(get_libdir)
+ for x in ${D}/usr/$(get_libdir)/*; do
+ dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}`
+ done
+
+ # just in case...
+ if [[ "$(get_libdir)" = "lib64" ]]; then
+ dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib
+ fi
+
+ # remove CVS dirs
+ find ${D} -name CVS -type d | xargs rm -rf
+
+ # fix symlink
+ # only amd64 needs special handling, afaics
+ rm ${D}/usr/$(get_libdir)/libpt.so
+ if [ ${ARCH} = "amd64" ] ; then
+ dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so
+ else
+ dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so
+ fi
+
+ # strip ${S} stuff
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
+
+ # dodgy configure/makefiles forget to expand this
+ dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
+
+ # satisfy ptlib.mak's weird definition (should check if true for future versions)
+ cp ${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 History.txt
+}
diff --git a/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild b/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild
new file mode 100644
index 0000000..913c1a9
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild,v 1.4 2005/08/26 16:01:13 seemant Exp $
+
+inherit eutils flag-o-matic multilib
+
+IUSE="ssl sdl ieee1394 alsa esd"
+
+MY_P="${PN}-v${PV//./_}"
+DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
+HOMEPAGE="http://www.openh323.org/"
+SRC_URI="mirror://sourceforge/openh323/${MY_P}-src.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~x86 ppc ~amd64 ~sparc ~alpha"
+
+DEPEND=">=sys-devel/bison-1.28
+ >=sys-devel/flex-2.5.4a
+ dev-libs/expat
+ >=sys-apps/sed-4
+ net-nds/openldap
+ sdl? ( media-libs/libsdl )
+ ssl? ( dev-libs/openssl )
+ alsa? ( media-libs/alsa-lib )
+ ieee1394? ( media-libs/libdv
+ sys-libs/libavc1394
+ sys-libs/libraw1394
+ media-libs/libdc1394 )
+ esd? ( media-sound/esound )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/make
+
+ # filter out -O3 and -mcpu embedded compiler flags
+ sed -i \
+ -e "s:-mcpu=\$(CPUTYPE)::" \
+ -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
+ unix.mak
+
+ # small fix for firewire dc (camera) plugin
+ cd ${S}
+ epatch ${FILESDIR}/${P}-ieee1394dc-fix.diff
+
+ # dmix patch for alsa support (#68553)
+ epatch ${FILESDIR}/${P}-alsa_dmix.diff
+
+ # newer esound package doesn't install libesd.a anymore,
+ # use dynamic library instead (fixes #100432)
+ epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch
+}
+
+src_compile() {
+ local plugins
+ local myconf
+
+ # may cause ICE (bug #70638)
+ filter-flags -fstack-protector
+
+ if use ssl; then
+ export OPENSSLFLAG=1
+ export OPENSSLDIR="/usr"
+ export OPENSSLLIBS="-lssl -lcrypt"
+ fi
+
+ ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support
+ ## (even if itself is built without...)
+ #use ipv6 \
+ # && myconf="${myconf} --enable-ipv6" \
+ # || myconf="${myconf} --disable-ipv6"
+ myconf="${myconf} --enable-ipv6"
+
+ # plugins, oss and v4l are default
+ plugins="oss v4l"
+
+ use ieee1394 \
+ && plugins="${plugins} avc dc"
+
+ use alsa \
+ && plugins="${plugins} alsa"
+
+ if use esd; then
+ # fixes bug #45059
+ export ESDDIR=/usr
+ fi
+
+ # merge plugin options (safe way if default = "")
+ plugins="`echo ${plugins} | sed -e "y: :,:"`"
+
+ econf ${myconf} \
+ --enable-plugins \
+ --with-plugins=${plugins} || 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
+
+ # remove -fno-rtti, this breaks various things *grr*
+ sed -i -e "s:-fno-rtti::" \
+ make/ptbuildopts.mak
+ sed -i -e "s:-fno-rtti::" \
+ make/ptlib-config
+
+ emake -j1 opt || die "make failed"
+ emake -j1 PWLIBDIR=${S} -C plugins opt || die "make plugins failed"
+}
+
+src_install() {
+ # make these because the makefile isn't smart enough
+ dodir /usr/bin /usr/$(get_libdir) /usr/share /usr/include
+ make PREFIX=/usr DESTDIR=${D} install || die "install failed"
+
+ # these are for compiling openh323
+ # NOTE: symlinks don't work when upgrading
+ # FIXME: probably should fix this with ptlib-config
+ dodir /usr/share/pwlib/include
+ cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
+
+ dodir /usr/share/pwlib/$(get_libdir)
+ for x in ${D}/usr/$(get_libdir)/*; do
+ dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}`
+ done
+
+ # just in case...
+ if [[ "$(get_libdir)" = "lib64" ]]; then
+ dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib
+ fi
+
+ # fix symlink
+ # only amd64 needs special handling, afaics
+ rm ${D}/usr/$(get_libdir)/libpt.so
+ if use amd64; then
+ dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so
+ else
+ dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so
+ fi
+
+ # strip ${S} stuff
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
+
+ # dodgy configure/makefiles forget to expand this
+ dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
+
+ # satisfy ptlib.mak's weird definition (should check if true for future versions)
+ cp ${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 History.txt
+}
diff --git a/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild b/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild
new file mode 100644
index 0000000..d4e0372
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild,v 1.6 2005/08/26 16:01:13 seemant Exp $
+
+inherit eutils flag-o-matic multilib
+
+IUSE="ssl sdl ieee1394 alsa esd v4l2"
+
+MY_P="${PN}-v${PV//./_}"
+DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
+HOMEPAGE="http://www.openh323.org/"
+SRC_URI="mirror://sourceforge/openh323/${MY_P}-src-tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~alpha ppc amd64"
+
+DEPEND=">=sys-devel/bison-1.28
+ >=sys-devel/flex-2.5.4a
+ dev-libs/expat
+ >=sys-apps/sed-4
+ net-nds/openldap
+ sdl? ( media-libs/libsdl )
+ ssl? ( dev-libs/openssl )
+ alsa? ( media-libs/alsa-lib )
+ ieee1394? ( media-libs/libdv
+ sys-libs/libavc1394
+ sys-libs/libraw1394
+ media-libs/libdc1394 )
+ esd? ( media-sound/esound )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ # currently complaining to upstream about new naming scheme
+ tar -C ${WORKDIR} -xzf ${DISTDIR}/${MY_P}-src-tar.gz || die "Unpacking of ${PF} failed"
+
+ cd ${S}/make
+
+ # filter out -O3 and -mcpu embedded compiler flags
+ sed -i \
+ -e "s:-mcpu=\$(CPUTYPE)::" \
+ -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
+ unix.mak
+
+ # newer esound package doesn't install libesd.a anymore,
+ # use dynamic library instead (fixes #100432)
+ epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch
+}
+
+src_compile() {
+ local plugins
+ local myconf
+
+ # may cause ICE (bug #70638)
+ filter-flags -fstack-protector
+
+ if use ssl; then
+ export OPENSSLFLAG=1
+ export OPENSSLDIR="/usr"
+ export OPENSSLLIBS="-lssl -lcrypt"
+ fi
+
+ ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support
+ ## (even if itself is built without...)
+ #use ipv6 \
+ # && myconf="${myconf} --enable-ipv6" \
+ # || myconf="${myconf} --disable-ipv6"
+ myconf="${myconf} --enable-ipv6"
+
+ # plugins, oss and v4l are default
+ plugins="oss v4l"
+
+ use ieee1394 \
+ && plugins="${plugins} avc dc"
+
+ use alsa \
+ && plugins="${plugins} alsa"
+
+ if use v4l2; then
+ myconf="${myconf} --enable-v4l2"
+ plugins="${plugins} v4l2"
+ fi
+
+ if use esd; then
+ # fixes bug #45059
+ export ESDDIR=/usr
+
+ # ESD includes are in /usr/include?
+ # remove include path, bad things may happen if we leave it in there
+ sed -i -e "s:-I\$(ESDDIR)/include::" \
+ ${S}/make/unix.mak
+ fi
+
+ # merge plugin options (safe way if default = "")
+ plugins="$(echo ${plugins} | sed -e "y: :,:")"
+
+ econf ${myconf} \
+ --enable-plugins \
+ --with-plugins=${plugins} || 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() {
+ # makefile doesn't create ${D}/usr/bin
+ dodir /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...
+
+ # these are for compiling openh323
+ # NOTE: symlinks don't work when upgrading
+ # FIXME: probably should fix this with ptlib-config
+ dodir /usr/share/pwlib/include
+ cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
+
+ dodir /usr/share/pwlib/$(get_libdir)
+ for x in ${D}/usr/$(get_libdir)/*; do
+ dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}`
+ done
+
+ # just in case...
+ if [[ "$(get_libdir)" = "lib64" ]]; then
+ dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib
+ fi
+
+ ## ^^ bad stuff
+
+ # fix symlink
+ # only amd64 needs special handling, afaics
+ rm ${D}/usr/$(get_libdir)/libpt.so
+ if use amd64; then
+ dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so
+ else
+ dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so
+ fi
+
+ # strip ${S} stuff
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
+
+ # dodgy configure/makefiles forget to expand this
+ dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
+
+ # copy version.h
+ insinto /usr/share/pwlib
+ doins version.h
+
+ dodoc ReadMe.txt ReadMe_QOS.txt History.txt ChangeLog mpl-1.0.htm
+}
diff --git a/dev-libs/pwlib/pwlib-1.8.4.ebuild b/dev-libs/pwlib/pwlib-1.8.4.ebuild
new file mode 100644
index 0000000..8fdd852
--- /dev/null
+++ b/dev-libs/pwlib/pwlib-1.8.4.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.4.ebuild,v 1.9 2005/09/12 15:49:52 agriffis Exp $
+
+inherit eutils flag-o-matic multilib
+
+IUSE="ssl sdl ieee1394 alsa esd v4l2"
+
+DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
+HOMEPAGE="http://www.openh323.org/"
+SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="alpha ~amd64 ppc ~sparc ~x86"
+
+DEPEND=">=sys-devel/bison-1.28
+ >=sys-devel/flex-2.5.4a
+ dev-libs/expat
+ >=sys-apps/sed-4
+ net-nds/openldap
+ sdl? ( media-libs/libsdl )
+ ssl? ( dev-libs/openssl )
+ alsa? ( media-libs/alsa-lib )
+ ieee1394? ( media-libs/libdv
+ sys-libs/libavc1394
+ sys-libs/libraw1394
+ <media-libs/libdc1394-1.9.9
+ !>=media-libs/libdc1394-2.0.0_pre0 )
+ esd? ( media-sound/esound )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ # filter out -O3 and -mcpu embedded compiler flags
+ sed -i \
+ -e "s:-mcpu=\$(CPUTYPE)::" \
+ -e "s:-O3 -DNDEBUG:-DNDEBUG:" \
+ make/unix.mak
+
+ # newer esound package doesn't install libesd.a anymore,
+ # use dynamic library instead (fixes #100432)
+ epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch
+
+ # gcc-4 patch
+ epatch ${FILESDIR}/pwlib-1.8.4-gcc4.diff
+}
+
+src_compile() {
+ local myconf
+
+ # may cause ICE (bug #70638)
+ filter-flags -fstack-protector
+
+ if use ssl; then
+ export OPENSSLFLAG=1
+ export OPENSSLDIR="/usr"
+ export OPENSSLLIBS="-lssl -lcrypt"
+ fi
+
+ ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support
+ ## (even if itself is built without...)
+ #use ipv6 \
+ # && myconf="${myconf} --enable-ipv6" \
+ # || myconf="${myconf} --disable-ipv6"
+
+ # enable default plugins and force ipv6 support
+ myconf="--enable-ipv6 --enable-oss --enable-v4l"
+
+ use ieee1394 \
+ && myconf="${myconf} --enable-avc --enable-dc" \
+ || myconf="${myconf} --disable-avc --disable-dc"
+
+ # --disable-alsa breaks configure
+ use alsa \
+ && myconf="${myconf} --enable-alsa"
+
+ if use esd; then
+ # fixes bug #45059
+ export ESDDIR=/usr
+
+ # ESD includes are in /usr/include?
+ # remove include path, bad things may happen if we leave it in there
+ sed -i -e "s:-I\$(ESDDIR)/include::" \
+ ${S}/make/unix.mak
+ fi
+
+ econf \
+ --enable-plugins \
+ $(use_enable v4l2) \
+ $(use_enable sdl) \
+ ${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() {
+ # makefile doesn't create ${D}/usr/bin
+ dodir /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...
+
+ # these are for compiling openh323
+ # NOTE: symlinks don't work when upgrading
+ # FIXME: probably should fix this with ptlib-config
+ dodir /usr/share/pwlib/include
+ cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include
+
+ dodir /usr/share/pwlib/$(get_libdir)
+ for x in ${D}/usr/$(get_libdir)/*; do
+ dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}`
+ done
+
+ # just in case...
+ if [[ "$(get_libdir)" = "lib64" ]]; then
+ dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib
+ fi
+
+ ## ^^ bad stuff
+
+ # fix symlink
+ # only amd64 needs special handling, afaics
+ rm ${D}/usr/$(get_libdir)/libpt.so
+ if use amd64; then
+ dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so
+ else
+ dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so
+ fi
+
+ # strip ${S} stuff
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config
+ dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak
+
+ # dodgy configure/makefiles forget to expand this
+ dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config
+
+ # copy version.h
+ insinto /usr/share/pwlib
+ doins version.h
+
+ dodoc ReadMe.txt ReadMe_QOS.txt History.txt mpl-1.0.htm
+}
diff --git a/dev-libs/pwlib-cvs/pwlib-cvs-20051125.ebuild b/dev-libs/pwlib/pwlib-1.8.7.ebuild
index 698e50c..3fe2db8 100644
--- a/dev-libs/pwlib-cvs/pwlib-cvs-20051125.ebuild
+++ b/dev-libs/pwlib/pwlib-1.8.7.ebuild
@@ -1,45 +1,41 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.4.ebuild,v 1.2 2005/07/10 01:11:05 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.7.ebuild,v 1.3 2006/07/05 00:50:55 nerdboy Exp $
inherit eutils flag-o-matic multilib
-IUSE="alsa esd ieee1394 ipv6 oss sdl ssl v4l2"
+IUSE="alsa esd ieee1394 oss sdl ssl v4l2"
DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323"
-HOMEPAGE="http://www.voxgratia.org/"
-SRC_URI="http://snapshots.seconix.com/cvs/archive/pwlib-cvs_${PV}-01.tar.gz"
+HOMEPAGE="http://www.openh323.org/"
+SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
RDEPEND="
- !dev-libs/pwlib
dev-libs/expat
net-nds/openldap
+ esd? ( media-sound/esound )
sdl? ( media-libs/libsdl )
ssl? ( dev-libs/openssl )
alsa? ( media-libs/alsa-lib )
ieee1394? ( media-libs/libdv
sys-libs/libavc1394
sys-libs/libraw1394
- <media-libs/libdc1394-1.9.99
- !>=media-libs/libdc1394-2.0.0_pre1 )
- esd? ( media-sound/esound )"
+ <media-libs/libdc1394-1.9.9
+ !>=media-libs/libdc1394-2.0.0_pre0 )"
-DEPEND="${RDEPEND}
+DEPEND="${REDEPEND}
>=sys-devel/bison-1.28
>=sys-devel/flex-2.5.4a
>=sys-apps/sed-4"
-S="${WORKDIR}/pwlib"
-
src_unpack() {
- tar -xzf ${DISTDIR}/${A} -C ${WORKDIR} || die "Unpacking failed"
+ unpack ${A}
cd ${S}
-
# filter out -O3 and -mcpu embedded compiler flags
sed -i \
-e "s:-mcpu=\$(CPUTYPE)::" \
@@ -52,10 +48,16 @@ src_unpack() {
# don't break make install if there are no plugins to install
epatch ${FILESDIR}/pwlib-1.8.7-instplugins.diff
+
+ # gcc-4 patch
+ epatch ${FILESDIR}/pwlib-1.8.4-gcc4.diff
+ epatch "${FILESDIR}"/${P}-gcc41.patch
+ epatch ${FILESDIR}/${P}-gcc-4.1-v4l2.patch
+
}
src_compile() {
- local myconf=""
+ local myconf
# may cause ICE (bug #70638)
filter-flags -fstack-protector
@@ -71,7 +73,16 @@ src_compile() {
#use ipv6 \
# && myconf="${myconf} --enable-ipv6" \
# || myconf="${myconf} --disable-ipv6"
-# myconf="--enable-ipv6"
+
+ # enable default plugins and force ipv6
+ myconf="--enable-ipv6 --enable-v4l"
+
+ use ieee1394 \
+ && myconf="${myconf} --enable-avc --enable-dc" \
+ || myconf="${myconf} --disable-avc --disable-dc"
+
+ use alsa \
+ && myconf="${myconf} --enable-alsa"
if use esd; then
# fixes bug #45059
@@ -86,11 +97,8 @@ src_compile() {
econf \
--enable-plugins \
$(use_enable v4l2) \
- $(use_enable ieee1394 dc) \
- $(use_enable ieee1394 avc) \
+ $(use_enable sdl) \
$(use_enable oss) \
- $(use_enable alsa) \
- $(use_enable ipv6) \
${myconf} || die "configure failed"
# Horrible hack to strip out -L/usr/lib to allow upgrades
@@ -108,18 +116,6 @@ src_compile() {
emake -j1 opt || die "make failed"
}
-#pkg_preinst() {
-# # remove {lib,include} directories in /usr/share/pwlib
-# # they are getting replaced by symlinks in src_install
-#
-# if [[ -d ${ROOT}usr/share/pwlib/include ]]; then
-# rm -rf ${ROOT}usr/share/pwlib/include
-# fi
-# if [[ -d ${ROOT}usr/share/pwlib/$(get_libdir) ]]; then
-# rm -rf ${ROOT}usr/share/pwlib/$(get_libdir)
-# fi
-#}
-
src_install() {
local libdir libname
@@ -129,27 +125,10 @@ src_install() {
dodir /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)
-
-# 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
rm ${D}/usr/${libdir}/libpt.so
- libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.*.*.*`)
+
+ libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}`)
dosym /usr/${libdir}/${libname} /usr/${libdir}/libpt.so
# strip ${S} stuff