--- scim-pinyin-0.5.91.orig/debian/scim-pinyin.prerm +++ scim-pinyin-0.5.91/debian/scim-pinyin.prerm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e + +update-alternatives --remove xinput-zh_CN /etc/X11/xinit/xinput.d/scim-pinyin + +#DEBHELPER# + --- scim-pinyin-0.5.91.orig/debian/compat +++ scim-pinyin-0.5.91/debian/compat @@ -0,0 +1 @@ +5 --- scim-pinyin-0.5.91.orig/debian/skim-scim-pinyin.install +++ scim-pinyin-0.5.91/debian/skim-scim-pinyin.install @@ -0,0 +1,7 @@ +usr/lib/kde3/kcm_skimplugin_scim_smartpinyin.so +usr/lib/kde3/kcm_skimplugin_scim_smartpinyin.la + +usr/share/apps/skim/pics/smart-pinyin.png +usr/share/config.kcfg/smartpinyin.kcfg +usr/share/locale/*/LC_MESSAGES/skim-scim-pinyin.mo +usr/share/services/skimconfiguredialog/skimplugin_scim_smartpinyin_config.desktop --- scim-pinyin-0.5.91.orig/debian/scim-pinyin.install +++ scim-pinyin-0.5.91/debian/scim-pinyin.install @@ -0,0 +1,6 @@ +usr/lib/scim-1.0/*/IMEngine/pinyin.so +usr/lib/scim-1.0/*/SetupUI/pinyin-imengine-setup.so + +usr/share/scim/pinyin/* +usr/share/locale/*/LC_MESSAGES/scim-pinyin.mo +usr/share/scim/icons/smart-pinyin.png --- scim-pinyin-0.5.91.orig/debian/scim-pinyin.postinst +++ scim-pinyin-0.5.91/debian/scim-pinyin.postinst @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +update-alternatives \ + --install /etc/X11/xinit/xinput.d/zh_CN xinput-zh_CN \ + /etc/X11/xinit/xinput.d/scim-pinyin 50 + +#DEBHELPER# + --- scim-pinyin-0.5.91.orig/debian/control +++ scim-pinyin-0.5.91/debian/control @@ -0,0 +1,37 @@ +Source: scim-pinyin +Section: utils +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Ming Hua +Uploaders: Osamu Aoki , Anthony Fok +Build-Depends: dpkg-dev (>= 1.14.6), debhelper (>= 5.0.0), dpatch, autotools-dev, libgtk2.0-dev, libscim-dev (>= 1.4.6), scim-gtk2-immodule, libltdl-dev, libskim-dev (>=1.4.4), kdelibs4-dev, skim +Standards-Version: 3.9.1 +Homepage: http://www.scim-im.org/ +Vcs-Git: git://git.debian.org/collab-maint/scim-pinyin.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/scim-pinyin.git + +Package: scim-pinyin +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, scim +Recommends: ttf-arphic-uming, ttf-arphic-ukai, im-config | im-switch +Description: smart pinyin IM engine for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package provides smart pinyin IM engine for SCIM. It includes the + plugin modules and the data files. With this module you can use the + smart pinyin input method for Chinese. + . + For details about SCIM, please see the description of package scim. + +Package: skim-scim-pinyin +Architecture: any +Depends: ${shlibs:Depends}, skim, scim-pinyin, ${misc:Depends} +Description: Skim support for Smart Pinyin IMEngine + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package includes Skim support for Simplified Chinese + Smart Pinyin IMEngine. + . + Homepage: http://www.scim-im.org + . + For details about SCIM, please see the description of package scim. --- scim-pinyin-0.5.91.orig/debian/README.Debian +++ scim-pinyin-0.5.91/debian/README.Debian @@ -0,0 +1,26 @@ +This package scim-pinyin is a SCIM module for Pinyin input method. Please +see /usr/share/doc/scim/README.Debian.gz for usage of scim. + +SCIM uses TrueType fonts for display. Since scim-pinyin supports both +simplified and traditional Chinese, you need to install fonts for these +languages. The Arphic fonts recommended by scim-pinyin package should work +fine. + +---- +Tips +---- + +In order to use ``Pinyin with tone'', you need to set ``use tone'' in scim-setup +(right click scim notification icon, click the wrench icon on scim panel, or +launch from system menu). Then you can use Shift-n (n = 1, 2, 3, 4, 5) to +indicate the tone of the pinyin. + +---- +Bugs +---- + +Since the skim-scim-pinyin package was not created for squeeze, you can not +configure scim-pinyin from skim under KDE. See http://bugs.debian.org/388749 . + +-- Ming Hua Sat, 16 Apr 2005 14:21:11 -0500 +-- Osamu Aoki Sat, 11 Dec 2010 18:06:36 +0900 --- scim-pinyin-0.5.91.orig/debian/copyright +++ scim-pinyin-0.5.91/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Ming Hua on +Fri, 30 Apr 2004 14:58:29 -0500. + +Upstream Author: James Su + +Home Page: http://www.scim-im.org/ + +The package was downloaded from http://prdownloads.sourceforge.net/scim/ + +Copyright: + + Smart Common Input Method -- Smart Pinyin Module + + Copyright (C) 2002-2005, James Su + + This package 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; version 2 dated June, 1991. + + This package 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 package; 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 General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + --- scim-pinyin-0.5.91.orig/debian/rules +++ scim-pinyin-0.5.91/debian/rules @@ -0,0 +1,122 @@ +#!/usr/bin/make -f +# +# debian/rules for scim-pinyin package +# Copyright (C) 2006-2008 Ming Hua +# +# This file is distributed under the same license as scim-pinyin. + +# uncomment this to turn on verbose mode +#export DH_VERBOSE = 1 + +CONFFLAGS = --without-arts + +# set the platform for configure script, especially useful for cross-compiling +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifeq ($(DEB_HOST_GNU_TYPE), $(DEB_BUILD_GNU_TYPE)) + CONFFLAGS += --build=$(DEB_BUILD_GNU_TYPE) +else + CONFFLAGS += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +endif +# for more information, see /usr/share/doc/autotools-dev/README.Debian.gz + +# set compiler flags, enable warning and debug +CFLAGS = -W -g +CXXFLAGS = -W -g +# set optimization level +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O2 + CXXFLAGS += -O2 +else + CFLAGS += -O0 + CXXFLAGS += -O0 +endif + +clean: clean-patched unpatch + +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + # only run "make distclean" if a Makefile exists + [ ! -f Makefile ] || $(MAKE) distclean DIST_SUBDIRS='m4 src data intl po' + # remove existent config.{guess,sub} as we use the ones from + # autotools-dev package + rm -f config.guess config.sub + dh_clean + +patch: patch-stamp +patch-stamp: + dh_testdir + dpatch apply-all + # put information about applied patches in the stamp file + dpatch cat-all -nd >$@ + +unpatch: + dh_testdir + dpatch deapply-all + rm -rf debian/patched + rm -f patch-stamp + +config.status: patch-stamp + dh_testdir + # link config.{guess,sub} from autotools-dev package + ln -sf /usr/share/misc/config.guess config.guess + ln -sf /usr/share/misc/config.sub config.sub + rm -f config.cache + # run configure with all necessary definitions and options + ./configure \ + CFLAGS="$(CFLAGS)" \ + CXXFLAGS="$(CXXFLAGS)" \ + $(CONFFLAGS) \ + --prefix=/usr \ + --disable-static \ + --disable-rpath + +build: build-stamp +build-stamp: config.status + dh_testdir + dh_clean + $(MAKE) + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + # clean up unnecessary library files for modules + rm debian/tmp/usr/lib/scim-1.0/*/*/*.la + # distribute files to different binary packages + dh_install --sourcedir=debian/tmp --fail-missing + + install -d $(CURDIR)/debian/scim-pinyin/etc/X11/xinit/xinput.d/ + install -m 644 debian/im-switch/scim-pinyin debian/scim-pinyin/etc/X11/xinit/xinput.d/ + touch $@ + +binary: binary-arch binary-indep + +binary-arch: build + dh_testdir + dh_testroot + dh_installchangelogs -a ChangeLog + dh_installdocs -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary-indep: build + dh_testdir + dh_testroot + dh_installchangelogs -i ChangeLog + dh_installdocs -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +.SUFFIXES: +.PHONY: clean build binary binary-arch binary-indep clean-patched patch unpatch + +# vim:textwidth=0: --- scim-pinyin-0.5.91.orig/debian/watch +++ scim-pinyin-0.5.91/debian/watch @@ -0,0 +1,7 @@ +# debian/watch file for scim +# written by Ming hua on 2007.05.12 + +# format version number +version=3 +# special URL parsed as qa.debian.org redirector for sourceforge +http://sf.net/scim/scim-pinyin-([\d\.]+)\.tar\.gz --- scim-pinyin-0.5.91.orig/debian/scim-pinyin.docs +++ scim-pinyin-0.5.91/debian/scim-pinyin.docs @@ -0,0 +1,3 @@ +README +TODO +AUTHORS --- scim-pinyin-0.5.91.orig/debian/changelog +++ scim-pinyin-0.5.91/debian/changelog @@ -0,0 +1,384 @@ +scim-pinyin (0.5.91-2ubuntu1) natty; urgency=low + + * Merge with Debian Unstable, remaining changes: + - Build-depend on libskim-dev (>=1.4.4), kdelibs4-dev, skim. + - Build skim-scim-pinyin package and install files in it. + - Install /etc/X11/xinit/xinput.d/scim-pinyin. + - Configure with --without-arts to fix FTBFS. + * debian/control: Add ${misc:Depends} to the dependencies of the package + skim-scim-pinyin + + -- Bilal Akhtar Sun, 09 Jan 2011 16:21:21 +0300 + +scim-pinyin (0.5.91-2) unstable; urgency=low + + * Removed old transitional package: scim-chinese (Closes: #477536) + and made related changes. + * Updated copyright file to use proper GPL-2 instead of GPL. + * Updated control file to update dependencies and VCS entries. + * Updated Standards-Version to 3.9.1. + * Fixed typo in 0.5.91-1.1 in changelog. + * Did not add the skim-scim-pinyin package like Ubuntu due to Debian + freeze etc. Updated README.Debian. + + -- Osamu Aoki Sat, 11 Dec 2010 15:11:54 +0900 + +scim-pinyin (0.5.91-1.1ubuntu1) natty; urgency=low + + * Merge with Debian Unstable, remaining changes: + - Build-depend on libskim-dev (>=1.4.4), kdelibs4-dev, skim. + - Build scim-skim-pinyin package and install files in it. + - Install /etc/X11/xinit/xinput.d/scim-pinyin. + - Configure with --without-arts to fix build failure. + + -- Bilal Akhtar Wed, 03 Nov 2010 19:25:14 +0300 + +scim-pinyin (0.5.91-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Explicitly depend on libltdl-dev (Closes: #590412). + + -- Nico Golde Wed, 04 Aug 2010 13:43:00 +0200 + +scim-pinyin (0.5.91-1ubuntu2) karmic; urgency=low + + * Configure with --without-arts to fix build failure. LP: #445658. + + -- Matthias Klose Sat, 10 Oct 2009 19:28:50 +0200 + +scim-pinyin (0.5.91-1ubuntu1) jaunty; urgency=low + + * Merge with Debian; remaining changes: + - Build-depend on libskim-dev (>=1.4.4), kdelibs4-dev, skim. + - debian/copyright: Updated. + - Do not build skim-scim-pinyin for Debian (will do so in -2). + - Keep Ming Hua's 10_missing-header.dpatch (#define Use_C_STRING) + as per upstream practice rather than "#include ". + - Do not install /etc/X11/xinit/xinput.d/scim-pinyin. TBD. + + -- Matthias Klose Thu, 27 Nov 2008 15:22:25 +0000 + +scim-pinyin (0.5.91-1) unstable; urgency=low + + [ Deng Xiyue ] + * New upstream release. (Closes: #459869) + + Fix FTBFS with gcc-4.3. (Closes: #441594) + * Drop 01gcc-4.0.dpatch. Fixed upstream. + * Drop -1 debian version from libscim-dev b-dep as per lintian. + + [ Anthony Fok ] + * Merged 0.5.91-0ubuntu12 from Ubuntu. Many thanks to Zhengpeng Hou + and others for their great works! Remaining differences: + - Do not build skim-scim-pinyin for Debian (will do so in -2). + - Keep Ming Hua's 10_missing-header.dpatch (#define Use_C_STRING) + as per upstream practice rather than "#include ". + - Do not install /etc/X11/xinit/xinput.d/scim-pinyin. TBD. + * debian/rules: + - Use -O2 instead of -O + - configure: --disable-skim-support for now. + - build: $(MAKE) distclean DIST_SUBDIRS='m4 src data intl po' (no skim) + * debian/copyright: + - Copyright (C) 2002-2005 (was 2004). + + -- Anthony Fok Sun, 27 Jul 2008 12:09:37 +0800 + +scim-pinyin (0.5.91-0ubuntu12) gutsy; urgency=low + + * Fix build failure if the build target is run without running + the clean target. LP: #143960. + + -- Matthias Klose Thu, 11 Oct 2007 17:50:50 +0000 + +scim-pinyin (0.5.91-0ubuntu11) gutsy; urgency=low + + * Fix build failures with g++-4.3. + + -- Matthias Klose Mon, 10 Sep 2007 16:16:53 +0200 + +scim-pinyin (0.5.91-0ubuntu10) gutsy; urgency=low + + * Add build dependency on skim. Fixes another build failure. + * Correctly clean the package, run `make clean'. + + -- Matthias Klose Thu, 30 Aug 2007 09:40:44 +0000 + +scim-pinyin (0.5.91-0ubuntu9) gutsy; urgency=low + + * Run clean target, fixes build failure. LP: #128220. + + -- Matthias Klose Thu, 30 Aug 2007 09:15:35 +0000 + +scim-pinyin (0.5.91-0ubuntu8) gutsy; urgency=low + + * Drop 10scim-plugin-module-install-dir.dpatch, because scim + has changes, due to the upgrade of libgtk2.0. + * Build-dep on libscim-dev (>= 1.4.6-1). + * Use /usr/lib/scim/1.0/*/ to install modules. + + -- ZhengPeng Hou Fri, 11 May 2007 21:40:45 +0800 + +scim-pinyin (0.5.91-0ubuntu7) feisty; urgency=low + + * Rebuild for ldbl128 change (powerpc, sparc). + * Set Ubuntu maintainer address. + + -- Matthias Klose Mon, 5 Mar 2007 01:24:54 +0100 + +scim-pinyin (0.5.91-0ubuntu6) edgy; urgency=low + + * Correct the scim-bridge's dir in + debian/im-switch/scim-pinyin, due to the + change in gtk2 + + -- Hou ZhengPeng Wed, 16 Aug 2006 08:24:12 +0800 + +scim-pinyin (0.5.91-0ubuntu5) edgy; urgency=low + + * Fix the FTBFS, due to the change in scim + add build-dep on scim-gtk2-immodule + + -- Hou ZhengPeng Tue, 1 Aug 2006 22:29:05 +0800 + +scim-pinyin (0.5.91-0ubuntu4) edgy; urgency=low + + * Improve the conffile of im-switch in + debian/im-switch/scim-pinyin + + -- Hou ZhengPeng Tue, 18 Jul 2006 14:04:24 +0800 + +scim-pinyin (0.5.91-0ubuntu3) dapper; urgency=low + + * check for skim in the im-switch file and sets XIM_PROGRAM=skim if + it is installed (fixes the problem that skim is not started currently + automatically in kubuntu) + + -- Hou ZhengPeng Thu, 23 Mar 2006 11:48:37 +0800 + +scim-pinyin (0.5.91-0ubuntu2) dapper; urgency=low + + * Add im-switch configure file in debian/im-switch for postinst. + * Add im-switch to Recommends. + * Use ttf-arphic-uming and ttf-arphic-ukai as recommend chinese fonts . + * Fix bug #34413 on malone. + * Upload for Hou ZhengPeng . + + -- Jonathan Patrick Davies Sat, 11 Mar 2006 15:53:47 +0100 + +scim-pinyin (0.5.91-0ubuntu1) dapper; urgency=low + + * New upstream release + * Add skim-scim-pinyin and build-dep on skim + * Add postinst for register scim to im-switch + + -- Hou ZhengPeng Thu, 2 Mar 2006 19:18:00 +0800 + +scim-pinyin (0.5.0-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add '20_gcc_4.3.dpatch' to fix FTBFS with GCC 4.3 (Closes: #441594) + + -- Chris Lamb Sat, 12 Apr 2008 02:07:04 +0100 + +scim-pinyin (0.5.0-4) unstable; urgency=low + + * Rewrite debian/rules, using debian/rules from scim-tables as template. + - Use the platform detection code recommended by autotools-dev. + - Remove binary-common target and separate binary-arch and binary-indep + targets completely. + - Remove all the cruft introduced by dh_make. + * Introduce 10_missing-header dpatch, adding missing header in a + few files and fixing FTBFS with GCC 4.3. (Closes: #441594) + * Use "dpkg-query -W" in scim-chinese's preinst script to check conffiles + instead of parsing /var/lib/dpkg/status directly. + * Put upstream homepage into the Homepage field of the source package + instead of the Description field of the binary package. + * Rename XS-Vcs-* fields to Vcs-* as they are officially supported now. + * Add "dpkg-dev (>= 1.14.6)" in build dependency, due to the above usage of + Homepage and Vcs-* fields. + * Upgrade policy version to 3.7.3. + * Change maintainer's email address. + + -- Ming Hua Sat, 02 Feb 2008 12:05:33 -0600 + +scim-pinyin (0.5.91-0ubuntu12) gutsy; urgency=low + + * Fix build failure if the build target is run without running + the clean target. LP: #143960. + + -- Matthias Klose Thu, 11 Oct 2007 17:50:50 +0000 + +scim-pinyin (0.5.91-0ubuntu11) gutsy; urgency=low + + * Fix build failures with g++-4.3. + + -- Matthias Klose Mon, 10 Sep 2007 16:16:53 +0200 + +scim-pinyin (0.5.91-0ubuntu10) gutsy; urgency=low + + * Add build dependency on skim. Fixes another build failure. + * Correctly clean the package, run `make clean'. + + -- Matthias Klose Thu, 30 Aug 2007 09:40:44 +0000 + +scim-pinyin (0.5.91-0ubuntu9) gutsy; urgency=low + + * Run clean target, fixes build failure. LP: #128220. + + -- Matthias Klose Thu, 30 Aug 2007 09:15:35 +0000 + +scim-pinyin (0.5.0-3) unstable; urgency=low + + * Adapt to scim's $(moduledir) change: (Closes: #422739) + - Bump build dependency to libscim-dev (>= 1.4.6-1). + - Drop 10scim-plugin-module-install-dir dpatch, no longer needed. + - Use /usr/lib/scim-1.0/*/ instead of /usr/lib/scim-1.0/1.4.0/ in + debian/rules and debian/scim-pinyin.install, so that scim-pinyin can be + binNMUed for the next SCIM module ABI change. + * Update debian/watch file to use qa.debian.org redirect URL for + sourceforge.net. + * Add XS-Vcs-Svn and XS-Vcs-Browser fields in debian/control. + * Upgrade to policy version 3.7.2.2, no actual changes needed. + + -- Ming Hua Sun, 13 May 2007 17:54:00 -0500 + +scim-pinyin (0.5.91-0ubuntu8) gutsy; urgency=low + + * Drop 10scim-plugin-module-install-dir.dpatch, because scim + has changes, due to the upgrade of libgtk2.0. + * Build-dep on libscim-dev (>= 1.4.6-1). + * Use /usr/lib/scim/1.0/*/ to install modules. + + -- ZhengPeng Hou Fri, 11 May 2007 21:40:45 +0800 + +scim-pinyin (0.5.91-0ubuntu7) feisty; urgency=low + + * Rebuild for ldbl128 change (powerpc, sparc). + * Set Ubuntu maintainer address. + + -- Matthias Klose Mon, 5 Mar 2007 01:24:54 +0100 + +scim-pinyin (0.5.91-0ubuntu6) edgy; urgency=low + + * Correct the scim-bridge's dir in + debian/im-switch/scim-pinyin, due to the + change in gtk2 + + -- Hou ZhengPeng Wed, 16 Aug 2006 08:24:12 +0800 + +scim-pinyin (0.5.91-0ubuntu5) edgy; urgency=low + + * Fix the FTBFS, due to the change in scim + add build-dep on scim-gtk2-immodule + + -- Hou ZhengPeng Tue, 1 Aug 2006 22:29:05 +0800 + +scim-pinyin (0.5.91-0ubuntu4) edgy; urgency=low + + * Improve the conffile of im-switch in + debian/im-switch/scim-pinyin + + -- Hou ZhengPeng Tue, 18 Jul 2006 14:04:24 +0800 + +scim-pinyin (0.5.91-0ubuntu3) dapper; urgency=low + + * check for skim in the im-switch file and sets XIM_PROGRAM=skim if + it is installed (fixes the problem that skim is not started currently + automatically in kubuntu) + + -- Hou ZhengPeng Thu, 23 Mar 2006 11:48:37 +0800 + +scim-pinyin (0.5.91-0ubuntu2) dapper; urgency=low + + * Add im-switch configure file in debian/im-switch for postinst. + * Add im-switch to Recommends. + * Use ttf-arphic-uming and ttf-arphic-ukai as recommend chinese fonts . + * Fix bug #34413 on malone. + * Upload for Hou ZhengPeng . + + -- Jonathan Patrick Davies Sat, 11 Mar 2006 15:53:47 +0100 + +scim-pinyin (0.5.91-0ubuntu1) dapper; urgency=low + + * New upstream release + * Add skim-scim-pinyin and build-dep on skim + * Add postinst for register scim to im-switch + + -- Hou ZhengPeng Thu, 2 Mar 2006 19:18:00 +0800 + +scim-pinyin (0.5.0-2) unstable; urgency=low + + * Make scim-pinyin Replaces scim-chinese (<< 0.5.0) to provide smooth + upgrade from sarge. (Closes: #343562) + * Handle obsolete conffile from old scim-chinese packages properly. + * Build-depend on autotools-dev and use config.{guess,sub} from + autotools-dev unconditionally. + + -- Ming Hua Sun, 25 Dec 2005 04:59:22 -0600 + +scim-pinyin (0.5.0-1) unstable; urgency=low + + * New upstream release. [minghua] + - Upstream changes name to scim-pinyin. + * debian/patches/10scim-plugin-module-install-dir.dpatch, debian/rules, + debian/install: Building against scim 1.4, change module installation + directory from 1.0.0 to 1.4.0. (Closes: #324268, #324808) [minghua] + * debian/patches/{00list,01gcc-4.0.dpatch}: Apply patch from Andreas Jochens + to fix FTBFS with gcc-4.0. (Closes: #297975) [minghua] + * debian/control, debian/{postinst,prerm}, debian/install: This new release + doesn't use gconf anymore, so get rid of gconf2 dependency and related + scripts. [minghua] + * debian/{control,rules,install,docs}: Build scim-chinese dummy package to + help upgrade, rename install and docs to scim-pinyin.install and + scim-pinyin.docs. [minghua] + * debian/control: Upgrade to policy version 3.6.2 (no actual changes). + [minghua] + * debian/watch: Track all new versions. [minghua] + * debian/copyright: Update FSF address. [minghua] + + -- Ming Hua Thu, 6 Oct 2005 21:28:53 -0500 + +scim-chinese (0.4.2-2) unstable; urgency=low + + * debian/{copyright,watch}: Update upstream information. [minghua] + * debian/control: [minghua] + - Remove explicit dependency on scim since it's included in + ${shlibs:Depends}. + - Add scim (<< 1.1) to Depends: so that it won't be installed with scim + 1.2.x series. This is better than setting Conflicts:. + - Move Chinese TrueType font packages from Depends: to Recommends:. + * debian/README.Debian: New. Basic information about scim-chinese and tips + about ``pinyin with tone''. [minghua] + + -- Ming Hua Sun, 6 Feb 2005 22:20:50 -0600 + +scim-chinese (0.4.2-1) unstable; urgency=low + + * New upstream release. + * debian/control: Update scim dependencies to >= 1.0.1, also updated + package descriptions. + * debian/rules, debian/patches/, debian/control: Switch to dpatch system. + * debian/watch: Add watch file for monitoring upstream releases. + * debian/postinst, debian/prerm: Slight changes to postinst script + according to dh_gconf(1) template, and add prerm script to unregister + gconf schemas. + + -- Ming Hua Wed, 29 Sep 2004 17:38:06 -0500 + +scim-chinese (0.3.0-2) unstable; urgency=low + + * Initial release for upload into the official Debian archive. + * Minor tweakings: + - Added Build-Depends: libgtk2.0-dev + - Added Depends: gconf2 + - Added postinst to run gconftool-2, based on upstream SPEC file. + * NMU: Ming Hua is still the maintainer. + I am his Debian upload sponsor. :-) + + -- Anthony Fok Sat, 12 Jun 2004 01:37:11 +0800 + +scim-chinese (0.3.0-1) unstable; urgency=low + + * Initial Release, based on upstream version 0.3.0. + + -- Ming Hua Fri, 30 Apr 2004 14:58:29 -0500 + --- scim-pinyin-0.5.91.orig/debian/im-switch/scim-pinyin +++ scim-pinyin-0.5.91/debian/im-switch/scim-pinyin @@ -0,0 +1,19 @@ +XIM=SCIM +if [ -e /usr/bin/skim ]; then + XIM_PROGRAM=/usr/bin/skim +else + XIM_PROGRAM=/usr/bin/scim +fi +XIM_ARGS="-d" +if [ -e /usr/lib/gtk-2.0/2.10.0/immodules/im-scim-bridge.so ]; then + GTK_IM_MODULE=scim-bridge +else + GTK_IM_MODULE=xim +fi +if [ -e /usr/lib/qt3/plugins/inputmethods/libqscim.so ]; then + QT_IM_MODULE=scim +else + QT_IM_MODULE=xim +fi +DEPENDS="scim | skim" + --- scim-pinyin-0.5.91.orig/debian/patches/10_missing-header.dpatch +++ scim-pinyin-0.5.91/debian/patches/10_missing-header.dpatch @@ -0,0 +1,53 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_missing-header.dpatch by Ming Hua +## +## All lines beginning with `## DP:' are a description of the patch. +## +## DP: Add missing header to fix FTBFS with GCC 4.3. + +@DPATCH@ +diff -urNad scim-pinyin-0.5.0~/src/scim_phrase.cpp scim-pinyin-0.5.0/src/scim_phrase.cpp +--- scim-pinyin-0.5.0~/src/scim_phrase.cpp 2005-01-06 07:30:58.000000000 -0600 ++++ scim-pinyin-0.5.0/src/scim_phrase.cpp 2007-09-21 20:31:30.000000000 -0500 +@@ -18,6 +18,7 @@ + #define Uses_STL_UTILITY + #define Uses_STL_IOMANIP + #define Uses_C_STDIO ++#define Uses_C_STRING + #define Uses_SCIM_UTILITY + #define Uses_SCIM_SERVER + #define Uses_SCIM_ICONV +diff -urNad scim-pinyin-0.5.0~/src/scim_pinyin.cpp scim-pinyin-0.5.0/src/scim_pinyin.cpp +--- scim-pinyin-0.5.0~/src/scim_pinyin.cpp 2005-01-06 07:30:58.000000000 -0600 ++++ scim-pinyin-0.5.0/src/scim_pinyin.cpp 2007-09-21 20:31:30.000000000 -0500 +@@ -21,6 +21,7 @@ + #define Uses_STL_UTILITY + #define Uses_STL_IOMANIP + #define Uses_C_STDIO ++#define Uses_C_STRING + #define Uses_SCIM_UTILITY + #define Uses_SCIM_SERVER + #define Uses_SCIM_ICONV +diff -urNad scim-pinyin-0.5.0~/src/scim_pinyin_phrase.cpp scim-pinyin-0.5.0/src/scim_pinyin_phrase.cpp +--- scim-pinyin-0.5.0~/src/scim_pinyin_phrase.cpp 2005-01-06 07:30:58.000000000 -0600 ++++ scim-pinyin-0.5.0/src/scim_pinyin_phrase.cpp 2007-09-21 20:31:30.000000000 -0500 +@@ -19,6 +19,7 @@ + #define Uses_STL_UTILITY + #define Uses_STL_IOMANIP + #define Uses_C_STDIO ++#define Uses_C_STRING + #define Uses_SCIM_UTILITY + #define Uses_SCIM_SERVER + #define Uses_SCIM_ICONV +diff -urNad scim-pinyin-0.5.0~/src/scim_special_table.cpp scim-pinyin-0.5.0/src/scim_special_table.cpp +--- scim-pinyin-0.5.0~/src/scim_special_table.cpp 2005-01-06 07:31:02.000000000 -0600 ++++ scim-pinyin-0.5.0/src/scim_special_table.cpp 2007-09-21 20:31:30.000000000 -0500 +@@ -18,7 +18,7 @@ + #define Uses_STL_MAP + #define Uses_STL_UTILITY + #define Uses_STL_IOMANIP +-#define Uscs_C_STRING ++#define Uses_C_STRING + + #include + #include --- scim-pinyin-0.5.91.orig/debian/patches/00list +++ scim-pinyin-0.5.91/debian/patches/00list @@ -0,0 +1 @@ +10_missing-header --- scim-pinyin-0.5.91.orig/debian/source/format +++ scim-pinyin-0.5.91/debian/source/format @@ -0,0 +1 @@ +1.0