On Tue, 2011-06-07 at 21:54 +0200, Robin Gareus wrote:
Here's a pragmatic way to make a .deb of
libasound2 - alsa-lib-1.0.24.1
cd /tmp/
apt-get source libasound2
sudo apt-get build-dep libasound2
mv -vi alsa-lib-1.0.23/ alsa-lib-1.0.24.1
curl
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.24.1.tar.bz2 \
| tar xvj
cd alsa-lib-1.0.24.1
# edit debian/changelog -> alsa-lib (1.0.24.1-1) unstable; urgency=low
# edit debian/rules -> remove line 15-18 (biarch builds)
libtoolize --force --copy --automake
aclocal
autoreconf
debuild -b -us -uc
sudo dpkg -i ../*asound2*.deb
root@debian:/tmp# ls
alsa-lib_1.0.23-4.debian.tar.bz2 alsa-lib_1.0.24.1-1_amd64.changes
libasound2_1.0.24.1-1_amd64.deb
alsa-lib_1.0.23-4.dsc alsa-lib-1.0.24.1.tar.bz2
libasound2-dev_1.0.24.1-1_amd64.deb
alsa-lib_1.0.23.orig.tar.bz2 debian
libasound2-doc_1.0.24.1-1_all.deb
alsa-lib-1.0.24.1 lib32asound2_1.0.24.1-1_amd64.deb
libasound2-udeb_1.0.24.1-1_amd64.udeb
alsa-lib_1.0.24.1-1_amd64.build lib32asound2-dev_1.0.24.1-1_amd64.deb
orbit-spinymouse
root@debian:/tmp# dpkg -i *asound2*.deb *push_enter*
In general cool :) thank you very much, but for now unfortunately the
Debian source is incomplete, the tools are also incomplete.
I did not follow all of the thread... But is
alsa-tools-1.0.23 not
good enough? `sudo apt-get install alsa-tools` ?!
I can't remember, right now no reading, just trial and error ;).
root@debian:/tmp# apt-get install alsa-tools
Installed files shown by synaptic:
/.
/usr
/usr/bin
/usr/bin/ac3dec
/usr/bin/as10k1
/usr/bin/extract_ac3
/usr/bin/sbiload
/usr/bin/us428control
/usr/share
/usr/share/doc
/usr/share/doc/alsa-tools
/usr/share/doc/alsa-tools/ac3dec
/usr/share/doc/alsa-tools/ac3dec/README
/usr/share/doc/alsa-tools/ac3dec/TODO
/usr/share/doc/alsa-tools/as10k1
/usr/share/doc/alsa-tools/as10k1/README.gz
/usr/share/doc/alsa-tools/as10k1/output.doc
/usr/share/doc/alsa-tools/changelog.Debian.gz
/usr/share/doc/alsa-tools/changelog.gz
/usr/share/doc/alsa-tools/copyright
/usr/share/doc/alsa-tools/examples
/usr/share/doc/alsa-tools/examples/Makefile
/usr/share/doc/alsa-tools/examples/blank.asm
/usr/share/doc/alsa-tools/examples/chorus.asm
/usr/share/doc/alsa-tools/examples/delay.asm
/usr/share/doc/alsa-tools/examples/emu_constants.asm
/usr/share/doc/alsa-tools/examples/eq2.asm
/usr/share/doc/alsa-tools/examples/eq5.asm
/usr/share/doc/alsa-tools/examples/fir.asm
/usr/share/doc/alsa-tools/examples/flanger.asm
/usr/share/doc/alsa-tools/examples/sine.asm
/usr/share/doc/alsa-tools/examples/tremolo.asm
/usr/share/doc/alsa-tools/examples/vibrato.asm
/usr/share/doc/alsa-tools/examples/vol_ctrl.asm
/usr/share/doc/alsa-tools/sbiload
/usr/share/doc/alsa-tools/sbiload/README
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/ac3dec.1.gz
/usr/share/man/man1/as10k1.1.gz
/usr/share/sounds
/usr/share/sounds/opl3
/usr/share/sounds/opl3/drums.o3
/usr/share/sounds/opl3/drums.sb
/usr/share/sounds/opl3/std.o3
/usr/share/sounds/opl3/std.sb
and by
http://packages.debian.org/wheezy/amd64/alsa-tools/filelist it's
the same?!
root@debian:/tmp# wget
ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.24.1.tar.bz2
root@debian:/tmp# tar xjf alsa-tools-1.0.24.1.tar.bz2
root@debian:/tmp# cd alsa-tools-1.0.24.1/hdspmixer
root@debian:/tmp/alsa-tools-1.0.24.1/hdspmixer# ./configure
root@debian:/tmp/alsa-tools-1.0.24.1/hdspmixer# checkinstall
========================= Installation results
===========================
Making install in src
make[1]: Entering directory `/tmp/alsa-tools-1.0.24.1/hdspmixer/src'
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\"
-DPACKAGE=\"hdspmixer\" -DVERSION=\"1.6\" -DSTDC_HEADERS=1
-DHAVE_LIBASOUND=1 -I. -g -O2 -I/usr/include/freetype2
-D_THREAD_SAFE -D_REENTRANT -fno-exceptions -MT hdspmixer.o -MD -MP
-MF .deps/hdspmixer.Tpo -c -o hdspmixer.o hdspmixer.cxx
In file included from hdspmixer.cxx:31:0:
HDSPMixerCard.h:29:30: fatal error: alsa/sound/hdspm.h: No such file or
directory
compilation terminated.
make[1]: *** [hdspmixer.o] Error 1
make[1]: Leaving directory `/tmp/alsa-tools-1.0.24.1/hdspmixer/src'
make: *** [install-recursive] Error 1
#########################################################################
#########################################################################
root@debian:/tmp/alsa-tools-1.0.24.1/hdspmixer#
ls /usr/src/linux-headers-2.6.39.1/include/sound/hdspm.h -l
-rw-r--r-- 1 root root 5464 Jun 3
02:34 /usr/src/linux-headers-2.6.39.1/include/sound/hdspm.h
A soft link? :D
I'm tired, need to go to sleep.
Why did Debian remove so much stuff from ALSA?
To be continued.
Regards,
Ralf