On 9/26/06, Loïc Minier <[EMAIL PROTECTED]> wrote:

 Great, if you planned an upload with similar changes, please upload the
 package with the proposed patch: it will avoid "fixed" bugs which need
 an ack and will close these for good!  Beside, you probably know how to
 test your package better than I do!

 However, if you can't upload right now, I can go on an NMU.

OK. I have built the new package with adjusted patch (dropping
libpango-1.0-common dep as well). And it now works even without
/etc/pango/pango.modules file.

It will be uploaded by my sponsor soon.

--
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/
Index: changelog
===================================================================
RCS file: /home/cvs/software/pango-libthai/debian/changelog,v
retrieving revision 1.7
diff -u -r1.7 changelog
--- changelog   6 Aug 2006 12:44:06 -0000       1.7
+++ changelog   26 Sep 2006 14:46:08 -0000
@@ -1,3 +1,16 @@
+pango-libthai (0.1.6-2) unstable; urgency=low
+
+  * Use new Pango modules handling. Thanks to Loic Minier for the patch.
+    (Closes: #388251)
+    - 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, as well as dependency on
+      libpango1.0-common.
+  * Adjust long description in sync with libthai package.
+
+ -- Theppitak Karoonboonyanan <[EMAIL PROTECTED]>  Tue, 26 Sep 2006 21:38:34 
+0700
+
 pango-libthai (0.1.6-1) unstable; urgency=medium
 
   * Urgency medium due to RC bug fix.
Index: control
===================================================================
RCS file: /home/cvs/software/pango-libthai/debian/control,v
retrieving revision 1.5
diff -u -r1.5 control
--- control     4 Aug 2006 11:43:20 -0000       1.5
+++ control     26 Sep 2006 14:46:08 -0000
@@ -2,19 +2,19 @@
 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
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libpango1.0-common
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: LibThai Pango plugin with word break support
  LibThai is a set of Thai language support routines aimed to ease
  developers' tasks to incorporate Thai language support in their applications.
  It includes important Thai-specific functions e.g. word breaking, input and
- output methods as well as basic character and string supports. LibThai is an
- Open Source and collaborative effort initiated by Thai Linux Working Group and
- opened for all contributors.
+ output methods as well as basic character and string supports.
  .
  This package provides third-party plugin for Thai support in Pango text
  layout engine, including Thai word break, using LibThai.
+ .
+ Homepage: http://libthai.sourceforge.net/
Index: postinst
===================================================================
RCS file: postinst
diff -N postinst
--- postinst    4 Aug 2006 11:43:20 -0000       1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -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
-
-
Index: postrm
===================================================================
RCS file: postrm
diff -N postrm
--- postrm      4 Aug 2006 11:43:20 -0000       1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -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
Index: rules
===================================================================
RCS file: /home/cvs/software/pango-libthai/debian/rules,v
retrieving revision 1.5
diff -u -r1.5 rules
--- rules       6 Aug 2006 12:44:06 -0000       1.5
+++ rules       26 Sep 2006 14:46:08 -0000
@@ -78,6 +78,7 @@
        dh_installchangelogs ChangeLog
        dh_installdocs
        dh_install --sourcedir=debian/tmp
+       dh_pangomodules
        dh_link
        dh_strip
        dh_compress

Reply via email to