Hi,

Didier Roche did changes for this in Ubuntu:

"  * add introspection needed as gtk gir package doesn't ship them
anymore:
    - debian/rules:
      + add new bin package to BINARY_ARCH_PKGS list
      + add dh_girepository call
    - debian/control.in:
      + add gir1.0-pango-1.0 package
      + add build-dep gobject-introspection, libgirepository1.0-dev,
        gir1.0-glib-2.0 and gir1.0-freedesktop
      + libpango1.0-dev replaces gir-repository-dev, 
        gobject-introspection-repository
    - add debian/gir1.0-pango-1.0.install"

The change is attach with this email
diff -u pango1.0-1.28.0/debian/libpango1.0-dev.install.in pango1.0-1.28.0/debian/libpango1.0-dev.install.in
--- pango1.0-1.28.0/debian/libpango1.0-dev.install.in
+++ pango1.0-1.28.0/debian/libpango1.0-dev.install.in
@@ -7,6 +7,7 @@
 debian/install/shared/@LIBDIR@/*.la @LIBDIR@
 debian/install/shared/@LIBDIR@/*.so @LIBDIR@
 debian/install/shared/@LIBDIR@/pkgconfig/*.pc @LIBDIR@/pkgconfig
+debian/install/shared/usr/share/gir-1.0 usr/share
 debian/install/shared/usr/share/man usr/share
 # from the static flavor
 debian/install/static/@LIBDIR@/*.a @LIBDIR@
diff -u pango1.0-1.28.0/debian/control.in pango1.0-1.28.0/debian/control.in
--- pango1.0-1.28.0/debian/control.in
+++ pango1.0-1.28.0/debian/control.in
@@ -21,7 +22,11 @@
                quilt,
                dpkg-dev (>= 1.14.17),
                libthai-dev (>= 0.1.9),
-               chrpath
+               chrpath,
+               gobject-introspection,
+               libgirepository1.0-dev,
+               gir1.0-glib-2.0,
+               gir1.0-freedesktop
 Build-Depends-Indep: libglib2.0-doc
 Standards-Version: 3.8.4
 
@@ -126,7 +131,9 @@
           imagemagick
 Recommends: debhelper
 Replaces: libpango-dev,
-          libpango1.0-common (<< 1.14.5-1)
+          libpango1.0-common (<< 1.14.5-1),
+          gir-repository-dev,
+          gobject-introspection-repository
 Conflicts: libpango-dev,
            libpango1.0-common (<< 1.14.5-1)
 Description: Development files for the Pango
@@ -199,0 +207,23 @@
+Package: gir1.0-pango-1.0
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         ${gir:Depends}
+Replaces: gir1.0-gtk-2.0,
+          gobject-introspection-repository
+Description: Layout and rendering of internationalized text
+ Pango is a library for layout and rendering of text, with an emphasis
+ on internationalization. Pango can be used anywhere that text layout is
+ needed. however, most of the work on Pango-1.0 was done using the GTK+
+ widget toolkit as a test platform. Pango forms the core of text and
+ font handling for GTK+-2.0.
+ .
+ Pango is designed to be modular; the core Pango layout can be used with
+ four different font backends:
+  - Core X windowing system fonts
+  - Client-side fonts on X using the Xft library
+  - Direct rendering of scalable fonts using the FreeType library
+  - Native fonts on Microsoft backends
+ .
+ This package can be used by other packages using the GIRepository format to
+ generate dynamic bindings
diff -u pango1.0-1.28.0/debian/control pango1.0-1.28.0/debian/control
--- pango1.0-1.28.0/debian/control
+++ pango1.0-1.28.0/debian/control
@@ -21,7 +22,11 @@
                quilt,
                dpkg-dev (>= 1.14.17),
                libthai-dev (>= 0.1.9),
-               chrpath
+               chrpath,
+               gobject-introspection,
+               libgirepository1.0-dev,
+               gir1.0-glib-2.0,
+               gir1.0-freedesktop
 Build-Depends-Indep: libglib2.0-doc
 Standards-Version: 3.8.4
 
@@ -126,7 +131,9 @@
           imagemagick
 Recommends: debhelper
 Replaces: libpango-dev,
-          libpango1.0-common (<< 1.14.5-1)
+          libpango1.0-common (<< 1.14.5-1),
+          gir-repository-dev,
+          gobject-introspection-repository
 Conflicts: libpango-dev,
            libpango1.0-common (<< 1.14.5-1)
 Description: Development files for the Pango
@@ -199,0 +207,23 @@
+Package: gir1.0-pango-1.0
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         ${gir:Depends}
+Replaces: gir1.0-gtk-2.0,
+          gobject-introspection-repository
+Description: Layout and rendering of internationalized text
+ Pango is a library for layout and rendering of text, with an emphasis
+ on internationalization. Pango can be used anywhere that text layout is
+ needed. however, most of the work on Pango-1.0 was done using the GTK+
+ widget toolkit as a test platform. Pango forms the core of text and
+ font handling for GTK+-2.0.
+ .
+ Pango is designed to be modular; the core Pango layout can be used with
+ four different font backends:
+  - Core X windowing system fonts
+  - Client-side fonts on X using the Xft library
+  - Direct rendering of scalable fonts using the FreeType library
+  - Native fonts on Microsoft backends
+ .
+ This package can be used by other packages using the GIRepository format to
+ generate dynamic bindings
diff -u pango1.0-1.28.0/debian/rules pango1.0-1.28.0/debian/rules
--- pango1.0-1.28.0/debian/rules
+++ pango1.0-1.28.0/debian/rules
@@ -70,7 +70,7 @@
 
 # package groups, used in rule dependencies and in cleanup
 BINARY_INDEP_PKGS := $(DOC_PKG) $(COMMON_PKG)
-BINARY_ARCH_PKGS := $(SHARED_PKG) $(UDEB_PKG) $(DEV_PKG) $(DEBUG_PKG)
+BINARY_ARCH_PKGS := $(SHARED_PKG) $(UDEB_PKG) $(DEV_PKG) $(DEBUG_PKG) gir1.0-pango-1.0
 ALL_PKGS := $(BINARY_INDEP_PKGS) $(BINARY_ARCH_PKGS)
 
 # list of flavors we build; each gets a builddir, a configure pass (configure
@@ -295,6 +295,7 @@
 		-X$(MODULES_PATH) \
 		-V '$(SHARED_PKG) (>= $(SHVERSION))' \
 		--add-udeb=$(UDEB_PKG) -- -c4
+	dh_girepository -pgir1.0-pango-1.0
 	dh_installdeb -s
 	# override shlibs for libraries from this source before computing
 	# dependencies of packages generated from this source; we already have
only in patch2:
unchanged:
--- pango1.0-1.28.0.orig/debian/gir1.0-pango-1.0.install.in
+++ pango1.0-1.28.0/debian/gir1.0-pango-1.0.install.in
@@ -0,0 +1 @@
+debian/install/shared/usr/lib/girepository-1.0/ usr/lib/

Reply via email to