Bug##816720: gail-common: provide udeb for accessibility

Samuel Thibault sthibault at debian.org
Mon Mar 7 02:07:29 UTC 2016


Control: tags -1 + tag

Samuel Thibault, on Fri 04 Mar 2016 13:56:08 +0100, wrote:
> Cyril Brulebois, on Fri 04 Mar 2016 02:50:28 +0100, wrote:
> > gtk+3 isn't happening right now, due to (unanswered):
> >   https://lists.debian.org/debian-boot/2016/01/msg00226.html
> 
> Ok, I'll be testing the attached patch.

Yes, it is working, could that be applied to gtk+2.0?

Thanks,
Samuel
-------------- next part --------------
diff --exclude .svn --exclude .git --exclude CVS --exclude .hg -urN gtk+2.0-2.24.29.orig/debian/control gtk+2.0-2.24.29/debian/control
--- gtk+2.0-2.24.29.orig/debian/control	2016-03-04 11:08:37.960645901 +0100
+++ gtk+2.0-2.24.29/debian/control	2016-03-04 12:18:58.299313316 +0100
@@ -254,6 +254,22 @@
  .
  This package contains the shared library.
 
+Package: libgail18-udeb
+Package-Type: udeb
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         libgtk2.0-0-udeb (= ${binary:Version})
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Description: GNOME Accessibility Implementation Library -- shared libraries
+ Gail implements ATK interfaces for GTK+ widgets which are dynamically
+ loadable at runtime by a GTK+ application. Once loaded, those parts of
+ an application that use standard GTK+ widgets will have a basic level
+ of accessibility, without the need to modify the application at all.
+ .
+ This package contains the shared library for the Debian installer.
+
 Package: libgail-common
 Architecture: any
 Depends: ${misc:Depends},
@@ -268,6 +284,21 @@
  .
  This package contains core shared libraries.
 
+Package: libgail-common-udeb
+Package-Type: udeb
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         libgail18-udeb (= ${binary:Version})
+Multi-Arch: same
+Description: GNOME Accessibility Implementation Library -- common modules
+ Gail implements ATK interfaces for GTK+ widgets which are dynamically
+ loadable at runtime by a GTK+ application. Once loaded, those parts of
+ an application that use standard GTK+ widgets will have a basic level
+ of accessibility, without the need to modify the application at all.
+ .
+ This package contains core shared libraries for the Debian installer.
+
 Package: libgail-dev
 Architecture: any
 Section: libdevel
diff --exclude .svn --exclude .git --exclude CVS --exclude .hg -urN gtk+2.0-2.24.29.orig/debian/control.in gtk+2.0-2.24.29/debian/control.in
--- gtk+2.0-2.24.29.orig/debian/control.in	2015-12-14 01:26:22.000000000 +0100
+++ gtk+2.0-2.24.29/debian/control.in	2016-03-04 12:18:58.269313517 +0100
@@ -254,6 +254,22 @@
  .
  This package contains the shared library.
 
+Package: libgail18-udeb
+Package-Type: udeb
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         @UDEB_PKG@ (= ${binary:Version})
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Description: GNOME Accessibility Implementation Library -- shared libraries
+ Gail implements ATK interfaces for GTK+ widgets which are dynamically
+ loadable at runtime by a GTK+ application. Once loaded, those parts of
+ an application that use standard GTK+ widgets will have a basic level
+ of accessibility, without the need to modify the application at all.
+ .
+ This package contains the shared library for the Debian installer.
+
 Package: libgail-common
 Architecture: any
 Depends: ${misc:Depends},
@@ -268,6 +284,21 @@
  .
  This package contains core shared libraries.
 
+Package: libgail-common-udeb
+Package-Type: udeb
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         libgail18-udeb (= ${binary:Version})
+Multi-Arch: same
+Description: GNOME Accessibility Implementation Library -- common modules
+ Gail implements ATK interfaces for GTK+ widgets which are dynamically
+ loadable at runtime by a GTK+ application. Once loaded, those parts of
+ an application that use standard GTK+ widgets will have a basic level
+ of accessibility, without the need to modify the application at all.
+ .
+ This package contains core shared libraries for the Debian installer.
+
 Package: libgail-dev
 Architecture: any
 Section: libdevel
diff --exclude .svn --exclude .git --exclude CVS --exclude .hg -urN gtk+2.0-2.24.29.orig/debian/libgail18-udeb.install.in gtk+2.0-2.24.29/debian/libgail18-udeb.install.in
--- gtk+2.0-2.24.29.orig/debian/libgail18-udeb.install.in	1970-01-01 01:00:00.000000000 +0100
+++ gtk+2.0-2.24.29/debian/libgail18-udeb.install.in	2016-03-04 11:54:18.431340683 +0100
@@ -0,0 +1 @@
+debian/install/shared_udeb/@LIBDIR@/libgail*.so.* @LIBDIR@
diff --exclude .svn --exclude .git --exclude CVS --exclude .hg -urN gtk+2.0-2.24.29.orig/debian/libgail-common-udeb.install.in gtk+2.0-2.24.29/debian/libgail-common-udeb.install.in
--- gtk+2.0-2.24.29.orig/debian/libgail-common-udeb.install.in	1970-01-01 01:00:00.000000000 +0100
+++ gtk+2.0-2.24.29/debian/libgail-common-udeb.install.in	2016-03-04 11:54:14.761376663 +0100
@@ -0,0 +1 @@
+debian/install/shared_udeb/@LIBDIR@/gtk- at APIVER@/modules/*.so @LIBDIR@/gtk- at APIVER@/modules
diff --exclude .svn --exclude .git --exclude CVS --exclude .hg -urN gtk+2.0-2.24.29.orig/debian/rules gtk+2.0-2.24.29/debian/rules
--- gtk+2.0-2.24.29.orig/debian/rules	2015-06-07 17:42:43.000000000 +0200
+++ gtk+2.0-2.24.29/debian/rules	2016-03-04 13:37:09.031167842 +0100
@@ -81,7 +81,7 @@
 
 # package groups, used in rule dependencies and in cleanup
 BINARY_INDEP_PKGS := $(COMMON_PKG) $(DOC_PKG) libgail-doc
-BINARY_ARCH_PKGS := $(SHARED_PKG) $(BIN_PKG) $(UDEB_PKG) $(DEV_PKG) $(DEBUG_PKG) $(EXAMPLES_PKG) $(PIXBUF_PKG) gir1.2-gtk-2.0 libgail18 libgail-dbg libgail-dev libgail-common
+BINARY_ARCH_PKGS := $(SHARED_PKG) $(BIN_PKG) $(UDEB_PKG) $(DEV_PKG) $(DEBUG_PKG) $(EXAMPLES_PKG) $(PIXBUF_PKG) gir1.2-gtk-2.0 libgail18 libgail18-udeb libgail-dbg libgail-dev libgail-common libgail-common-udeb
 ALL_PKGS := $(BINARY_INDEP_PKGS) $(BINARY_ARCH_PKGS)
 
 # list of flavors we build; each gets a builddir, a configure pass (configure
@@ -287,9 +287,9 @@
 	dh_installman -s
 	dh_installexamples -s
 	dh_link -s
-	dh_strip -s --dbg-package=$(DEBUG_PKG) -N$(UDEB_PKG) -Nlibgail18 -Nlibgail-common
+	dh_strip -s --dbg-package=$(DEBUG_PKG) -N$(UDEB_PKG) -Nlibgail18 -Nlibgail18-udeb -Nlibgail-common -Nlibgail-common-udeb
 	dh_strip -plibgail18 -plibgail-common --dbg-package=libgail-dbg
-	dh_strip -p$(UDEB_PKG)
+	dh_strip -p$(UDEB_PKG) -plibgail18-udeb -plibgail-common-udeb
 	dh_compress -s -X.sgml -X.devhelp
 	dh_fixperms -s -X$(LIBDIR)/$(SHARED_PKG)
 	dh_makeshlibs -p$(SHARED_PKG) \
@@ -300,6 +300,7 @@
 	dh_makeshlibs -plibgail18 \
 		-X$(MODULES_BASE_PATH) \
 		-V"libgail18 (>= $(SHVER)), libgail-common (>= $(SHVER))" \
+		--add-udeb=libgail18-udeb \
 		-- -c4
 	dh_girepository -pgir1.2-gtk-2.0
 	dh_installdeb -s


More information about the pkg-gnome-maintainers mailing list