[Pkg-ayatana-devel] Bug#1089797: appmenu-gtk-module: Drop gtk2 packages

Bastian Germann bage at debian.org
Mon Jan 13 16:51:17 GMT 2025


Control: tags -1 patch

Please find a debdiff fixing this attached.
-------------- next part --------------
diff -Nru appmenu-gtk-module-24.05/debian/appmenu-gtk2-module.install appmenu-gtk-module-24.05/debian/appmenu-gtk2-module.install
--- appmenu-gtk-module-24.05/debian/appmenu-gtk2-module.install	2017-12-18 13:02:29.000000000 +0100
+++ appmenu-gtk-module-24.05/debian/appmenu-gtk2-module.install	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/lib/*/gtk-2.0/modules/libappmenu-gtk-module.so
diff -Nru appmenu-gtk-module-24.05/debian/changelog appmenu-gtk-module-24.05/debian/changelog
--- appmenu-gtk-module-24.05/debian/changelog	2024-06-09 22:31:12.000000000 +0200
+++ appmenu-gtk-module-24.05/debian/changelog	2025-01-13 17:05:05.000000000 +0100
@@ -1,3 +1,10 @@
+appmenu-gtk-module (24.05-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop gtk2 packages. (Closes: #1089797)
+
+ -- Bastian Germann <bage at debian.org>  Mon, 13 Jan 2025 17:05:05 +0100
+
 appmenu-gtk-module (24.05-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru appmenu-gtk-module-24.05/debian/control appmenu-gtk-module-24.05/debian/control
--- appmenu-gtk-module-24.05/debian/control	2024-06-09 22:31:06.000000000 +0200
+++ appmenu-gtk-module-24.05/debian/control	2025-01-13 17:05:05.000000000 +0100
@@ -10,7 +10,6 @@
                dpkg-dev (>= 1.16.1.1~),
                libx11-dev,
                libglib2.0-dev (>= 2.50.0),
-               libgtk2.0-dev (>= 2.24.0),
                libgtk-3-dev (>= 3.22.0),
                gtk-doc-tools,
                systemd-dev,
@@ -35,25 +34,7 @@
  The AppMenu GTK+ module watches for these types of menus and exports the
  appropriate GMenuModel implementation.
  .
- This package contains header files that the GTK+2.0 and GTK+3.0 builds
- have in common.
-
-Package: libappmenu-gtk2-parser0
-Architecture: any
-Multi-Arch: same
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-Description: GtkMenuShell to GMenuModel parser (GTK+2.0)
- GTK+ module for exporting old-style menus as GMenuModels.
- .
- Many applications implement menus as GtkMenuShells and GtkMenuItems and
- aren't looking to migrate to the newer GMenuModel API.
- .
- The AppMenu GTK+ module watches for these types of menus and exports the
- appropriate GMenuModel implementation.
- .
- This library converts GtkMenuShells into GMenuModels for GTK+2.0
- applications.
+ This package contains common header files.
 
 Package: libappmenu-gtk3-parser0
 Architecture: any
@@ -72,26 +53,6 @@
  This library converts GtkMenuShells into GMenuModels for GTK+3.0
  applications.
 
-Package: libappmenu-gtk2-parser-dev
-Section: libdevel
-Architecture: any
-Multi-Arch: same
-Depends: ${misc:Depends},
-         libgtk2.0-dev (>= 2.24.0),
-         libappmenu-gtk-parser-dev-common (>= ${source:Version}),
-         libappmenu-gtk2-parser0 (= ${binary:Version}),
-Description: GtkMenuShell to GMenuModel parser (GTK+2.0 development files)
- GTK+ module for exporting old-style menus as GMenuModels.
- .
- Many applications implement menus as GtkMenuShells and GtkMenuItems and
- aren't looking to migrate to the newer GMenuModel API.
- .
- The AppMenu GTK+ module watches for these types of menus and exports the
- appropriate GMenuModel implementation.
- .
- This package contains GTK+ 2 pkg-config files and library headers
- for libappmenu-gtk2-parser0.
-
 Package: libappmenu-gtk3-parser-dev
 Section: libdevel
 Architecture: any
@@ -126,28 +87,7 @@
  The AppMenu GTK+ module watches for these types of menus and exports the
  appropriate GMenuModel implementation.
  .
- This package contains common data files of the actuall appmenu module.
-
-Package: appmenu-gtk2-module
-Architecture: any
-Multi-Arch: same
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         appmenu-gtk-module-common (>= ${source:Version}),
-         libappmenu-gtk2-parser0 (>= ${binary:Version}),
-Provides: appmenu-gtk
-Conflicts: appmenu-gtk
-Replaces: appmenu-gtk
-Description: GtkMenuShell D-Bus exporter (GTK+2.0)
- GTK+ module for exporting old-style menus as GMenuModels.
- .
- Many applications implement menus as GtkMenuShells and GtkMenuItems and
- aren't looking to migrate to the newer GMenuModel API.
- .
- The AppMenu GTK+ module watches for these types of menus and exports the
- appropriate GMenuModel implementation.
- .
- This package contains the GTK+2.0 AppMenu module.
+ This package contains common data files of the actual appmenu module.
 
 Package: appmenu-gtk3-module
 Architecture: any
diff -Nru appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser0.install appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser0.install
--- appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser0.install	2017-12-18 13:02:29.000000000 +0100
+++ appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser0.install	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/lib/*/libappmenu-gtk2-parser.so.0*
diff -Nru appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser0.symbols appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser0.symbols
--- appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser0.symbols	2019-08-11 12:49:23.000000000 +0200
+++ appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser0.symbols	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
-libappmenu-gtk2-parser.so.0 libappmenu-gtk2-parser0 #MINVER#
-* Build-Depends-Package: libappmenu-gtk2-parser-dev
- menu_shell_quark at Base 0.5.5
- unity_gtk_action_group_connect_shell at Base 0.5.5
- unity_gtk_action_group_disconnect_shell at Base 0.5.5
- unity_gtk_action_group_get_type at Base 0.5.5
- unity_gtk_action_group_new at Base 0.5.5
- unity_gtk_action_group_set_debug at Base 0.5.5
- unity_gtk_menu_shell_get_type at Base 0.5.5
- unity_gtk_menu_shell_new at Base 0.5.5
- unity_gtk_menu_shell_set_debug at Base 0.5.5
diff -Nru appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser-dev.install appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser-dev.install
--- appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser-dev.install	2017-12-18 13:02:29.000000000 +0100
+++ appmenu-gtk-module-24.05/debian/libappmenu-gtk2-parser-dev.install	1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-usr/lib/*/pkgconfig/appmenu-gtk2-parser.pc
-usr/lib/*/libappmenu-gtk2-parser.so
diff -Nru appmenu-gtk-module-24.05/debian/rules appmenu-gtk-module-24.05/debian/rules
--- appmenu-gtk-module-24.05/debian/rules	2024-04-04 23:41:08.000000000 +0200
+++ appmenu-gtk-module-24.05/debian/rules	2025-01-13 17:05:05.000000000 +0100
@@ -17,6 +17,9 @@
 %:
 	dh $@ $(DHFLAGS)
 
+override_dh_auto_configure:
+	dh_auto_configure -- -Dgtk=3
+
 override_dh_shlibdeps:
 	dh_shlibdeps -- -xlibgtk2.0-0
 


More information about the Pkg-ayatana-devel mailing list