Merge lp:~vorlon/alsa-lib/multiarch-merge into lp:~ubuntu-audio-dev/alsa-lib/ubuntu.oneiric
- multiarch-merge
- Merge into ubuntu.oneiric
Proposed by
Steve Langasek
Status: | Merged |
---|---|
Merged at revision: | 95 |
Proposed branch: | lp:~vorlon/alsa-lib/multiarch-merge |
Merge into: | lp:~ubuntu-audio-dev/alsa-lib/ubuntu.oneiric |
Diff against target: |
448 lines (+168/-42) 17 files modified
debian/changelog (+34/-0) debian/compat (+1/-1) debian/control (+13/-12) debian/copyright (+2/-2) debian/lib32asound2.postinst (+7/-0) debian/lib32asound2.postrm (+7/-0) debian/lib32asound2.preinst (+7/-0) debian/lib64asound2.postinst (+7/-0) debian/lib64asound2.postrm (+7/-0) debian/lib64asound2.preinst (+7/-0) debian/libasound2-dev.install (+5/-6) debian/libasound2.postinst (+2/-1) debian/libasound2.postrm (+2/-1) debian/libasound2.preinst (+7/-0) debian/patches/multiarch-safe-dlopen-search-path.patch (+41/-0) debian/patches/series (+1/-0) debian/rules (+18/-19) |
To merge this branch: | bzr merge lp:~vorlon/alsa-lib/multiarch-merge |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Luke Yelavich (community) | Disapprove | ||
Review via email: mp+68624@code.launchpad.net |
Commit message
Description of the change
Hey folks,
I've been working with Jordi Mallach to prepare libasound2 for multiarch in Debian. The changes have not yet been uploaded to Debian because they're waiting for Debian release team approval of the ABI bump, but those changes are all staged in svn so I've merged them up into the Ubuntu package's bzr. Please consider merging this into oneiric soonest.
(Side note: could you please fix the group membership of ubuntu-audio-dev so that people who have upload rights on this package also have commit rights to the relevant branch?)
Thanks!
To post a comment you must log in.
- 95. By Steve Langasek
-
fix the libasound2-plugins breaks: version number (fix forwarded to Jordi
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'debian/changelog' |
2 | --- debian/changelog 2011-05-06 00:22:22 +0000 |
3 | +++ debian/changelog 2011-07-21 02:16:33 +0000 |
4 | @@ -1,3 +1,37 @@ |
5 | +alsa-lib (1.0.24.1-0ubuntu7) UNRELEASED; urgency=low |
6 | + |
7 | + * Merge changes from Debian svn: |
8 | + - Bump to debhelper compat v8. |
9 | + - Remove debian/tmp prefixes from .install file. |
10 | + - Add multiarch support: |
11 | + + Build-Depend on debhelper 8.1.3. |
12 | + + Add Pre-Depends: ${misc:Pre-Depends} to libasound2. |
13 | + + Declare DEB_HOST_MULTIARCH and use it to define $libdir. |
14 | + + Add an explicit --with-plugindir argument to base plugindir on the |
15 | + multiarch dir. |
16 | + + Update libasound2-dev.install. |
17 | + + Mark libasound2 Multi-Arch: same. |
18 | + - Break current versions of packages providing ALSA plugins. |
19 | + - Remove libasound2's .la file, as any reference will be now broken. |
20 | + - Remove unneeded Suggests and Conflicts from -udeb. |
21 | + - Set Section to debian-installer. |
22 | + - Replace versioned conflicts with Breaks, and remove some obsolete ones. |
23 | + - Bump Standards-Version to 3.9.2 (no further changes). |
24 | + - Update upstream URL in copyright file. |
25 | + - Use versioned pointer to LGPL 2.1 licence. |
26 | + * Drop the hard-coded versioned dependency on libc6-i386. If we don't need |
27 | + this as a pre-depends for cycle breaking, we don't need to declare it at |
28 | + all since shlibdeps will do the right thing. |
29 | + * debian/patches/multiarch-safe-dlopen-search-path.patch: compile in |
30 | + the ALSA search path instead of relying on ld.so.conf. |
31 | + * With the plugin path corrected, drop the existing ld.so.conf snippets, |
32 | + removing them on upgrade. |
33 | + * Spell out the plugin dir path: the build system fails to expand |
34 | + substitutions, and '${libdir}' is obviously not present on the |
35 | + filesystem. |
36 | + |
37 | + -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 20 Jul 2011 05:05:24 +0000 |
38 | + |
39 | alsa-lib (1.0.24.1-0ubuntu6) oneiric; urgency=low |
40 | |
41 | * debian/control: Update Vcs-Bzr field |
42 | |
43 | === modified file 'debian/compat' |
44 | --- debian/compat 2009-08-07 08:58:47 +0000 |
45 | +++ debian/compat 2011-07-21 02:16:33 +0000 |
46 | @@ -1,1 +1,1 @@ |
47 | -7 |
48 | +8 |
49 | |
50 | === modified file 'debian/control' |
51 | --- debian/control 2011-05-05 23:56:54 +0000 |
52 | +++ debian/control 2011-07-21 02:16:33 +0000 |
53 | @@ -4,7 +4,7 @@ |
54 | Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
55 | XSBC-Original-Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org> |
56 | Uploaders: Jordi Mallach <jordi@debian.org>, Mikael Magnusson <mikma@users.sourceforge.net>, Elimar Riesebieter <riesebie@lxtec.de> |
57 | -Build-Depends: debhelper (>= 7), |
58 | +Build-Depends: debhelper (>= 8.1.3), |
59 | autotools-dev, |
60 | doxygen, |
61 | libc6-dev-powerpc [ppc64], |
62 | @@ -17,7 +17,7 @@ |
63 | lib64gcc1 [i386 powerpc sparc s390], |
64 | gcc-multilib [amd64 i386 powerpc ppc64 s390 sparc], |
65 | python-dev |
66 | -Standards-Version: 3.9.1 |
67 | +Standards-Version: 3.9.2 |
68 | Homepage: http://www.alsa-project.org/ |
69 | XS-Debian-Vcs-Svn: svn://svn.debian.org/pkg-alsa/trunk/alsa-lib |
70 | XS-Debian-Vcs-Browser: http://svn.debian.org/wsvn/pkg-alsa/trunk/alsa-lib/ |
71 | @@ -25,9 +25,11 @@ |
72 | |
73 | Package: libasound2 |
74 | Architecture: linux-any |
75 | +Multi-Arch: same |
76 | +Pre-Depends: ${misc:Pre-Depends}, dpkg (>= 1.15.7.2) |
77 | Depends: ${shlibs:Depends}, ${misc:Depends} |
78 | Suggests: libasound2-plugins (>= 1.0.18) |
79 | -Conflicts: libasound2-plugins (<< 1.0.18) |
80 | +Breaks: libasound2-plugins (<< 1.0.24-1), libasound2-plugin-equal (<= 0.6-1), bluez-alsa (<= 4.94-2) |
81 | Description: shared library for ALSA applications |
82 | This package contains the ALSA library and its standard plugins. |
83 | . |
84 | @@ -39,8 +41,6 @@ |
85 | Provides: libasound-dev |
86 | Depends: libc6-dev | libc-dev, libasound2 (= ${binary:Version}), ${misc:Depends} |
87 | Suggests: libasound2-doc |
88 | -Conflicts: libasound-dev, alsa-headers |
89 | -Replaces: libasound2 (<< 0.9.0rc7-2), alsa-headers |
90 | Description: shared library for ALSA applications -- development files |
91 | This package contains files required for developing software |
92 | that makes use of libasound2, the ALSA library. |
93 | @@ -49,9 +49,10 @@ |
94 | |
95 | Package: lib64asound2 |
96 | Architecture: sparc s390 i386 powerpc |
97 | +Pre-Depends: dpkg (>= 1.15.7.2) |
98 | Depends: libasound2 (= ${binary:Version}), ${shlibs:Depends}, ${bilib:depends}, ${misc:Depends} |
99 | Suggests: lib64asound2-plugins (>= 1.0.18) |
100 | -Conflicts: libasound2-plugins (<< 1.0.18) |
101 | +Breaks: libasound2-plugins (<< 1.0.18) |
102 | Description: shared library for ALSA applications (64 bit) |
103 | This package contains the ALSA library (64 bit) and its standard |
104 | plugins. |
105 | @@ -71,9 +72,10 @@ |
106 | |
107 | Package: lib32asound2 |
108 | Architecture: amd64 |
109 | -Depends: libasound2 (= ${binary:Version}), ${shlibs:Depends}, ${bilib:depends}, ${misc:Depends}, libc6-i386 (>= 2.9-18) |
110 | +Pre-Depends: dpkg (>= 1.15.7.2) |
111 | +Depends: libasound2 (= ${binary:Version}), ${shlibs:Depends}, ${bilib:depends}, ${misc:Depends} |
112 | Suggests: lib32asound2-plugins (>= 1.0.18) |
113 | -Conflicts: libasound2-plugins (<< 1.0.18), ia32-libs (<< 1.9), libc6-i386 (<= 2.9-18) |
114 | +Breaks: libasound2-plugins (<< 1.0.18), ia32-libs (<< 1.9), libc6-i386 (<= 2.9-18) |
115 | Replaces: ia32-libs (<< 1.9) |
116 | Description: shared library for ALSA applications (32 bit) |
117 | This package contains the ALSA library (32 bit) and its standard |
118 | @@ -86,7 +88,7 @@ |
119 | Section: libdevel |
120 | Depends: lib32asound2 (= ${binary:Version}), libasound2-dev (= ${binary:Version}), ${bidev:depends}, ${misc:Depends} |
121 | Suggests: libasound2-doc |
122 | -Conflicts: libc6-i386 (<= 2.9-18) |
123 | +Breaks: libc6-i386 (<= 2.9-18) |
124 | Description: shared library for ALSA applications -- development files (32 bit) |
125 | This package contains files required for developing software |
126 | that makes use of lib32asound2, the ALSA library (32 bit). |
127 | @@ -94,13 +96,12 @@ |
128 | ALSA is the Advanced Linux Sound Architecture. |
129 | |
130 | Package: libasound2-udeb |
131 | +Section: debian-installer |
132 | Architecture: linux-any |
133 | Depends: ${shlibs:Depends}, ${misc:Depends} |
134 | -Suggests: libasound2-plugins (>= 1.0.18) |
135 | -Conflicts: libasound2-plugins (<< 1.0.18) |
136 | Package-Type: udeb |
137 | Description: shared library for ALSA applications |
138 | - This package contains the ALSA library and its standard plugins. |
139 | + This package contains the ALSA library for use in the Debian Installer. |
140 | . |
141 | ALSA is the Advanced Linux Sound Architecture. |
142 | |
143 | |
144 | === modified file 'debian/copyright' |
145 | --- debian/copyright 2009-08-07 08:58:47 +0000 |
146 | +++ debian/copyright 2011-07-21 02:16:33 +0000 |
147 | @@ -10,7 +10,7 @@ |
148 | |
149 | The source code was downloaded from the ALSA homepage: |
150 | |
151 | - http://alsa.sourceforge.net |
152 | + http://www.alsa-project.org/ |
153 | |
154 | alsa-lib |
155 | -------- |
156 | @@ -32,4 +32,4 @@ |
157 | MA 02110-1301, USA. |
158 | |
159 | On Debian systems, the complete text of the GNU Lesser General Public License |
160 | -can be found in /usr/share/common-licenses/LGPL. |
161 | +can be found in /usr/share/common-licenses/LGPL-2.1. |
162 | |
163 | === added file 'debian/lib32asound2.postinst' |
164 | --- debian/lib32asound2.postinst 1970-01-01 00:00:00 +0000 |
165 | +++ debian/lib32asound2.postinst 2011-07-21 02:16:33 +0000 |
166 | @@ -0,0 +1,7 @@ |
167 | +#!/bin/sh |
168 | + |
169 | +set -e |
170 | + |
171 | +dpkg-maintscript-helper rm_conffile /etc/ld.so.conf.d/lib32asound2.conf 1.0.24.1-0ubuntu6 -- "$@" |
172 | + |
173 | +#DEBHELPER# |
174 | |
175 | === added file 'debian/lib32asound2.postrm' |
176 | --- debian/lib32asound2.postrm 1970-01-01 00:00:00 +0000 |
177 | +++ debian/lib32asound2.postrm 2011-07-21 02:16:33 +0000 |
178 | @@ -0,0 +1,7 @@ |
179 | +#!/bin/sh |
180 | + |
181 | +set -e |
182 | + |
183 | +dpkg-maintscript-helper rm_conffile /etc/ld.so.conf.d/lib32asound2.conf 1.0.24.1-0ubuntu6 -- "$@" |
184 | + |
185 | +#DEBHELPER# |
186 | |
187 | === added file 'debian/lib32asound2.preinst' |
188 | --- debian/lib32asound2.preinst 1970-01-01 00:00:00 +0000 |
189 | +++ debian/lib32asound2.preinst 2011-07-21 02:16:33 +0000 |
190 | @@ -0,0 +1,7 @@ |
191 | +#!/bin/sh |
192 | + |
193 | +set -e |
194 | + |
195 | +dpkg-maintscript-helper rm_conffile /etc/ld.so.conf.d/lib32asound2.conf 1.0.24.1-0ubuntu6 -- "$@" |
196 | + |
197 | +#DEBHELPER# |
198 | |
199 | === added file 'debian/lib64asound2.postinst' |
200 | --- debian/lib64asound2.postinst 1970-01-01 00:00:00 +0000 |
201 | +++ debian/lib64asound2.postinst 2011-07-21 02:16:33 +0000 |
202 | @@ -0,0 +1,7 @@ |
203 | +#!/bin/sh |
204 | + |
205 | +set -e |
206 | + |
207 | +dpkg-maintscript-helper rm_conffile /etc/ld.so.conf.d/lib64asound2.conf 1.0.24.1-0ubuntu6 -- "$@" |
208 | + |
209 | +#DEBHELPER# |
210 | |
211 | === added file 'debian/lib64asound2.postrm' |
212 | --- debian/lib64asound2.postrm 1970-01-01 00:00:00 +0000 |
213 | +++ debian/lib64asound2.postrm 2011-07-21 02:16:33 +0000 |
214 | @@ -0,0 +1,7 @@ |
215 | +#!/bin/sh |
216 | + |
217 | +set -e |
218 | + |
219 | +dpkg-maintscript-helper rm_conffile /etc/ld.so.conf.d/lib64asound2.conf 1.0.24.1-0ubuntu6 -- "$@" |
220 | + |
221 | +#DEBHELPER# |
222 | |
223 | === added file 'debian/lib64asound2.preinst' |
224 | --- debian/lib64asound2.preinst 1970-01-01 00:00:00 +0000 |
225 | +++ debian/lib64asound2.preinst 2011-07-21 02:16:33 +0000 |
226 | @@ -0,0 +1,7 @@ |
227 | +#!/bin/sh |
228 | + |
229 | +set -e |
230 | + |
231 | +dpkg-maintscript-helper rm_conffile /etc/ld.so.conf.d/lib64asound2.conf 1.0.24.1-0ubuntu6 -- "$@" |
232 | + |
233 | +#DEBHELPER# |
234 | |
235 | === modified file 'debian/libasound2-dev.install' |
236 | --- debian/libasound2-dev.install 2009-08-07 08:58:47 +0000 |
237 | +++ debian/libasound2-dev.install 2011-07-21 02:16:33 +0000 |
238 | @@ -1,6 +1,5 @@ |
239 | -debian/tmp/usr/share/aclocal |
240 | -debian/tmp/usr/include |
241 | -debian/tmp/usr/lib/libasound.a |
242 | -debian/tmp/usr/lib/libasound.so |
243 | -debian/tmp/usr/lib/libasound.la |
244 | -debian/tmp/usr/lib/pkgconfig |
245 | +usr/share/aclocal |
246 | +usr/include |
247 | +usr/lib/*/libasound.a |
248 | +usr/lib/*/libasound.so |
249 | +usr/lib/*/pkgconfig |
250 | |
251 | === modified file 'debian/libasound2.postinst' |
252 | --- debian/libasound2.postinst 2009-08-07 08:58:47 +0000 |
253 | +++ debian/libasound2.postinst 2011-07-21 02:16:33 +0000 |
254 | @@ -1,6 +1,8 @@ |
255 | #!/bin/sh |
256 | set -e |
257 | |
258 | +dpkg-maintscript-helper rm_conffile /etc/ld.so.conf.d/libasound2.conf 1.0.24.1-0ubuntu6 -- "$@" |
259 | + |
260 | case "$1" in |
261 | configure) |
262 | # Remove very old cruft |
263 | @@ -11,4 +13,3 @@ |
264 | esac |
265 | |
266 | #DEBHELPER# |
267 | - |
268 | |
269 | === modified file 'debian/libasound2.postrm' |
270 | --- debian/libasound2.postrm 2009-08-07 08:58:47 +0000 |
271 | +++ debian/libasound2.postrm 2011-07-21 02:16:33 +0000 |
272 | @@ -1,6 +1,8 @@ |
273 | #!/bin/sh |
274 | set -e |
275 | |
276 | +dpkg-maintscript-helper rm_conffile /etc/ld.so.conf.d/libasound2.conf 1.0.24.1-0ubuntu6 -- "$@" |
277 | + |
278 | case "$1" in |
279 | purge) |
280 | # Remove very old cruft |
281 | @@ -11,4 +13,3 @@ |
282 | esac |
283 | |
284 | #DEBHELPER# |
285 | - |
286 | |
287 | === added file 'debian/libasound2.preinst' |
288 | --- debian/libasound2.preinst 1970-01-01 00:00:00 +0000 |
289 | +++ debian/libasound2.preinst 2011-07-21 02:16:33 +0000 |
290 | @@ -0,0 +1,7 @@ |
291 | +#!/bin/sh |
292 | + |
293 | +set -e |
294 | + |
295 | +dpkg-maintscript-helper rm_conffile /etc/ld.so.conf.d/libasound2.conf 1.0.24.1-0ubuntu6 -- "$@" |
296 | + |
297 | +#DEBHELPER# |
298 | |
299 | === added file 'debian/patches/multiarch-safe-dlopen-search-path.patch' |
300 | --- debian/patches/multiarch-safe-dlopen-search-path.patch 1970-01-01 00:00:00 +0000 |
301 | +++ debian/patches/multiarch-safe-dlopen-search-path.patch 2011-07-21 02:16:33 +0000 |
302 | @@ -0,0 +1,41 @@ |
303 | +Description: compile in the ALSA search path instead of relying on ld.so.conf |
304 | + The Ubuntu package currently uses ld.so.conf.d fragments to add |
305 | + /usr/lib/alsa-lib and /usr/lib{32,64}/alsa-lib to the dlopen search path. |
306 | + These don't *belong* on the global search path, and it becomes much more |
307 | + problematic to put them there with the advent of multiarch because each |
308 | + architecture then needs its own distinct config file to add the separate |
309 | + path... which is then also put in the global library namespace. Instead, |
310 | + let ALSA make use of the already defined ALSA_PLUGIN_DIR to look up plugins. |
311 | +Author: Steve Langasek <steve.langasek@canonical.com> |
312 | + |
313 | +Index: alsa-lib-1.0.24.1/src/dlmisc.c |
314 | +=================================================================== |
315 | +--- alsa-lib-1.0.24.1.orig/src/dlmisc.c |
316 | ++++ alsa-lib-1.0.24.1/src/dlmisc.c |
317 | +@@ -67,7 +67,25 @@ |
318 | + #endif |
319 | + #endif |
320 | + #ifdef HAVE_LIBDL |
321 | +- return dlopen(name, mode); |
322 | ++ /* |
323 | ++ * Handle the plugin dir not being on the default dlopen search |
324 | ++ * path, without resorting to polluting the entire system namespace |
325 | ++ * via ld.so.conf. |
326 | ++ */ |
327 | ++ void *handle = NULL; |
328 | ++ char *filename; |
329 | ++ |
330 | ++ if (name && name[0] != '/') { |
331 | ++ filename = malloc(sizeof(ALSA_PLUGIN_DIR) + 1 + strlen(name) + 1); |
332 | ++ strcpy(filename, ALSA_PLUGIN_DIR); |
333 | ++ strcat(filename, "/"); |
334 | ++ strcat(filename, name); |
335 | ++ handle = dlopen(filename, mode); |
336 | ++ free(filename); |
337 | ++ } |
338 | ++ if (!handle) |
339 | ++ handle = dlopen(name, mode); |
340 | ++ return handle; |
341 | + #else |
342 | + return NULL; |
343 | + #endif |
344 | |
345 | === modified file 'debian/patches/series' |
346 | --- debian/patches/series 2011-03-28 09:12:43 +0000 |
347 | +++ debian/patches/series 2011-07-21 02:16:33 +0000 |
348 | @@ -7,3 +7,4 @@ |
349 | lp652035-use-extended-namehints.patch |
350 | alsa-lib-ucm-allow-values-to-be-read-from-devices.patch |
351 | lp178442-ICE1712.patch |
352 | +multiarch-safe-dlopen-search-path.patch |
353 | |
354 | === modified file 'debian/rules' |
355 | --- debian/rules 2011-05-06 00:21:55 +0000 |
356 | +++ debian/rules 2011-07-21 02:16:33 +0000 |
357 | @@ -6,11 +6,12 @@ |
358 | PACKAGE:= alsa-lib |
359 | #include /usr/share/quilt/quilt.make |
360 | |
361 | +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
362 | export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
363 | -export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
364 | |
365 | DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU) |
366 | DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) |
367 | +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
368 | |
369 | biarch_map := i386=amd64 powerpc=ppc64 sparc=sparc64 s390=s390x \ |
370 | amd64=i386 # ppc64=powerpc |
371 | @@ -54,12 +55,13 @@ |
372 | ln -s /usr/share/misc/config.sub config.sub |
373 | ln -s /usr/share/misc/config.guess config.guess |
374 | ./configure --prefix=/usr \ |
375 | + --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ |
376 | --mandir=\$${prefix}/share/man \ |
377 | --infodir=\$${prefix}/share/info \ |
378 | --datadir=\$${prefix}/share \ |
379 | + --with-plugindir=/usr/lib/$(DEB_HOST_MULTIARCH)/alsa-lib \ |
380 | --build $(DEB_BUILD_GNU_TYPE) \ |
381 | - --enable-static --disable-maintainer-mode \ |
382 | - --with-plugindir=/usr/lib/alsa-lib |
383 | + --enable-static --disable-maintainer-mode |
384 | touch configure-stamp |
385 | |
386 | configure-biarch-stamp: |
387 | @@ -128,32 +130,29 @@ |
388 | debian/lib$(bi)asound2/$(bilibdir)/alsa-lib/smixer/ |
389 | mkdir -p debian/lib$(bi)asound2-dev/$(bilibdir)/alsa-lib/smixer |
390 | # mkdir -p debian/lib$(bi)asound2-dev/$(bilibdir)/pkgconfig |
391 | - cp -a \ |
392 | - debian/bitmp/usr/lib/libasound.so \ |
393 | - debian/bitmp/usr/lib/libasound.a \ |
394 | - debian/lib$(bi)asound2-dev/$(bilibdir)/ |
395 | + cp -a debian/bitmp/usr/lib/libasound.so \ |
396 | + debian/bitmp/usr/lib/libasound.a \ |
397 | + debian/lib$(bi)asound2-dev/$(bilibdir) |
398 | sed -e "/^libdir=/s,=.*,='/$(bilibdir)',;s,^dependency_libs=.*,dependency_libs=''," \ |
399 | debian/bitmp/usr/lib/libasound.la \ |
400 | > debian/lib$(bi)asound2-dev/$(bilibdir)/libasound.la |
401 | - mkdir -p debian/lib$(bi)asound2/etc/ld.so.conf.d |
402 | - echo "/$(bilibdir)/alsa-lib" > debian/lib$(bi)asound2/etc/ld.so.conf.d/lib$(bi)asound2.conf |
403 | # sed -e "/^libdir=.*lib$$/s,=.*,=/$(bilibdir)," \ |
404 | # debian/bitmp/usr/lib/pkgconfig/alsa.pc \ |
405 | # > debian/lib$(bi)asound2-dev/$(bilibdir)/pkgconfig/alsa.pc |
406 | -else |
407 | - sed -ie "s,^dependency_libs=.*,dependency_libs=''," \ |
408 | - debian/tmp/usr/lib/libasound.la |
409 | endif |
410 | - mkdir -p debian/libasound2/etc/ld.so.conf.d |
411 | - echo "/usr/lib/alsa-lib" > debian/libasound2/etc/ld.so.conf.d/libasound2.conf |
412 | dh_installdirs -s |
413 | dh_install -s |
414 | dh_installdocs -plibasound2 |
415 | dh_installexamples -s doc/asoundrc.txt |
416 | dh_installchangelogs -plibasound2 debian/changelog.ALSA |
417 | - dh_install -plibasound2 /usr/lib/libasound.so.2.0.0 /usr/lib/libasound.so.2 /usr/lib |
418 | - dh_install -plibasound2-udeb /usr/lib/libasound.so.2.0.0 /usr/lib/libasound.so.2 /usr/lib |
419 | - dh_install -plibasound2 /usr/lib/alsa-lib/smixer/*.so /usr/lib/alsa-lib |
420 | + dh_install -plibasound2 \ |
421 | + /usr/lib/$(DEB_HOST_MULTIARCH)/libasound.so.2.0.0 \ |
422 | + /usr/lib/$(DEB_HOST_MULTIARCH)/libasound.so.2 \ |
423 | + /usr/lib/$(DEB_HOST_MULTIARCH) |
424 | + dh_install -plibasound2-udeb \ |
425 | + /usr/lib/$(DEB_HOST_MULTIARCH)/libasound.so.2.0.0 \ |
426 | + /usr/lib/$(DEB_HOST_MULTIARCH)/libasound.so.2 /usr/lib |
427 | + dh_install -plibasound2 /usr/lib/$(DEB_HOST_MULTIARCH)/alsa-lib/smixer/*.so /usr/lib/$(DEB_HOST_MULTIARCH)/alsa-lib |
428 | cp -a debian/tmp/usr/share/alsa debian/libasound2/usr/share/ |
429 | cp -a debian/tmp/usr/share/alsa debian/libasound2-udeb/usr/share/ |
430 | dh_strip -s |
431 | @@ -176,7 +175,7 @@ |
432 | dh_fixperms -i |
433 | |
434 | binary-arch: build-arch-stamp install-arch |
435 | - dh_makeshlibs -plibasound2 -V'libasound2 (>> 1.0.24.1)' --add-udeb=libasound2-udeb --exclude=usr/lib/alsa-lib/smixer |
436 | + dh_makeshlibs -plibasound2 -V'libasound2 (>> 1.0.24.1)' --add-udeb=libasound2-udeb --exclude=usr/lib/$(DEB_HOST_MULTIARCH)/alsa-lib/smixer |
437 | ifneq (,$(build_biarch_stamp)) |
438 | dh_makeshlibs -plib$(bi)asound2 -V'lib$(bi)asound2 (>> 1.0.24.1)' --exclude=usr/lib$(bi)/alsa-lib/smixer |
439 | endif |
440 | @@ -202,7 +201,7 @@ |
441 | #-$(MAKE) distclean |
442 | [ ! -f Makefile ] || $(MAKE) distclean |
443 | -rm -f *-stamp |
444 | - rm -f config.sub config.guess config.status config.cache |
445 | + -rm -f config.sub config.guess config.status config.cache |
446 | -rm -rf doc/doxygen |
447 | rm -rf bibuild debian/bitmp |
448 | -rm -f include/alsa |
Hi Steve. I got persia to fix up team memberships. Ubuntu-core-dev is now a member of ubuntu-audio-dev, so you should be able to commit to branches and upload when ready. Since this is now done, I'll leave it to you to get lib/plugins sorted and push at your leasure.
Marking disapprove as per the above membership changes.