diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-28 00:48:50 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-28 00:48:50 +0000 |
commit | 094ace442ed5a92ce641bda69506e1d7277f7d49 (patch) | |
tree | 0c2b33eba990bfb03fd782b6925825d6b01aeb06 /media-libs/alsa-lib | |
parent | old (diff) | |
download | gentoo-2-094ace442ed5a92ce641bda69506e1d7277f7d49.tar.gz gentoo-2-094ace442ed5a92ce641bda69506e1d7277f7d49.tar.bz2 gentoo-2-094ace442ed5a92ce641bda69506e1d7277f7d49.zip |
old
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/alsa-lib')
-rw-r--r-- | media-libs/alsa-lib/Manifest | 8 | ||||
-rw-r--r-- | media-libs/alsa-lib/alsa-lib-1.0.20-r1.ebuild | 96 | ||||
-rw-r--r-- | media-libs/alsa-lib/alsa-lib-1.0.21a.ebuild | 90 | ||||
-rw-r--r-- | media-libs/alsa-lib/alsa-lib-1.0.22-r1.ebuild | 91 | ||||
-rw-r--r-- | media-libs/alsa-lib/alsa-lib-1.0.22.ebuild | 90 | ||||
-rw-r--r-- | media-libs/alsa-lib/files/alsa-lib-1.0.22-fd-leak.patch | 60 |
6 files changed, 0 insertions, 435 deletions
diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest index e741fabd7009..78b82fd7d5bb 100644 --- a/media-libs/alsa-lib/Manifest +++ b/media-libs/alsa-lib/Manifest @@ -1,13 +1,5 @@ -AUX alsa-lib-1.0.22-fd-leak.patch 1638 RMD160 c7605bc45d93b538f7ad4759fdccd6727878a76f SHA1 23d4ac7767d76dc71fb56d6ca007ab9d77847bda SHA256 79f73bc28f33c618b396aadbd775380cd0d8040cc0406f008fb5b595e9186ab2 -DIST alsa-lib-1.0.20.tar.bz2 794728 RMD160 8e0b48367abdd9d5746d2dc537014b1449e65e05 SHA1 0e6acce4301a4b3924e268a78e8c979a55cc8f88 SHA256 15f8d0eef1da10c62136107e7b585bc8beb9c9e9b7ad177654097f8c15e57a63 -DIST alsa-lib-1.0.21a.tar.bz2 808475 RMD160 38e615c25a93f4529f06e079584d379439ed9600 SHA1 49032964d22404455f3173629f271324bd8af211 SHA256 a6ce09afadc5428b09667cef32f7eba4ce0ea45aca27819edbe188e076d70074 -DIST alsa-lib-1.0.22.tar.bz2 808534 RMD160 4dbc3f9550f8ba01535ad3cfd8f0a8140f897e81 SHA1 d3b6c740c23b8d113a8d02da2a9fd61f5d1a8a44 SHA256 03c3e1410e68bae9b8c0d2ef1023b5416b4fd1c7191d52615d633def71e019bb DIST alsa-lib-1.0.23.tar.bz2 808271 RMD160 5e9f0e3946bf559e6d2c5a7b12332c28eeaf859d SHA1 8abcd773f1686a182c08fd53f0d7b353cfcf9f56 SHA256 b4238ecaba5e4a1383af06180611a57ef29f9bf47bc177136dba1bb5b70ff423 DIST alsa-lib-1.0.24.1.tar.bz2 832555 RMD160 6f7f80643cc485f1a63d231bf9e2e61f53eb82b1 SHA1 e18a337620f23c15223e5e4a27bf04ca43981fc9 SHA256 a32f7c21015b6c71f9a80ff70a2b6a50e4ff4d5c77c744ff0793dea7ba7a2517 -EBUILD alsa-lib-1.0.20-r1.ebuild 2745 RMD160 cecb5f125ece1d17a9de6f4f5d846d9369b07a1e SHA1 62658fc38f52ddc77c4365962ffd422951824933 SHA256 e8783fc5931b634bbdf89e8a4f5684c61fb0e52ad32f895574c9f65a37deebee -EBUILD alsa-lib-1.0.21a.ebuild 2455 RMD160 0e773d6abc77b459cc8fdb73141442483a8f0d95 SHA1 013369be2093dc381e044bd57c8c1c5a390423e1 SHA256 71eadeb8fea6a327178f8c009b5e04a1bf11e281b7bce38c07761874560aa88d -EBUILD alsa-lib-1.0.22-r1.ebuild 2519 RMD160 1f923b51e1397dcb42d93ae0378d7f5b740ad72c SHA1 8c6552b9b4524df3738c2ac7b6348e14024cc6d4 SHA256 da3add6bc4db4972ed32db8928b642b751a32849aebffa3b4ca0da667b2b38e8 -EBUILD alsa-lib-1.0.22.ebuild 2475 RMD160 67b483f7a73c6b78fa593880ba841820d000b53a SHA1 5ed44328d7ab49dabe9a2a22c7d633a0c1c1d316 SHA256 33a31c01de89bc7810f529278aa0e5eda27e9f56776992c2c2d4766375e91390 EBUILD alsa-lib-1.0.23.ebuild 2487 RMD160 d7947fe0cad93cc63af6db4a39cdef598a783f48 SHA1 7c143e82ab558733d98ff17aae7a7a9d9f11f673 SHA256 c599d4470517f5e6f8038164a8b4b41513df15bd6bc8a15d4c14037532bad6ab EBUILD alsa-lib-1.0.24.1.ebuild 2616 RMD160 fa5636d34cc9941ef9e9582e89ffef246edaf6c0 SHA1 a01982e1863b165fcdebf8b7d74dd943f6093b5c SHA256 7e02478b440ae2a75df0ee14735bc9cb1eda01c71e22522e09dcbe5a786becfe MISC ChangeLog 46710 RMD160 526f310f47ec8061b0118fcbfa0e3e2fab8920c2 SHA1 7a7b3ed960dfecc595d7a742522cefe489516ed4 SHA256 dae4387e48ef6a6df368d5d6386bb2ce0c5b68067da1ef80cf4e43ed2db044b7 diff --git a/media-libs/alsa-lib/alsa-lib-1.0.20-r1.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.20-r1.ebuild deleted file mode 100644 index 720337bc83ba..000000000000 --- a/media-libs/alsa-lib/alsa-lib-1.0.20-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.20-r1.ebuild,v 1.12 2011/02/17 17:26:29 sping Exp $ - -inherit eutils libtool - -MY_P="${P/_rc/rc}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Advanced Linux Sound Architecture Library" -HOMEPAGE="http://www.alsa-project.org/" -SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86" -IUSE="doc debug alisp python" - -RDEPEND="python? ( dev-lang/python )" -DEPEND="${RDEPEND} - >=media-sound/alsa-headers-${PV} - doc? ( >=app-doc/doxygen-1.2.6 )" - -IUSE_PCM_PLUGIN="copy linear route mulaw alaw adpcm rate plug multi shm file -null empty share meter mmap_emul hooks lfloat ladspa dmix dshare dsnoop asym iec958 -softvol extplug ioplug" - -for plugin in ${IUSE_PCM_PLUGIN}; do - IUSE="${IUSE} alsa_pcm_plugins_${plugin}" -done - -pkg_setup() { - if [ -z "${ALSA_PCM_PLUGINS}" ] ; then - ewarn "You haven't selected _any_ PCM plugins. Either you set it to something like the default" - ewarn "(which is being set in the profile UNLESS you unset them) or alsa based applications" - ewarn "are going to *misbehave* !" - epause 5 - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - elibtoolize - epunt_cxx -} - -src_compile() { - local myconf - use elibc_uclibc && myconf="--without-versioned" - - econf \ - --enable-static \ - --enable-shared \ - --disable-resmgr \ - --enable-rawmidi \ - --enable-seq \ - --enable-aload \ - $(use_with debug) \ - $(use_enable alisp) \ - $(use_enable python) \ - --with-pcm-plugins="${ALSA_PCM_PLUGINS}" \ - --disable-dependency-tracking \ - ${myconf} \ - || die "configure failed" - - emake || die "make failed" - - if use doc; then - emake doc || die "failed to generate docs" - fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \ - xargs -0 sed -i -e "s:${S}::" - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - - dodoc ChangeLog TODO || die - use doc && dohtml -r doc/doxygen/html/* -} - -pkg_postinst() { - ewarn "Starting from alsa 1.0.11_rc3 the configuration for dmix is changed." - ewarn "Leaving around old asound.conf or ~/.asoundrc might make all apps" - ewarn "using ALSA output crash." - ewarn "Note that dmix output is enabled by default on the 'default' device" - ewarn "since ALSA 1.0.9." - elog "" - elog "Please try in-kernel ALSA drivers instead of the alsa-driver ebuild." - elog "If alsa-driver works for you where a *recent* kernel does not, we want " - elog "to know about this. Our e-mail address is alsa-bugs@gentoo.org" - elog "However, if you notice no sound output or instability, please try to " - elog "upgrade your kernel to a newer version first." -} diff --git a/media-libs/alsa-lib/alsa-lib-1.0.21a.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.21a.ebuild deleted file mode 100644 index befd81b0a58e..000000000000 --- a/media-libs/alsa-lib/alsa-lib-1.0.21a.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.21a.ebuild,v 1.11 2011/02/17 17:26:29 sping Exp $ - -inherit eutils libtool - -MY_P="${P/_rc/rc}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Advanced Linux Sound Architecture Library" -HOMEPAGE="http://www.alsa-project.org/" -SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86" -IUSE="doc debug alisp python" - -RDEPEND="python? ( dev-lang/python )" -DEPEND="${RDEPEND} - >=media-sound/alsa-headers-${PV%[[:lower:]]} - doc? ( >=app-doc/doxygen-1.2.6 )" - -IUSE_PCM_PLUGIN="copy linear route mulaw alaw adpcm rate plug multi shm file -null empty share meter mmap_emul hooks lfloat ladspa dmix dshare dsnoop asym iec958 -softvol extplug ioplug" - -for plugin in ${IUSE_PCM_PLUGIN}; do - IUSE="${IUSE} alsa_pcm_plugins_${plugin}" -done - -pkg_setup() { - if [ -z "${ALSA_PCM_PLUGINS}" ] ; then - ewarn "You haven't selected _any_ PCM plugins. Either you set it to something like the default" - ewarn "(which is being set in the profile UNLESS you unset them) or alsa based applications" - ewarn "are going to *misbehave* !" - epause 5 - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - elibtoolize - epunt_cxx -} - -src_compile() { - local myconf - use elibc_uclibc && myconf="--without-versioned" - - econf \ - --enable-static \ - --enable-shared \ - --disable-resmgr \ - --enable-rawmidi \ - --enable-seq \ - --enable-aload \ - $(use_with debug) \ - $(use_enable alisp) \ - $(use_enable python) \ - --with-pcm-plugins="${ALSA_PCM_PLUGINS}" \ - --disable-dependency-tracking \ - ${myconf} \ - || die "configure failed" - - emake || die "make failed" - - if use doc; then - emake doc || die "failed to generate docs" - fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \ - xargs -0 sed -i -e "s:${S}::" - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - - dodoc ChangeLog TODO || die - use doc && dohtml -r doc/doxygen/html/* -} - -pkg_postinst() { - elog "Please try in-kernel ALSA drivers instead of the alsa-driver ebuild." - elog "If alsa-driver works for you where a *recent* kernel does not, we want " - elog "to know about this. Our e-mail address is alsa-bugs@gentoo.org" - elog "However, if you notice no sound output or instability, please try to " - elog "upgrade your kernel to a newer version first." -} diff --git a/media-libs/alsa-lib/alsa-lib-1.0.22-r1.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.22-r1.ebuild deleted file mode 100644 index 31a668d17ceb..000000000000 --- a/media-libs/alsa-lib/alsa-lib-1.0.22-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.22-r1.ebuild,v 1.2 2011/02/17 17:26:29 sping Exp $ - -inherit eutils libtool - -MY_P="${P/_rc/rc}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Advanced Linux Sound Architecture Library" -HOMEPAGE="http://www.alsa-project.org/" -SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="doc debug alisp python" - -RDEPEND="python? ( dev-lang/python )" -DEPEND="${RDEPEND} - >=media-sound/alsa-headers-${PV} - doc? ( >=app-doc/doxygen-1.2.6 )" - -IUSE_PCM_PLUGIN="copy linear route mulaw alaw adpcm rate plug multi shm file -null empty share meter mmap_emul hooks lfloat ladspa dmix dshare dsnoop asym iec958 -softvol extplug ioplug" - -for plugin in ${IUSE_PCM_PLUGIN}; do - IUSE="${IUSE} alsa_pcm_plugins_${plugin}" -done - -pkg_setup() { - if [ -z "${ALSA_PCM_PLUGINS}" ] ; then - ewarn "You haven't selected _any_ PCM plugins. Either you set it to something like the default" - ewarn "(which is being set in the profile UNLESS you unset them) or alsa based applications" - ewarn "are going to *misbehave* !" - epause 5 - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${P}-fd-leak.patch" - elibtoolize - epunt_cxx -} - -src_compile() { - local myconf - use elibc_uclibc && myconf="--without-versioned" - - econf \ - --enable-static \ - --enable-shared \ - --disable-resmgr \ - --enable-rawmidi \ - --enable-seq \ - --enable-aload \ - $(use_with debug) \ - $(use_enable alisp) \ - $(use_enable python) \ - --with-pcm-plugins="${ALSA_PCM_PLUGINS}" \ - --disable-dependency-tracking \ - ${myconf} \ - || die "configure failed" - - emake || die "make failed" - - if use doc; then - emake doc || die "failed to generate docs" - fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \ - xargs -0 sed -i -e "s:${S}::" - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - - dodoc ChangeLog TODO || die - use doc && dohtml -r doc/doxygen/html/* -} - -pkg_postinst() { - elog "Please try in-kernel ALSA drivers instead of the alsa-driver ebuild." - elog "If alsa-driver works for you where a *recent* kernel does not, we want " - elog "to know about this. Our e-mail address is alsa-bugs@gentoo.org" - elog "However, if you notice no sound output or instability, please try to " - elog "upgrade your kernel to a newer version first." -} diff --git a/media-libs/alsa-lib/alsa-lib-1.0.22.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.22.ebuild deleted file mode 100644 index 8f9afd558ba5..000000000000 --- a/media-libs/alsa-lib/alsa-lib-1.0.22.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.22.ebuild,v 1.3 2011/02/17 17:26:29 sping Exp $ - -inherit eutils libtool - -MY_P="${P/_rc/rc}" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Advanced Linux Sound Architecture Library" -HOMEPAGE="http://www.alsa-project.org/" -SRC_URI="mirror://alsaproject/lib/${MY_P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="doc debug alisp python" - -RDEPEND="python? ( dev-lang/python )" -DEPEND="${RDEPEND} - >=media-sound/alsa-headers-${PV} - doc? ( >=app-doc/doxygen-1.2.6 )" - -IUSE_PCM_PLUGIN="copy linear route mulaw alaw adpcm rate plug multi shm file -null empty share meter mmap_emul hooks lfloat ladspa dmix dshare dsnoop asym iec958 -softvol extplug ioplug" - -for plugin in ${IUSE_PCM_PLUGIN}; do - IUSE="${IUSE} alsa_pcm_plugins_${plugin}" -done - -pkg_setup() { - if [ -z "${ALSA_PCM_PLUGINS}" ] ; then - ewarn "You haven't selected _any_ PCM plugins. Either you set it to something like the default" - ewarn "(which is being set in the profile UNLESS you unset them) or alsa based applications" - ewarn "are going to *misbehave* !" - epause 5 - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - elibtoolize - epunt_cxx -} - -src_compile() { - local myconf - use elibc_uclibc && myconf="--without-versioned" - - econf \ - --enable-static \ - --enable-shared \ - --disable-resmgr \ - --enable-rawmidi \ - --enable-seq \ - --enable-aload \ - $(use_with debug) \ - $(use_enable alisp) \ - $(use_enable python) \ - --with-pcm-plugins="${ALSA_PCM_PLUGINS}" \ - --disable-dependency-tracking \ - ${myconf} \ - || die "configure failed" - - emake || die "make failed" - - if use doc; then - emake doc || die "failed to generate docs" - fgrep -Zrl "${S}" "${S}/doc/doxygen/html" | \ - xargs -0 sed -i -e "s:${S}::" - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - - dodoc ChangeLog TODO || die - use doc && dohtml -r doc/doxygen/html/* -} - -pkg_postinst() { - elog "Please try in-kernel ALSA drivers instead of the alsa-driver ebuild." - elog "If alsa-driver works for you where a *recent* kernel does not, we want " - elog "to know about this. Our e-mail address is alsa-bugs@gentoo.org" - elog "However, if you notice no sound output or instability, please try to " - elog "upgrade your kernel to a newer version first." -} diff --git a/media-libs/alsa-lib/files/alsa-lib-1.0.22-fd-leak.patch b/media-libs/alsa-lib/files/alsa-lib-1.0.22-fd-leak.patch deleted file mode 100644 index e7229cb9e0af..000000000000 --- a/media-libs/alsa-lib/files/alsa-lib-1.0.22-fd-leak.patch +++ /dev/null @@ -1,60 +0,0 @@ -commit a256766c10c52cb6667de8a65f5cbb332fad4cc7 -Author: Jaroslav Kysela <perex@perex.cz> -Date: Mon Dec 21 09:09:42 2009 +0100 - - pcm: Close event timer in pcm_hw plugin - - Dan McCombs discovered that snd_pcm_close() invocations are not leading - to associated timers being closed, which results in successively more - timers being created but not freed. - - Original patch from Daniel T Chen <crimsun@ubuntu.com>. - - BugLink: https://bugs.launchpad.net/bugs/451893 - - Signed-off-by: Jaroslav Kysela <perex@perex.cz> - -diff --git a/src/pcm/pcm_hw.c b/src/pcm/pcm_hw.c -index 2095b01..b557912 100644 ---- a/src/pcm/pcm_hw.c -+++ b/src/pcm/pcm_hw.c -@@ -338,18 +338,6 @@ static int snd_pcm_hw_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t * params) - return 0; - } - --static int snd_pcm_hw_hw_free(snd_pcm_t *pcm) --{ -- snd_pcm_hw_t *hw = pcm->private_data; -- int fd = hw->fd, err; -- if (ioctl(fd, SNDRV_PCM_IOCTL_HW_FREE) < 0) { -- err = -errno; -- SYSMSG("SNDRV_PCM_IOCTL_HW_FREE failed"); -- return err; -- } -- return 0; --} -- - static void snd_pcm_hw_close_timer(snd_pcm_hw_t *hw) - { - if (hw->period_timer) { -@@ -421,6 +409,20 @@ static int snd_pcm_hw_change_timer(snd_pcm_t *pcm, int enable) - } else { - snd_pcm_hw_close_timer(hw); - pcm->fast_ops = &snd_pcm_hw_fast_ops; -+ hw->period_event = 0; -+ } -+ return 0; -+} -+ -+static int snd_pcm_hw_hw_free(snd_pcm_t *pcm) -+{ -+ snd_pcm_hw_t *hw = pcm->private_data; -+ int fd = hw->fd, err; -+ snd_pcm_hw_change_timer(pcm, 0); -+ if (ioctl(fd, SNDRV_PCM_IOCTL_HW_FREE) < 0) { -+ err = -errno; -+ SYSMSG("SNDRV_PCM_IOCTL_HW_FREE failed"); -+ return err; - } - return 0; - } |