Package: libthai
Version: 0.1.6-1
Severity: wishlist
Tags: patch experimental
Hi,
The pango1.0 package in experimental introduces a new method for the
distribution of Pango module files. Instead of calling
update-pango-modules manually in postinst and postrm/remove, you call
dh_pangomodules at build time and it generates the appropriate file and
dependency, and no postinst/postrm snippets are required anymore.
I wish you would upload libthai to experimental to test the new
framework. I've prepared a NMU of pango-libthai as well, and I'm
attaching you the interdiff. Please let me know if you do want or do
not want me to upload the NMU (targetted at experimental).
Feedback and testing of the changes would be much appreciated. In
order to test the changes with the new package, you can simply move
/etc/pango/pango.modules to for example
/etc/pango/pango.modules.DISABLED and see whether your module is still
picked up by Pango-based applications via its new
/usr/lib/pango/1.5.0/module-files.d file.
You should also see a new Depends to reflect the dependency on the
Pango ABI.
Bye,
PS: I uploaded pango1.0 1.14.0-1 this morning, so it will only make it
to your mirror tomorrow.
--
Loïc Minier <[EMAIL PROTECTED]>
--- pango-libthai-0.1.6/debian/changelog
+++ pango-libthai-0.1.6/debian/changelog
@@ -1,3 +1,14 @@
+pango-libthai (0.1.6-1.1) experimental; urgency=low
+
+ * Non-maintainer upload.
+ * Convert the package to the new Pango modules handling.
+ - Bump up the libpango1.0-dev build-dep to >= 1.14.0-1
+ - Call dh_pangomodules.
+ - Remove update-pango-modules from postrm and postinst, and hence remove
+ postinst and postrm completely.
+
+ -- Loic Minier <[EMAIL PROTECTED]> Mon, 18 Sep 2006 21:11:47 +0200
+
pango-libthai (0.1.6-1) unstable; urgency=medium
* Urgency medium due to RC bug fix.
--- pango-libthai-0.1.6/debian/postinst
+++ pango-libthai-0.1.6.orig/debian/postinst
@@ -1,42 +0,0 @@
-#! /bin/sh
-# postinst script for pango-libthai
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-
-case "$1" in
- configure)
- update-pango-modules
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- update-pango-modules
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
--- pango-libthai-0.1.6/debian/postrm
+++ pango-libthai-0.1.6.orig/debian/postrm
@@ -1,37 +0,0 @@
-#! /bin/sh
-# postrm script for pango-libthai
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postrm> `remove'
-# * <postrm> `purge'
-# * <old-postrm> `upgrade' <new-version>
-# * <new-postrm> `failed-upgrade' <old-version>
-# * <new-postrm> `abort-install'
-# * <new-postrm> `abort-install' <old-version>
-# * <new-postrm> `abort-upgrade' <old-version>
-# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- update-pango-modules
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
-
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
--- pango-libthai-0.1.6/debian/rules
+++ pango-libthai-0.1.6/debian/rules
@@ -78,6 +78,7 @@
dh_installchangelogs ChangeLog
dh_installdocs
dh_install --sourcedir=debian/tmp
+ dh_pangomodules
dh_link
dh_strip
dh_compress
--- pango-libthai-0.1.6/debian/control
+++ pango-libthai-0.1.6/debian/control
@@ -2,7 +2,7 @@
Section: libs
Priority: optional
Maintainer: Theppitak Karoonboonyanan <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), autotools-dev, libthai-dev,
libpango1.0-dev (>= 1.4.1-1)
+Build-Depends: debhelper (>= 4.0.0), autotools-dev, libthai-dev,
libpango1.0-dev (>= 1.14.0-1)
Standards-Version: 3.7.2
Package: pango-libthai