Hello,

Michael Biebl, on Sun 20 Mar 2016 02:38:09 +0100, wrote:
> Am 16.03.2016 um 15:03 schrieb Samuel Thibault:
> > Samuel Thibault, on Mon 07 Mar 2016 03:07:29 +0100, wrote:
> >> Samuel Thibault, on Fri 04 Mar 2016 13:56:08 +0100, wrote:
> >>> Ok, I'll be testing the attached patch.
> >>
> >> Yes, it is working, could that be applied to gtk+2.0?
> 
> I haveen't looked at the patch in detail yet, just one comment from a
> cursory glance: I don't think there is much benefit in splitting the
> udeb in libgail18-udeb + libgail-common-udeb, soname transitions are no
> concern for d-i after all.
> So maybe a single udeb package as we have for libgtk2.0-0
> (libgtk2.0-0-udeb) would be more suitable.

Right, so that'd be as attached.

Samuel
Index: debian/control
===================================================================
--- debian/control      (révision 47627)
+++ debian/control      (copie de travail)
@@ -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},
Index: debian/control.in
===================================================================
--- debian/control.in   (révision 47627)
+++ debian/control.in   (copie de travail)
@@ -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},
Index: debian/libgail18-udeb.install.in
===================================================================
--- debian/libgail18-udeb.install.in    (nonexistent)
+++ debian/libgail18-udeb.install.in    (copie de travail)
@@ -0,0 +1,2 @@
+debian/install/shared_udeb/@LIBDIR@/libgail*.so.* @LIBDIR@
+debian/install/shared_udeb/@LIBDIR@/gtk-@APIVER@/modules/*.so 
@LIBDIR@/gtk-@APIVER@/modules
Index: debian/rules
===================================================================
--- debian/rules        (révision 47627)
+++ debian/rules        (copie de travail)
@@ -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
 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
        dh_strip -plibgail18 -plibgail-common --dbg-package=libgail-dbg
-       dh_strip -p$(UDEB_PKG)
+       dh_strip -p$(UDEB_PKG) -plibgail18-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

Reply via email to