Package: atk1.0
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch
Version: 1.30.0-1
Severity: wishlist
Tags: patch

In Ubuntu, we've applied the attached patch to achieve the following:

  * Resync on Debian
    - debian/rules:
      + toggle configure
      + add dh_girepository call
    - debian/control.in:
      + add gir1.0-atk-1.0 package
      + add build-dep gobject-introspection, libgirepository1.0-dev and
        gir1.0-glib-2.0
      + libatk1.0-dev replaces gir-repository-dev
    - add debian/gir1.0-atk-1.0.install
    - add gir file to debian/libatk1.0-dev.install

We thought you might be interested in doing the same. 

diff -u atk1.0-1.30.0/debian/libatk1.0-dev.install atk1.0-1.30.0/debian/libatk1.0-dev.install
--- atk1.0-1.30.0/debian/libatk1.0-dev.install
+++ atk1.0-1.30.0/debian/libatk1.0-dev.install
@@ -5,0 +6 @@
+debian/tmp/usr/share/gir-1.0
diff -u atk1.0-1.30.0/debian/control.in atk1.0-1.30.0/debian/control.in
--- atk1.0-1.30.0/debian/control.in
+++ atk1.0-1.30.0/debian/control.in
@@ -12,7 +13,10 @@
                cdbs (>= 0.4.41),
                gtk-doc-tools,
                docbook-xml,
-               autotools-dev
+               autotools-dev,
+               gobject-introspection,
+               libgirepository1.0-dev,
+               gir1.0-glib-2.0
 Build-Depends-Indep: libglib2.0-doc
 Standards-Version: 3.8.4
 Homepage: http://www.gtk.org/
@@ -69,7 +73,8 @@
          pkg-config,
          libglib2.0-dev (>= 2.4.1-2)
 Replaces: libatk0-dev,
-          libatk-dev
+          libatk-dev,
+          gir-repository-dev
 Conflicts: libatk0-dev,
            libatk-dev
 Description: Development files for the ATK accessibility toolkit
@@ -118,0 +124,15 @@
+Package: gir1.0-atk-1.0
+Section: libs
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         ${gir:Depends}
+Replaces: gir1.0-gtk-2.0, gobject-introspection-repository
+Description: The ATK accessibility toolkit
+ ATK is a toolkit providing accessibility interfaces for applications or
+ other toolkits. By implementing these interfaces, those other toolkits or
+ applications can be used with tools such as screen readers, magnifiers, and
+ other alternative input devices.
+ .
+ This package can be used by other packages using the GIRepository format to
+ generate dynamic bindings
diff -u atk1.0-1.30.0/debian/control atk1.0-1.30.0/debian/control
--- atk1.0-1.30.0/debian/control
+++ atk1.0-1.30.0/debian/control
@@ -17,7 +18,10 @@
                cdbs (>= 0.4.41),
                gtk-doc-tools,
                docbook-xml,
-               autotools-dev
+               autotools-dev,
+               gobject-introspection,
+               libgirepository1.0-dev,
+               gir1.0-glib-2.0
 Build-Depends-Indep: libglib2.0-doc
 Standards-Version: 3.8.4
 Homepage: http://www.gtk.org/
@@ -74,7 +78,8 @@
          pkg-config,
          libglib2.0-dev (>= 2.4.1-2)
 Replaces: libatk0-dev,
-          libatk-dev
+          libatk-dev,
+          gir-repository-dev
 Conflicts: libatk0-dev,
            libatk-dev
 Description: Development files for the ATK accessibility toolkit
@@ -123,0 +129,15 @@
+Package: gir1.0-atk-1.0
+Section: libs
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         ${gir:Depends}
+Replaces: gir1.0-gtk-2.0, gobject-introspection-repository
+Description: The ATK accessibility toolkit
+ ATK is a toolkit providing accessibility interfaces for applications or
+ other toolkits. By implementing these interfaces, those other toolkits or
+ applications can be used with tools such as screen readers, magnifiers, and
+ other alternative input devices.
+ .
+ This package can be used by other packages using the GIRepository format to
+ generate dynamic bindings
diff -u atk1.0-1.30.0/debian/rules atk1.0-1.30.0/debian/rules
--- atk1.0-1.30.0/debian/rules
+++ atk1.0-1.30.0/debian/rules
@@ -15,7 +15,10 @@
-DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc --enable-static
+DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc --enable-static --enable-introspection
 
 SHLIB_VERSION := 1.29.3
 DEB_DH_MAKESHLIBS_ARGS_libatk1.0-0 += -V"libatk1.0-0 (>= $(SHLIB_VERSION))" --add-udeb="libatk1.0-udeb"
 
 DEB_DBG_PACKAGE_ALL := libatk1.0-dbg
 
+$(patsubst %,binary-predeb/%,$(DEB_ALL_PACKAGES)) ::
+	dh_girepository -p$(cdbs_curpkg)
+
only in patch2:
unchanged:
--- atk1.0-1.30.0.orig/debian/gir1.0-atk-1.0.install
+++ atk1.0-1.30.0/debian/gir1.0-atk-1.0.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/girepository-1.0/

Reply via email to