Package: libao
Version: 0.8.8-5
Severity: normal
Tags: patch

While working on the NMU, I detected many lintian warnings. I have fixed them 
(excluding some informational ones). You can either use the attached patch or 
grab the bzr branch from lp:~bdrung/libao/lintian-cleanup [1]. The latter 
documents every change blow-by-blow.

[1] https://code.launchpad.net/~bdrung/libao/lintian-cleanup
diff -Nru libao-0.8.8/debian/control libao-0.8.8/debian/control
--- libao-0.8.8/debian/control	2010-03-03 00:04:48.000000000 +0100
+++ libao-0.8.8/debian/control	2010-03-02 23:58:56.000000000 +0100
@@ -3,14 +3,22 @@
 Priority: optional
 Maintainer: Debian Xiph.org Maintainers <pkg-xiph-ma...@lists.alioth.debian.org>
 Uploaders: Adeodato Simó <d...@net.com.org.es>
-Build-Depends: autotools-dev, debhelper, quilt, libartsc0-dev, libasound2-dev [!kfreebsd-i386 !hurd-i386 !kfreebsd-amd64], libaudio-dev, libesd0-dev, libpulse-dev, libxt-dev, libxau-dev
-Standards-Version: 3.8.0
+Build-Depends: autotools-dev,
+               debhelper (>= 5),
+               libartsc0-dev,
+               libasound2-dev [!kfreebsd-i386 !hurd-i386 !kfreebsd-amd64],
+               libaudio-dev,
+               libesd0-dev,
+               libpulse-dev,
+               libxau-dev,
+               libxt-dev
+Standards-Version: 3.8.4
 Vcs-Bzr: http://bzr.debian.org/bzr/pkg-xiph/libao
+Homepage: http://www.xiph.org/ao/
 
 Package: libao2
 Architecture: any
-Section: libs
-Depends: ${shlibs:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
 Suggests: libartsc0, libasound2, libaudio2, libesd0 | libesd-alsa0, libpulse0
 Replaces: libao-pulse
 Description: Cross Platform Audio Output Library
@@ -20,15 +28,15 @@
 Package: libao-dev
 Architecture: any
 Section: libdevel
-Depends: libao2 (= ${binary:Version}), libc6-dev
+Depends: libao2 (= ${binary:Version}), libc6-dev, ${misc:Depends}
 Description: Cross Platform Audio Output Library Development
  The libao-dev package contains the header files and documentation
  needed to develop applications with libao.
 
 Package: libao-dbg
 Architecture: any
-Section: libdevel
+Section: debug
 Priority: extra
-Depends: libao2 (= ${binary:Version})
+Depends: libao2 (= ${binary:Version}), ${misc:Depends}
 Description: Cross Platform Audio Output Library Debug Symbols
  The libao-dev package contains the debug symbols for libao.
diff -Nru libao-0.8.8/debian/patches/01_fix_arts_init_wackyness.patch libao-0.8.8/debian/patches/01_fix_arts_init_wackyness.patch
--- libao-0.8.8/debian/patches/01_fix_arts_init_wackyness.patch	2010-03-03 00:04:48.000000000 +0100
+++ libao-0.8.8/debian/patches/01_fix_arts_init_wackyness.patch	2010-03-02 23:58:56.000000000 +0100
@@ -1,3 +1,8 @@
+Description: Fix arts_init() wackyness where on non-KDE systems, it causes
+ _exit() to be called in ao_initialize().
+Author: William Pitcock <neno...@sacredspiral.co.uk>
+Bug-Debian: http://bugs.debian.org/464638
+
 diff -urN libao-0.8.8/src/plugins/arts/ao_arts.c libao-0.8.8+patched/src/plugins/arts/ao_arts.c
 --- libao-0.8.8/src/plugins/arts/ao_arts.c	2007-05-24 04:19:07.000000000 -0500
 +++ libao-0.8.8+patched/src/plugins/arts/ao_arts.c	2008-02-07 21:55:50.000000000 -0600
diff -Nru libao-0.8.8/debian/rules libao-0.8.8/debian/rules
--- libao-0.8.8/debian/rules	2010-03-03 00:04:48.000000000 +0100
+++ libao-0.8.8/debian/rules	2010-03-02 23:58:56.000000000 +0100
@@ -1,7 +1,5 @@
 #! /usr/bin/make -f
 
-include /usr/share/quilt/quilt.make
-
 ###
 
 # Configure arguments
@@ -69,7 +67,7 @@
 
 #
 
-clean: unpatch
+clean:
 	dh_testdir
 	dh_testroot
 
diff -Nru libao-0.8.8/debian/source/format libao-0.8.8/debian/source/format
--- libao-0.8.8/debian/source/format	1970-01-01 01:00:00.000000000 +0100
+++ libao-0.8.8/debian/source/format	2010-03-03 00:04:48.384452662 +0100
@@ -0,0 +1 @@
+3.0 (quilt)

Reply via email to