diff options
author | Daniel Drake <dsd@gentoo.org> | 2005-06-20 17:46:16 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2005-06-20 17:46:16 +0000 |
commit | e59d87286a1f3bc3f2739567bdda3d90a5e352b6 (patch) | |
tree | 38b108bf024159e69b7af1776c1e7f04d682298d /media-sound | |
parent | Added ~hppa (diff) | |
download | gentoo-2-e59d87286a1f3bc3f2739567bdda3d90a5e352b6.tar.gz gentoo-2-e59d87286a1f3bc3f2739567bdda3d90a5e352b6.tar.bz2 gentoo-2-e59d87286a1f3bc3f2739567bdda3d90a5e352b6.zip |
Removing media-sound/emu10k1 - obselete, use ALSA instead.
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/emu10k1/ChangeLog | 79 | ||||
-rw-r--r-- | media-sound/emu10k1/Manifest | 15 | ||||
-rw-r--r-- | media-sound/emu10k1/emu10k1-0.20a-r5.ebuild | 127 | ||||
-rw-r--r-- | media-sound/emu10k1/emu10k1-0.20a-r6.ebuild | 135 | ||||
-rw-r--r-- | media-sound/emu10k1/emu10k1-0.20a-r7.ebuild | 138 | ||||
-rw-r--r-- | media-sound/emu10k1/files/README.gentoo | 103 | ||||
-rw-r--r-- | media-sound/emu10k1/files/audigy-script | 208 | ||||
-rw-r--r-- | media-sound/emu10k1/files/digest-emu10k1-0.20a-r5 | 1 | ||||
-rw-r--r-- | media-sound/emu10k1/files/digest-emu10k1-0.20a-r6 | 1 | ||||
-rw-r--r-- | media-sound/emu10k1/files/digest-emu10k1-0.20a-r7 | 1 | ||||
-rw-r--r-- | media-sound/emu10k1/files/emu10k1-0.20a-gcc3.3.patch.gz | bin | 1547 -> 0 bytes | |||
-rw-r--r-- | media-sound/emu10k1/files/emu10k1-0.20a-gcc3.4.patch | 60 | ||||
-rw-r--r-- | media-sound/emu10k1/files/emu10k1-script | 55 | ||||
-rw-r--r-- | media-sound/emu10k1/files/emu10k1.conf-gentoo-header | 15 | ||||
-rw-r--r-- | media-sound/emu10k1/files/modules-emu10k1 | 2 | ||||
-rw-r--r-- | media-sound/emu10k1/metadata.xml | 5 |
16 files changed, 0 insertions, 945 deletions
diff --git a/media-sound/emu10k1/ChangeLog b/media-sound/emu10k1/ChangeLog deleted file mode 100644 index 2c4b0aa7c608..000000000000 --- a/media-sound/emu10k1/ChangeLog +++ /dev/null @@ -1,79 +0,0 @@ -# ChangeLog for media-sound/emu10k1 -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/ChangeLog,v 1.18 2004/10/28 19:38:02 s4t4n Exp $ - -*emu10k1-0.20a-r7 (28 Sep 2004) - - 28 Sep 2004; Michele Noberasco <s4t4n@gentoo.org> +emu10k1-0.20a-r7.ebuild: - Added patch to make it compile with gcc 3.4... a pity I have a 2.6 kernel, - so the patch fixes the utilities only, not the drivers... - -*emu10k1-0.20a-r6 (05 Sep 2004) - - 05 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> - +emu10k1-0.20a-r6.ebuild: - On 2.6 kernels, install the tools/scripts but no modules... closes bug #57539. - - 17 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> - emu10k1-0.20a-r5.ebuild: - eutils. IUSE. - - 06 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org> - emu10k1-0.20a-r5.ebuild: - Added error message to pkg_setup that this module only works with 2.4.x - kernels. - - 04 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org> - emu10k1-0.20a-r5.ebuild: - Unset $ARCH in src_compile() to fix bug #40424. - - 28 Oct 2003; Martin Holzer <mholzer@gentoo.org> emu10k1-0.20a-r5.ebuild: - adding gcc3 fix. - Closes #28762. - -*emu10k1-0.20a-r5 (07 Mar 2003) - - 07 Mar 2003; Daniel Robbins <drobbins@gentoo.org>: New rev with several - significant fixes. Updated audigy-script to use great fixed version from - Jonathan Boler (tenpin22@blueyonder.co.uk), and found at - http://basic-rip.co.uk/tenpin/audigy-script (currently unreadable). Tone - controls now work with Audigy cards. Fixed up /usr/bin/emu-script to use - /etc/aumixrc rather than /etc/.aumixrc, and tweaked audigy-script and - emu-script to set tone controls to a neutral 50 rather than a tweaked 68 (I - care about that kind of stuff... :). Added a README.gentoo that contains a - copy of Jonathan Boler's very good Audigy FAQ (pulled from google cache since - it's now unavailable on the Web) - -*emu10k1-0.20a-r4 (07 Mar 2003) - - 07 Mar 2003; Mike Frysinger <vapier@gentoo.org> : - Updated wrapper script to detect card type automagically. - -*emu10k1-0.20a-r3 (11 Feb 2003) - - 11 Feb 2003; Mike Frysinger <vapier@gentoo.org> : - Added a wrapper script to handle both audigy and emu - based cards ... this fixes bug #14777. - -*emu10k1-0.20a-r2 (03 Feb 2003) - - 03 Feb 2003; Mike Frysinger <vapier@gentoo.org> : - Added compile fixes #14894 and documentation fixes #14991. - -*emu10k1-0.20a-r1 (05 Nov 2002) - - 29 Dec 2002; Daniel Robbins <drobbins@gentoo.org> : updated pkg_postinst() blurb to - be more detailed/accurate. Added a "depmod -a" to pkg_postinst() - - 05 Nov 2002; Mike Frysinger <vapier@gentoo.org> : - Made default .conf have more options enabled. - -*emu10k1-0.20a (05 Nov 2002) - - 05 Nov 2002; Mike Frysinger <vapier@gentoo.org> : - Initial import. Contributers (myself): - Doug Haas <haas.118@osu.edu> - Eric Favre <e.f@laposte.net> - John Herdy <JohnHerdy@Hotmail.com> - psypete <psypete@windstone.darktech.org> - And others ... :P diff --git a/media-sound/emu10k1/Manifest b/media-sound/emu10k1/Manifest deleted file mode 100644 index 1bd5c9b42a15..000000000000 --- a/media-sound/emu10k1/Manifest +++ /dev/null @@ -1,15 +0,0 @@ -MD5 beb206c6676bc083ab0aaf9b4cb4a525 emu10k1-0.20a-r7.ebuild 3983 -MD5 dfba438ba6f02ac55d0f2a74516a160b emu10k1-0.20a-r6.ebuild 3920 -MD5 dfca7fd8ac65751ae0e6863623459fc1 emu10k1-0.20a-r5.ebuild 3864 -MD5 e70157bebc5fca9eb5988dabd089415e ChangeLog 2965 -MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 -MD5 cc1b5b194b1ed9e8f12c0ef441bd4958 files/README.gentoo 3591 -MD5 c4fa14eb5b5e9ec060dc4becba91168d files/digest-emu10k1-0.20a-r5 67 -MD5 c4fa14eb5b5e9ec060dc4becba91168d files/digest-emu10k1-0.20a-r6 67 -MD5 c4fa14eb5b5e9ec060dc4becba91168d files/digest-emu10k1-0.20a-r7 67 -MD5 5c0aeb3e4b0c3d110aa12e2145663155 files/modules-emu10k1 101 -MD5 33e92f14c4ebd59dcb789bd91964df92 files/emu10k1-script 1731 -MD5 0adf8538874d6081ae1a984f3e4809c6 files/audigy-script 4530 -MD5 5098f0c8f428a782347cc8b42ad0b018 files/emu10k1.conf-gentoo-header 465 -MD5 005d7a52156930b9de0bc03184c76f8f files/emu10k1-0.20a-gcc3.3.patch.gz 1547 -MD5 18480e7311270305cd37073542ea4cb0 files/emu10k1-0.20a-gcc3.4.patch 1453 diff --git a/media-sound/emu10k1/emu10k1-0.20a-r5.ebuild b/media-sound/emu10k1/emu10k1-0.20a-r5.ebuild deleted file mode 100644 index 1cacb8a3db2e..000000000000 --- a/media-sound/emu10k1/emu10k1-0.20a-r5.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/emu10k1-0.20a-r5.ebuild,v 1.7 2004/06/24 23:58:31 agriffis Exp $ - -inherit eutils kernel-mod - -IUSE="" - -MY_P="${P/-/-v}" -DESCRIPTION="Drivers, utilities, and effects for Sound Blaster cards (SBLive!, SB512, Audigy)" -SRC_URI="mirror://sourceforge/emu10k1/${MY_P}.tar.bz2" -RESTRICT="nomirror" -HOMEPAGE="http://www.sourceforge.net/projects/emu10k1/" - -DEPEND="virtual/linux-sources" -RDEPEND="media-sound/aumix" - -KEYWORDS="-* x86" -SLOT="${KV}" -LICENSE="GPL-2" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - [ -z "$KV" ] && die "Couldn't detect kernel version. Does /usr/src/linux exist?" - kernel-mod_is_2_4_kernel || die "This module is only compatible with 2.4.x kernels." - - return 0 -} - -src_unpack() { - unpack ${A} - cd ${S} - - # Patch for GCC 3.3 - epatch ${FILESDIR}/${P}-gcc3.3.patch.gz || die -} - -src_compile() { - echo "SEQUENCER_SUPPORT := y" > config - echo "MODVERSIONS := y" >> config - echo "DBGEMU := n" >> config - - # Unset ARCH to prevent conflict with 2.6 kernels. See bug #40424 - # unset ARCH - - export KERNEL_SOURCE=/usr/src/linux - make || die "make failed" - make all || die "make all failed" - make tools || die "make tools failed" -} - -src_install() { - insinto /etc/modules.d - newins ${FILESDIR}/modules-emu10k1 emu10k1 - - # first install the main parts - make DESTDIR=${D} install || die "could not install" - rm -f docs/*patch - dodoc docs/* ${FILESDIR}/README.gentoo - - # now fix up the script so it'll install into /usr and not /usr/local - for f in ${S}/utils/{Makefile.config,scripts/emu-script} ; do - cp ${f} ${f}.old - sed -e 's:/usr/local:/usr:g' ${f}.old > ${f} - done - make man_prefix=${D}/usr/share/man DESTDIR=${D} install-tools || die "could not install tools" - - # clean up the /usr/etc directory, movind stuff to /usr/bin... - cd ${D}/usr/etc - mv `find -type f -perm +1` ../bin/ - mv * ${D}/etc/ - cd ${D} - rm -rf ${D}/usr/etc - - # add our special fixed audigy-script. Yes, the one in the driver package is b0rked and should - # not be used until you're absolutely sure it's superior to this one. Much thanks to - # Jonathan Boler (tenpin22@blueyonder.co.uk) for this excellent fixed version. - dobin ${FILESDIR}/audigy-script || die - - # add wrapper script to handle audigy and emu cards - dobin ${FILESDIR}/emu10k1-script || die - cd ${D}/etc - cp emu10k1.conf ${T}/ - { - cat ${FILESDIR}/emu10k1.conf-gentoo-header - cat ${T}/emu10k1.conf - } > emu10k1.conf - - # clean up the scripts - dosed 's:$BASE_PATH/etc:/etc:g' /usr/bin/emu-script - dosed 's:\.aumixrc:aumixrc:g' /usr/bin/emu-script - # set tone control defaults to 50 (neutral) - dosed 's:68:50:g' /usr/bin/emu-script - # the audigy script is a local copy in ${FILESDIR} and has already been fixed up. - - # change default settings - dosed 's:AC3PASSTHROUGH=no:AC3PASSTHROUGH=yes:' /etc/emu10k1.conf - dosed 's:ANALOG_FRONT_BOOST=no:ANALOG_FRONT_BOOST=yes:' /etc/emu10k1.conf - dosed 's:SURROUND=no:SURROUND=yes:' /etc/emu10k1.conf - -} - -pkg_postinst() { - #update-modules handles depmod -a for us - if [ -e /sbin/update-modules ] - then - /sbin/update-modules - else - /usr/sbin/update-modules - fi - einfo "In order for the module to work correctly you must" - einfo "Enable the following options in your kernel:" - echo - einfo "Sound/Sound card support (module or builtin)" - einfo "Sound/OSS sound modules (module or builtin)" - echo - einfo "In addition, ensure that the following modules are" - einfo "*not* built in to your kernel, or are at least" - einfo "built as modules are not currently loaded." - echo - einfo "Sound/Creative SBLive! (EMU10K1) (disabled or module)" - einfo "Sound/Creative SBLive! MIDI (disabled or module)" - echo - einfo "If you have not yet done this, rebuild and install" - einfo "your kernel modules and re-emerge this package." -} diff --git a/media-sound/emu10k1/emu10k1-0.20a-r6.ebuild b/media-sound/emu10k1/emu10k1-0.20a-r6.ebuild deleted file mode 100644 index d023a7f10302..000000000000 --- a/media-sound/emu10k1/emu10k1-0.20a-r6.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/emu10k1-0.20a-r6.ebuild,v 1.2 2004/09/07 17:18:12 mr_bones_ Exp $ - -IUSE="" - -inherit eutils kernel-mod - -MY_P="${P/-/-v}" -DESCRIPTION="Drivers, utilities, and effects for Sound Blaster cards (SBLive!, SB512, Audigy)" -SRC_URI="mirror://sourceforge/emu10k1/${MY_P}.tar.bz2" -RESTRICT="nomirror" -HOMEPAGE="http://www.sourceforge.net/projects/emu10k1/" - -DEPEND="virtual/linux-sources" -RDEPEND="media-sound/aumix" - -KEYWORDS="-* ~x86" -SLOT="${KV}" -LICENSE="GPL-2" - -S="${WORKDIR}/${MY_P}" - -BUILD_MODULE=0 - -pkg_setup() { - [ -z "$KV" ] && die "Couldn't detect kernel version. Does /usr/src/linux exist?" - kernel-mod_is_2_4_kernel && BUILD_MODULE=1 - - return 0 -} - -src_unpack() { - unpack ${A} - cd ${S} - - # Patch for GCC 3.3 - epatch ${FILESDIR}/${P}-gcc3.3.patch.gz || die -} - -src_compile() { - echo "SEQUENCER_SUPPORT := y" > config - echo "MODVERSIONS := y" >> config - echo "DBGEMU := n" >> config - - # Unset ARCH to prevent conflict with 2.6 kernels. See bug #40424 - # unset ARCH - if [ $BUILD_MODULE -eq 1 ] - then - export KERNEL_SOURCE=/usr/src/linux - make || die "make failed" - make all || die "make all failed" - fi - make tools || die "make tools failed" -} - -src_install() { - insinto /etc/modules.d - newins ${FILESDIR}/modules-emu10k1 emu10k1 - - if [ $BUILD_MODULE -eq 1 ] - then - # first install the main parts - make DESTDIR=${D} install || die "could not install" - fi - - rm -f docs/*patch - dodoc docs/* ${FILESDIR}/README.gentoo - - # now fix up the script so it'll install into /usr and not /usr/local - for f in ${S}/utils/{Makefile.config,scripts/emu-script} ; do - cp ${f} ${f}.old - sed -e 's:/usr/local:/usr:g' ${f}.old > ${f} - done - make man_prefix=${D}/usr/share/man DESTDIR=${D} install-tools || die "could not install tools" - - # clean up the /usr/etc directory, movind stuff to /usr/bin... - cd ${D}/usr/etc - mv `find -type f -perm +1` ../bin/ - mv * ${D}/etc/ - cd ${D} - rm -rf ${D}/usr/etc - - # add our special fixed audigy-script. Yes, the one in the driver package is b0rked and should - # not be used until you're absolutely sure it's superior to this one. Much thanks to - # Jonathan Boler (tenpin22@blueyonder.co.uk) for this excellent fixed version. - dobin ${FILESDIR}/audigy-script || die - - # add wrapper script to handle audigy and emu cards - dobin ${FILESDIR}/emu10k1-script || die - cd ${D}/etc - cp emu10k1.conf ${T}/ - { - cat ${FILESDIR}/emu10k1.conf-gentoo-header - cat ${T}/emu10k1.conf - } > emu10k1.conf - - # clean up the scripts - dosed 's:$BASE_PATH/etc:/etc:g' /usr/bin/emu-script - dosed 's:\.aumixrc:aumixrc:g' /usr/bin/emu-script - # set tone control defaults to 50 (neutral) - dosed 's:68:50:g' /usr/bin/emu-script - # the audigy script is a local copy in ${FILESDIR} and has already been fixed up. - - # change default settings - dosed 's:AC3PASSTHROUGH=no:AC3PASSTHROUGH=yes:' /etc/emu10k1.conf - dosed 's:ANALOG_FRONT_BOOST=no:ANALOG_FRONT_BOOST=yes:' /etc/emu10k1.conf - dosed 's:SURROUND=no:SURROUND=yes:' /etc/emu10k1.conf - -} - -pkg_postinst() { - #update-modules handles depmod -a for us - if [ -e /sbin/update-modules ] - then - /sbin/update-modules - else - /usr/sbin/update-modules - fi - einfo "In order for the module to work correctly you must" - einfo "Enable the following options in your kernel:" - echo - einfo "Sound/Sound card support (module or builtin)" - einfo "Sound/OSS sound modules (module or builtin)" - echo - einfo "In addition, ensure that the following modules are" - einfo "*not* built in to your kernel, or are at least" - einfo "built as modules are not currently loaded." - echo - einfo "Sound/Creative SBLive! (EMU10K1) (disabled or module)" - einfo "Sound/Creative SBLive! MIDI (disabled or module)" - echo - einfo "If you have not yet done this, rebuild and install" - einfo "your kernel modules and re-emerge this package." -} diff --git a/media-sound/emu10k1/emu10k1-0.20a-r7.ebuild b/media-sound/emu10k1/emu10k1-0.20a-r7.ebuild deleted file mode 100644 index f76520adaf51..000000000000 --- a/media-sound/emu10k1/emu10k1-0.20a-r7.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/emu10k1-0.20a-r7.ebuild,v 1.1 2004/10/28 19:38:02 s4t4n Exp $ - -IUSE="" - -inherit eutils kernel-mod - -MY_P="${P/-/-v}" -DESCRIPTION="Drivers, utilities, and effects for Sound Blaster cards (SBLive!, SB512, Audigy)" -SRC_URI="mirror://sourceforge/emu10k1/${MY_P}.tar.bz2" -RESTRICT="nomirror" -HOMEPAGE="http://www.sourceforge.net/projects/emu10k1/" - -DEPEND="virtual/linux-sources" -RDEPEND="media-sound/aumix" - -KEYWORDS="-* ~x86" -SLOT="${KV}" -LICENSE="GPL-2" - -S="${WORKDIR}/${MY_P}" - -BUILD_MODULE=0 - -pkg_setup() { - [ -z "$KV" ] && die "Couldn't detect kernel version. Does /usr/src/linux exist?" - kernel-mod_is_2_4_kernel && BUILD_MODULE=1 - - return 0 -} - -src_unpack() { - unpack ${A} - cd ${S} - - # Patch for GCC 3.3 - epatch ${FILESDIR}/${P}-gcc3.3.patch.gz || die - - # Patch for GCC 3.4 - epatch ${FILESDIR}/${P}-gcc3.4.patch || die -} - -src_compile() { - echo "SEQUENCER_SUPPORT := y" > config - echo "MODVERSIONS := y" >> config - echo "DBGEMU := n" >> config - - # Unset ARCH to prevent conflict with 2.6 kernels. See bug #40424 - # unset ARCH - if [ $BUILD_MODULE -eq 1 ] - then - export KERNEL_SOURCE=/usr/src/linux - make || die "make failed" - make all || die "make all failed" - fi - make tools || die "make tools failed" -} - -src_install() { - insinto /etc/modules.d - newins ${FILESDIR}/modules-emu10k1 emu10k1 - - if [ $BUILD_MODULE -eq 1 ] - then - # first install the main parts - make DESTDIR=${D} install || die "could not install" - fi - - rm -f docs/*patch - dodoc docs/* ${FILESDIR}/README.gentoo - - # now fix up the script so it'll install into /usr and not /usr/local - for f in ${S}/utils/{Makefile.config,scripts/emu-script} ; do - cp ${f} ${f}.old - sed -e 's:/usr/local:/usr:g' ${f}.old > ${f} - done - make man_prefix=${D}/usr/share/man DESTDIR=${D} install-tools || die "could not install tools" - - # clean up the /usr/etc directory, movind stuff to /usr/bin... - cd ${D}/usr/etc - mv `find -type f -perm +1` ../bin/ - mv * ${D}/etc/ - cd ${D} - rm -rf ${D}/usr/etc - - # add our special fixed audigy-script. Yes, the one in the driver package is b0rked and should - # not be used until you're absolutely sure it's superior to this one. Much thanks to - # Jonathan Boler (tenpin22@blueyonder.co.uk) for this excellent fixed version. - dobin ${FILESDIR}/audigy-script || die - - # add wrapper script to handle audigy and emu cards - dobin ${FILESDIR}/emu10k1-script || die - cd ${D}/etc - cp emu10k1.conf ${T}/ - { - cat ${FILESDIR}/emu10k1.conf-gentoo-header - cat ${T}/emu10k1.conf - } > emu10k1.conf - - # clean up the scripts - dosed 's:$BASE_PATH/etc:/etc:g' /usr/bin/emu-script - dosed 's:\.aumixrc:aumixrc:g' /usr/bin/emu-script - # set tone control defaults to 50 (neutral) - dosed 's:68:50:g' /usr/bin/emu-script - # the audigy script is a local copy in ${FILESDIR} and has already been fixed up. - - # change default settings - dosed 's:AC3PASSTHROUGH=no:AC3PASSTHROUGH=yes:' /etc/emu10k1.conf - dosed 's:ANALOG_FRONT_BOOST=no:ANALOG_FRONT_BOOST=yes:' /etc/emu10k1.conf - dosed 's:SURROUND=no:SURROUND=yes:' /etc/emu10k1.conf - -} - -pkg_postinst() { - #update-modules handles depmod -a for us - if [ -e /sbin/update-modules ] - then - /sbin/update-modules - else - /usr/sbin/update-modules - fi - einfo "In order for the module to work correctly you must" - einfo "Enable the following options in your kernel:" - echo - einfo "Sound/Sound card support (module or builtin)" - einfo "Sound/OSS sound modules (module or builtin)" - echo - einfo "In addition, ensure that the following modules are" - einfo "*not* built in to your kernel, or are at least" - einfo "built as modules are not currently loaded." - echo - einfo "Sound/Creative SBLive! (EMU10K1) (disabled or module)" - einfo "Sound/Creative SBLive! MIDI (disabled or module)" - echo - einfo "If you have not yet done this, rebuild and install" - einfo "your kernel modules and re-emerge this package." -} diff --git a/media-sound/emu10k1/files/README.gentoo b/media-sound/emu10k1/files/README.gentoo deleted file mode 100644 index 912c3d164a7e..000000000000 --- a/media-sound/emu10k1/files/README.gentoo +++ /dev/null @@ -1,103 +0,0 @@ -This excellent Linux Audigy FAQ is from -http://basic-rip.co.uk/tenpin/linux_audigy_faq.html, which is currently -unreadable so we're adding a cached copy from google to this file for -safe-keeping. PLEASE NOTE: the current version of the Gentoo Linux emu10k1 -auto-detects emu10k1 or audigy and also uses a fixed audigy-script as described -in this FAQ. However, the MIDI/LiveWire fix may still be needed for some users. - -<audigy-faq> - -This page details my experience in getting my Creative Soundblaster Audigy to -work properly under Linux (Gentoo Linux to be exact) using the Open Sound -System driver. - -If you use Gentoo Linux then grab this package which contains an eBuild I wrote -to do all the below (last updated 11:53 11th Oct): -emu10k1-audigy-20020927-rl.tar.gz - -The first thing to do is download the driver source archive from -http://sourceforge.net/projects/emu10k1/. - -Extract the archive in a directory you have write access to (your home -directory): tar xvjf emu10k1-v0.20a.tar.bz2 - -Enter the extracted directory: cd emu10k1-v0.20 - -Next run: - -make -make all - -Then run (as root): - -make install - -If the first make fails then you will need to edit the file config so that the -line KERNEL_SOURCE := gives the location of your kernel source code. - -Ussually this location is: /usr/src/linux - -Next run (not as root): - -make tools - -Then run (as root): - -make install-tools - -The script audigy-script and the config file emu10k1.conf are both installed to -/usr/local/etc/. - -I have written replacements for these files which fix lots of bugs with the -default ones. I would advise you to read them and then replace the existing -ones with my versions: - -audigy-script -emu10k1.conf - -audigy-script is used to configure the soundcard so that all the channels are -setup properly and so that recording works. emu10k1.conf is used to set some -options for audigy-script. - -audigy-script sets up the following volume controls: - -Vol - Front Speaker Volumes -OGain - Rear Speaker Volumes -Igain - Center/Subwoofer Volumes - -Update: 30.10.02 - -If you find that you are only getting a particular sound source (eg. CD -playback) through the 2 front channels, you can mirror them to the rear 2 -channels by adding the following line to audigy-script: - -$DSPMGR -a"Pcm:$REAR" - -Also thanks to Colin McCambridge for these 2 tips: - -1) Don't download and use the 0.9.4 tools package from sourceforge, as it -appears to contain an old version of the emu-dspmgr program that does *not* -seem to support stereo input/output routing (Both the included script and yours -were broken when using that tool, because "Pcm" was not a valid input for the -route). The included tools in the driver package work just fine - -2) For people with Audigy Platinum cards that have the Audigy Drive and -InfraRed remote, the fix that took me so long to find to enable the system MIDI -messages triggered by the infrared remote (and thus enable the remote's -functionality) is this: - -Before compiling the emu10k1 driver, you have to edit the midi.h file and -uncomment the line #define USE_AUDIGY_DRIVE_MIDI. The Audigy card has two -MIDI devices, and since the emu10k1 developers have yet to get both working at -the same time, uncommenting that line switches support from the first to the -second on Audigy Platinum cards. - -If you find any problems with my scripts or any of my instructions then please -mail me: tenpin22@blueyonder.co.uk - -There are some forums on the driver Sourceforge homepage but I haven't found -them very active. You can find them here. - -I will be updating this page when I remember what else I was going to put on -it. -</audigy-faq> diff --git a/media-sound/emu10k1/files/audigy-script b/media-sound/emu10k1/files/audigy-script deleted file mode 100644 index 347412a5c080..000000000000 --- a/media-sound/emu10k1/files/audigy-script +++ /dev/null @@ -1,208 +0,0 @@ -#!/bin/bash -e -# -# audigy-script -- A setup script -# -# Author: Jonathan Boler (tenpin22@blueyonder.co.uk) Originally: Daniel Bertrand -# Last Updates: -# Daniel Robbins, 07th March 2003 (drobbins@gentoo.org) -# Set tone control defaults to 50/100 (neutral) -# Jonathan Boler, 11th October 2002 -# Version: 0.31 -# -# Optional argument processing: -# This script takes arguments which can override the settings in the -# config file. The following flags are supported: -# -# -d [yes|no] use the digital output -# -t [yes|no] enable the tone controls -# -3 [yes|no] enable ac3 passthrough -# -i [yes|no] enable livedrive ir - -# Default location of programs: -BASE_PATH=/usr -DSPPATH=$BASE_PATH/share/emu10k1 -AUMIX=`which aumix` - -# To use something other than /dev/dsp -# example "-D /dev/dsp1" -DSPDEV="" - -# To use something other than /dev/dsp -# example "-M /dev/mixer1" -MIXERDEV="" - -DSPMGR=$BASE_PATH/bin/emu-dspmgr $DSPDEV $MIXERDEV - -CONFIG=$BASE_PATH/bin/emu-config $DSPDEV $MIXERDEV - -SAVEARGS="$@" - -load(){ - -# Source configurations - . /etc/emu10k1.conf - -# Pick up any command line overrides -while getopts d:t:3:i: OPT $SAVEARGS; do - case "$OPT" in - d) - USE_DIGITAL_OUTPUT=$OPTARG - ;; - t) - ENABLE_TONE_CONTROL=$OPTARG - ;; - 3) - AC3PASSTHROUGH=$OPTARG - ;; - i) - ENABLE_LIVEDRIVE_IR=$OPTARG - ;; - *) - exit 1 - ;; - esac - shift 2 -done - -# Set some variables -if [ "$USE_DIGITAL_OUTPUT" = yes ]; then - FRONT="Dig Front" - CENTER="Dig Center" - SUB="Dig LFE" - REAR="Dig rear" - CTR_SUB="Dig ctr/sub" -else - FRONT="Front" - CENTER="Center" - SUB="Sub" - REAR="Rear" - CTR_SUB="Ctr/sub" -fi - -# Functions to enable inputs and volume controls - -enable_volume(){ - INPUT=$1 - VOLUME=$2 - - $DSPMGR -p"$VOLUME Vol" -l"$INPUT" -f$DSPPATH/vol_2.bin -c"Vol_L" -m"${VOLUME}_l" -c"Vol_R" -m"${VOLUME}_r" -} - -enable_with_vol(){ - INPUT=$1 - VOLUME=$2 - - $DSPMGR -a"$INPUT:$FRONT" -a"$INPUT:$REAR" -a"$INPUT:Headphones" - $DSPMGR -p"$VOLUME Vol" -l"$INPUT" -f$DSPPATH/vol_2.bin -c"Vol_L" -m"${VOLUME}_l" -c"Vol_R" -m"${VOLUME}_r" -} - - -# Start by clearing everything and stopping the FX8010 -$DSPMGR -x -z - - -# Enable inputs (route them to the outputs) and volume controls - -# Pcm can be up to 6 channels - -$DSPMGR -a"Pcm:$FRONT" -a"Pcm Rear:$REAR" -a"Pcm ctr/sub:$CTR_SUB" -a"Pcm:Headphones" -$DSPMGR -l"pcm" -l"Pcm Rear" -l"Pcm Ctr/sub" -f$DSPPATH/vol_pcm.bin -c"Vol_L" -m"pcm_l" -c"Vol_R" -m"pcm_r" - -# Other inputs are only stereo - -if [ "$ENABLE_CD_Spdif" = yes ]; then - enable_with_vol "CD-Spdif" "dig1" -fi - -if [ "$ENABLE_OPTICAL_SPDIF" = yes ]; then - enable_with_vol "Opt. Spdif" "dig2" -fi - -if [ "$ENABLE_LINE2_MIC2" = yes ]; then - enable_with_vol "Line2/Mic2" "line2" -fi - -if [ "$ENABLE_RCA_SPDIF" = yes ]; then - enable_with_vol "RCA Spdif" "dig3" -fi - -if [ "$ENABLE_RCA_AUX" = yes ]; then - enable_with_vol "RCA Aux2" "line3" -fi - - -# Analog-in is already routed to the analog front output -# So we route it only to the remaining outputs - -$DSPMGR -a"Analog:Recording" -a"Analog:Headphones" - -if [ "$USE_DIGITAL_OUTPUT" = yes ]; then - $DSPMGR -a"Analog:Dig Front" -fi - -# Output volume controls: -enable_volume "$FRONT" "vol" -enable_volume "$REAR" "ogain" -enable_volume "$CTR_SUB" "igain" - - -if [ "$ENABLE_TONE_CONTROL" = yes ] ; then - - TONE=tone.bin - - $DSPMGR -l"$FRONT L" -f$DSPPATH/$TONE -cbass -mbass -ctreble -mtreble - # The next 3 'inherit' the oss control of the above line: - $DSPMGR -l"$FRONT R" -f$DSPPATH/$TONE - $DSPMGR -l"$REAR R" -f$DSPPATH/$TONE - $DSPMGR -l"$REAR L" -f$DSPPATH/$TONE - - if [ -x $AUMIX ] ; then - # drobbins is an audiophile and has a problem with auto-bass and - # auto-treble. So these have been changed from 68 to 50. - $AUMIX -t 50 - $AUMIX -b 50 - fi -fi - - -# Need to toggle third output into digital mode - -if [ "$USE_DIGITAL_OUTPUT" = yes ] ; then - $CONFIG -d -fi - -# See if we should enable IR - -if [ "$ENABLE_LIVEDRIVE_IR" = yes ] ; then - $CONFIG -i -fi - -# for digital output we can do ac3passthrough -# this patch must be last in the signal chain -if [ "$USE_DIGITAL_OUTPUT" = yes ]; then - if [ "$AC3PASSTHROUGH" = yes ] ; then - $DSPMGR -l"dig front" -F"$DSPPATH/ac3pass-audigy.bin" - fi -fi - - -# Restart the FX8010 -$DSPMGR -y - -} - -case "$1" in - - restore | restart) - load - # Load mixer settings - $AUMIX -f /etc/aumixrc -L >/dev/null 2>&1 || : - ;; - save | stop) - # Save mixer settings - $AUMIX -f /etc/aumixrc -S >/dev/null 2>&1 || : - ;; - *) - load -esac - diff --git a/media-sound/emu10k1/files/digest-emu10k1-0.20a-r5 b/media-sound/emu10k1/files/digest-emu10k1-0.20a-r5 deleted file mode 100644 index c5afcbd75a1f..000000000000 --- a/media-sound/emu10k1/files/digest-emu10k1-0.20a-r5 +++ /dev/null @@ -1 +0,0 @@ -MD5 ffeab46e1b5ff9fd834dc78e240edf4b emu10k1-v0.20a.tar.bz2 286000 diff --git a/media-sound/emu10k1/files/digest-emu10k1-0.20a-r6 b/media-sound/emu10k1/files/digest-emu10k1-0.20a-r6 deleted file mode 100644 index c5afcbd75a1f..000000000000 --- a/media-sound/emu10k1/files/digest-emu10k1-0.20a-r6 +++ /dev/null @@ -1 +0,0 @@ -MD5 ffeab46e1b5ff9fd834dc78e240edf4b emu10k1-v0.20a.tar.bz2 286000 diff --git a/media-sound/emu10k1/files/digest-emu10k1-0.20a-r7 b/media-sound/emu10k1/files/digest-emu10k1-0.20a-r7 deleted file mode 100644 index c5afcbd75a1f..000000000000 --- a/media-sound/emu10k1/files/digest-emu10k1-0.20a-r7 +++ /dev/null @@ -1 +0,0 @@ -MD5 ffeab46e1b5ff9fd834dc78e240edf4b emu10k1-v0.20a.tar.bz2 286000 diff --git a/media-sound/emu10k1/files/emu10k1-0.20a-gcc3.3.patch.gz b/media-sound/emu10k1/files/emu10k1-0.20a-gcc3.3.patch.gz Binary files differdeleted file mode 100644 index 9eec0561ae41..000000000000 --- a/media-sound/emu10k1/files/emu10k1-0.20a-gcc3.3.patch.gz +++ /dev/null diff --git a/media-sound/emu10k1/files/emu10k1-0.20a-gcc3.4.patch b/media-sound/emu10k1/files/emu10k1-0.20a-gcc3.4.patch deleted file mode 100644 index 87f31751315b..000000000000 --- a/media-sound/emu10k1/files/emu10k1-0.20a-gcc3.4.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -Naur emu10k1-v0.20a.old/utils/as10k1/as10k1.c emu10k1-v0.20a/utils/as10k1/as10k1.c ---- emu10k1-v0.20a.old/utils/as10k1/as10k1.c 2004-10-28 20:54:43.919581000 +0200 -+++ emu10k1-v0.20a/utils/as10k1/as10k1.c 2004-10-28 20:58:53.175688816 +0200 -@@ -72,7 +72,7 @@ - { - int i,j; - for(i=1;i<argc;i++){ -- -+ - if(argv[i][0]=='-'){ - switch(argv[i][1]){ - -@@ -93,9 +93,9 @@ - dbg_opt=dbg_opt|DBG_INSTR;//default - i--; - printf(" instructions by default\n"); -- goto next_cli_arg; -+ continue; - } -- -+ - while(argv[i][j]!='\0'){ - - switch(argv[i][j]){ -@@ -161,8 +161,6 @@ - } - - } --next_cli_arg: -- - } - } - -diff -Naur emu10k1-v0.20a.old/utils/mixer/lib/file.c emu10k1-v0.20a/utils/mixer/lib/file.c ---- emu10k1-v0.20a.old/utils/mixer/lib/file.c 2002-02-25 09:33:30.000000000 +0100 -+++ emu10k1-v0.20a/utils/mixer/lib/file.c 2004-10-28 20:57:12.673967400 +0200 -@@ -441,14 +441,21 @@ - list= &mgr->ipatch_list; - /* only load a patch if there is a route connecting it */ - for(i=0;i<num_in;i++){ -+ char do_continue = 0; -+ - set_bit(input[i], &patch->input); - set_bit(output[i], &patch->output); - - for (j = 0; j < DSP_NUM_OUTPUTS; j++) - if ( test_bit(input[i], &mgr->rpatch.route_v[j]) || test_bit(input[i], &mgr->rpatch.route[j]) ) -- goto match1; -+ { -+ do_continue = 1; -+ break; -+ } -+ -+ if (do_continue) continue; -+ - goto err2; --match1: - } - goto match; - }else{ diff --git a/media-sound/emu10k1/files/emu10k1-script b/media-sound/emu10k1/files/emu10k1-script deleted file mode 100644 index 4aba311ec630..000000000000 --- a/media-sound/emu10k1/files/emu10k1-script +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash - -source /sbin/functions.sh -source /etc/emu10k1.conf - -# setup regex strings to match -AUDIGY_PCI_TAG="multimedia audio controller: creative labs.*audigy" -EMU10K1_PCI_TAG="multimedia audio controller: creative labs.*emu10k1" - -# first, lets try to read the driver information in /proc/driver/ -proc="`ls /proc/driver/emu10k1/*/info 2> /dev/null | awk '{print $1}'`" -if [ -z "${CARD_TYPE}" ] && [ ! -z "${proc}" ] && [ -e ${proc} ] ; then - if [ -n "$(egrep -i '^card type.*audigy.*' ${proc})" ] ; then - CARD_TYPE="audigy" - elif [ -n "$(egrep -i '^card type.*emu10k1.*' ${proc})" ] ; then - CARD_TYPE="emu" - fi -fi - -# if that didnt work, try to detect via lspci (sys-apps/pciutils) -if [ -z "${CARD_TYPE}" ] && [ -x /sbin/lspci ] ; then -echo 1 - if [ -n "$(lspci | egrep -i "${AUDIGY_PCI_TAG}")" ] ; then - CARD_TYPE="audigy" - elif [ -n "$(lspci | egrep -i "${EMU10K1_PCI_TAG}")" ] ; then - CARD_TYPE="emu" - fi -fi - -# if that didnt work, lets try via the kernel's /proc/pci interface -if [ -z "${CARD_TYPE}" ] && [ -e /proc/pci ] ; then - if [ -n "$(egrep -i "${AUDIGY_PCI_TAG}" /proc/pci)" ] ; then - CARD_TYPE="audigy" - elif [ -n "$(egrep -i "${EMU10K1_PCI_TAG}" /proc/pci)" ] ; then - CARD_TYPE="emu" - fi -fi - -# if that failed, make the user tell us what it is -case "`echo ${CARD_TYPE} | awk '{print toupper($1)}'`" in - AUDIGY) - /usr/bin/audigy-script $@ - ;; - EMU) - /usr/bin/emu-script $@ - ;; - *) - eerror "I was unable to figure out whether you have an Audigy" - eerror "or an Emu10k1 sound card. Further more, you have not" - eerror "told me what kind of sound card you have." - eerror "Please edit /etc/emu10k1.conf and set the CARD_TYPE" - eerror "variable. You will find it at the top of the file." - exit 1 - ;; -esac diff --git a/media-sound/emu10k1/files/emu10k1.conf-gentoo-header b/media-sound/emu10k1/files/emu10k1.conf-gentoo-header deleted file mode 100644 index 20710ecdf74e..000000000000 --- a/media-sound/emu10k1/files/emu10k1.conf-gentoo-header +++ /dev/null @@ -1,15 +0,0 @@ -# Set your card type on the next line so that loading the -# kernel module works correctly. -# -# Accepted values are 'emu' and 'audigy' -# use 'audigy' if you have an audigy based sound card, -# otherwise use 'emu' -# -# Note: you should only have to set this if: -# (1) the auto-detect script fails -# - no lspci support -# - no /proc/pci support -# - the kernel just plain doesn't like you -# (2) you like to set everything -#CARD_TYPE="set_me" - diff --git a/media-sound/emu10k1/files/modules-emu10k1 b/media-sound/emu10k1/files/modules-emu10k1 deleted file mode 100644 index d2beec537e63..000000000000 --- a/media-sound/emu10k1/files/modules-emu10k1 +++ /dev/null @@ -1,2 +0,0 @@ -post-install emu10k1 /usr/bin/emu10k1-script restore -pre-remove emu10k1 /usr/bin/emu10k1-script save diff --git a/media-sound/emu10k1/metadata.xml b/media-sound/emu10k1/metadata.xml deleted file mode 100644 index e1774e3d9ad7..000000000000 --- a/media-sound/emu10k1/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>sound</herd> -</pkgmetadata> |