summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-01-10 13:34:45 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-01-10 13:34:45 +0000
commite9724297bf6bdb78d7df3ce731d658ed318e6ea0 (patch)
treeafec0ab2d14b047dead44b05961ef1f7af2a4e0b /media-libs
parentVersion bumped. (diff)
downloadgentoo-2-e9724297bf6bdb78d7df3ce731d658ed318e6ea0.tar.gz
gentoo-2-e9724297bf6bdb78d7df3ce731d658ed318e6ea0.tar.bz2
gentoo-2-e9724297bf6bdb78d7df3ce731d658ed318e6ea0.zip
Version bumped.
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/alsa-lib/ChangeLog8
-rw-r--r--media-libs/alsa-lib/Manifest6
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.0.1.ebuild66
-rw-r--r--media-libs/alsa-lib/files/alsa-lib-1.0.1-notextrel-notrampoline.patch54
-rw-r--r--media-libs/alsa-lib/files/digest-alsa-lib-1.0.0_rc21
-rw-r--r--media-libs/alsa-lib/files/digest-alsa-lib-1.0.11
-rw-r--r--media-libs/alsa-oss/ChangeLog7
-rw-r--r--media-libs/alsa-oss/Manifest6
-rw-r--r--media-libs/alsa-oss/alsa-oss-1.0.1.ebuild (renamed from media-libs/alsa-oss/alsa-oss-1.0.0_rc1.ebuild)12
-rw-r--r--media-libs/alsa-oss/files/digest-alsa-oss-1.0.0_rc11
-rw-r--r--media-libs/alsa-oss/files/digest-alsa-oss-1.0.11
11 files changed, 146 insertions, 17 deletions
diff --git a/media-libs/alsa-lib/ChangeLog b/media-libs/alsa-lib/ChangeLog
index 314224eea065..ad12cc510f98 100644
--- a/media-libs/alsa-lib/ChangeLog
+++ b/media-libs/alsa-lib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/alsa-lib
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.46 2004/01/09 17:59:47 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/ChangeLog,v 1.47 2004/01/10 13:29:56 mholzer Exp $
+
+*alsa-lib-1.0.1 (10 Jan 2004)
+
+ 10 Jan 2004; Martin Holzer <mholzer@gentoo.org> alsa-lib-1.0.1.ebuild,
+ files/alsa-lib-1.0.1-notextrel-notrampoline.patch:
+ Version bumped.
*alsa-lib-1.0.0_rc2-r1 (09 Jan 2004)
diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest
index 8c200336c949..c6bdebbcd962 100644
--- a/media-libs/alsa-lib/Manifest
+++ b/media-libs/alsa-lib/Manifest
@@ -1,11 +1,11 @@
-MD5 bd21bc7bcd5f98e1848d84ef82871b26 ChangeLog 6930
+MD5 c72cfd033b108d3d6f464bdcec7b6639 ChangeLog 7108
MD5 88e7d7a1bdef247fc6b175e8ee840dd8 alsa-lib-0.5.10b.ebuild 698
MD5 477c697a35479bcb208db06f896e46cb alsa-lib-0.9.0_rc2.ebuild 1146
MD5 625080376529cda42906a9c004d154bd alsa-lib-0.9.2.ebuild 1119
MD5 e024e9ec933cfceabcc144e8f7272d6f alsa-lib-0.9.6.ebuild 1104
MD5 aa121973afeb12465c8ca0e5771985f6 alsa-lib-0.9.7.ebuild 1104
MD5 ce92e2a792b7517424008d9b33f2baab alsa-lib-0.9.8.ebuild 1580
-MD5 81de5d6acaaabfba855da4ff2bedacd0 alsa-lib-1.0.1.ebuild 1806
+MD5 b48d120f602c4654d0a63ced4419920c alsa-lib-1.0.1.ebuild 1800
MD5 e1147a642867b3b3ea43518a1376f6d2 metadata.xml 250
MD5 81de5d6acaaabfba855da4ff2bedacd0 alsa-lib-1.0.0_rc2-r1.ebuild 1806
MD5 190a6c4ffe2eef20e3095ab70ea34941 files/configure.diff 586
@@ -16,6 +16,6 @@ MD5 541c733628b71b1ec777ef9d269b9cbd files/digest-alsa-lib-0.9.6 67
MD5 04bdf525aa1c87419889572249192ff3 files/digest-alsa-lib-0.9.7 67
MD5 8a3190d9f23acedd006359afb79f60bc files/digest-alsa-lib-0.9.8 67
MD5 d85563e2d37f36cd69695715c46faee3 files/digest-alsa-lib-1.0.0_rc2-r1 70
-MD5 d85563e2d37f36cd69695715c46faee3 files/digest-alsa-lib-1.0.0_rc2 70
MD5 b1d7f756d25d6a0b7270610b8730259d files/alsa-lib-1.0.0_rc2-notextrel-notrampoline.patch 1788
MD5 62c198849d6ef20d1add476b1d3eeb2a files/digest-alsa-lib-1.0.1 67
+MD5 b1d7f756d25d6a0b7270610b8730259d files/alsa-lib-1.0.1-notextrel-notrampoline.patch 1788
diff --git a/media-libs/alsa-lib/alsa-lib-1.0.1.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.1.ebuild
new file mode 100644
index 000000000000..614ac324036d
--- /dev/null
+++ b/media-libs/alsa-lib/alsa-lib-1.0.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.1.ebuild,v 1.1 2004/01/10 13:29:56 mholzer Exp $
+
+inherit libtool
+
+DESCRIPTION="Advanced Linux Sound Architecture Library"
+HOMEPAGE="http://www.alsa-project.org/"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~amd64 -sparc"
+LICENSE="GPL-2 LGPL-2.1"
+
+IUSE="jack"
+
+DEPEND="virtual/glibc
+ >=sys-devel/automake-1.7.2
+ >=sys-devel/autoconf-2.57-r1
+ !ppc? ( jack? ( virtual/jack ) )"
+
+MY_P=${P/_rc/rc}
+#SRC_URI="ftp://ftp.alsa-project.org/pub/lib/${MY_P}.tar.bz2"
+SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2"
+RESTRICT="nomirror"
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # - remove trampolines and text relocations - <solar@gentoo>
+ ## send this patch upstream after we have tested fully
+ ## on the various arches for inclusion in 1.x final
+ epatch ${FILESDIR}/${PN}-${PV}-notextrel-notrampoline.patch
+}
+
+src_compile() {
+ elibtoolize
+ econf || die "./configure failed"
+ emake || die "make failed"
+
+ if [ -n "`use jack`" ]
+ then
+ cd ${S}/src/pcm/ext
+ make jack || die "make on jack plugin failed"
+ fi
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+
+ #This alsa version does not provide libasound.so.1
+ #Without this library just about everything even remotely
+ #linked to previous versions of alsa-lib will break.
+ #Fortunately, libasound.so.2 seems to be backwards
+ #compatible with libasound.so.2 and a simple link
+ #fixes the problem (fingers crossed)
+ dosym /usr/lib/libasound.so.2 /usr/lib/libasound.so.1
+ dodoc ChangeLog COPYING TODO
+
+ if [ -n "`use jack`" ]
+ then
+ cd ${S}/src/pcm/ext
+ make DESTDIR=${D} install-jack || die "make install on jack plugin failed"
+ fi
+}
diff --git a/media-libs/alsa-lib/files/alsa-lib-1.0.1-notextrel-notrampoline.patch b/media-libs/alsa-lib/files/alsa-lib-1.0.1-notextrel-notrampoline.patch
new file mode 100644
index 000000000000..7629e603c924
--- /dev/null
+++ b/media-libs/alsa-lib/files/alsa-lib-1.0.1-notextrel-notrampoline.patch
@@ -0,0 +1,54 @@
+diff -Nru alsa-lib-1.0.0rc2-original/src/control/hcontrol.c alsa-lib-1.0.0rc2/src/control/hcontrol.c
+--- alsa-lib-1.0.0rc2-original/src/control/hcontrol.c Mon Oct 13 08:06:46 2003
++++ alsa-lib-1.0.0rc2/src/control/hcontrol.c Sat Dec 20 13:48:32 2003
+@@ -48,6 +48,7 @@
+ #include <string.h>
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
++#include <pthread.h>
+ #ifndef DOC_HIDDEN
+ #define __USE_GNU
+ #endif
+@@ -409,17 +410,26 @@
+ return 0;
+ }
+
++static snd_hctl_t *compare_hctl;
++static int hctl_compare(const void *a, const void *b) {
++ return compare_hctl->compare(*(const snd_hctl_elem_t * const *) a,
++ *(const snd_hctl_elem_t * const *) b);
++}
++
+ static void snd_hctl_sort(snd_hctl_t *hctl)
+ {
+ unsigned int k;
+- int compar(const void *a, const void *b) {
+- return hctl->compare(*(const snd_hctl_elem_t * const *) a,
+- *(const snd_hctl_elem_t * const *) b);
+- }
++ static pthread_mutex_t sync_lock = PTHREAD_MUTEX_INITIALIZER;
++
+ assert(hctl);
+ assert(hctl->compare);
+ INIT_LIST_HEAD(&hctl->elems);
+- qsort(hctl->pelems, hctl->count, sizeof(*hctl->pelems), compar);
++
++ pthread_mutex_lock(&sync_lock);
++ compare_hctl = hctl;
++ qsort(hctl->pelems, hctl->count, sizeof(*hctl->pelems), hctl_compare);
++ pthread_mutex_unlock(&sync_lock);
++
+ for (k = 0; k < hctl->count; k++)
+ list_add_tail(&hctl->pelems[k]->list, &hctl->elems);
+ }
+diff -Nru alsa-lib-1.0.0rc2-original/src/pcm/pcm_direct.c alsa-lib-1.0.0rc2/src/pcm/pcm_direct.c
+--- alsa-lib-1.0.0rc2-original/src/pcm/pcm_direct.c Fri Oct 17 09:53:06 2003
++++ alsa-lib-1.0.0rc2/src/pcm/pcm_direct.c Sat Dec 20 13:49:22 2003
+@@ -98,7 +98,6 @@
+
+ int snd_pcm_direct_shm_create_or_connect(snd_pcm_direct_t *dmix)
+ {
+- static int snd_pcm_direct_shm_discard(snd_pcm_direct_t *dmix);
+ struct shmid_ds buf;
+ int ret = 0;
+
diff --git a/media-libs/alsa-lib/files/digest-alsa-lib-1.0.0_rc2 b/media-libs/alsa-lib/files/digest-alsa-lib-1.0.0_rc2
deleted file mode 100644
index e6b3d5950079..000000000000
--- a/media-libs/alsa-lib/files/digest-alsa-lib-1.0.0_rc2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 eccc78e1157334a024d0a8e521a88593 alsa-lib-1.0.0rc2.tar.bz2 557821
diff --git a/media-libs/alsa-lib/files/digest-alsa-lib-1.0.1 b/media-libs/alsa-lib/files/digest-alsa-lib-1.0.1
new file mode 100644
index 000000000000..0f7779f251a3
--- /dev/null
+++ b/media-libs/alsa-lib/files/digest-alsa-lib-1.0.1
@@ -0,0 +1 @@
+MD5 089cf4b96a00971d9fb5e395afe86b4e alsa-lib-1.0.1.tar.bz2 563452
diff --git a/media-libs/alsa-oss/ChangeLog b/media-libs/alsa-oss/ChangeLog
index 0c390caf6c4e..c9a7de123e98 100644
--- a/media-libs/alsa-oss/ChangeLog
+++ b/media-libs/alsa-oss/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/alsa-oss
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-oss/ChangeLog,v 1.21 2003/12/26 17:14:52 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-oss/ChangeLog,v 1.22 2004/01/10 13:34:34 mholzer Exp $
+
+*alsa-oss-1.0.1 (10 Jan 2004)
+
+ 10 Jan 2004; Martin Holzer <mholzer@gentoo.org> alsa-oss-1.0.1.ebuild:
+ Version bumped.
26 Dec 2003; Jason Wever <weeve@gentoo.org> alsa-oss-0.9.0_rc1.ebuild,
alsa-oss-0.9.0_rc8.ebuild, alsa-oss-0.9.1.ebuild, alsa-oss-0.9.4.ebuild,
diff --git a/media-libs/alsa-oss/Manifest b/media-libs/alsa-oss/Manifest
index 1ffbe28dfa8e..52c4f36e20b4 100644
--- a/media-libs/alsa-oss/Manifest
+++ b/media-libs/alsa-oss/Manifest
@@ -1,20 +1,18 @@
-MD5 af28d3c75aeac428a2fc2056899ae50b ChangeLog 2342
+MD5 12bdea1e63f47f625f21ff0aa4212646 ChangeLog 2467
MD5 46f67ccd2ada34311aab26406d0544b2 alsa-oss-0.9.0_rc1.ebuild 717
MD5 d7f11ca1d57fffbcb384540bb8f75fcf alsa-oss-0.9.0_rc8.ebuild 689
MD5 dc32f8e4fa3fbc608ff7e8b9d2763e23 alsa-oss-0.9.1.ebuild 674
MD5 a135826ed09b0df67c03fff507a73723 alsa-oss-0.9.4.ebuild 675
MD5 55e20832862224014a877a6dd56cd71c alsa-oss-0.9.6.ebuild 675
MD5 021aec9481971afadf5f589d972a9120 alsa-oss-0.9.8.ebuild 690
-MD5 c373ff85245b6050c1b8912f5ced4f72 alsa-oss-1.0.0_rc1.ebuild 787
MD5 4a1f4305a6bddb4b70f2502c692127ed alsa-oss-1.0.0_rc2.ebuild 787
MD5 e1147a642867b3b3ea43518a1376f6d2 metadata.xml 250
-MD5 75705b9929e0a30533c580ea39bb1580 alsa-oss-1.0.1.ebuild 782
+MD5 ace510f5ccde1bcd4777bfe5cbf85a20 alsa-oss-1.0.1.ebuild 780
MD5 1c1bc7c43df4fe44b944871d8cc78c65 files/digest-alsa-oss-0.9.0_rc1 69
MD5 5e9646a01a7d4851d7184b02fb7201db files/digest-alsa-oss-0.9.0_rc8 70
MD5 7624677d1199922d806fe43e4c625cc8 files/digest-alsa-oss-0.9.1 67
MD5 588712500e4b63f52f1194ceada21103 files/digest-alsa-oss-0.9.4 67
MD5 48214b7b28c2397fc527f510aec168d4 files/digest-alsa-oss-0.9.6 67
MD5 539c12102445bed353dfb3d03effab44 files/digest-alsa-oss-0.9.8 67
-MD5 e70a31e42b7805cbbd1635029813db01 files/digest-alsa-oss-1.0.0_rc1 70
MD5 4d95d444273296d1498cf5a9d12e1ee2 files/digest-alsa-oss-1.0.0_rc2 70
MD5 e2425a2a2564ef2cb021c876cfbc437b files/digest-alsa-oss-1.0.1 67
diff --git a/media-libs/alsa-oss/alsa-oss-1.0.0_rc1.ebuild b/media-libs/alsa-oss/alsa-oss-1.0.1.ebuild
index d72f86663bf7..51ebddbcadf7 100644
--- a/media-libs/alsa-oss/alsa-oss-1.0.0_rc1.ebuild
+++ b/media-libs/alsa-oss/alsa-oss-1.0.1.ebuild
@@ -1,21 +1,21 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-oss/alsa-oss-1.0.0_rc1.ebuild,v 1.2 2003/12/26 17:14:52 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-oss/alsa-oss-1.0.1.ebuild,v 1.1 2004/01/10 13:34:34 mholzer Exp $
DESCRIPTION="Advanced Linux Sound Architecture OSS compatibility layer."
HOMEPAGE="http://www.alsa-project.org/"
LICENSE="GPL-2"
DEPEND="virtual/glibc
- >=media-libs/alsa-lib-1.0.0_rc1"
+ >=media-libs/alsa-lib-1.0.1"
SLOT="0"
KEYWORDS="~x86 -sparc ~ppc ~amd64"
MY_P=${P/_rc/rc}
-#SRC_URI="mirror://alsaproject/oss-lib/${P}.tar.bz2"
-SRC_URI="ftp://ftp.alsa-project.org/pub/oss-lib/${MY_P}.tar.bz2"
-#RESTRICT="nomirror"
+SRC_URI="mirror://alsaproject/oss-lib/${P}.tar.bz2"
+#SRC_URI="ftp://ftp.alsa-project.org/pub/oss-lib/${MY_P}.tar.bz2"
+RESTRICT="nomirror"
S=${WORKDIR}/${MY_P}
src_compile() {
diff --git a/media-libs/alsa-oss/files/digest-alsa-oss-1.0.0_rc1 b/media-libs/alsa-oss/files/digest-alsa-oss-1.0.0_rc1
deleted file mode 100644
index ab95184f0a86..000000000000
--- a/media-libs/alsa-oss/files/digest-alsa-oss-1.0.0_rc1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 07f2a306ad83dcd562f3fc8acd0b2743 alsa-oss-1.0.0rc1.tar.bz2 142902
diff --git a/media-libs/alsa-oss/files/digest-alsa-oss-1.0.1 b/media-libs/alsa-oss/files/digest-alsa-oss-1.0.1
new file mode 100644
index 000000000000..c1e3d1469b3d
--- /dev/null
+++ b/media-libs/alsa-oss/files/digest-alsa-oss-1.0.1
@@ -0,0 +1 @@
+MD5 3d38c2702fa000cf01d78f690f0e14fc alsa-oss-1.0.1.tar.bz2 142928