Package: alsa-lib
Severity: normal

Hello,

So as to support speech synthesis during d-i, I'd need an alsa
udeb. To make things simpler and save initrd room, I'd rather
statically link libasound.a into the speech synthesizer.  However,
I still need /usr/share/alsa, could you provide it in a udeb, like
libasound2-common-udeb?  Attached is a crude patch achieving what
I'd need. (it's crude because such package should be Arch:all, not
Arch:any).

Samuel

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Samuel
+#if defined(__alpha__) && defined(CONFIG_PCI)
+       /*
+        * The meaning of life, the universe, and everything. Plus
+        * this makes the year come out right.
+        */
+       year -= 42;
+#endif
(From the patch for 1.3.2: (kernel/time.c), submitted by Marcus Meissner)
diff -ur alsa-lib-1.0.19-patched/debian/control 
/home/samy/brl/speech/alsa-lib-1.0.19-old/debian/control
--- alsa-lib-1.0.19-patched/debian/control      2009-04-04 23:45:38.000000000 
+0200
+++ /home/samy/brl/speech/alsa-lib-1.0.19-old/debian/control    2009-04-04 
16:40:48.000000000 +0200
@@ -34,6 +34,15 @@
  .
  ALSA is the Advanced Linux Sound Architecture.
 
+Package: libasound2-common-udeb
+Architecture: any
+Section: libs
+XC-Package-Type: udeb
+Description: shared library for ALSA applications
+ This package contains the ALSA library and its standard plugins.
+ .
+ ALSA is the Advanced Linux Sound Architecture.
+
 Package: libasound2-dev
 Architecture: alpha amd64 arm armeb armel hppa i386 ia64 lpia m32r m68k mips 
mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc
 Section: libdevel
diff -ur alsa-lib-1.0.19-patched/debian/rules 
/home/samy/brl/speech/alsa-lib-1.0.19-old/debian/rules
--- alsa-lib-1.0.19-patched/debian/rules        2009-04-04 23:45:38.000000000 
+0200
+++ /home/samy/brl/speech/alsa-lib-1.0.19-old/debian/rules      2009-04-04 
16:40:43.000000000 +0200
@@ -133,6 +133,8 @@
 endif
        dh_installdirs -s
        dh_install -s
+       dh_installdirs -plibasound2-common-udeb
+       cp -a debian/libasound2/usr/share/alsa 
debian/libasound2-common-udeb/usr/share/
        dh_installdocs -plibasound2
        dh_installexamples -s doc/asoundrc.txt
        dh_installchangelogs -plibasound2 debian/changelog.ALSA
--- /dev/null   2009-04-03 22:43:33.710006992 +0200
+++ 
/home/samy/brl/speech/alsa-lib-1.0.19-old/debian/libasound2-common-udeb.dirs    
    2009-04-04 16:22:29.000000000 +0200
@@ -0,0 +1 @@
+/usr/share

Reply via email to