debian/0000755000000000000000000000000012044160424007163 5ustar debian/changelog0000644000000000000000000002670212044160420011040 0ustar gtk-im-libthai (0.2.1-4ubuntu1) raring; urgency=low * Resynchronise with Debian. Remaining changes: - Prefer im-switch over im-config. -- Colin Watson Wed, 31 Oct 2012 08:27:58 +0000 gtk-im-libthai (0.2.1-4) unstable; urgency=low * B-Dep on dpkg-dev 1.16.1, not 0.16.1. * Bump Standards-Version to 3.9.3 with changes - Update debian/copyright Format: URL to 'packaging-manuals' one. * Update copyright years * Build-dep on debhelper >= 9 and drop the lintian override -- Theppitak Karoonboonyanan Sun, 25 Mar 2012 11:20:44 +0700 gtk-im-libthai (0.2.1-3ubuntu2) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Tue, 02 Oct 2012 12:15:27 +0100 gtk-im-libthai (0.2.1-3ubuntu1) precise; urgency=low * Merge from debian testing, remaining changes: - prefer im-switch over im-config. -- Steve Langasek Tue, 24 Jan 2012 11:05:17 -0800 gtk-im-libthai (0.2.1-3) unstable; urgency=low * Packaging moved to alioth, update Vcs-* accordingly * Point Homepage directly to linux.thai.net page * Add "Multi-Arch: same" to gtk3-im-libthai * debian/control, debian/copyright: Apply wrap-and-sort -- Theppitak Karoonboonyanan Sat, 24 Dec 2011 12:12:50 +0700 gtk-im-libthai (0.2.1-2ubuntu1) precise; urgency=low * Revert switch from im-switch to im-config; Ubuntu is still using im-switch, this should be changed all at once. -- Steve Langasek Fri, 30 Dec 2011 00:42:29 -0800 gtk-im-libthai (0.2.1-2) unstable; urgency=low * Switch to Multiarch for gtk3: - debian/gtk3-im-libthai.install: Install immodule at gtk+3 Multiarch dir (Closes: #651087) - Bump B-Dep on libgtk-3-dev to (>= 3.2.2-3), for Multiarch libdir * Switch from im-switch to im-config (See #649188, #650244): - Replace the deprecated im-switch Recommends with im-config (>= 0.6) - debian/gtk[3]-im-libthai.preinst: Clean up old im-switch conffiles and xinput-th_TH alternatives links - debian/gtk[3]-im-libthai.{postinst,prerm}: Removed, as im-switch xinput-th_TH alternatives are now gone -- Theppitak Karoonboonyanan Tue, 06 Dec 2011 13:49:32 +0700 gtk-im-libthai (0.2.1-1) unstable; urgency=low * New upstream release - Multiarch-aware installation. * debian/copyright: - Use non-forwarding format URL. Bump to revision 202. - Upstream license is actually LGPL-2.1, not 2.0. - Add extended text for LGPL-2.1 and GPL-2. - Update copyright year for upstream source. * Build with hardening flags: - Bump debhelper compat to level 9. - B-Dep on dpkg-dev (>= 0.16.1~) for dpkg-buildflags. - B-Dep on debhelper (>= 8.9.0~) for dh_auto_configure that uses dpkg-buildflags. - debian/rules: + Use DEB_LDFLAGS_MAINT_APPEND to add --as-needed linker flag. + Add DEB_BUILD_MAINT_OPTIONS to also enable bindnow - Override package-needs-versioned-debhelper-build-depends lintian warning. * Multiarch support (gtk2 only): - Bump libgtk2.0-dev B-Dep to 2.24.5-4, first multiarch version. - Add "Pre-Depends: ${misc:Pre-Depends}" - Add "Multi-Arch: same" - Replace installation locations /usr/lib/ with /usr/lib/*/ -- Theppitak Karoonboonyanan Sun, 20 Nov 2011 12:02:04 +0700 gtk-im-libthai (0.2.0-2) unstable; urgency=low * debian/gtk3-im-libthai.prerm: Fix typo in script. -- Theppitak Karoonboonyanan Fri, 17 Jun 2011 21:52:24 +0700 gtk-im-libthai (0.2.0-1) unstable; urgency=low * debian/copyright: - Updated to DEP-5 rev 174. - Update copyright years. * New upstream release, with GTK+ 3 support - New subpackage gtk3-im-libthai + Split debian/{docs,install,postinst,prerm} into gtk-im-libthai.* and gtk3-im-libthai.* + Add im-switch/th-gtk3-im-libthai with the same contents as th-gtk-im-libthai, except DEPENDS. + Install im-switch files with debian/*.install instead of manually in debian/rules + gtk3-im-libthai.{postinst,prerm} installs/removes th-gtk3-im-libthai as an alternative for xinput-th_TH. + When both subpackages are installed at the same time, either th-gtk-im-libthai or th-gtk3-im-libthai alternative will result in the same IM Module name, and GTK+ 2/3 will load the correct versions from their corresponding directories. - Bump build-dep on libgtk2.0-dev to 2.21.8, according to upstream - Add libgtk-3-dev build-dep * debian/rules, debian/control: - Switch to dh 7 + dh-autoreconf - Use "-Wl,--as-needed" LDFLAGS, thus require dh-autoreconf (>= 4) with "--as-needed" option - Skip dh_makeshlibs to avoid meaningless shlibs files and ldconfig calls * Shorten long descriptions. Remove unnecessary messages. * Bump Standards-Version to 3.9.2 (no changes needed) -- Theppitak Karoonboonyanan Fri, 17 Jun 2011 15:28:53 +0700 gtk-im-libthai (0.1.5-2) unstable; urgency=low * debian/rules: Fix failure to build twice in a row: - Fix typo '$(MAKE) maintainerclan' - Clean other changed files left over from 'make maintainer-clean' - 'config.status' depends on 'configure.in' instead of 'configure' -- Theppitak Karoonboonyanan Sat, 16 Jan 2010 18:41:02 +0700 gtk-im-libthai (0.1.5-1) unstable; urgency=low * New upstream release. -- Theppitak Karoonboonyanan Sun, 27 Dec 2009 12:32:07 +0700 gtk-im-libthai (0.1.4-7) unstable; urgency=low * debian/control: - Update my e-mail address to @debian.org. - Drop DM-Upload-Allowed. * debian/copyright: - Update my e-mail address for debian/* to @debian.org. * debian/rules: - Run autoreconf instead of just updating config.{sub,guess}, as required by libtool - Run 'make maintainerclean' instead of 'make distclean' on clean target, to clear all autoconf-generated files * debian/control: - Build-Depends on libtool, automake, autoconf, for autoreconf. - Drop Build-Depends on autotools-dev * Switch to "3.0 (quilt)" source format. * Bump Standards-Version to 3.8.3 (no changes needed) -- Theppitak Karoonboonyanan Sat, 12 Dec 2009 20:46:06 +0700 gtk-im-libthai (0.1.4-6) unstable; urgency=low * VCS moved from CVS to SVN; update Vcs-* fields accordingly. * Bump debhelper compat to level 7 - Bump debian/compat to 7 - Build-dep on debhelper (>= 7) - debian/rules: + Replace obsoleted 'dh_clean -k' with 'dh_prep' + Remove *-stamp clean-ups in clean target, as dh_clean now does it * debian/rules: - Drop dh_mkshlibs, as this package only provides unversioned loadable module, not what to be linked [lintian] - Define LDFLAGS outside the configure line, for easy adjustment - Override GTK_LIBS as reported by pkg-config, so that only required libraries are linked * Rebuild against libthai-dev 0.1.9-5, to get rid of libdatrie0 direct link. * debian/copyright: - Update format to proposal rev 454 - Update copyright year for debian/* * Bump standards version to 3.8.1, no change needed. -- Theppitak Karoonboonyanan Thu, 02 Apr 2009 14:13:02 +0700 gtk-im-libthai (0.1.4-5) unstable; urgency=low * debian/control: - Add Vcs-Cvs, Vcs-Browser, Homepage info - Drop -1 from all versioned build-deps - Add DM-Upload-Allowed * debian/rules: - Do not ignore "make distclean" errors - Update config.{guess,status} before configure, and clean it up on clean target, so the changes are not included in .diff.gz. * debian/copyright: Rewrite in machine-interpretable format. * debian/watch: Fix watch pattern so that only *.tar.gz is matched, not *.tar.gz.md5sum. * Bump standards version to 3.8.0, no change needed. -- Theppitak Karoonboonyanan Fri, 13 Jun 2008 15:59:07 +0700 gtk-im-libthai (0.1.4-4) unstable; urgency=low * Merge changes from Ubuntu: - debian/control: recommends im-switch. - debian/im-switch/th-gtk-im-libthai, debian/rules: im-switch config file. - debian/postinst, debian/prerm: update alternative. * debian/rules: pass --host=$(DEB_HOST_GNU_TYPE) to configure only when cross compiling. * Bump standards version to 3.7.2.2, no change needed. -- Theppitak Karoonboonyanan Wed, 23 May 2007 15:12:59 +0700 gtk-im-libthai (0.1.4-3) unstable; urgency=medium * Urgency medium due to RC bug fix. * Switch to dh_gtkmodules for GTK+ 2.10 transition. Closes: #419304. - debian/control: Bump Build-Depends libgtk2.0-dev >= 2.10.1-1. Drop dependency on libgtk2.0-bin. - debian/postinst, debian/postrm: Removed. - debian/rules: Call dh_gtkmodules. -- Theppitak Karoonboonyanan Sun, 15 Apr 2007 21:31:25 +0700 gtk-im-libthai (0.1.4-2) unstable; urgency=high * Urgency high due to RC bug fix. * debian/postrm: - Check for update-gtk-immodules existence before calling it. Closes: #416759. * debian/install: - Use wildcard for GTK+ binary version directory instead of hard-coding. * debian/dirs: - Remove, unneeded. -- Theppitak Karoonboonyanan Fri, 30 Mar 2007 21:51:36 +0700 gtk-im-libthai (0.1.4-1) unstable; urgency=low * New upstream release. - Better support for text input when surrounding text is mixed with other language - Clean up configure and build system - Fix compiler warnings * Bumped standard version to 3.7.2, no changes needed. * Added watch file. * Reverted build-dependency on libgtk2.0-bin introduced in NMU, as it's now unneeded by new upstream. (Actually closes: #384360) * Added dependency on libgtk2.0-bin, and used update-gtk-immodules instead of directly calling gtk-query-immodules-2.0 in postinst and postrm. * Replaced hard-coded depends with ${shlibs:Depends} and ${misc:Depends}. * Fixed debian/dirs so it creates correct dir. * Do not install *.la files. * Removed unused dh_installexamples and dh_installman from debien/rules. * Added back config.sub and config.guess replacements. -- Theppitak Karoonboonyanan Thu, 14 Sep 2006 15:30:19 +0700 gtk-im-libthai (0.1.3-3.1) unstable; urgency=low * Non-maintainer upload to fix Failure To Build From Source. * Added libgtk2.0-bin as build-dependency. Thanks to Aurelien Jarno for the report (Closes: #384360) -- Margarita Manterola Thu, 31 Aug 2006 14:15:45 -0300 gtk-im-libthai (0.1.3-3) unstable; urgency=low * actually close ITP bug (Closes: #358544) * debian/rules: - removed commented debhelper instructions -- Theppitak Karoonboonyanan Mon, 27 Mar 2006 18:07:48 +0700 gtk-im-libthai (0.1.3-2) unstable; urgency=low * initial debian version * debian/control: - changed standard version to 3.6.2.2 * debian/rules: - removed replacement of upstream's config.sub and config.guess * debian/copyright: - mentioned system file for LGPL-2 * debian/docs: - removed zero-byte README until upstream ships a meaningful file -- Theppitak Karoonboonyanan Tue, 21 Mar 2006 18:23:28 +0700 gtk-im-libthai (0.1.3-1) unstable; urgency=low * New upstream release. -- Theppitak Karoonboonyanan Tue, 14 Mar 2006 01:00:34 +0700 gtk-im-libthai (0.1.2-1) unstable; urgency=low * Initial Release. -- Theppitak Karoonboonyanan Sun, 17 Apr 2005 14:19:16 +0700 debian/rules0000755000000000000000000000067611733516451010265 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow %: dh $@ --with autoreconf override_dh_autoreconf: [ -d m4 ] || mkdir m4 dh_autoreconf --as-needed override_dh_makeshlibs: # Do not try to make shlibs file. # They're loadable modules, not to be linked against. binary-indep: # We have nothing to do. debian/watch0000644000000000000000000000017611733516451010231 0ustar version=3 opts=pasv ftp://linux.thai.net/pub/thailinux/software/libthai/gtk-im-libthai-([\d+\.]+|\d+)\.tar\.gz debian uupdate debian/gtk3-im-libthai.docs0000644000000000000000000000000511733516451012726 0ustar NEWS debian/compat0000644000000000000000000000000211733516451010372 0ustar 9 debian/source/0000755000000000000000000000000011733516451010474 5ustar debian/source/format0000644000000000000000000000001411733516451011702 0ustar 3.0 (quilt) debian/gtk3-im-libthai.install0000644000000000000000000000004311733516451013446 0ustar usr/lib/*/gtk-3.0/*/immodules/*.so debian/gtk3-im-libthai.preinst0000644000000000000000000000315611733516451013474 0ustar #!/bin/sh # preinst script for gtk3-im-libthai # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # Remove obsolete conffile rm_conffile() { local PKGNAME="$1" local CONFFILE="$2" [ -e "$CONFFILE" ] || return 0 local md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME \ | sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" if [ "$md5sum" != "$old_md5sum" ]; then echo "Obsolete conffile $CONFFILE has been modified by you." echo "Saving as $CONFFILE.dpkg-bak ..." mv -f "$CONFFILE" "$CONFFILE".dpkg-bak else echo "Removing obsolete conffile $CONFFILE ..." rm -f "$CONFFILE" fi } case "$1" in install|upgrade) if dpkg --compare-versions "$2" lt-nl "0.2.1-2"; then # Drop im-switch stuffs IMSWITCH_FILE=/etc/X11/xinit/xinput.d/th-gtk3-im-libthai update-alternatives --remove xinput-th_TH ${IMSWITCH_FILE} rm_conffile gtk3-im-libthai ${IMSWITCH_FILE} fi ;; abort-upgrade) ;; *) echo "preinst 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 debian/control0000644000000000000000000000343612044160367010602 0ustar Source: gtk-im-libthai Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Theppitak Karoonboonyanan Build-Depends: debhelper (>= 9~), dh-autoreconf (>= 4), dpkg-dev (>= 1.16.1~), libgtk-3-dev (>= 3.2.2-3), libgtk2.0-dev (>= 2.24.5-4), libthai-dev (>= 0.1.2), pkg-config Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/collab-maint/gtk-im-libthai.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gtk-im-libthai.git Homepage: http://linux.thai.net/projects/libthai Package: gtk-im-libthai Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: im-switch Description: GTK+ 2 Input Method Module using LibThai 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. . This package provides third-party plugin for Thai input method in GTK+ 2, including input sequence correction, using LibThai. Package: gtk3-im-libthai Architecture: any Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: im-switch Description: GTK+ 3 Input Method Module using LibThai 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. . This package provides third-party plugin for Thai input method in GTK+ 3, including input sequence correction, using LibThai. debian/gtk-im-libthai.docs0000644000000000000000000000000511733516451012643 0ustar NEWS debian/gtk-im-libthai.install0000644000000000000000000000004311733516451013363 0ustar usr/lib/*/gtk-2.0/*/immodules/*.so debian/gtk-im-libthai.preinst0000644000000000000000000000315311733516451013406 0ustar #!/bin/sh # preinst script for gtk-im-libthai # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # Remove obsolete conffile rm_conffile() { local PKGNAME="$1" local CONFFILE="$2" [ -e "$CONFFILE" ] || return 0 local md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME \ | sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" if [ "$md5sum" != "$old_md5sum" ]; then echo "Obsolete conffile $CONFFILE has been modified by you." echo "Saving as $CONFFILE.dpkg-bak ..." mv -f "$CONFFILE" "$CONFFILE".dpkg-bak else echo "Removing obsolete conffile $CONFFILE ..." rm -f "$CONFFILE" fi } case "$1" in install|upgrade) if dpkg --compare-versions "$2" lt-nl "0.2.1-2"; then # Drop im-switch stuffs IMSWITCH_FILE=/etc/X11/xinit/xinput.d/th-gtk-im-libthai update-alternatives --remove xinput-th_TH ${IMSWITCH_FILE} rm_conffile gtk-im-libthai ${IMSWITCH_FILE} fi ;; abort-upgrade) ;; *) echo "preinst 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 debian/copyright0000644000000000000000000000411411733516451011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: gtk-im-libthai Upstream-Contact: Theppitak Karoonboonyanan Source: ftp://linux.thai.net/pub/thailinux/software/libthai/ Files: * Copyright: 2005-2011 Theppitak Karoonboonyanan License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'. Files: debian/* Copyright: 2005-2012 Theppitak Karoonboonyanan License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.