summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-28 00:52:36 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-28 00:52:36 +0000
commit5fb749ca4be1442ced7b82f37bb60e3f16195a43 (patch)
treec9d8fe490a12277683557ea2f2924df6de016f8a /media-sound/alsa-utils
parentold (diff)
downloadgentoo-2-5fb749ca4be1442ced7b82f37bb60e3f16195a43.tar.gz
gentoo-2-5fb749ca4be1442ced7b82f37bb60e3f16195a43.tar.bz2
gentoo-2-5fb749ca4be1442ced7b82f37bb60e3f16195a43.zip
old
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/alsa-utils')
-rw-r--r--media-sound/alsa-utils/Manifest21
-rw-r--r--media-sound/alsa-utils/alsa-utils-1.0.20-r5.ebuild94
-rw-r--r--media-sound/alsa-utils/alsa-utils-1.0.21-r1.ebuild93
-rw-r--r--media-sound/alsa-utils/alsa-utils-1.0.22-r1.ebuild97
-rw-r--r--media-sound/alsa-utils/alsa-utils-1.0.23.ebuild97
-rw-r--r--media-sound/alsa-utils/files/alsa-utils-1.0.11_rc2-nls.patch45
-rw-r--r--media-sound/alsa-utils/files/alsa-utils-1.0.11_rc5-alsaconf-redirect.patch35
-rw-r--r--media-sound/alsa-utils/files/alsa-utils-1.0.14-alsaconf-modules-update.patch45
-rw-r--r--media-sound/alsa-utils/files/alsa-utils-1.0.17-seq.patch40
-rw-r--r--media-sound/alsa-utils/files/alsa-utils-1.0.20-init_default.patch12
-rw-r--r--media-sound/alsa-utils/files/alsa-utils-1.0.20-modprobe.d.patch12
-rw-r--r--media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch48
-rw-r--r--media-sound/alsa-utils/files/alsa-utils-1.0.21-modprobe.d.patch12
-rw-r--r--media-sound/alsa-utils/files/alsa-utils-1.0.22-modprobe.d.patch12
-rw-r--r--media-sound/alsa-utils/files/alsasound-1.0.19-r1.initd241
-rw-r--r--media-sound/alsa-utils/files/alsasound-1.0.19.confd36
-rw-r--r--media-sound/alsa-utils/files/alsasound.confd41
-rw-r--r--media-sound/alsa-utils/files/alsasound.initd237
18 files changed, 0 insertions, 1218 deletions
diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest
index f5e7e8925e69..c01fb86d26f8 100644
--- a/media-sound/alsa-utils/Manifest
+++ b/media-sound/alsa-utils/Manifest
@@ -1,35 +1,14 @@
AUX alsa-modules.conf-rc 1028 RMD160 8e115310eb0e13e08b21304c98a78e721be0029a SHA1 7a2b5fed91fa640894efaf2f557eb2b04aff1a40 SHA256 6060c101ca0793ea80e2b6b5bb8d6b118325092788ff26f07c280dd1ff546570
-AUX alsa-utils-1.0.11_rc2-nls.patch 1212 RMD160 a83b1c634b5dd589cc0b119329453576f5995691 SHA1 4074ab6478a890052ff627f296a9310be9c839bb SHA256 ce3630efbed0cd3b3fea3a4e012e9d24f8a1f01a44d759fb5ad7bc9f6a96b7b2
-AUX alsa-utils-1.0.11_rc5-alsaconf-redirect.patch 1283 RMD160 9bd58de0ab10c6ea8a7b310759b5b99c80681bf4 SHA1 cf3cd67c492e5c69e78e34c6a8fdfebdd84639df SHA256 8a28d91e9b6092c5f71a45bf40a9dc710fa1f305ee0738d16070eedfcb480511
-AUX alsa-utils-1.0.14-alsaconf-modules-update.patch 1337 RMD160 9910bf0845f279609c7249fd344da1a2278c071e SHA1 fe06f65b32a84f48d6589aa3c1a691a081c7a48c SHA256 5c91313683a66b4b023a1fce15bb2c00228f945bcaeaa3d668892a59098475b3
-AUX alsa-utils-1.0.17-seq.patch 1633 RMD160 8363501d3b7a52d95105cf43cb2b9cccf380f112 SHA1 29a69aa7bd8cc08a1d369ff0e16700d5c613a86e SHA256 a9c2df9b16c9907c4388513739db939ffe31a49b61e3c5d93b4b8c1bf3038e78
-AUX alsa-utils-1.0.20-init_default.patch 811 RMD160 851dcc7c4b17ae703adc5e1eb82c1ee839d3a3e1 SHA1 8171fc924abdb2a1179d56d2100b5474ddcfd35d SHA256 f10e23e5f8cdb29039cabef9a97804db81841bee245bc632ee9940516640cf1d
-AUX alsa-utils-1.0.20-modprobe.d.patch 501 RMD160 4b2aa8676fc23b029a66e8a699be5f811c7c932c SHA1 4598144173d13e02be8727e17098c4b0c8fa8bc6 SHA256 f7d3a49f26995118d22c2c06383da59a649030a938dd25911ac074f5bb7a1c3d
-AUX alsa-utils-1.0.21-init_default.patch 3023 RMD160 b9cd2707fac2958b86c98c84b3aa99f014cc9317 SHA1 e337319d9c0ee61327b5a01993da76c016cd3be7 SHA256 36545d8e6c80a65bcf07f2d80ccbb3f05b7670e7c2705133c124dbced29c7e9b
-AUX alsa-utils-1.0.21-modprobe.d.patch 501 RMD160 072188940d24966698fd9b488a13eead2d8d114d SHA1 c1097f57094559512b974f705918a07d4e232d11 SHA256 a39df3d44dadfd0469e4d0dca836b1db38e06b8cbbf68ca33e368188f1b45c96
-AUX alsa-utils-1.0.22-modprobe.d.patch 501 RMD160 072188940d24966698fd9b488a13eead2d8d114d SHA1 c1097f57094559512b974f705918a07d4e232d11 SHA256 a39df3d44dadfd0469e4d0dca836b1db38e06b8cbbf68ca33e368188f1b45c96
AUX alsa-utils-1.0.23-alsactl-output.patch 1010 RMD160 88bdedef021eafbb028a5cc44fb411b5fd323e77 SHA1 e45c2faa77f29d0f25c528cfa32cfc203f2b3424 SHA256 b26deef95b4e665ae9e8e8b5c7ec745876126b5a81804e79833abcdee8a0ddb0
AUX alsa-utils-1.0.23-alsactl-output2.patch 853 RMD160 e5a3d15f69cbb37f1c0b7adeb4497e27d458b345 SHA1 b3cc5dea4f750cce477d5892733182f5a7c2f8a9 SHA256 5425e156b8f7f82a088cd7fa2cd17843f439f465c82e3a18f7f4ca8c3ebd9b3e
AUX alsa-utils-1.0.23-modprobe.d.patch 504 RMD160 3af095095834ff8a6578338f7999047783989ce5 SHA1 8c42ea316a26108dff1985867717e81e57496d28 SHA256 3f6116f467f52eba2e2de46df24a08c99231fdf83ab92dd5f0051aabc5aee077
-AUX alsasound-1.0.19-r1.initd 6868 RMD160 9e7e9ac4a2c2e98def8c1e5498bb6631fd269a9d SHA1 c5a716afde0da422d7d3a3160f5a21024f7ea660 SHA256 b9d53242b7aae9b6517677b65ff4d9412fb347769adc8f9efb7d902b28731130
-AUX alsasound-1.0.19.confd 1012 RMD160 42d0abf97bb01236bcfb7f1cf758696844550a84 SHA1 d0b1ae65379cb8f54a9dc1b9bed9229c5cd9c187 SHA256 3740d675d0c403530a71813472332decbfe9620545e4c248511cacd89b85f35b
-AUX alsasound.confd 1052 RMD160 b3a788626e239a844ac71119e887066074be3b30 SHA1 6386e6097629dcd405b61fd950370e610362a712 SHA256 073015ea00ffcbe536fd15258d30d17cdd8cacd6c334f330882d5ed9bdcf83ad
AUX alsasound.confd-r3 874 RMD160 2e3ea587fd55757ec26c60a3bb86fcd697f48e67 SHA1 9561a56c1a3a1d0ecdef42655ecc1e2c12340852 SHA256 e5d26a6ea993540ca2d67aee4b40f1351b13f2c8023d53cb67c22cb3707e72de
-AUX alsasound.initd 6557 RMD160 6e58e7b93619a505f87f8de7fecc6489daf5638f SHA1 fb1c5436e2ddfa191119fb19d439fe43e9f797f1 SHA256 09e54f5e4f75331a1de3af641623edcf4d687b49f23180f8bc14b42fc471acfe
AUX alsasound.initd-r4 6231 RMD160 39e28ae5d17c7bb45a1010a9e9a25d79d1b6fc60 SHA1 d68c209ee7b6c04248bfd01ad5bae52fa21aa789 SHA256 b6909ef321a57b586a2cc1f2665c544cf2cfc9b07e3e66592cc649abee57f576
-DIST alsa-driver-1.0.22.1.tar.bz2 3218678 RMD160 ad139cf0b4769f0a27afd0aa4d91cb808d43a589 SHA1 603f0caff5307c68be4d941c841d892e376e4ae9 SHA256 2c69f4fa72f55e85f32db696f3a6497642ebfe1204ca8f30d328f177176c6782
DIST alsa-driver-1.0.23.tar.bz2 3337645 RMD160 bdefa689616bd6b21e75837f4ee4afc4d7bd4583 SHA1 b7d376cd3e664ba13b6dfb8278546f1b61189a14 SHA256 0641da5be2de9ca2fa1b234d479063280238290e253a94492c87c573bf445f22
DIST alsa-driver-1.0.24.tar.bz2 3609960 RMD160 727c6b78c4f595f20b74649f391db75bb927c66a SHA1 df82fc3d5e2a9248f0214a87ad31a9825bcab9bc SHA256 fe8aa69b209879dd6df820237a28cddcf1bed5417710e53336ec7281b5f48d2b
-DIST alsa-utils-1.0.20.tar.bz2 1044483 RMD160 f8e8f036caa2a687c2768b19fddb4c973aafe152 SHA1 14364394d1eaff5b5719c6be834de1311c83475e SHA256 07f08286b3860f60d1794cc0de4407a53adcd4b6f065531d6dcef02b0c56a0cf
-DIST alsa-utils-1.0.21.tar.bz2 1074700 RMD160 48f7221de6d665f38b4e3cb84c3bd971c27da24e SHA1 b0b6ece5198143647db90171ca573654f337f9ae SHA256 6df349518b930714ca4664d8aaaf3ea949de1e33bcfd3df8ee7e0446b3c357a6
-DIST alsa-utils-1.0.22.tar.bz2 1075216 RMD160 f9f9c3cc81e9c0d97fd62c3f91424a8f117ca6c3 SHA1 3587dc19d9a60ab9bb2bfe2d23491230eae99fe1 SHA256 95133815d2c1c11396d75951b4db253b8c3010ea4c352cfa9fcd7d122cbd8d13
DIST alsa-utils-1.0.23.tar.bz2 1076937 RMD160 af741d41fec054a7173eba5827adb01afbeaa407 SHA1 52dc9260e21960231c084109f16979e70e36ab03 SHA256 b7d05e915e25f8540ad151c6dd558cf0fc1e9bb0ee23052d531c983666a1f7b0
DIST alsa-utils-1.0.24.2.tar.bz2 1130734 RMD160 afebeca198cf64d16cd45007cccbd57a2cd87be2 SHA1 09921047d94369b9bc9f84fb29c61a6baae91bbb SHA256 95127f740291086486c06c28118cabca0814bde48fd14dac041a9812a5ac1be2
-EBUILD alsa-utils-1.0.20-r5.ebuild 2776 RMD160 42eb94cec24c47722d674261e6c2c3325b97e6fb SHA1 c87c64d77daf8d9ec06492780a8a6cfeed583151 SHA256 f3974908123c3cb93be8677c9ec1132a4a9309530f43c474feb747f72aef7e73
-EBUILD alsa-utils-1.0.21-r1.ebuild 2727 RMD160 193c4cb2a194d57d1765874e792e53166bc56217 SHA1 f6e771ebd34b0802345fa87ba32cd638665e46d5 SHA256 b6de1fcb14ebb68910f36256797827d4beeb5114c3ae738b576362984b1259fe
-EBUILD alsa-utils-1.0.22-r1.ebuild 2878 RMD160 d501e275b2abe0f3d36da64c630ea6b05fc084da SHA1 0a5507bd86f85d73899a21ff207e1afeb509961d SHA256 df56085b7dcbbf669ad2960c62f9df845b7ccdb7519d89af0bcb9acc40c52088
EBUILD alsa-utils-1.0.23-r1.ebuild 3229 RMD160 c1607330cdfe14fef4c39e2519f9892d520cf5f9 SHA1 90c08fb3ba81d9ece978de7cf617b074041ca4d5 SHA256 21e5d08a4d36d1593510a848b3231bfd1bbc99b07ea696baf5c292b352a943d4
-EBUILD alsa-utils-1.0.23.ebuild 2874 RMD160 3f27b4357cd0141376c21ed932b67d5f8ebeba58 SHA1 1ea3d10691983aa6a11f63849ad409faafac1188 SHA256 9e843017c54e4e005c20399e541d3eef828596fcd8d25bd30c82eeaa9701e12c
EBUILD alsa-utils-1.0.24.2.ebuild 2878 RMD160 9f0d7ff29ae2c1932839b172807a44d88ee21073 SHA1 d850c9d5356667e3d690a2c962b598b365d0f6e6 SHA256 bbc3736cf555f1ad0a66f526ea4c2847683cfabf805401a53e6b868842d694c5
MISC ChangeLog 46461 RMD160 a6163e03960a75a486346d7528be4cec80aff64b SHA1 f2d9140864d6a44371f6400417a954f255696fe2 SHA256 cc40217c69ade766e04b957a584c98af2b2cedc0769f882bff0c855cbada8830
MISC metadata.xml 230 RMD160 fa99b07bbc82d3dde53c4bb732ec862ee8fc6bb5 SHA1 1337d895713f767f43778dce0b300da5bf852d80 SHA256 1f81ba2d193a0ca53dcedb87b01a28851a9d7b14d77db3b2c2647330f4ba6f00
diff --git a/media-sound/alsa-utils/alsa-utils-1.0.20-r5.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.20-r5.ebuild
deleted file mode 100644
index fed76e45260f..000000000000
--- a/media-sound/alsa-utils/alsa-utils-1.0.20-r5.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.20-r5.ebuild,v 1.6 2009/10/13 17:51:35 armin76 Exp $
-
-EAPI=2
-inherit eutils
-
-MY_P=${P/_rc/rc}
-
-DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0.9"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86"
-IUSE="doc nls minimal"
-
-DEPEND=">=sys-libs/ncurses-5.1
- dev-util/dialog
- >=media-libs/alsa-lib-${PV}
- doc? ( app-text/xmlto )"
-RDEPEND=">=sys-libs/ncurses-5.1
- dev-util/dialog
- >=media-libs/alsa-lib-${PV}
- virtual/modutils
- !minimal? ( sys-apps/pciutils )"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- if [[ -e "${ROOT}etc/modules.d/alsa" ]]; then
- eerror "Obsolete config /etc/modules.d/alsa found."
- die "Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf."
- fi
-
- if [[ -e "${ROOT}etc/modprobe.d/alsa" ]]; then
- eerror "Obsolete config /etc/modprobe.d/alsa found."
- die "Move /etc/modprobe.d/alsa to /etc/modprobe.d/alsa.conf."
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-modprobe.d.patch \
- "${FILESDIR}"/${P}-init_default.patch
-}
-
-src_configure() {
- local myconf=""
- use doc || myconf="--disable-xmlto"
-
- econf ${myconf} \
- $(use_enable nls)
-}
-
-src_install() {
- local ALSA_UTILS_DOCS="ChangeLog README TODO
- seq/aconnect/README.aconnect
- seq/aseqnet/README.aseqnet"
-
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc ${ALSA_UTILS_DOCS} || die
- newdoc alsamixer/README README.alsamixer || die
-
- newinitd "${FILESDIR}/alsasound.initd-r4" alsasound
- newconfd "${FILESDIR}/alsasound.confd-r3" alsasound
- insinto /etc/modprobe.d
- newins "${FILESDIR}/alsa-modules.conf-rc" alsa.conf
-
- keepdir /var/lib/alsa
-}
-
-pkg_postinst() {
- echo
- elog "To take advantage of the init script, and automate the process of"
- elog "saving and restoring sound-card mixer levels you should"
- elog "add alsasound to the boot runlevel. You can do this as"
- elog "root like so:"
- elog " # rc-update add alsasound boot"
- echo
- elog "The script will load ALSA modules, if you choose to use a modular"
- elog "configuration. The Gentoo ALSA developers recommend you to build"
- elog "your audio drivers into the kernel unless the device is hotpluggable"
- elog "or you need to supply specific options (such as model= to HD Audio)."
- echo
- ewarn "Automated unloading of ALSA modules is deprecated and unsupported."
- ewarn "Should you choose to use it, bug reports will not be accepted."
- echo
- if use minimal; then
- ewarn "The minimal use flag disables the dependency on pciutils that"
- ewarn "is needed by alsaconf at runtime."
- fi
-}
diff --git a/media-sound/alsa-utils/alsa-utils-1.0.21-r1.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.21-r1.ebuild
deleted file mode 100644
index 4151f7a12b50..000000000000
--- a/media-sound/alsa-utils/alsa-utils-1.0.21-r1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.21-r1.ebuild,v 1.9 2010/02/13 16:24:34 armin76 Exp $
-
-EAPI=2
-inherit eutils
-
-MY_P=${P/_rc/rc}
-
-DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0.9"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86"
-IUSE="doc nls minimal"
-
-DEPEND=">=sys-libs/ncurses-5.1
- dev-util/dialog
- >=media-libs/alsa-lib-${PV}
- doc? ( app-text/xmlto )"
-RDEPEND=">=sys-libs/ncurses-5.1
- dev-util/dialog
- >=media-libs/alsa-lib-${PV}
- virtual/modutils
- !minimal? ( sys-apps/pciutils )"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- if [[ -e "${ROOT}etc/modules.d/alsa" ]]; then
- eerror "Obsolete config /etc/modules.d/alsa found."
- die "Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf."
- fi
-
- if [[ -e "${ROOT}etc/modprobe.d/alsa" ]]; then
- eerror "Obsolete config /etc/modprobe.d/alsa found."
- die "Move /etc/modprobe.d/alsa to /etc/modprobe.d/alsa.conf."
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-modprobe.d.patch \
- "${FILESDIR}"/${P}-init_default.patch
-}
-
-src_configure() {
- local myconf=""
- use doc || myconf="--disable-xmlto"
-
- econf ${myconf} \
- $(use_enable nls)
-}
-
-src_install() {
- local ALSA_UTILS_DOCS="ChangeLog README TODO
- seq/aconnect/README.aconnect
- seq/aseqnet/README.aseqnet"
-
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc ${ALSA_UTILS_DOCS} || die
-
- newinitd "${FILESDIR}/alsasound.initd-r4" alsasound
- newconfd "${FILESDIR}/alsasound.confd-r3" alsasound
- insinto /etc/modprobe.d
- newins "${FILESDIR}/alsa-modules.conf-rc" alsa.conf
-
- keepdir /var/lib/alsa
-}
-
-pkg_postinst() {
- echo
- elog "To take advantage of the init script, and automate the process of"
- elog "saving and restoring sound-card mixer levels you should"
- elog "add alsasound to the boot runlevel. You can do this as"
- elog "root like so:"
- elog " # rc-update add alsasound boot"
- echo
- elog "The script will load ALSA modules, if you choose to use a modular"
- elog "configuration. The Gentoo ALSA developers recommend you to build"
- elog "your audio drivers into the kernel unless the device is hotpluggable"
- elog "or you need to supply specific options (such as model= to HD Audio)."
- echo
- ewarn "Automated unloading of ALSA modules is deprecated and unsupported."
- ewarn "Should you choose to use it, bug reports will not be accepted."
- echo
- if use minimal; then
- ewarn "The minimal use flag disables the dependency on pciutils that"
- ewarn "is needed by alsaconf at runtime."
- fi
-}
diff --git a/media-sound/alsa-utils/alsa-utils-1.0.22-r1.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.22-r1.ebuild
deleted file mode 100644
index ec27df41379b..000000000000
--- a/media-sound/alsa-utils/alsa-utils-1.0.22-r1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.22-r1.ebuild,v 1.2 2010/01/08 02:19:41 beandog Exp $
-
-EAPI=2
-inherit eutils
-
-MY_P=${P/_rc/rc}
-ALSA_DRIVER_VER="1.0.22.1"
-
-DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2
- mirror://alsaproject/driver/alsa-driver-${ALSA_DRIVER_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0.9"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
-IUSE="doc nls minimal"
-
-DEPEND=">=sys-libs/ncurses-5.1
- dev-util/dialog
- >=media-libs/alsa-lib-${PV}
- doc? ( app-text/xmlto )"
-RDEPEND=">=sys-libs/ncurses-5.1
- dev-util/dialog
- >=media-libs/alsa-lib-${PV}
- virtual/modutils
- !minimal? ( sys-apps/pciutils )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- if [[ -e "${ROOT}etc/modules.d/alsa" ]]; then
- eerror "Obsolete config /etc/modules.d/alsa found."
- die "Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf."
- fi
-
- if [[ -e "${ROOT}etc/modprobe.d/alsa" ]]; then
- eerror "Obsolete config /etc/modprobe.d/alsa found."
- die "Move /etc/modprobe.d/alsa to /etc/modprobe.d/alsa.conf."
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-modprobe.d.patch
-}
-
-src_configure() {
- local myconf=""
- use doc || myconf="--disable-xmlto"
-
- econf ${myconf} \
- $(use_enable nls)
-}
-
-src_install() {
- local ALSA_UTILS_DOCS="ChangeLog README TODO
- seq/aconnect/README.aconnect
- seq/aseqnet/README.aseqnet"
-
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc ${ALSA_UTILS_DOCS} || die
-
- newbin "${WORKDIR}/alsa-driver-${ALSA_DRIVER_VER}/utils/alsa-info.sh" \
- alsa-info
-
- newinitd "${FILESDIR}/alsasound.initd-r4" alsasound
- newconfd "${FILESDIR}/alsasound.confd-r3" alsasound
- insinto /etc/modprobe.d
- newins "${FILESDIR}/alsa-modules.conf-rc" alsa.conf
-
- keepdir /var/lib/alsa
-}
-
-pkg_postinst() {
- echo
- elog "To take advantage of the init script, and automate the process of"
- elog "saving and restoring sound-card mixer levels you should"
- elog "add alsasound to the boot runlevel. You can do this as"
- elog "root like so:"
- elog " # rc-update add alsasound boot"
- echo
- elog "The script will load ALSA modules, if you choose to use a modular"
- elog "configuration. The Gentoo ALSA developers recommend you to build"
- elog "your audio drivers into the kernel unless the device is hotpluggable"
- elog "or you need to supply specific options (such as model= to HD Audio)."
- echo
- ewarn "Automated unloading of ALSA modules is deprecated and unsupported."
- ewarn "Should you choose to use it, bug reports will not be accepted."
- echo
- if use minimal; then
- ewarn "The minimal use flag disables the dependency on pciutils that"
- ewarn "is needed by alsaconf at runtime."
- fi
-}
diff --git a/media-sound/alsa-utils/alsa-utils-1.0.23.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.23.ebuild
deleted file mode 100644
index 0e0f328800d6..000000000000
--- a/media-sound/alsa-utils/alsa-utils-1.0.23.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.23.ebuild,v 1.1 2010/04/16 22:21:09 chainsaw Exp $
-
-EAPI=2
-inherit eutils
-
-MY_P=${P/_rc/rc}
-ALSA_DRIVER_VER="1.0.23"
-
-DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
-HOMEPAGE="http://www.alsa-project.org/"
-SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2
- mirror://alsaproject/driver/alsa-driver-${ALSA_DRIVER_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0.9"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
-IUSE="doc nls minimal"
-
-DEPEND=">=sys-libs/ncurses-5.1
- dev-util/dialog
- >=media-libs/alsa-lib-${PV}
- doc? ( app-text/xmlto )"
-RDEPEND=">=sys-libs/ncurses-5.1
- dev-util/dialog
- >=media-libs/alsa-lib-${PV}
- virtual/modutils
- !minimal? ( sys-apps/pciutils )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- if [[ -e "${ROOT}etc/modules.d/alsa" ]]; then
- eerror "Obsolete config /etc/modules.d/alsa found."
- die "Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf."
- fi
-
- if [[ -e "${ROOT}etc/modprobe.d/alsa" ]]; then
- eerror "Obsolete config /etc/modprobe.d/alsa found."
- die "Move /etc/modprobe.d/alsa to /etc/modprobe.d/alsa.conf."
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-modprobe.d.patch
-}
-
-src_configure() {
- local myconf=""
- use doc || myconf="--disable-xmlto"
-
- econf ${myconf} \
- $(use_enable nls)
-}
-
-src_install() {
- local ALSA_UTILS_DOCS="ChangeLog README TODO
- seq/aconnect/README.aconnect
- seq/aseqnet/README.aseqnet"
-
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc ${ALSA_UTILS_DOCS} || die
-
- newbin "${WORKDIR}/alsa-driver-${ALSA_DRIVER_VER}/utils/alsa-info.sh" \
- alsa-info
-
- newinitd "${FILESDIR}/alsasound.initd-r4" alsasound
- newconfd "${FILESDIR}/alsasound.confd-r3" alsasound
- insinto /etc/modprobe.d
- newins "${FILESDIR}/alsa-modules.conf-rc" alsa.conf
-
- keepdir /var/lib/alsa
-}
-
-pkg_postinst() {
- echo
- elog "To take advantage of the init script, and automate the process of"
- elog "saving and restoring sound-card mixer levels you should"
- elog "add alsasound to the boot runlevel. You can do this as"
- elog "root like so:"
- elog " # rc-update add alsasound boot"
- echo
- elog "The script will load ALSA modules, if you choose to use a modular"
- elog "configuration. The Gentoo ALSA developers recommend you to build"
- elog "your audio drivers into the kernel unless the device is hotpluggable"
- elog "or you need to supply specific options (such as model= to HD Audio)."
- echo
- ewarn "Automated unloading of ALSA modules is deprecated and unsupported."
- ewarn "Should you choose to use it, bug reports will not be accepted."
- echo
- if use minimal; then
- ewarn "The minimal use flag disables the dependency on pciutils that"
- ewarn "is needed by alsaconf at runtime."
- fi
-}
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.11_rc2-nls.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.11_rc2-nls.patch
deleted file mode 100644
index c81889cf811c..000000000000
--- a/media-sound/alsa-utils/files/alsa-utils-1.0.11_rc2-nls.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 01285f20d9f1c51d251bc143dd1c9f2ad026f87b Mon Sep 17 00:00:00 2001
-From: =?utf-8?q?Diego=20'Flameeyes'=20Petten=C3=B2?= <flameeyes@gmail.com>
-Date: Thu, 13 Nov 2008 13:22:13 +0100
-Subject: [PATCH] Move conditional inclusion of locale.h further down.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=utf-8
-Content-Transfer-Encoding: 8bit
-
-Without this patch, ENABLE_NLS is checked before ever being defined
-(aconfig.h is not yet included), and thus locale.h would never be
-included even when NLS is enabled.
-
-Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
----
- speaker-test/speaker-test.c | 7 ++++---
- 1 files changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/speaker-test/speaker-test.c b/speaker-test/speaker-test.c
-index 57a7cbc..b8cd5c8 100644
---- a/speaker-test/speaker-test.c
-+++ b/speaker-test/speaker-test.c
-@@ -44,9 +44,6 @@
- #include <getopt.h>
- #include <inttypes.h>
- #include <ctype.h>
--#ifdef ENABLE_NLS
--#include <locale.h>
--#endif
- #include <byteswap.h>
-
- #define ALSA_PCM_NEW_HW_PARAMS_API
-@@ -59,6 +56,10 @@
- #include "gettext.h"
- #include "version.h"
-
-+#ifdef ENABLE_NLS
-+#include <locale.h>
-+#endif
-+
- enum {
- TEST_PINK_NOISE = 1,
- TEST_SINE,
---
-1.6.0.3
-
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.11_rc5-alsaconf-redirect.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.11_rc5-alsaconf-redirect.patch
deleted file mode 100644
index 9f1f0efb3564..000000000000
--- a/media-sound/alsa-utils/files/alsa-utils-1.0.11_rc5-alsaconf-redirect.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 6596a405f6b9f00dcbab9548a1e0afce04b99421 Mon Sep 17 00:00:00 2001
-From: grdscarabe@grdscarabe.net <grdscarabe@grdscarabe.net>
-Date: Thu, 13 Nov 2008 13:22:55 +0100
-Subject: [PATCH] Create a special fd redirection for menu choice.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=utf-8
-Content-Transfer-Encoding: 8bit
-
-Without this patch, dialog errors gets interpreted as the choice,
-causing errors related to loading "snd-***" module.
-
-The problem was reported as Gentoo bug #96467 (
-https://bugs.gentoo.org/show_bug.cgi?id=96467 ).
-
-Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
----
- alsaconf/alsaconf.in | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in
-index 47d6da5..806ddb6 100644
---- a/alsaconf/alsaconf.in
-+++ b/alsaconf/alsaconf.in
-@@ -1411,7 +1411,7 @@ if [ x$devs_found != x ]; then
- Following card(s) are found on your system.
- Choose a soundcard to configure:
- ")
-- $DIALOG --title "$title" --menu "$msg" 17 76 8 "${devs_found[@]}" 2> $FOUND || acex 0
-+ $DIALOG --title "$title" --menu "$msg" 17 76 8 "${devs_found[@]}" --output-fd 3 3> $FOUND || acex 0
- card=`head -n 1 $FOUND`
- if [ "$card" = "legacy" ]; then
- ac_config_legacy
---
-1.6.0.3
-
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.14-alsaconf-modules-update.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.14-alsaconf-modules-update.patch
deleted file mode 100644
index 72699cde4b0e..000000000000
--- a/media-sound/alsa-utils/files/alsa-utils-1.0.14-alsaconf-modules-update.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 2c79b79b4780cae2192ecfc4ba5615d6b0d13f5b Mon Sep 17 00:00:00 2001
-From: =?utf-8?q?Diego=20'Flameeyes'=20Petten=C3=B2?= <flameeyes@gmail.com>
-Date: Thu, 13 Nov 2008 13:23:04 +0100
-Subject: [PATCH] Nowadays Gentoo also uses update-modules, so update alsaconf.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=utf-8
-Content-Transfer-Encoding: 8bit
-
-This was originally reported as Gentoo bug #193303 (
-https://bugs.gentoo.org/show_bug.cgi?id=193303 ).
-
-Original patch by Jack Kelly <endgame.dos@gmail.com>
-
-Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
----
- alsaconf/alsaconf.in | 13 ++++++-------
- 1 files changed, 6 insertions(+), 7 deletions(-)
-
-diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in
-index 806ddb6..6e9ff75 100644
---- a/alsaconf/alsaconf.in
-+++ b/alsaconf/alsaconf.in
-@@ -908,13 +908,12 @@ BEGIN { in_sound=0; }
-
- farewell
- clear
-- if [ "$distribution" = "gentoo" ]; then
-- xecho "Running modules-update..."
-- modules-update
-- elif [ "$distribution" = "debian" ]; then
-- xecho "Running update-modules..."
-- update-modules
-- fi
-+ case "$distribution" in
-+ gentoo | debian)
-+ xecho "Running update-modules..."
-+ update-modules
-+ ;;
-+ esac
- if [ -x $rcalsasound ] ; then
- echo Loading driver...
- $rcalsasound restart
---
-1.6.0.3
-
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.17-seq.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.17-seq.patch
deleted file mode 100644
index 3214a01b29ee..000000000000
--- a/media-sound/alsa-utils/files/alsa-utils-1.0.17-seq.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -ur alsa-utils-1.0.17.orig/configure.in alsa-utils-1.0.17/configure.in
---- alsa-utils-1.0.17.orig/configure.in 2008-07-30 21:44:32.000000000 -0400
-+++ alsa-utils-1.0.17/configure.in 2008-07-30 21:45:45.000000000 -0400
-@@ -102,6 +102,18 @@
- TESTSOUND="$dir/test.wav")
- AC_SUBST(TESTSOUND)
-
-+AC_ARG_ENABLE([sequencer],
-+ [AC_HELP_STRING([--disable-sequencer], [Disable sequencer utilities (aconnect, aplaymidi, aseqdump, aseqnet)])] )
-+
-+if test "x$enable_sequencer" != "xno"; then
-+ AC_CHECK_LIB([asound], [snd_seq_open], [has_seq=yes], [has_seq=no])
-+fi
-+if test "x$enable_sequencer" = "xyes" && test "x$has_seq" = "xno"; then
-+ AC_MSG_FAILURE([cannot find snd_seq_open. ALSA was built without sequencer support])
-+fi
-+
-+AM_CONDITIONAL([BUILD_SEQ], [test "x$has_seq" = "xyes"])
-+
- AM_CONFIG_HEADER(include/aconfig.h)
-
- dnl Checks for typedefs, structures, and compiler characteristics.
-Only in alsa-utils-1.0.17: configure.in.orig
-diff -ur alsa-utils-1.0.17.orig/Makefile.am alsa-utils-1.0.17/Makefile.am
---- alsa-utils-1.0.17.orig/Makefile.am 2008-07-30 21:44:32.000000000 -0400
-+++ alsa-utils-1.0.17/Makefile.am 2008-07-30 21:47:04.000000000 -0400
-@@ -4,7 +4,12 @@
- else
- ALSAMIXER_DIR=
- endif
--SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset seq speaker-test utils m4 po
-+
-+if BUILD_SEQ
-+SEQ_DIR=seq
-+endif
-+
-+SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset $(SEQ_DIR) speaker-test utils m4 po
- EXTRA_DIST= config.rpath config.rpath mkinstalldirs ChangeLog INSTALL TODO README configure gitcompile depcomp
- AUTOMAKE_OPTIONS=foreign
- ACLOCAL_AMFLAGS = -I m4
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.20-init_default.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.20-init_default.patch
deleted file mode 100644
index 7671ee8f7d45..000000000000
--- a/media-sound/alsa-utils/files/alsa-utils-1.0.20-init_default.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur alsa-utils-1.0.20.orig/alsactl/init/default alsa-utils-1.0.20/alsactl/init/default
---- alsa-utils-1.0.20.orig/alsactl/init/default 2009-05-06 10:07:24.000000000 +0300
-+++ alsa-utils-1.0.20/alsactl/init/default 2009-08-17 22:29:46.000000000 +0300
-@@ -49,7 +49,7 @@
- CTL{name}="Headphone Playback Volume",PROGRAM=="__ctl_search",GOTO="headphone0_end"
- # if master volume control is present, turn headphone volume to max
- ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="headphone0_end"
--ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="headphone0_end"
-+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="headphone0_end"
- CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
- LABEL="headphone0_end"
- CTL{name}="Headphone Playback Switch",PROGRAM=="__ctl_search", \
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.20-modprobe.d.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.20-modprobe.d.patch
deleted file mode 100644
index d945998d7212..000000000000
--- a/media-sound/alsa-utils/files/alsa-utils-1.0.20-modprobe.d.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur alsa-utils-1.0.20.orig/alsaconf/alsaconf.in alsa-utils-1.0.20/alsaconf/alsaconf.in
---- alsa-utils-1.0.20.orig/alsaconf/alsaconf.in 2009-05-06 10:07:24.000000000 +0300
-+++ alsa-utils-1.0.20/alsaconf/alsaconf.in 2009-08-04 12:36:38.000000000 +0300
-@@ -301,7 +301,7 @@
- fi
- else
- if [ "$distribution" = "gentoo" ]; then
-- cfgfile="/etc/modules.d/alsa"
-+ cfgfile="/etc/modprobe.d/alsa.conf"
- elif [ "$kernel" = "new" ]; then
- cfgfile="/etc/modprobe.conf"
- if [ -d /etc/modprobe.d ]; then
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch
deleted file mode 100644
index f6564b95906a..000000000000
--- a/media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -ur alsa-utils-1.0.21.orig/alsactl/init/default alsa-utils-1.0.21/alsactl/init/default
---- alsa-utils-1.0.21.orig/alsactl/init/default 2009-05-06 10:07:24.000000000 +0300
-+++ alsa-utils-1.0.21/alsactl/init/default 2009-08-17 22:29:46.000000000 +0300
-@@ -39,7 +39,7 @@
- CTL{name}="Front Playback Volume",PROGRAM!="__ctl_search",GOTO="front0_end"
- # if master volume control is present, turn front volume to max
- ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="front0_end"
--ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="front0_end"
-+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="front0_end"
- CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
- LABEL="front0_end"
- CTL{name}="Front Playback Switch",PROGRAM=="__ctl_search", \
-@@ -49,7 +49,7 @@
- CTL{name}="Headphone Playback Volume",PROGRAM!="__ctl_search",GOTO="headphone0_end"
- # if master volume control is present, turn headphone volume to max
- ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="headphone0_end"
--ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="headphone0_end"
-+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="headphone0_end"
- CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
- LABEL="headphone0_end"
- CTL{name}="Headphone Playback Switch",PROGRAM=="__ctl_search", \
-@@ -72,7 +72,7 @@
- CTL{name}="PCM Volume",PROGRAM!="__ctl_search", GOTO="pcm0_end"
- # if master volume control is present, turn PCM volume to max
- ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="pcm0_end"
--ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="pcm0_end"
-+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="pcm0_end"
- # exception - some HDA codecs have shifted dB range
- CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm0_end"
- CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm0_end"
-@@ -86,7 +86,7 @@
- CTL{name}="PCM Volume",PROGRAM!="__ctl_search",GOTO="pcm1_end"
- # if master volume control is present, turn PCM volume to max
- ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="pcm1_end"
--ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="pcm1_end"
-+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="pcm1_end"
- # exception - some HDA codecs have shifted dB range
- CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm1_end"
- CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm1_end"
-@@ -125,7 +125,7 @@
- CTL{name}="CD Playback Volume",PROGRAM!="__ctl_search", GOTO="cd0_end"
- # if master volume control is present, turn CD volume to max
- ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="cd0_end"
--ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="cd0_end"
-+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="cd0_end"
- # exception - some HDA codecs have shifted dB range
- CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="cd0_end"
- CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="cd0_end"
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.21-modprobe.d.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.21-modprobe.d.patch
deleted file mode 100644
index cea272469dd9..000000000000
--- a/media-sound/alsa-utils/files/alsa-utils-1.0.21-modprobe.d.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur alsa-utils-1.0.21.orig/alsaconf/alsaconf.in alsa-utils-1.0.21/alsaconf/alsaconf.in
---- alsa-utils-1.0.21.orig/alsaconf/alsaconf.in 2009-05-06 10:07:24.000000000 +0300
-+++ alsa-utils-1.0.21/alsaconf/alsaconf.in 2009-08-04 12:36:38.000000000 +0300
-@@ -301,7 +301,7 @@
- fi
- else
- if [ "$distribution" = "gentoo" ]; then
-- cfgfile="/etc/modules.d/alsa"
-+ cfgfile="/etc/modprobe.d/alsa.conf"
- elif [ "$kernel" = "new" ]; then
- cfgfile="/etc/modprobe.conf"
- if [ -d /etc/modprobe.d ]; then
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.22-modprobe.d.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.22-modprobe.d.patch
deleted file mode 100644
index cea272469dd9..000000000000
--- a/media-sound/alsa-utils/files/alsa-utils-1.0.22-modprobe.d.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur alsa-utils-1.0.21.orig/alsaconf/alsaconf.in alsa-utils-1.0.21/alsaconf/alsaconf.in
---- alsa-utils-1.0.21.orig/alsaconf/alsaconf.in 2009-05-06 10:07:24.000000000 +0300
-+++ alsa-utils-1.0.21/alsaconf/alsaconf.in 2009-08-04 12:36:38.000000000 +0300
-@@ -301,7 +301,7 @@
- fi
- else
- if [ "$distribution" = "gentoo" ]; then
-- cfgfile="/etc/modules.d/alsa"
-+ cfgfile="/etc/modprobe.d/alsa.conf"
- elif [ "$kernel" = "new" ]; then
- cfgfile="/etc/modprobe.conf"
- if [ -d /etc/modprobe.d ]; then
diff --git a/media-sound/alsa-utils/files/alsasound-1.0.19-r1.initd b/media-sound/alsa-utils/files/alsasound-1.0.19-r1.initd
deleted file mode 100644
index e146b3c233dd..000000000000
--- a/media-sound/alsa-utils/files/alsasound-1.0.19-r1.initd
+++ /dev/null
@@ -1,241 +0,0 @@
-#!/sbin/runscript
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound-1.0.19-r1.initd,v 1.1 2009/02/21 16:18:28 chainsaw Exp $
-# Copyright 2007,2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-alsastatedir=/var/lib/alsa
-alsascrdir=/etc/alsa.d
-
-opts="save restore"
-
-depend() {
- need localmount
- after bootmisc modules isapnp coldplug hotplug
-}
-
-load_modules() {
- # List of drivers for each card.
- local DRIVERS="$(modprobe -c | sed -n -e 's/^alias \(snd-card-[[:digit:]]\+\) .*/\1/p')"
-
- # Fall back on the automated aliases if we don't have ALSA configured properly...
- if [ -z "${DRIVERS}" ] && \
- ( [ ! -r /proc/asound/cards ] || grep -q ' no soundcards ' /proc/asound/cards 2>/dev/null ) ; then
- ewarn "Could not detect custom ALSA settings. Loading all detected alsa drivers."
- DRIVERS="$(modprobe -c | sed -n -e '/^alias pci:.* snd.*/ s/^alias pci:[^ ]* \(.*\)/\1/p' | sort | uniq)"
- if [ -z "${DRIVERS}" ] ; then
- eerror "Unable to find any ALSA drivers. Have you configured your kernel correctly?"
- fi
- fi
-
- if [ "${ENABLE_OSS_EMUL}" = "yes" ] ; then
- DRIVERS="${DRIVERS} $(modprobe -l | sed -n -r -e '/snd.*oss/ s:^.*/.*/([^/]*).ko$:\1:p')"
- fi
-
- # We want to ensure snd-seq is loaded as it is needed for things like
- # timidity even if we don't use a real sequencer.
- DRIVERS="${DRIVERS} $(modprobe -l | sed -n -r -e '/snd.seq\./ s:^.*/.*/([^/]*).ko$:\1:p')"
-
- # We want to ensure snd-ioctl32 is loaded as it is needed for 32bit
- # compatibility
- DRIVERS="${DRIVERS} $(modprobe -l | sed -n -r -e '/snd.ioctl32\./ s:^.*/.*/([^/]*).ko$:\1:p')"
-
- local DRIVER= DMOD=
- for DRIVER in ${DRIVERS} ; do
- [ "${DRIVER}" = "off" ] && continue
- DMOD="$(echo "${DRIVER}" | sed -e 's/-/_/g')"
- if ! grep -q "^${DMOD} " /proc/modules ; then
- ebegin "Loading: ${DRIVER}"
- modprobe ${DRIVER}
- eend $?
- fi
- done
-
- if [ -f /proc/asound/seq/drivers ] ; then
- local SEQUENCERS="$(sed -n -e 's/\([^,]*\),empty,.*/\1/p' /proc/asound/seq/drivers)"
- local SEQUENCER
- for SEQUENCER in ${SEQUENCERS} ; do
- DMOD="$(echo "${SEQUENCER}" | sed -e 's/-/_/g')"
- if ! grep -q "^${DMOD} " /proc/modules ; then
- ebegin "Loading: ${SEQUENCER}"
- modprobe ${SEQUENCER}
- eend $?
- fi
- done
- fi
-
- for DRIVER in ${DRIVERS}
- do
- local TMP=${DRIVER##snd-}
- TMP=${TMP##snd_}
- if [ -x "${alsascrdir}/${TMP}" ] ; then
- ebegin "Running: ${alsascrdir}/${TMP}"
- "${alsascrdir}/${TMP}"
- eend $?
- fi
- done
-
- if [ ! -d /proc/asound ] || grep -q ' no soundcards ' /proc/asound/cards ; then
- eerror "ERROR: Failed to load necessary drivers"
- return 1
- fi
-}
-
-unload_modules_24() {
- local LOADED_MODULES="$(lsmod | sed -n -e 's/^\(snd[^ ]*\) .*/\1/p')"
- local MODULE
- for MODULE in ${LOADED_MODULES} ; do
- rmmod "${MODULE}"
- done
- rmmod soundcore 2>/dev/null
- rmmod gameport 2>/dev/null
-
- lsmod | grep -vq '^snd'
-}
-
-unload_modules_recursive() {
- local revdeps="$(lsmod | sed -n -e "s/,/ /g" -e "s/^$1 *[0-9]* *[0-9]* \(.*\)/\1/p")"
-
- for module in ${revdeps} ; do
- unload_modules_recursive "${module}"
- done
-
- vebegin "Unloading: $1"
- rmmod --wait "$1"
- veend $?
-}
-
-unload_modules_26() {
- # First of all, remove the snd module and all the modules depending
- # on it, this should remove already most of ALSA modules.
- lsmod | grep -q "^snd[[:space:]]" && unload_modules_recursive snd
-
- # Then find the remaining ones, and handle them too.
- for module in $(lsmod | sed -n -e 's/^\(snd[^ ]*\) .*/\1/p'); do
- unload_modules_recursive "${module}"
- done
-
- lsmod | grep -vq "^snd"
-}
-
-terminate() {
- #
- # Kill processes holding open sound devices
- #
- # DEVS=`find /dev/ -follow -type c -maxdepth 1 -print 2>/dev/null | xargs ls -dils | grep "1*1[46]," | cut -d: -f2 | cut -d" " -f2; echo /proc/asound/dev/*`
- local ossdevs="/dev/admmidi* /dev/adsp* /dev/amidi* /dev/audio* /dev/dmfm* \
- /dev/dmmidi* /dev/dsp* /dev/dspW* /dev/midi0* /dev/mixer* /dev/music \
- /dev/patmgr* /dev/sequencer* /dev/sndstat"
- local alsadevs="/proc/asound/dev/* /dev/sound/* /dev/snd/*"
- fuser -k ${ossdevs} ${alsadevs} >/dev/null 2>/dev/null
-
- # remove all sequencer connections if any
- [ -f /proc/asound/seq/clients ] && type aconnect >/dev/null 2>/dev/null && aconnect --removeall
-}
-
-restore() {
- ebegin "Restoring Mixer Levels"
-
- if [ ! -r "${alsastatedir}/asound.state" ] ; then
- ewarn "No mixer config in ${alsastatedir}/asound.state, you have to unmute your card!"
- eend 0
- return 0
- fi
-
- local cards="$(sed -n -e 's/ *\([[:digit:]]*\) .*/\1/p' /proc/asound/cards)"
- local CARDNUM
- for cardnum in ${cards}; do
- [ -e /dev/snd/controlC${cardnum} ] || sleep 2
- [ -e /dev/snd/controlC${cardnum} ] || sleep 2
- [ -e /dev/snd/controlC${cardnum} ] || sleep 2
- [ -e /dev/snd/controlC${cardnum} ] || sleep 2
- alsactl -f "${alsastatedir}/asound.state" restore ${cardnum} \
- || ewarn "Errors while restoring defaults, ignoring"
- done
-
- for ossfile in "${alsastatedir}"/oss/card*_pcm* ; do
- [ -e "${ossfile}" ] || continue
- # We use cat because I'm not sure if cp works properly on /proc
- local procfile=${ossfile##${alsastatedir}/oss}
- procfile="$(echo "${procfile}" | sed -e 's,_,/,g')"
- if [ -e /proc/asound/"${procfile}"/oss ] ; then
- cat "${ossfile}" > /proc/asound/"${procfile}"/oss
- fi
- done
-
- eend 0
-}
-
-save() {
- ebegin "Storing ALSA Mixer Levels"
-
- mkdir -p "${alsastatedir}"
- if ! alsactl -f "${alsastatedir}/asound.state" store; then
- eerror "Error saving levels."
- eend 1
- return 1
- fi
-
- for ossfile in /proc/asound/card*/pcm*/oss; do
- [ -e "${ossfile}" ] || continue
- local device=${ossfile##/proc/asound/} ; device=${device%%/oss}
- device="$(echo "${device}" | sed -e 's,/,_,g')"
- mkdir -p "${alsastatedir}/oss/"
- cp "${ossfile}" "${alsastatedir}/oss/${device}"
- done
-
- eend 0
-}
-
-start() {
- if [ -f /proc/modules ] && [ "${LOAD_ON_START}" = "yes" ]; then
- ebegin "Loading ALSA modules"
- eindent
- load_modules
- eoutdent
- eend $? || return 1
- fi
-
- if [ ! -d /proc/asound ]; then
- eerror "ALSA failed to load."
- eend 1
- return 1
- elif [ "${RESTORE_ON_START}" = "yes" ]; then
- restore
- fi
-
- return 0
-}
-
-stop() {
- if [ ! -d /proc/asound ] ; then
- eerror "ALSA is not loaded"
- return 0
- fi
-
- [ "${SAVE_ON_STOP}" = "yes" ] && save
-
- if [ "${KILLPROC_ON_STOP}" = "yes" ] ; then
- ewarn "You are using the unsupported KILLPROC_ON_STOP option."
- ewarn "Consider unsetting it. Do not file bugs until you have done so."
- ebegin "Killing processes using ALSA"
- terminate
- eend 0
- fi
-
- if [ -f /proc/modules ] && [ "${UNLOAD_ON_STOP}" = "yes" ]; then
- ewarn "You are using the unsupported UNLOAD_ON_STOP option."
- ewarn "Consider unsetting it. Do not file bugs until you have done so."
- local ver="26"
- case "$(uname -r)" in
- 2.[01234].*) ver="24";;
- *) ver="26";;
- esac
- ebegin "Unloading ALSA modules"
- eindent
- unload_modules_${ver}
- eend $?
- eoutdent
- fi
-
- return 0
-}
diff --git a/media-sound/alsa-utils/files/alsasound-1.0.19.confd b/media-sound/alsa-utils/files/alsasound-1.0.19.confd
deleted file mode 100644
index c54d14332261..000000000000
--- a/media-sound/alsa-utils/files/alsasound-1.0.19.confd
+++ /dev/null
@@ -1,36 +0,0 @@
-# ENABLE_OSS_EMUL:
-# Do you want to enable in-kernel oss emulation?
-# no - Do not load oss emul drivers
-# yes - Load oss emul drivers if they're found
-
-ENABLE_OSS_EMUL="yes"
-
-# RESTORE_ON_START:
-# Do you want to restore your mixer settings? If not, your cards will be
-# muted.
-# no - Do not restore state
-# yes - Restore state
-
-RESTORE_ON_START="yes"
-
-# SAVE_ON_STOP:
-# Do you want to save changes made to your mixer volumes when alsasound
-# stops?
-# no - Do not save state
-# yes - Save state
-
-SAVE_ON_STOP="yes"
-
-# LOAD_ON_START:
-# Do you want to load sound modules when alsasound starts?
-# Note: The Gentoo ALSA developers encourage you to build your sound
-# drivers into the kernel unless the device is hotpluggable or
-# you need to supply specific options (such as model= to HD-Audio).
-# no - Do not load modules
-# yes - Load modules
-LOAD_ON_START="yes"
-
-# Deprecated options:
-# Upstream feels, and we wholehartedly agree, that this was a silly idea
-UNLOAD_ON_STOP="no"
-KILLPROC_ON_STOP="no"
diff --git a/media-sound/alsa-utils/files/alsasound.confd b/media-sound/alsa-utils/files/alsasound.confd
deleted file mode 100644
index 2da67da35c72..000000000000
--- a/media-sound/alsa-utils/files/alsasound.confd
+++ /dev/null
@@ -1,41 +0,0 @@
-# ENABLE_OSS_EMUL:
-# Do you want to enable in-kernel oss emulation?
-# no - Do not load oss emul drivers
-# yes - Load oss emul drivers if they're found
-
-ENABLE_OSS_EMUL="yes"
-
-# RESTORE_ON_START:
-# Do you want to restore your mixer settings? If not, your cards will be
-# muted.
-# no - Do not restore state
-# yes - Restore state
-
-RESTORE_ON_START="yes"
-
-# SAVE_ON_STOP:
-# Do you want to save changes made to your mixer volumes when alsasound
-# stops?
-# no - Do not save state
-# yes - Save state
-
-SAVE_ON_STOP="yes"
-
-# LOAD_ON_START:
-# Do you want to load sound modules when alsasound starts?
-# no - Do not load modules
-# yes - Load modules
-LOAD_ON_START="yes"
-
-# UNLOAD_ON_STOP:
-# Do you want to unload sound modules when alsasound stops?
-# no - Do not unload modules
-# yes - Unload modules
-UNLOAD_ON_STOP="yes"
-
-# KILLPROC_ON_STOP
-# Do you want to kill any processes using ALSA when alsasound stops?
-# If you are using ALSA modules, leave as yes.
-# no - Do not terminate ALSA processes
-# yes - Kill running processes using ALSA
-KILLPROC_ON_STOP="yes"
diff --git a/media-sound/alsa-utils/files/alsasound.initd b/media-sound/alsa-utils/files/alsasound.initd
deleted file mode 100644
index 40600cf71570..000000000000
--- a/media-sound/alsa-utils/files/alsasound.initd
+++ /dev/null
@@ -1,237 +0,0 @@
-#!/sbin/runscript
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound.initd,v 1.9 2008/05/15 20:17:46 beandog Exp $
-# Copyright 2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-alsastatedir=/var/lib/alsa
-alsascrdir=/etc/alsa.d
-
-opts="save restore"
-
-depend() {
- need localmount
- after bootmisc modules isapnp coldplug hotplug
-}
-
-load_modules() {
- # List of drivers for each card.
- local DRIVERS="$(modprobe -c | sed -n -e 's/^alias \(snd-card-[[:digit:]]\+\) .*/\1/p')"
-
- # Fall back on the automated aliases if we don't have ALSA configured properly...
- if [ -z "${DRIVERS}" ] && \
- ( [ ! -r /proc/asound/cards ] || grep -q ' no soundcards ' /proc/asound/cards 2>/dev/null ) ; then
- ewarn "Could not detect custom ALSA settings. Loading all detected alsa drivers."
- DRIVERS="$(modprobe -c | sed -n -e '/^alias pci:.* snd.*/ s/^alias pci:[^ ]* \(.*\)/\1/p' | sort | uniq)"
- if [ -z "${DRIVERS}" ] ; then
- eerror "Unable to find any ALSA drivers. Have you compiled alsa-drivers correctly?"
- fi
- fi
-
- if [ "${ENABLE_OSS_EMUL}" = "yes" ] ; then
- DRIVERS="${DRIVERS} $(modprobe -l | sed -n -e '/snd.*oss/ s:\/.*\/\(.*\).ko:\1:p')"
- fi
-
- # We want to ensure snd-seq is loaded as it is needed for things like
- # timidity even if we don't use a real sequencer.
- DRIVERS="${DRIVERS} $(modprobe -l | sed -n -e '/snd.seq\./ s:\/.*\/\(.*\).ko:\1:p')"
-
- # We want to ensure snd-ioctl32 is loaded as it is needed for 32bit
- # compatibility
- DRIVERS="${DRIVERS} $(modprobe -l | sed -n -e '/snd.ioctl32\./ s:\/.*\/\(.*\).ko:\1:p')"
-
- local DRIVER= DMOD=
- for DRIVER in ${DRIVERS} ; do
- [ "${DRIVER}" = "off" ] && continue
- DMOD="$(echo "${DRIVER}" | sed -e 's/-/_/g')"
- if ! grep -q "^${DMOD} " /proc/modules ; then
- ebegin "Loading: ${DRIVER}"
- modprobe ${DRIVER}
- eend $?
- fi
- done
-
- if [ -f /proc/asound/seq/drivers ] ; then
- local SEQUENCERS="$(sed -n -e 's/\([^,]*\),empty,.*/\1/p' /proc/asound/seq/drivers)"
- local SEQUENCER
- for SEQUENCER in ${SEQUENCERS} ; do
- DMOD="$(echo "${SEQUENCER}" | sed -e 's/-/_/g')"
- if ! grep -q "^${DMOD} " /proc/modules ; then
- ebegin "Loading: ${SEQUENCER}"
- modprobe ${SEQUENCER}
- eend $?
- fi
- done
- fi
-
- for DRIVER in ${DRIVERS}
- do
- local TMP=${DRIVER##snd-}
- TMP=${TMP##snd_}
- if [ -x "${alsascrdir}/${TMP}" ] ; then
- ebegin "Running: ${alsascrdir}/${TMP}"
- "${alsascrdir}/${TMP}"
- eend $?
- fi
- done
-
- if [ ! -d /proc/asound ] || grep -q ' no soundcards ' /proc/asound/cards ; then
- eerror "ERROR: Failed to load necessary drivers"
- return 1
- fi
-}
-
-unload_modules_24() {
- local LOADED_MODULES="$(lsmod | sed -n -e 's/^\(snd[^ ]*\) .*/\1/p')"
- local MODULE
- for MODULE in ${LOADED_MODULES} ; do
- rmmod "${MODULE}"
- done
- rmmod soundcore 2>/dev/null
- rmmod gameport 2>/dev/null
-
- lsmod | grep -vq '^snd'
-}
-
-unload_modules_recursive() {
- local revdeps="$(lsmod | sed -n -e "s/,/ /g" -e "s/^$1 *[0-9]* *[0-9]* \(.*\)/\1/p")"
-
- for module in ${revdeps} ; do
- unload_modules_recursive "${module}"
- done
-
- vebegin "Unloading: $1"
- rmmod --wait "$1"
- veend $?
-}
-
-unload_modules_26() {
- # First of all, remove the snd module and all the modules depending
- # on it, this should remove already most of ALSA modules.
- lsmod | grep -q "^snd[[:space:]]" && unload_modules_recursive snd
-
- # Then find the remaining ones, and handle them too.
- for module in $(lsmod | sed -n -e 's/^\(snd[^ ]*\) .*/\1/p'); do
- unload_modules_recursive "${module}"
- done
-
- lsmod | grep -vq "^snd"
-}
-
-terminate() {
- #
- # Kill processes holding open sound devices
- #
- # DEVS=`find /dev/ -follow -type c -maxdepth 1 -print 2>/dev/null | xargs ls -dils | grep "1*1[46]," | cut -d: -f2 | cut -d" " -f2; echo /proc/asound/dev/*`
- local ossdevs="/dev/admmidi* /dev/adsp* /dev/amidi* /dev/audio* /dev/dmfm* \
- /dev/dmmidi* /dev/dsp* /dev/dspW* /dev/midi0* /dev/mixer* /dev/music \
- /dev/patmgr* /dev/sequencer* /dev/sndstat"
- local alsadevs="/proc/asound/dev/* /dev/sound/* /dev/snd/*"
- fuser -k ${ossdevs} ${alsadevs} >/dev/null 2>/dev/null
-
- # remove all sequencer connections if any
- [ -f /proc/asound/seq/clients ] && type aconnect >/dev/null 2>/dev/null && aconnect --removeall
-}
-
-restore() {
- ebegin "Restoring Mixer Levels"
-
- if [ ! -r "${alsastatedir}/asound.state" ] ; then
- ewarn "No mixer config in ${alsastatedir}/asound.state, you have to unmute your card!"
- eend 0
- return 0
- fi
-
- local cards="$(sed -n -e 's/ *\([[:digit:]]*\) .*/\1/p' /proc/asound/cards)"
- local CARDNUM
- for cardnum in ${cards}; do
- [ -e /dev/snd/controlC${cardnum} ] || sleep 2
- [ -e /dev/snd/controlC${cardnum} ] || sleep 2
- [ -e /dev/snd/controlC${cardnum} ] || sleep 2
- [ -e /dev/snd/controlC${cardnum} ] || sleep 2
- alsactl -f "${alsastatedir}/asound.state" restore ${cardnum} \
- || ewarn "Errors while restoring defaults, ignoring"
- done
-
- for ossfile in "${alsastatedir}"/oss/card*_pcm* ; do
- [ -e "${ossfile}" ] || continue
- # We use cat because I'm not sure if cp works properly on /proc
- local procfile=${ossfile##${alsastatedir}/oss}
- procfile="$(echo "${procfile}" | sed -e 's,_,/,g')"
- if [ -e /proc/asound/"${procfile}"/oss ] ; then
- cat "${ossfile}" > /proc/asound/"${procfile}"/oss
- fi
- done
-
- eend 0
-}
-
-save() {
- ebegin "Storing ALSA Mixer Levels"
-
- mkdir -p "${alsastatedir}"
- if ! alsactl -f "${alsastatedir}/asound.state" store; then
- eerror "Error saving levels."
- eend 1
- return 1
- fi
-
- for ossfile in /proc/asound/card*/pcm*/oss; do
- [ -e "${ossfile}" ] || continue
- local device=${ossfile##/proc/asound/} ; device=${device%%/oss}
- device="$(echo "${device}" | sed -e 's,/,_,g')"
- mkdir -p "${alsastatedir}/oss/"
- cp "${ossfile}" "${alsastatedir}/oss/${device}"
- done
-
- eend 0
-}
-
-start() {
- if [ -f /proc/modules ] && [ "${LOAD_ON_START}" = "yes" ]; then
- ebegin "Loading ALSA modules"
- eindent
- load_modules
- eoutdent
- eend $? || return 1
- fi
-
- if [ ! -d /proc/asound ]; then
- eerror "ALSA failed to load."
- eend 1
- return 1
- elif [ "${RESTORE_ON_START}" = "yes" ]; then
- restore
- fi
-
- return 0
-}
-
-stop() {
- if [ ! -d /proc/asound ] ; then
- eerror "ALSA is not loaded"
- return 0
- fi
-
- [ "${SAVE_ON_STOP}" = "yes" ] && save
-
- if [ "${KILLPROC_ON_STOP}" = "yes" ] ; then
- ebegin "Killing processes using ALSA"
- terminate
- eend 0
- fi
-
- if [ -f /proc/modules ] && [ "${UNLOAD_ON_STOP}" = "yes" ]; then
- local ver="26"
- case "$(uname -r)" in
- 2.[01234].*) ver="24";;
- *) ver="26";;
- esac
- ebegin "Unloading ALSA modules"
- eindent
- unload_modules_${ver}
- eend $?
- eoutdent
- fi
-
- return 0
-}