Source: libao
Version: 1.2.2+20180113-1.2
Severity: minor
Dear Maintainer,
I am proposing importing the packaging changes from Ubuntu:
* debian: adapt to compatibility level 13 and use autoreconf template.
- Modernize the packaging
* debian/libao.conf: Set the default output to pulseaudio (LP: #1075479)
- This is somewhat debatable. It was introduced in Ubuntu because,
presumably, at the time the default ALSA backend was not pulseaudio so
libao would stomp over pulse (see the launchpad bug).
However nowadays I expect that, in a system with pulseaudio or
pipewire, ALSA will always default to pulse/pipewire so the change
should not be necessary.
But I'm still including the change for others to evaluate, as I
believe it might make sense for libao to default to pulse anyways.
Find the debdiff attached.
Thanks.
diff -Nru libao-1.2.2+20180113/debian/changelog
libao-1.2.2+20180113/debian/changelog
--- libao-1.2.2+20180113/debian/changelog 2024-02-21 13:57:19.000000000
+0100
+++ libao-1.2.2+20180113/debian/changelog 2024-12-13 17:11:41.000000000
+0100
@@ -1,3 +1,10 @@
+libao (1.2.2+20180113-1.3) UNRELEASED; urgency=medium
+
+ * debian: adapt to compatibility level 13 and use autoreconf template.
+ * debian/libao.conf: Set the default output to pulseaudio (LP: #1075479)
+
+ -- Alessandro Astone <alessandro.ast...@canonical.com> Fri, 13 Dec 2024
17:11:41 +0100
+
libao (1.2.2+20180113-1.2) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru libao-1.2.2+20180113/debian/compat libao-1.2.2+20180113/debian/compat
--- libao-1.2.2+20180113/debian/compat 2024-02-21 13:57:19.000000000 +0100
+++ libao-1.2.2+20180113/debian/compat 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-9
diff -Nru libao-1.2.2+20180113/debian/control
libao-1.2.2+20180113/debian/control
--- libao-1.2.2+20180113/debian/control 2024-02-21 13:57:19.000000000 +0100
+++ libao-1.2.2+20180113/debian/control 2024-12-13 16:08:11.000000000 +0100
@@ -1,9 +1,11 @@
Source: libao
Section: libs
Priority: optional
-Maintainer: Ron Lee <r...@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Ron Lee <r...@debian.org>
Uploaders: John Francesco Ferlito <jo...@inodes.org>
-Build-Depends: autotools-dev, debhelper (>= 9),
+Build-Depends:
+ debhelper-compat (= 13),
libasound2-dev [linux-any],
libaudio-dev, libpulse-dev, libxau-dev, libsndio-dev
Standards-Version: 4.1.3.0
@@ -49,27 +51,6 @@
This package contains the header files and static libraries required for
developing applications that use libao.
-Package: libao-dbg
-Architecture: any
-Multi-Arch: same
-Section: debug
-Priority: extra
-Depends: ${misc:Depends}, libao4 (= ${binary:Version})
-Description: Cross Platform Audio Output Library Debug Symbols
- Libao is a cross-platform audio library that allows programs to output audio
- using a simple API on a wide variety of platforms. It currently supports:
- .
- * Null output (handy for testing without a sound device)
- * WAV files
- * AU files
- * OSS (Open Sound System, used on Linux and FreeBSD)
- * ALSA (Advanced Linux Sound Architecture)
- * PulseAudio (next generation GNOME sound server)
- * and several others.
- .
- This package contains debugging symbols useful for tracing bugs in the
- libao package.
-
Package: libao-common
Architecture: all
Multi-Arch: foreign
diff -Nru libao-1.2.2+20180113/debian/libao.conf
libao-1.2.2+20180113/debian/libao.conf
--- libao-1.2.2+20180113/debian/libao.conf 2024-02-21 13:57:19.000000000
+0100
+++ libao-1.2.2+20180113/debian/libao.conf 2024-12-13 16:08:11.000000000
+0100
@@ -1,2 +1,2 @@
-default_driver=alsa
+default_driver=pulse
quiet
diff -Nru libao-1.2.2+20180113/debian/not-installed
libao-1.2.2+20180113/debian/not-installed
--- libao-1.2.2+20180113/debian/not-installed 1970-01-01 01:00:00.000000000
+0100
+++ libao-1.2.2+20180113/debian/not-installed 2024-12-13 16:08:11.000000000
+0100
@@ -0,0 +1,3 @@
+usr/lib/${DEB_HOST_MULTIARCH}/ckport/db/libao.ckport
+usr/lib/${DEB_HOST_MULTIARCH}/ao/plugins-4/*.la
+usr/lib/${DEB_HOST_MULTIARCH}/libao.la
diff -Nru libao-1.2.2+20180113/debian/rules libao-1.2.2+20180113/debian/rules
--- libao-1.2.2+20180113/debian/rules 2024-02-21 13:57:19.000000000 +0100
+++ libao-1.2.2+20180113/debian/rules 2024-12-13 16:08:11.000000000 +0100
@@ -1,23 +1,15 @@
#! /usr/bin/make -f
+export DEB_CFLAGS_MAINT_APPEND = -Wall
+
%:
dh $@
-override_dh_strip:
- dh_strip --dbg-package=libao-dbg
-
override_dh_shlibdeps:
dh_shlibdeps --exclude=/usr/lib/$(DEB_HOST_MULTIARCH)/ao/plugins-4
override_dh_makeshlibs:
dh_makeshlibs --exclude=/usr/lib/$(DEB_HOST_MULTIARCH)/ao/plugins-4
-# Put config.sub rules in until
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559098 is fixed
-override_dh_auto_configure:
- ln -sf /usr/share/misc/config.sub .
- ln -sf /usr/share/misc/config.guess .
- dh_auto_configure -- CFLAGS='-g -Wall'
-
-override_dh_auto_clean:
- dh_auto_clean
- rm -f config.sub config.guess
+override_dh_strip:
+ dh_strip --dbgsym-migration='libao-dbg (<= 1.2.2+20180113-1.2)'