--- alsa-firmware-1.0.17.orig/debian/preinst +++ alsa-firmware-1.0.17/debian/preinst @@ -0,0 +1,32 @@ +#!/bin/sh + +set -e + +# Remove a no-longer used conffile +rm_conffile() { + local PKGNAME="$1" + local CONFFILE="$2" + + [ -e "$CONFFILE" ] || return 0 + + local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')" + local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \ + sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" le "1.0.17-0medibuntu2"; then + rm_conffile alsa-firmware "/etc/udev/rules.d/55-usx2yloader.rules" + fi +esac + +#DEBHELPER# --- alsa-firmware-1.0.17.orig/debian/rules +++ alsa-firmware-1.0.17/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +build: patch build-stamp +build-stamp: + dh build --before configure + dh_auto_configure -- --disable-loader + dh build --after configure + touch build-stamp + +clean: unpatch + dh clean + +install: build install-stamp +install-stamp: + dh install + # remove unneeded/broken stuff + -rm -r $(CURDIR)/debian/alsa-firmware/lib/firmware/turtlebeach + -rm $(CURDIR)/debian/alsa-firmware/lib/firmware/emagic/license.txt + -rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/alsa-firmware/usr/bin + touch install-stamp + +binary-arch: install + dh binary-arch + +binary: binary-arch --- alsa-firmware-1.0.17.orig/debian/changelog +++ alsa-firmware-1.0.17/debian/changelog @@ -0,0 +1,43 @@ +alsa-firmware (1.0.17-0medibuntu2.9.10.1) karmic-staging; urgency=low + + * Removed udev rule "55-usx2yloader.rules", since it is already supplied by + "alsa-firmware-loaders". + * debian/preinst: handle removal of /etc/udev/rules.d/55-usx2yloader.rules. + * debian/control: update maintainer address. + + -- Lionel Le Folgoc Wed, 02 Dec 2009 21:06:35 +0100 + +alsa-firmware (1.0.17-0medibuntu2) intrepid; urgency=low + + * debian/patches/02_move_hdsploader.patch: install hdsploader firmwares + where alsa-firmware-loaders expect them to be. + * debian/patches/series: refreshed. + * debian/links: add a symbolic link between lib/firmware/usx2yloader and + usr/share/alsa/firmware/usx2yloader until LP: #236040 is fixed for + alsa-tools. + + -- Lionel Le Folgoc Sun, 07 Sep 2008 15:35:12 +0200 + +alsa-firmware (1.0.17-0medibuntu1) intrepid; urgency=low + + [ Guillaume Martres ] + * New upstream release + * debian/control: + - Bumped Standards-Version to 3.8.0.1 + - Updated Vcs-* fields + * debian/rules: + - Removed linda override, linda has been removed from Debian + * Deleted debian/linda + + [ Lionel Le Folgoc ] + * Refactor the whole packaging using debhelper 7. + + -- Lionel Le Folgoc Sun, 07 Sep 2008 14:21:05 +0200 + +alsa-firmware (1.0.16-0medibuntu1) hardy; urgency=low + + * Initial upload. + * Patched to install usx2yloader in the correct location + (01_move_usx2yloader.patch) + + -- Toby Smithe Sun, 24 Feb 2008 20:21:23 +0000 --- alsa-firmware-1.0.17.orig/debian/docs +++ alsa-firmware-1.0.17/debian/docs @@ -0,0 +1 @@ +README --- alsa-firmware-1.0.17.orig/debian/55-usx2yloader.rules +++ alsa-firmware-1.0.17/debian/55-usx2yloader.rules @@ -0,0 +1,4 @@ +BUS=="usb", ACTION=="add", SYSFS{idProduct}=="8000", SYSFS{idVendor}=="1604", RUN+="/bin/sh -c '/sbin/fxload -D %N -s /lib/firmware/usx2yloader/ld2-ezusb.hex -I /lib/firmware/usx2yloader/us428fw.ihx'" +BUS=="usb", ACTION=="add", SYSFS{idProduct}=="8001", SYSFS{idVendor}=="1604", RUN+="/bin/sh -c '/usr/bin/usx2yloader; /usr/bin/us428control -m mixxx&'" +BUS=="usb", ACTION=="add", SYSFS{idProduct}=="8006", SYSFS{idVendor}=="1604", RUN+="/bin/sh -c '/sbin/fxload -D %N -s /lib/firmware/usx2yloader/ld2-ezusb.hex -I /lib/firmware/usx2yloader/us122fw.ihx'" +BUS=="usb", ACTION=="add", SYSFS{idProduct}=="8007", SYSFS{idVendor}=="1604", RUN+="/bin/sh -c '/usr/bin/usx2yloader'" --- alsa-firmware-1.0.17.orig/debian/copyright +++ alsa-firmware-1.0.17/debian/copyright @@ -0,0 +1,288 @@ +This package was debianized by Toby Smithe on +Sun, 17 Dec 2006 18:12:13 +0000. + +It was downloaded from +ftp://alsa-project.org/pub/firmware/alsa-firmware-1.0.16rc1.tar.bz2 , +and the tarball was repacked as a tar.gz. + +Upstream Author: the ALSA Project (http://alsa-project.org) + +The copyrights and licences for this package are complicated, as the firmwares +are provided binary, but in a redistributable form. To find out more go to +http://www.alsa-project.org/alsa-doc/ + +I removed asihpi, korg1212 and emi_26_62, as these were not under a freely +distributable licence. However, the licences for the other firmwares are found +in their specific source sub-directories, or they are licenced as below. + +aica +---- + +Copyright (c) Dan Potter 2000. + +This program is free software; you can redistribute it and/or modify +it under the terms of the KOS License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +KOS License (README.KOS) for more details. + +You should have received a copy of the KOS License along with this +program; if not, please visit Cryptic Allusion DCDev at: + + http://dcdev.allusion.net/ + +The code this firmware was built with is part of the KOS distribution and can +also be reviewed here: + + http://linuxdc.cvs.sourceforge.net/linuxdc/linux-sh-dc/sound/oss/aica/firmware/ + +echoaudio +--------- + +Copyright (c) 2005 Echo Digital Audio Corporation. All rights reserved. +www.echoaudio.com + +This source code is provided under the terms of the GNU Lesser General Public +License. For more information on the GNU General Public License, visit +www.gnu.org + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE +SOFTWARE. + +emu +--- + +Copyright (C) 2006 James Courtier-Dutton + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; version 2 of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +hdsploader +---------- + +Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org) + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This package is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this package; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +maestro3 +-------- + +Copyright (C) 1992-2000 Don Kim (don.kim@esstech.com) + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; version 2 of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + + +mixartloader +------------ + +Copyright (c) 2003 Digigram SA + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This package is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this package; if not, write to + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + + +pcxhrloader +----------- + +Copyright (c) 2004 by Digigram + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + + +sb16 +---- + +Copyright (c) 1994 Creative Technology Ltd. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + + +usx2yloader +----------- + +Copyright (c) 2003 by Karsten Wiese + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This package is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this package; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + + +vxloader +-------- + +Copyright (c) 2003 Takashi Iwai + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This package is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this package; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +Also stipulated explicitly: + +Verbatim copying and distribution of the firmware are permitted +worldwide, without royalty, in any medium, provided this notice is +preserved. + +wavefront +--------- + +Copyright (c) 2006 Clemens Ladisch + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; version 2 of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + + +ymfpci +------ + +Copyright (c) 2006 Clemens Ladisch + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; version 2 of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + + +This package though, provided by the ALSA project, is under the GPLv2: +------------ + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + + +The Debian packaging is (C) 2006, Toby Smithe and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- alsa-firmware-1.0.17.orig/debian/links +++ alsa-firmware-1.0.17/debian/links @@ -0,0 +1 @@ +lib/firmware/usx2yloader usr/share/alsa/firmware/usx2yloader --- alsa-firmware-1.0.17.orig/debian/control +++ alsa-firmware-1.0.17/debian/control @@ -0,0 +1,38 @@ +Source: alsa-firmware +Section: sound +Priority: optional +Homepage: http://www.alsa-project.org/ +Maintainer: Medibuntu Packaging Team +XSBC-Original-Maintainer: Toby Smithe +Uploaders: Lionel Le Folgoc , Guillaume Martres , Albin Tonnerre +Build-Depends: debhelper (>= 7), quilt +Standards-Version: 3.8.0 +Vcs-Bzr: lp:~medibuntu-maintainers/medibuntu/alsa-firmware.karmic +Vcs-Browser: http://bazaar.launchpad.net/~medibuntu-maintainers/medibuntu/alsa-firmware.karmic/files + +Package: alsa-firmware +Architecture: i386 amd64 +Depends: ${shlibs:Depends}, alsa-firmware-loaders (>= 1.0.13-1ubuntu1) +Recommends: alsa-tools +Description: Contains firmware for ALSA devices - Medibuntu package + A collection of firmwares for some sound cards: + aica - Sega Dreamcast AICA + echoaudio - Digigram Echo Audio based cards + emu - E-Mu based cards + hdsploader - RME Hammerfall DSP cards + maestro3 - ESS Maestro3 PCI cards + mixartloader - Digigram miXart cards + pcxhrloader - Digigram pcxhr compatible cards + sb16 - Sound Blaster 16 cards + usx2yloader - Tascam USX2Y USB cards + vxloader - Digigram VX cards + wavefront - Turtle Beach Wavefront cards + ymfpci - Yamaha DS-1 PCI cards + . + Therefore, it is in Medibuntu as they are non free. + . + This package isn't supported by Ubuntu: DON'T REPORT BUGS TO UBUNTU! + . + Please report any bug to our bug tracker instead: + https://bugs.launchpad.net/medibuntu/+bugs + --- alsa-firmware-1.0.17.orig/debian/lintian-overrides +++ alsa-firmware-1.0.17/debian/lintian-overrides @@ -0,0 +1,2 @@ +unstripped-binary-or-object ./lib/firmware/mixart/miXart8.elf +statically-linked-binary ./lib/firmware/mixart/miXart8.elf --- alsa-firmware-1.0.17.orig/debian/compat +++ alsa-firmware-1.0.17/debian/compat @@ -0,0 +1 @@ +7 --- alsa-firmware-1.0.17.orig/debian/README.Debian +++ alsa-firmware-1.0.17/debian/README.Debian @@ -0,0 +1,9 @@ +alsa-firmware for Ubuntu +------------------------ + + These firmwares are intended to be used only with a version of + alsa-firmware-loaders greater than or equal to 1.0.13-1ubuntu1. They WILL + NOT WORK if they are used with a different version, as the Ubuntu package + contains modifications specific to Ubuntu. + + -- Toby Smithe Sun, 17 Dec 2006 18:12:13 +0000 --- alsa-firmware-1.0.17.orig/debian/patches/02_move_hdsploader.patch +++ alsa-firmware-1.0.17/debian/patches/02_move_hdsploader.patch @@ -0,0 +1,22 @@ +--- alsa-firmware-1.0.17/hdsploader/Makefile.am.dist 2008-07-14 10:57:58.000000000 +0200 ++++ alsa-firmware-1.0.17/hdsploader/Makefile.am 2008-09-07 15:30:13.000000000 +0200 +@@ -15,7 +15,7 @@ + endif + + if USE_HOTPLUG +-hotplugfwdir = @HOTPLUGFWDIR@ ++hotplugfwdir = @HOTPLUGFWDIR@/$(MYNAME) + hotplugfw_DATA = $(dsp_files) + else + hotplugfwdir = +--- alsa-firmware-1.0.17/hdsploader/Makefile.in.dist 2008-07-14 11:19:25.000000000 +0200 ++++ alsa-firmware-1.0.17/hdsploader/Makefile.in 2008-09-07 15:30:29.000000000 +0200 +@@ -172,7 +172,7 @@ + @USE_LOADER_FALSE@firmware_DATA = + @USE_LOADER_TRUE@firmware_DATA = $(dsp_files) + @USE_HOTPLUG_FALSE@hotplugfwdir = +-@USE_HOTPLUG_TRUE@hotplugfwdir = @HOTPLUGFWDIR@ ++@USE_HOTPLUG_TRUE@hotplugfwdir = @HOTPLUGFWDIR@/$(MYNAME) + @USE_HOTPLUG_FALSE@hotplugfw_DATA = + @USE_HOTPLUG_TRUE@hotplugfw_DATA = $(dsp_files) + tobin_SOURCES = tobin.c --- alsa-firmware-1.0.17.orig/debian/patches/series +++ alsa-firmware-1.0.17/debian/patches/series @@ -0,0 +1,2 @@ +01_move_usx2yloader.patch +02_move_hdsploader.patch --- alsa-firmware-1.0.17.orig/debian/patches/01_move_usx2yloader.patch +++ alsa-firmware-1.0.17/debian/patches/01_move_usx2yloader.patch @@ -0,0 +1,23 @@ +diff -urNad alsa-firmware-1.0.14rc1~/usx2yloader/Makefile.am alsa-firmware-1.0.14rc1/usx2yloader/Makefile.am +--- alsa-firmware-1.0.14rc1~/usx2yloader/Makefile.am 2006-12-07 14:42:52.000000000 +0000 ++++ alsa-firmware-1.0.14rc1/usx2yloader/Makefile.am 2006-12-18 09:51:26.000000000 +0000 +@@ -16,6 +16,6 @@ + tascam_loader.asm \ + an2131.asm + +-firmwaredir = $(datadir)/alsa/firmware/$(MYNAME) ++firmwaredir = /lib/firmware/$(MYNAME) + firmware_DATA = $(cfg_files) + +diff -urNad alsa-firmware-1.0.14rc1~/usx2yloader/Makefile.in alsa-firmware-1.0.14rc1/usx2yloader/Makefile.in +--- alsa-firmware-1.0.14rc1~/usx2yloader/Makefile.in 2006-12-07 14:43:23.000000000 +0000 ++++ alsa-firmware-1.0.14rc1/usx2yloader/Makefile.in 2006-12-18 09:52:54.000000000 +0000 +@@ -150,7 +150,7 @@ + tascam_loader.asm \ + an2131.asm + +-firmwaredir = $(datadir)/alsa/firmware/$(MYNAME) ++firmwaredir = /lib/firmware/$(MYNAME) + firmware_DATA = $(cfg_files) + all: all-am +