Bug#967569: libcanberra: depends on deprecated GTK 2
Bastian Germann
bage at debian.org
Sun Oct 22 17:55:23 BST 2023
I am uploading a NMU to DELAYED/10 in order to fix this.
The debdiff is attached.
-------------- next part --------------
diff -Nru libcanberra-0.30/debian/changelog libcanberra-0.30/debian/changelog
--- libcanberra-0.30/debian/changelog 2022-04-08 22:10:09.000000000 +0200
+++ libcanberra-0.30/debian/changelog 2023-10-22 18:49:02.000000000 +0200
@@ -1,3 +1,10 @@
+libcanberra (0.30-10.1) unstable; urgency=medium
+
+ * Non-maintainer upload
+ * Drop gtk2 support (Closes: #967569)
+
+ -- Bastian Germann <bage at debian.org> Sun, 22 Oct 2023 18:49:02 +0200
+
libcanberra (0.30-10) unstable; urgency=medium
* debian/patches/gtk_dont_assume_x11.patch: Avoid more X11-only codepaths
diff -Nru libcanberra-0.30/debian/control libcanberra-0.30/debian/control
--- libcanberra-0.30/debian/control 2022-04-08 22:10:09.000000000 +0200
+++ libcanberra-0.30/debian/control 2023-10-22 18:49:02.000000000 +0200
@@ -6,14 +6,13 @@
Section: libs
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
-Uploaders: Josselin Mouette <joss at debian.org>, Laurent Bigonville <bigon at debian.org>, Michael Biebl <biebl at debian.org>, Sjoerd Simons <sjoerd at debian.org>
+Uploaders: Josselin Mouette <joss at debian.org>, Laurent Bigonville <bigon at debian.org>, Marco Trevisan (Treviño) <marco at ubuntu.com>, Michael Biebl <biebl at debian.org>, Sjoerd Simons <sjoerd at debian.org>
Build-Depends: debhelper-compat (= 13),
gnome-pkg-tools,
libltdl-dev | libltdl7-dev (>= 2.2.6),
libasound2-dev [linux-any],
libvorbis-dev,
libgtk-3-dev (>= 3.0.0),
- libgtk2.0-dev (>= 2.22),
libtdb-dev (>> 1.1) [!hurd-any],
gtk-doc-tools,
libpulse-dev (>= 0.9.11),
@@ -28,7 +27,7 @@
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}, sound-theme-freedesktop
-Suggests: libcanberra-gtk0, libcanberra-pulse
+Suggests: libcanberra-pulse
Description: simple abstract interface for playing event sounds
libcanberra defines a simple abstract interface for playing event
sounds.
@@ -77,19 +76,6 @@
.
This package contains the GStreamer backend for libcanberra.
-Package: libcanberra-gtk0
-Architecture: any
-Multi-Arch: same
-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 information is 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-gtk-common-dev
Section: libdevel
Architecture: all
@@ -108,35 +94,6 @@
This package contains common headers for developing
applications using libcanberra-gtk and libcanberra-gtk3
-Package: libcanberra-gtk-dev
-Section: libdevel
-Architecture: any
-Multi-Arch: same
-Depends: ${shlibs:Depends},
- ${misc:Depends},
- libcanberra-gtk0 (= ${binary:Version}),
- libcanberra-dev (= ${binary:Version}),
- libgtk2.0-dev (>= 2.20),
- libcanberra-gtk-common-dev
-Description: simple interface for playing event sounds (GTK+ 2 development files)
- libcanberra-gtk provides a few functions that simplify
- libcanberra usage from GTK+.
- .
- Contextual information is 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
-Multi-Arch: same
-Depends: ${shlibs:Depends}, ${misc:Depends}, libgtk2.0-0 (>= 2.24.5-4)
-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: libcanberra-gtk3-0
Architecture: any
Multi-Arch: same
diff -Nru libcanberra-0.30/debian/control.in libcanberra-0.30/debian/control.in
--- libcanberra-0.30/debian/control.in 2022-04-08 22:10:09.000000000 +0200
+++ libcanberra-0.30/debian/control.in 2023-10-22 18:48:50.000000000 +0200
@@ -9,7 +9,6 @@
libasound2-dev [linux-any],
libvorbis-dev,
libgtk-3-dev (>= 3.0.0),
- libgtk2.0-dev (>= 2.22),
libtdb-dev (>> 1.1) [!hurd-any],
gtk-doc-tools,
libpulse-dev (>= 0.9.11),
@@ -24,7 +23,7 @@
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}, sound-theme-freedesktop
-Suggests: libcanberra-gtk0, libcanberra-pulse
+Suggests: libcanberra-pulse
Description: simple abstract interface for playing event sounds
libcanberra defines a simple abstract interface for playing event
sounds.
@@ -73,19 +72,6 @@
.
This package contains the GStreamer backend for libcanberra.
-Package: libcanberra-gtk0
-Architecture: any
-Multi-Arch: same
-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 information is 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-gtk-common-dev
Section: libdevel
Architecture: all
@@ -104,35 +90,6 @@
This package contains common headers for developing
applications using libcanberra-gtk and libcanberra-gtk3
-Package: libcanberra-gtk-dev
-Section: libdevel
-Architecture: any
-Multi-Arch: same
-Depends: ${shlibs:Depends},
- ${misc:Depends},
- libcanberra-gtk0 (= ${binary:Version}),
- libcanberra-dev (= ${binary:Version}),
- libgtk2.0-dev (>= 2.20),
- libcanberra-gtk-common-dev
-Description: simple interface for playing event sounds (GTK+ 2 development files)
- libcanberra-gtk provides a few functions that simplify
- libcanberra usage from GTK+.
- .
- Contextual information is 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
-Multi-Arch: same
-Depends: ${shlibs:Depends}, ${misc:Depends}, libgtk2.0-0 (>= 2.24.5-4)
-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: libcanberra-gtk3-0
Architecture: any
Multi-Arch: same
diff -Nru libcanberra-0.30/debian/libcanberra-gtk0.install libcanberra-0.30/debian/libcanberra-gtk0.install
--- libcanberra-0.30/debian/libcanberra-gtk0.install 2022-04-08 22:10:09.000000000 +0200
+++ libcanberra-0.30/debian/libcanberra-gtk0.install 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/lib/*/libcanberra-gtk.so.*
diff -Nru libcanberra-0.30/debian/libcanberra-gtk0.symbols libcanberra-0.30/debian/libcanberra-gtk0.symbols
--- libcanberra-0.30/debian/libcanberra-gtk0.symbols 2022-04-08 22:10:09.000000000 +0200
+++ libcanberra-0.30/debian/libcanberra-gtk0.symbols 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-libcanberra-gtk.so.0 libcanberra-gtk0 #MINVER#
-* Build-Depends-Package: libcanberra-gtk-dev
- ca_gtk_context_get at Base 0.2
- ca_gtk_context_get_for_screen at Base 0.17
- ca_gtk_play_for_event at Base 0.2
- ca_gtk_play_for_widget at Base 0.2
- ca_gtk_proplist_set_for_event at Base 0.2
- ca_gtk_proplist_set_for_widget at Base 0.2
- ca_gtk_widget_disable_sounds at Base 0.2
diff -Nru libcanberra-0.30/debian/libcanberra-gtk-dev.install libcanberra-0.30/debian/libcanberra-gtk-dev.install
--- libcanberra-0.30/debian/libcanberra-gtk-dev.install 2022-04-08 22:10:09.000000000 +0200
+++ libcanberra-0.30/debian/libcanberra-gtk-dev.install 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-usr/lib/*/libcanberra-gtk.so
-usr/lib/*/pkgconfig/libcanberra-gtk.pc
diff -Nru libcanberra-0.30/debian/libcanberra-gtk-module.install libcanberra-0.30/debian/libcanberra-gtk-module.install
--- libcanberra-0.30/debian/libcanberra-gtk-module.install 2022-04-08 22:10:09.000000000 +0200
+++ libcanberra-0.30/debian/libcanberra-gtk-module.install 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-usr/lib/*/gtk-2.0/modules/libcanberra-gtk-module.so
-usr/lib/*/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop usr/lib/gnome-settings-daemon-3.0/gtk-modules
diff -Nru libcanberra-0.30/debian/libcanberra-gtk-module.preinst libcanberra-0.30/debian/libcanberra-gtk-module.preinst
--- libcanberra-0.30/debian/libcanberra-gtk-module.preinst 2022-04-08 22:10:09.000000000 +0200
+++ libcanberra-0.30/debian/libcanberra-gtk-module.preinst 1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
- upgrade)
- if dpkg --compare-versions "$2" le "0.28-2"; then
- if [ -f '/etc/X11/Xsession.d/52libcanberra-gtk-module_add-to-gtk-modules' ]; then
- rm -f '/etc/X11/Xsession.d/52libcanberra-gtk-module_add-to-gtk-modules'
- fi
- fi
-esac
-
-#DEBHELPER#
-exit 0
diff -Nru libcanberra-0.30/debian/rules libcanberra-0.30/debian/rules
--- libcanberra-0.30/debian/rules 2022-04-08 22:10:09.000000000 +0200
+++ libcanberra-0.30/debian/rules 2023-10-22 18:48:50.000000000 +0200
@@ -17,7 +17,7 @@
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--enable-pulse \
--enable-gstreamer \
- --enable-gtk \
+ --disable-gtk \
--enable-gtk-doc \
$(ENABLE_TDB) \
--with-builtin=dso
@@ -34,7 +34,6 @@
override_dh_makeshlibs:
dh_makeshlibs \
- --exclude=usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/modules \
--exclude=usr/lib/$(DEB_HOST_MULTIARCH)/gtk-3.0/modules \
--exclude=usr/lib/$(DEB_HOST_MULTIARCH)/libcanberra-0.30 -- -c4
More information about the pkg-gnome-maintainers
mailing list