From 4ba1bd90ab733b99bfddfaa85db9cc530146abd2 Mon Sep 17 00:00:00 2001 From: Gustavo Noronha Date: Thu, 6 Nov 2008 20:46:35 +0000 Subject: [PATCH] splitting the gail packages, using the gail packaging as base --- debian/changelog | 7 ++ debian/control | 80 ++++++++++++++++++---- debian/control.in | 80 ++++++++++++++++++---- debian/libgail-common.install | 1 + debian/libgail-dbg.dirs | 1 + debian/libgail-dev.install | 4 ++ debian/libgail-doc.doc-base.gail-reference | 10 +++ debian/libgail-doc.install | 1 + debian/libgail18.install | 1 + debian/libgail18.shlibs | 1 + debian/rules | 5 +- 11 files changed, 166 insertions(+), 25 deletions(-) create mode 100644 debian/libgail-common.install create mode 100644 debian/libgail-dbg.dirs create mode 100644 debian/libgail-dev.install create mode 100644 debian/libgail-doc.doc-base.gail-reference create mode 100644 debian/libgail-doc.install create mode 100644 debian/libgail18.install create mode 100644 debian/libgail18.shlibs diff --git a/debian/changelog b/debian/changelog index c23e68e727..c88d103fea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +gtk+2.0 (2.14.4-2) UNRELEASED; urgency=low + + * debian/control, debian/rules, debian/libgail*: + - split libgail packages + + -- Gustavo Noronha Silva Wed, 05 Nov 2008 14:54:08 -0200 + gtk+2.0 (2.14.4-1) experimental; urgency=low [ Gustavo Noronha Silva ] diff --git a/debian/control b/debian/control index 222b046811..73b89c5ec4 100644 --- a/debian/control +++ b/debian/control @@ -52,7 +52,7 @@ Conflicts: libgtk2.0-0png3, gimp1.3 (<< 1.3.7-1.1), metatheme (<< 0.9.7-3), libgnomeui-0 (<= 2.14.1-3), - libgail18, + libgail18 (<< 2.14.4), gtk2.0-examples (<< 2.2.0), libgdkxft0, openoffice.org-core (<< 2.2.1-8), @@ -97,8 +97,7 @@ Conflicts: libgtk2.0-0png3, libeel2-2.18, xfwm4 (<< 4.4.1-3), metacity (<< 1:2.20.0-1) -Replaces: libgtk2.0-0png3, - libgail18 +Replaces: libgtk2.0-0png3 Recommends: hicolor-icon-theme, libgtk2.0-bin Suggests: librsvg2-common @@ -208,10 +207,9 @@ Recommends: python (>= 2.4), debhelper Suggests: libgtk2.0-doc Replaces: libgtk1.3-dev, - gtk2-engines-pixbuf (<< 2.8.18-5), - libgail-dev + gtk2-engines-pixbuf (<< 2.8.18-5) Conflicts: libgtk1.3-dev, - libgail-dev + libgail-dev (<< 2.14.4) Description: Development files for the GTK+ library The GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, the GTK+ is suitable @@ -248,9 +246,8 @@ Depends: libgtk2.0-0 (= ${binary:Version}), libgtk2.0-common, ${misc:Depends} Conflicts: libgtk2.0-dbg, - libgail-dbg -Replaces: libgtk2.0-dbg, - libgail-dbg + libgail-dbg (<< 2.14.4) +Replaces: libgtk2.0-dbg Description: The GTK+ libraries and debugging symbols The GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, the GTK+ is suitable @@ -266,10 +263,9 @@ Section: doc Architecture: all Depends: lynx | www-browser, ${misc:Depends} -Replaces: libgtk1.3-doc, - libgail-common +Replaces: libgtk1.3-doc Conflicts: libgtk1.3-doc, - libgail-common + libgail-common (<< 2.14.4) Recommends: libglib2.0-doc, libatk1.0-doc, libpango1.0-doc @@ -316,3 +312,63 @@ Description: Pixbuf-based theme for GTK+ 2.x suites. . This package contains the pixbuf theme engine. + +Package: libgail18 +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Replaces: libgail17 +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. + +Package: libgail-common +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +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. + +Package: libgail-dev +Architecture: any +Section: libdevel +Depends: ${misc:Depends}, libgail18 (= ${binary:Version}), libgail-common (= ${binary:Version}), libgtk2.0-dev (>= 2.9.4), pkg-config, libatk1.0-dev (>= 1.13.0) +Suggests: libgail-doc +Description: GNOME Accessibility Implementation Library -- development files + 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 development files for Gail. + +Package: libgail-dbg +Architecture: any +Section: libdevel +Priority: extra +Depends: ${misc:Depends}, libgail18 (= ${binary:Version}) +Description: Gail libraries and debugging symbols + Gail is the "GNOME Accessibility Implementation Library". + . + This package contains detached debugging symbols. + . + Most people will not need this package. + +Package: libgail-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, lynx | www-browser +Description: documentation files of the Gail library + 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 documentation files for Gail. diff --git a/debian/control.in b/debian/control.in index 66f505fe2d..91f19738da 100644 --- a/debian/control.in +++ b/debian/control.in @@ -52,7 +52,7 @@ Conflicts: libgtk2.0-0png3, gimp1.3 (<< 1.3.7-1.1), metatheme (<< 0.9.7-3), libgnomeui-0 (<= 2.14.1-3), - libgail18, + libgail18 (<< 2.14.4), gtk2.0-examples (<< 2.2.0), libgdkxft0, openoffice.org-core (<< 2.2.1-8), @@ -97,8 +97,7 @@ Conflicts: libgtk2.0-0png3, libeel2-2.18, xfwm4 (<< 4.4.1-3), metacity (<< 1:2.20.0-1) -Replaces: libgtk2.0-0png3, - libgail18 +Replaces: libgtk2.0-0png3 Recommends: hicolor-icon-theme, @BIN_PKG@ Suggests: librsvg2-common @@ -208,10 +207,9 @@ Recommends: python (>= 2.4), debhelper Suggests: @DOC_PKG@ Replaces: libgtk1.3-dev, - gtk2-engines-pixbuf (<< 2.8.18-5), - libgail-dev + gtk2-engines-pixbuf (<< 2.8.18-5) Conflicts: libgtk1.3-dev, - libgail-dev + libgail-dev (<< 2.14.4) Description: Development files for the GTK+ library The GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, the GTK+ is suitable @@ -248,9 +246,8 @@ Depends: @SHARED_PKG@ (= ${binary:Version}), @COMMON_PKG@, ${misc:Depends} Conflicts: libgtk2.0-dbg, - libgail-dbg -Replaces: libgtk2.0-dbg, - libgail-dbg + libgail-dbg (<< 2.14.4) +Replaces: libgtk2.0-dbg Description: The GTK+ libraries and debugging symbols The GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, the GTK+ is suitable @@ -266,10 +263,9 @@ Section: doc Architecture: all Depends: lynx | www-browser, ${misc:Depends} -Replaces: libgtk1.3-doc, - libgail-common +Replaces: libgtk1.3-doc Conflicts: libgtk1.3-doc, - libgail-common + libgail-common (<< 2.14.4) Recommends: libglib2.0-doc, libatk1.0-doc, libpango1.0-doc @@ -316,3 +312,63 @@ Description: Pixbuf-based theme for GTK+ 2.x suites. . This package contains the pixbuf theme engine. + +Package: libgail18 +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Replaces: libgail17 +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. + +Package: libgail-common +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +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. + +Package: libgail-dev +Architecture: any +Section: libdevel +Depends: ${misc:Depends}, libgail18 (= ${binary:Version}), libgail-common (= ${binary:Version}), libgtk2.0-dev (>= 2.9.4), pkg-config, libatk1.0-dev (>= 1.13.0) +Suggests: libgail-doc +Description: GNOME Accessibility Implementation Library -- development files + 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 development files for Gail. + +Package: libgail-dbg +Architecture: any +Section: libdevel +Priority: extra +Depends: ${misc:Depends}, libgail18 (= ${binary:Version}) +Description: Gail libraries and debugging symbols + Gail is the "GNOME Accessibility Implementation Library". + . + This package contains detached debugging symbols. + . + Most people will not need this package. + +Package: libgail-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, lynx | www-browser +Description: documentation files of the Gail library + 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 documentation files for Gail. diff --git a/debian/libgail-common.install b/debian/libgail-common.install new file mode 100644 index 0000000000..dcae270cd0 --- /dev/null +++ b/debian/libgail-common.install @@ -0,0 +1 @@ +debian/install/shared/usr/lib/gtk-*/modules/*.so diff --git a/debian/libgail-dbg.dirs b/debian/libgail-dbg.dirs new file mode 100644 index 0000000000..fca7cfd0a1 --- /dev/null +++ b/debian/libgail-dbg.dirs @@ -0,0 +1 @@ +usr/lib/debug/ diff --git a/debian/libgail-dev.install b/debian/libgail-dev.install new file mode 100644 index 0000000000..d37a5d7c97 --- /dev/null +++ b/debian/libgail-dev.install @@ -0,0 +1,4 @@ +debian/install/shared/usr/include/* +debian/install/shared/usr/lib/lib*.{so,la,a} +debian/install/shared/usr/lib/gtk-2.0/modules/lib*.la +debian/install/shared/usr/lib/pkgconfig/*.pc diff --git a/debian/libgail-doc.doc-base.gail-reference b/debian/libgail-doc.doc-base.gail-reference new file mode 100644 index 0000000000..1dbd1794d5 --- /dev/null +++ b/debian/libgail-doc.doc-base.gail-reference @@ -0,0 +1,10 @@ +Document: gail-reference +Title: Gail Reference Manual +Author: Padraig O'Briain +Abstract: This manual describes APIs for libgail-util +Section: Accessibility + +Format: HTML +Index: /usr/share/gtk-doc/html/gail-libgail-util/index.html +Files: /usr/share/gtk-doc/html/gail-libgail-util/*.html + diff --git a/debian/libgail-doc.install b/debian/libgail-doc.install new file mode 100644 index 0000000000..e0256d842b --- /dev/null +++ b/debian/libgail-doc.install @@ -0,0 +1 @@ +docs/reference/libgail-util/html usr/share/doc/libgail-doc/gail-libgail-util diff --git a/debian/libgail18.install b/debian/libgail18.install new file mode 100644 index 0000000000..cf0e02102e --- /dev/null +++ b/debian/libgail18.install @@ -0,0 +1 @@ +debian/install/shared/usr/lib/libgail*.so.* diff --git a/debian/libgail18.shlibs b/debian/libgail18.shlibs new file mode 100644 index 0000000000..2fe384b0e7 --- /dev/null +++ b/debian/libgail18.shlibs @@ -0,0 +1 @@ +libgailutil 18 libgail18 (>= 1.10.1), libgail-common (>= 1.10.1) diff --git a/debian/rules b/debian/rules index 21e8a17751..c46e5baed3 100644 --- a/debian/rules +++ b/debian/rules @@ -269,6 +269,8 @@ binary-indep: build $(maybe_check) install $(call dh_subst_files,$(BINARY_INDEP_ # install copyright in all packages; the -p is for the special behavior # of dh_installdocs (ship README.Debian etc. in the first package) dh_installdocs -p$(COMMON_PKG) -i + # we will install the gail docs to libgail-doc + rm -rf debian/$(DOC_PKG)/usr/share/doc/$(DOC_PKG)/gail-libgail-util dh_installman -i dh_link -i dh_compress -i -X.sgml -X.devhelp @@ -320,7 +322,8 @@ binary-arch: build $(maybe_check) install $(call dh_subst_files,$(BINARY_ARCH_PK -p$(UDEB_PKG) dh_installexamples -s dh_link -s - dh_strip -s --dbg-package=$(DEBUG_PKG) -N$(UDEB_PKG) + dh_strip -s --dbg-package=$(DEBUG_PKG) -N$(UDEB_PKG) -Nlibgail18 + dh_strip -plibgail18 --dbg-package=libgail-dbg dh_strip -p$(UDEB_PKG) dh_compress -s -X.sgml -X.devhelp dh_fixperms -s -X$(LIBDIR)/$(SHARED_PKG)