libcanberra (0.24-1) debian-dir only changes

Summary

 debian/52libcanberra-gtk-module_add-to-gtk-modules |    9 
 debian/README.Debian                               |   24 ++
 debian/changelog                                   |  116 ++++++++++++
 debian/compat                                      |    1 
 debian/control                                     |  195 +++++++++++++++++++++
 debian/copyright                                   |   30 +++
 debian/docs                                        |    1 
 debian/gnome-session-canberra.install              |    2 
 debian/libcanberra-dev.install                     |    4 
 debian/libcanberra-doc.examples                    |    1 
 debian/libcanberra-doc.install                     |    1 
 debian/libcanberra-gstreamer.install               |    1 
 debian/libcanberra-gtk-dev.install                 |    4 
 debian/libcanberra-gtk-module.install              |    2 
 debian/libcanberra-gtk0.install                    |    2 
 debian/libcanberra-gtk0.symbols                    |    9 
 debian/libcanberra-pulse.install                   |    1 
 debian/libcanberra0.install                        |    3 
 debian/libcanberra0.symbols                        |   74 +++++++
 debian/rules                                       |   40 ++++
 debian/watch                                       |    8 
 21 files changed, 528 insertions(+)

    
download this patch

Patch contents

--- libcanberra-0.24.orig/debian/libcanberra-dev.install
+++ libcanberra-0.24/debian/libcanberra-dev.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/include/canberra.h
+debian/tmp/usr/lib/libcanberra.so
+debian/tmp/usr/lib/pkgconfig/libcanberra.pc
+debian/tmp/usr/share/vala/vapi/libcanberra.vapi
--- libcanberra-0.24.orig/debian/libcanberra0.symbols
+++ libcanberra-0.24/debian/libcanberra0.symbols
@@ -0,0 +1,74 @@
+libcanberra.so.0 libcanberra0 #MINVER#
+* Build-Depends-Package: libcanberra-dev
+ CANBERRA_0@CANBERRA_0 0.3
+ ca_cache_lookup_sound@Base 0.9
+ ca_cache_store_sound@Base 0.9
+ ca_context_cache@Base 0.2
+ ca_context_cache_full@Base 0.2
+ ca_context_cancel@Base 0.2
+ ca_context_change_device@Base 0.2
+ ca_context_change_props@Base 0.2
+ ca_context_change_props_full@Base 0.2
+ ca_context_create@Base 0.2
+ ca_context_destroy@Base 0.2
+ ca_context_open@Base 0.2
+ ca_context_play@Base 0.2
+ ca_context_play_full@Base 0.2
+ ca_context_playing@Base 0.16
+ ca_context_set_driver@Base 0.2
+ ca_debug@Base 0.4
+ ca_detect_fork@Base 0.12
+ ca_driver_order@Base 0.4
+ ca_get_data_dirs@Base 0.9
+ ca_get_data_home@Base 0.9
+ ca_lookup_sound@Base 0.2
+ ca_lookup_sound_with_callback@Base 0.8
+ ca_memdup@Base 0.10
+ ca_mutex_free@Base 0.2
+ ca_mutex_lock@Base 0.2
+ ca_mutex_new@Base 0.2
+ ca_mutex_try_lock@Base 0.2
+ ca_mutex_unlock@Base 0.2
+ ca_parse_cache_control@Base 0.2
+ ca_proplist_contains@Base 0.2
+ ca_proplist_create@Base 0.2
+ ca_proplist_destroy@Base 0.2
+ ca_proplist_from_ap@Base 0.2
+ ca_proplist_get_unlocked@Base 0.2
+ ca_proplist_gets_unlocked@Base 0.2
+ ca_proplist_merge@Base 0.2
+ ca_proplist_merge_ap@Base 0.2
+ ca_proplist_set@Base 0.2
+ ca_proplist_setf@Base 0.2
+ ca_proplist_sets@Base 0.2
+ ca_sound_file_close@Base 0.2
+ ca_sound_file_frame_size@Base 0.2
+ ca_sound_file_get_channel_map@Base 0.13
+ ca_sound_file_get_nchannels@Base 0.2
+ ca_sound_file_get_rate@Base 0.2
+ ca_sound_file_get_sample_type@Base 0.2
+ ca_sound_file_get_size@Base 0.2
+ ca_sound_file_open@Base 0.2
+ ca_sound_file_read_arbitrary@Base 0.2
+ ca_sound_file_read_int16@Base 0.2
+ ca_sound_file_read_uint8@Base 0.2
+ ca_sprintf_malloc@Base 0.2
+ ca_strerror@Base 0.2
+ ca_theme_data_free@Base 0.2
+ ca_vorbis_close@Base 0.2
+ ca_vorbis_get_channel_map@Base 0.13
+ ca_vorbis_get_nchannels@Base 0.2
+ ca_vorbis_get_rate@Base 0.2
+ ca_vorbis_get_size@Base 0.2
+ ca_vorbis_open@Base 0.2
+ ca_vorbis_read_s16ne@Base 0.2
+ ca_wav_close@Base 0.2
+ ca_wav_get_channel_map@Base 0.13
+ ca_wav_get_nchannels@Base 0.2
+ ca_wav_get_rate@Base 0.2
+ ca_wav_get_sample_type@Base 0.2
+ ca_wav_get_size@Base 0.2
+ ca_wav_open@Base 0.2
+ ca_wav_read_s16le@Base 0.2
+ ca_wav_read_u8@Base 0.2
+ driver_playing@Base 0.17
--- libcanberra-0.24.orig/debian/libcanberra-gtk0.install
+++ libcanberra-0.24/debian/libcanberra-gtk0.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/libcanberra-gtk.so.*
+debian/tmp/usr/bin/canberra-gtk-play
--- libcanberra-0.24.orig/debian/changelog
+++ libcanberra-0.24/debian/changelog
@@ -0,0 +1,116 @@
+libcanberra (0.24-1) unstable; urgency=low
+
+  * New upstream version:
+    + debian/control:
+      - Update GTK build dependency to >= 2.20.
+  * debian/control:
+    + Update Standards-Version to 3.8.4.
+  * debian/rules:
+    + Fix shlibs file by excluding the alsa module (Closes: #560120).
+  * debian/libcanberra-dev.install,
+    debian/libcanberra-gtk-dev.install:
+    + Ship Vala bindings with the -dev packages (Closes: #556249).
+
+ -- Sebastian Dröge <slomo@debian.org>  Thu, 06 May 2010 19:52:17 +0200
+
+libcanberra (0.22-1) unstable; urgency=low
+
+  [ Marc-André Lureau ]
+  * New Upstream Version
+  * debian/control:
+    - updated libtool dependency to 2.2
+  * debian/rules:
+    - comment patchsys-quilt usage to please lintian.
+
+  [ Sjoerd Simons ]
+  * debian/libcanberra0.install: Tweak the default module wildcard so it
+    matches both -oss and -alsa
+  * Uses gdk_threads_add_idle_full instead of g_idle_full for thread-safety
+    (Closes: #534161)
+  * Explicitely disable oss on linux and enable it on other platforms
+
+ -- Sjoerd Simons <sjoerd@debian.org>  Sun, 25 Oct 2009 15:57:25 +0000
+
+libcanberra (0.18) unstable; urgency=low
+
+  * New Upstream Version
+  * libcanberra0.symbols updated.
+  * Packaged the gstreamer backend. Closes: #536535
+  * Fix the libcanberra-pulse section. Closes: #545759
+  * Added some *-dbg packages.
+
+ -- Marc-André Lureau <marcandre.lureau@gmail.com>  Sat, 12 Sep 2009 01:24:03 +0200
+
+libcanberra (0.12-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS on GNU/kFreeBSD, based on a patch by Aurélien Jarno
+    (Closes: #528552):
+     - Tweak DEB_CONFIGURE_EXTRA_FLAGS so as to use --enable-alsa on Linux
+       only, and --disable-alsa elsewhere (using DEB_HOST_ARCH_OS).
+     - Use debian/libcanberra0.install.kfreebsd to install files on
+       kfreebsd-* (alsa is replaced by oss).
+  * Not bumping the versioned Build-Depends on debhelper to the first
+    version having introduced support for .install.$os for the following
+    reasons:
+     - It is only needed on kfreebsd-*, which only have unstable and
+       testing, and their chroots are uptodate.
+     - It might make it harder to backport the package for no reasons.
+
+ -- Cyril Brulebois <kibi@debian.org>  Mon, 17 Aug 2009 00:01:06 +0200
+
+libcanberra (0.12-1) unstable; urgency=low
+
+  * New Upstream Version
+  * debian/patches/0001-bootstrap-fix-required-automake-version.patch
+    + Dropped, fixed upstream
+  * debian/patches/0002-map-Don-t-export-libtool-symbols.patch
+    + Dropped, fixed upstream
+  * Packaged the pulseaudio backend
+
+ -- Sjoerd Simons <sjoerd@debian.org>  Sun, 24 May 2009 18:22:29 +0100
+
+libcanberra (0.11-1) unstable; urgency=low
+
+  [ Marc-Andre Lureau ]
+  * New Upstream Version
+  * libcanberra0.install:
+    + modules are now installed under /usr/lib/libcanberra-0.11
+  * Do not ship static libraries in *-dev anymore.
+  * Move "canberra-gtk-play" from libcanberra-gtk-dev to libcanberra-gtk0.
+  * Add gnome-session-canberra to play log in/out events.
+  * Add 52libcanberra-gtk-module_add-to-gtk-modules to /etc/X11/Xsession.d
+    to load the GTK module.
+  * Add tdb-dev dependency (for themed file lookup caching)
+
+  [ Sjoerd Simons ]
+  * build-depend on libltdl-dev | libltdl3-dev (>= 1.5.24) (Closes: #522964)
+  * Update copyright file
+  * Wrap build-depends
+  * Put dbg packages in the debug section
+  * Update standards to 3.8.1, no further changes
+  * Add ${misc:Depends}, ${shlibs:Depends} to gnome-session-canberra
+  * exclude /usr/lib/libcanberra-0.11 when making shlibs files
+
+ -- Sjoerd Simons <sjoerd@debian.org>  Sat, 11 Apr 2009 14:16:05 +0100
+
+libcanberra (0.4-1) unstable; urgency=low
+
+  [ Marc-Andre Lureau ]
+  * New Upstream Version
+  * Include "canberra-gtk-play" in libcanberra-gtk-dev.
+  * Remove patches and quilt dependency (all patches are now upstream).
+
+  [ Sebastian Dröge ]
+  * Update shlibs versions for the new symbols.
+  * Add ${shlibs:Depends} to the -dev packages.
+  * Fix symbol files.
+
+ -- Sebastian Dröge <slomo@debian.org>  Sun, 27 Jul 2008 11:51:31 +0200
+
+libcanberra (0.3-1) unstable; urgency=low
+
+  * Initial Debian release. (Closes: #485652)
+  * New Upstream Version
+
+ -- Marc-Andre Lureau <marcandre.lureau@gmail.com>  Sun, 15 Jun 2008 21:33:00 +0300
--- libcanberra-0.24.orig/debian/watch
+++ libcanberra-0.24/debian/watch
@@ -0,0 +1,8 @@
+# Control file for uscan
+# Run the "uscan" command to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+http://0pointer.de/public/ libcanberra-(.*)\.tar\.gz
--- libcanberra-0.24.orig/debian/libcanberra-gtk0.symbols
+++ libcanberra-0.24/debian/libcanberra-gtk0.symbols
@@ -0,0 +1,9 @@
+libcanberra-gtk.so.0 libcanberra-gtk0 #MINVER#
+* Build-Depends-Package: libcanberra-gtk-dev
+ ca_gtk_context_get@Base 0.2
+ ca_gtk_context_get_for_screen@Base 0.17
+ ca_gtk_play_for_event@Base 0.2
+ ca_gtk_play_for_widget@Base 0.2
+ ca_gtk_proplist_set_for_event@Base 0.2
+ ca_gtk_proplist_set_for_widget@Base 0.2
+ ca_gtk_widget_disable_sounds@Base 0.2
--- libcanberra-0.24.orig/debian/gnome-session-canberra.install
+++ libcanberra-0.24/debian/gnome-session-canberra.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/gnome/autostart/libcanberra-login-sound.desktop
+debian/tmp/usr/share/gnome/shutdown/libcanberra-logout-sound.sh
--- libcanberra-0.24.orig/debian/libcanberra0.install
+++ libcanberra-0.24/debian/libcanberra0.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/libcanberra.so.*
+# install alsa or oss modules
+debian/tmp/usr/lib/libcanberra-*/libcanberra-[ao][ls][s]*.so
--- libcanberra-0.24.orig/debian/libcanberra-gtk-dev.install
+++ libcanberra-0.24/debian/libcanberra-gtk-dev.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/include/canberra-gtk.h
+debian/tmp/usr/lib/libcanberra-gtk.so
+debian/tmp/usr/lib/pkgconfig/libcanberra-gtk.pc
+debian/tmp/usr/share/vala/vapi/libcanberra-gtk.vapi
--- libcanberra-0.24.orig/debian/libcanberra-pulse.install
+++ libcanberra-0.24/debian/libcanberra-pulse.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libcanberra-*/libcanberra-pulse.so
--- libcanberra-0.24.orig/debian/52libcanberra-gtk-module_add-to-gtk-modules
+++ libcanberra-0.24/debian/52libcanberra-gtk-module_add-to-gtk-modules
@@ -0,0 +1,9 @@
+# This file is sourced by Xsession(5), not executed.
+
+if [ -z "$GTK_MODULES" ] ; then
+	GTK_MODULES="canberra-gtk-module"
+else
+	GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
+fi
+
+export GTK_MODULES
--- libcanberra-0.24.orig/debian/copyright
+++ libcanberra-0.24/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Marc-Andre Lureau
+<marcandre.lureau@gmail.com> on Tue Jun 10 20:33:14 2008.
+
+ It was downloaded from <http://0pointer.de/public/>.
+
+ Upstream Authors
+ ================
+
+ Lennart Poettering <lennart@poettering.net>
+
+
+Files: *
+Copyright: Copyright 2008-2009 Lennart Poettering
+Licence: LGPL-2.1+
+  On Debian systems, the complete text of the LGPL-2.1 can be found in
+ /usr/share/common-licenses/LGPL-2.1
+
+File: src/gstreamer.c
+Copyright: Copyright 2008 Nokia Corporation and/or its subsidiary(-ies).
+Licence: LGPL-2.1+
+  On Debian systems, the complete text of the LGPL-2.1 can be found in
+ /usr/share/common-licenses/LGPL-2.1
+
+Files: m4/attributes.m4
+Copyright:
+  Copyright (c) 2006-2007 Diego Petten<C3><B2> <flameeyes@gmail.com>
+  Copyright (c) 2006-2007 xine project
+Licence: LGPL-2+
+  On Debian systems, the complete text of the LGPL-2 can be found in
+ /usr/share/common-licenses/LGPL-2
--- libcanberra-0.24.orig/debian/libcanberra-doc.install
+++ libcanberra-0.24/debian/libcanberra-doc.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/gtk-doc/html/libcanberra
--- libcanberra-0.24.orig/debian/control
+++ libcanberra-0.24/debian/control
@@ -0,0 +1,195 @@
+Source: libcanberra
+Section: libs
+Priority: optional
+Maintainer: Marc-Andre Lureau <marcandre.lureau@gmail.com>
+Uploaders: Sjoerd Simons <sjoerd@debian.org>, Sebastian Dröge <slomo@debian.org>
+Build-Depends: debhelper (>= 5),
+               cdbs,
+               m4,
+               libltdl-dev | libltdl7-dev (>= 2.2.6),
+               dpkg-dev (>= 1.14.13),
+               libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
+               libvorbis-dev,
+               libgtk2.0-dev (>= 2.20),
+               tdb-dev (> 1.1),
+               gtk-doc-tools,
+               libpulse-dev (>= 0.9.11),
+               libgstreamer0.10-dev (>= 0.10.15),
+               quilt
+Standards-Version: 3.8.4
+Vcs-Git: git://git.debian.org/git/collab-maint/libcanberra.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/libcanberra.git
+
+Package: libcanberra0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libcanberra-gtk0, libcanberra-pulse
+Description: a simple abstract interface for playing event sounds
+ libcanberra defines a simple abstract interface for playing event
+ sounds.
+ .
+ libcanberra relies on the XDG sound naming specification for
+ identifying event sounds. On Unix/Linux the right sound to play
+ is found via the mechanisms defined in the XDG sound theming
+ specification.
+
+Package: libcanberra0-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Depends: ${misc:Depends}, libcanberra0 (= ${binary:Version})
+Description: libcanberra libraries detached debugging symbols
+ libcanberra defines a simple abstract interface for playing event
+ sounds.
+ .
+ This package contains detached debugging symbols for it.
+
+Package: libcanberra-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends},
+	 ${misc:Depends},
+	 libcanberra0 (= ${binary:Version})
+Description: a simple abstract interface for playing event sounds
+ libcanberra defines a simple abstract interface for playing event
+ sounds.
+ .
+ This package contains headers and libraries for developing
+ applications that play event sounds with libcanberra.
+
+Package: libcanberra-pulse
+Architecture: any
+Depends: ${shlibs:Depends},
+  ${misc:Depends},
+  libcanberra0 (= ${binary:Version}),
+  pulseaudio
+Description: PulseAudio backend for libcanberra
+ libcanberra defines a simple abstract interface for playing event
+ sounds.
+ .
+ This package contains the PulseAudio backend for libcanberra.
+
+Package: libcanberra-pulse-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Depends: ${shlibs:Depends},
+  ${misc:Depends},
+  libcanberra-pulse (= ${binary:Version})
+Description: PulseAudio libcanberra backend detached debugging symbols
+ libcanberra defines a simple abstract interface for playing event
+ sounds.
+ .
+ This package contains the PulseAudio backend debugging symbols.
+
+Package: libcanberra-gstreamer
+Architecture: any
+Depends: ${shlibs:Depends},
+  ${misc:Depends},
+  libcanberra0 (= ${binary:Version})
+Description: GStreamer backend for libcanberra
+ libcanberra defines a simple abstract interface for playing event
+ sounds.
+ .
+ This package contains the GStreamer backend for libcanberra.
+
+Package: libcanberra-gstreamer-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Depends: ${shlibs:Depends},
+  ${misc:Depends},
+  libcanberra-gstreamer (= ${binary:Version})
+Description: GStreamer libcanberra backend detached debugging symbols
+ libcanberra defines a simple abstract interface for playing event
+ sounds.
+ .
+ This package contains the pulseaudio backend for libcanberra.
+
+Package: libcanberra-gtk0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: libcanberra-gtk-module
+Description: Gtk+ helper for playing widget event sounds with libcanberra
+ libcanberra-gtk provides a few functions that simplify libcanberra
+ usage from Gtk+.
+ .
+ Contextual informations are needed to play event sound. This library
+ can help to compile directly event sounds property lists based on
+ active GtkWidget objects or GdkEvent events.
+
+Package: libcanberra-gtk0-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Depends: ${misc:Depends}, libcanberra-gtk0 (= ${binary:Version})
+Description: libcanberra-gtk libraries detached debugging symbols
+ libcanberra-gtk provides a few functions that simplify libcanberra
+ usage from Gtk+.
+ .
+ Contextual informations are needed to play event sound. This library
+ can help to compile directly event sounds property lists based on
+ active GtkWidget objects or GdkEvent events.
+ .
+ This package contains detached debugging symbols for it.
+
+Package: libcanberra-gtk-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends},
+	 ${misc:Depends},
+	 libcanberra-gtk0 (= ${binary:Version}),
+	 libcanberra-dev (= ${binary:Version}),
+	 libgtk2.0-dev (>= 2.20)
+Description: a simple abstract interface for playing event sounds
+ libcanberra-gtk provides a few functions that simplify
+ libcanberra usage from Gtk+.
+ .
+ Contextual informations are needed to play event sound. This library
+ can help to compile directly event sounds property lists based on
+ active GtkWidget objects or GdkEvent events.
+ .
+ This package contains headers and libraries for developing
+ applications that play event sounds with libcanberra-gtk.
+
+Package: libcanberra-gtk-module
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: translates Gtk+ widgets signals to event sounds
+ A GtkModule which will automatically hook into all kinds of events
+ inside a Gtk+ program and generate sound events from them.
+
+Package: gnome-session-canberra
+Architecture: all
+Depends: ${misc:Depends}, ${shlibs:Depends}, libcanberra-gtk0
+Description: GNOME session log in and log out sound events
+ Produce sound events on GNOME session log in and log out.
+ .
+ This package is using canberra-gtk-play from libcanberra.
+
+Package: libcanberra-gtk-module-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Depends: ${misc:Depends}, libcanberra-gtk-module (= ${binary:Version})
+Description: libcanberra GtkModule detached debugging symbols
+ A GtkModule which will automatically hook into all kinds of events
+ inside a Gtk+ program and generate sound events from them.
+ .
+ This package contains detached debugging symbols for it.
+
+Package: libcanberra-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: a simple abstract interface for playing event sounds - doc
+ libcanberra defines a simple abstract interface for playing event
+ sounds.
+ .
+ libcanberra relies on the XDG sound naming specification for
+ identifying event sounds. On Unix/Linux the right sound to play
+ is found via the mechanisms defined in the XDG sound theming
+ specification.
+ .
+ This package contains the HTML documentation for libcanberra and
+ libcanberra-gtk.
--- libcanberra-0.24.orig/debian/docs
+++ libcanberra-0.24/debian/docs
@@ -0,0 +1 @@
+README
--- libcanberra-0.24.orig/debian/rules
+++ libcanberra-0.24/debian/rules
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/utils.mk
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+common-install-arch::
+	find $(DEB_DESTDIR) -name "*.la" | xargs rm -f
+
+common-binary-post-install-arch:: list-missing
+
+update-patch-series:
+	git rm -r -f $(CURDIR)/debian/patches
+	mkdir -p $(CURDIR)/debian/patches
+	git format-patch -o $(CURDIR)/debian/patches patches ^upstream | \
+		xargs -n 1 basename > $(CURDIR)/debian/patches/series
+	git add $(CURDIR)/debian/patches
+
+DEB_CONFIGURE_EXTRA_FLAGS = 			\
+	--enable-pulse				\
+	--enable-gstreamer			\
+	--enable-gtk				\
+	--enable-gtk-doc 			\
+	--enable-tdb 				\
+	--with-builtin=dso
+
+# Linux-specific flags:
+ifeq ($(DEB_HOST_ARCH_OS), linux)
+DEB_CONFIGURE_EXTRA_FLAGS += --enable-alsa --disable-oss
+else
+DEB_CONFIGURE_EXTRA_FLAGS += --disable-alsa --enable-oss
+endif
+
+DEB_DH_MAKESHLIBS_ARGS_ALL = --exclude=usr/lib/gtk-2.0/modules
+DEB_DH_MAKESHLIBS_ARGS_ALL += --exclude=usr/lib/libcanberra-0.24
+DEB_DH_MAKESHLIBS_ARGS_libcanberra0 += -V "libcanberra0 (>= 0.20)" -- -c4
+DEB_DH_MAKESHLIBS_ARGS_libcanberra-gtk0 += -V "libcanberra-gtk0 (>= 0.20)" -- -c4
--- libcanberra-0.24.orig/debian/README.Debian
+++ libcanberra-0.24/debian/README.Debian
@@ -0,0 +1,24 @@
+libcanberra for Debian
+----------------------
+
+libcanberra can use different backends: null, ALSA, PulseAudio, OSS,
+GStreamer.
+
+Since the PulseAudio backend requires PulseAudio >= 0.9.11, this
+package uses ALSA for testing purposes. It is planned to use
+PulseAudio as soon as it is released.
+
+It is also planned to have different inter-conflicting packages for
+configurable backend installation.
+
+The GTK+ module is loaded when the GTK_MODULES environment variable
+contains the string "canberra-gtk-module". Lennart proposed to enable
+this by default when the package is installed. I have to figure out
+how to do it correctly in Debian.
+
+This package target "experimental": libcanberra-gtk requires GTK+
+2.13.4 in order to take the XSETTINGS configuration. However, GTK+
+2.13 is not available in Debian. But the package still compile with
+older version. A patch is included to avoid spurious debug messages.
+
+ -- Marc-Andre Lureau <marcandre.lureau@gmail.com>, Thu, 28 Aug 2008 19:55:54 +0300
--- libcanberra-0.24.orig/debian/compat
+++ libcanberra-0.24/debian/compat
@@ -0,0 +1 @@
+5
--- libcanberra-0.24.orig/debian/libcanberra-doc.examples
+++ libcanberra-0.24/debian/libcanberra-doc.examples
@@ -0,0 +1 @@
+src/test-canberra.c
--- libcanberra-0.24.orig/debian/libcanberra-gtk-module.install
+++ libcanberra-0.24/debian/libcanberra-gtk-module.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
+debian/52libcanberra-gtk-module_add-to-gtk-modules /etc/X11/Xsession.d
--- libcanberra-0.24.orig/debian/libcanberra-gstreamer.install
+++ libcanberra-0.24/debian/libcanberra-gstreamer.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libcanberra-*/libcanberra-gstreamer.so