--- scim-uim-0.2.0.orig/debian/install +++ scim-uim-0.2.0/debian/install @@ -0,0 +1,2 @@ +usr/lib/scim-1.0/*/IMEngine/uim.so +usr/share/scim/icons/scim-uim.png --- scim-uim-0.2.0.orig/debian/copyright +++ scim-uim-0.2.0/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Ming Hua on Sun, 22 Aug 2004 +20:48:50 -0500. The current maintainers are Ming Hua + and Osamu Aoki . + +Upstream Author: James Su + Takuro Ashie + +Home Page: http://www.scim-im.org/ + +The package was downloaded from http://prdownloads.sourceforge.net/scim/ + +Copyrights: + + Copyright James Su , 2004-2005 + Takuro Ashie , 2007 + + 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 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 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 can be +found in `/usr/share/common-licenses/GPL'. + --- scim-uim-0.2.0.orig/debian/changelog +++ scim-uim-0.2.0/debian/changelog @@ -0,0 +1,107 @@ +scim-uim (0.2.0-2ubuntu1) intrepid; urgency=low + + * Rebuild for libuim5 -> libuim6 transition (LP: #241575). + * debian/patches/11_fix_includes.dpatch: + - Add new uim includes, fix FTBFS. + * debian/control: + - Update Maintainer field as per spec. + + -- Luca Falavigna Wed, 25 Jun 2008 07:22:55 +0000 + +scim-uim (0.2.0-2) unstable; urgency=low + + * Use /usr/lib/scim-1.0/*/ instead of hardcoded /usr/lib/scim-1.0/1.4.0/ as + module installation path in debian/rules, to make binNMU possible when + SCIM's module ABI changes. + * Introduce 10_missing-header dpatch to add header, fixing FTBFS + with GCC 4.3. (Closes: #455617) + * Use Homepage field in source package stanza of debian/control, instead of + putting it in binary package's long descrption. Add dpkg-dev (>= 1.14.6) + to build dependency to make sure this feature is supported. + * Change XS-Vcs-* fields to Vcs-*, now that they are officially supported. + * Update to policy version 3.7.3. + * Change maintainer's email address. + + -- Ming Hua Thu, 07 Feb 2008 15:18:07 -0600 + +scim-uim (0.2.0-1) unstable; urgency=low + + * New upstream release. + - Fix the API incompatibility against uim 1.4.0. (Closes: #422482) + - Bump build dependency to libuim-dev (>= 1:1.1.0). + - Add libgcroots-dev to build dependency, working around #423269. + * Adapt to the $(moduledir) change in scim 1.4.6. + - Bump build dependency to libscim-dev (>= 1.4.6-1). + - Drop 10_scim-module-install-dir dpatch, no longer needed. + * Rewrite debian/rules. + - Use the platform detection code recommended by autotools-dev. + - Drop binary-common target, since there is only one binary package. + - Finally remove all the cruft generated by dh_make. + * Add debian/NEWS file. Remind the users to install the desired uim input + method plugin package because they are split out of uim-common as separate + packages after uim 1.3.0. + * Don't install upstream's README file to /usr/share/doc/scim-uim/ anymore, + as it has just one line and already covered in package description. + * Update information in debian/copyright according to the upstream source + and changelog. + * Update debian/watch to use the qa.debian.org redirect URL for + sourceforge.net. + * Add XS-Vcs-Svn and XS-Vcs-Browser fields. + * Upgrade to policy version 3.7.2.2, no actual changes needed. + + -- Ming Hua Mon, 28 May 2007 03:44:31 -0500 + +scim-uim (0.1.4-2) unstable; urgency=high + + High urgency upload to get RC bug fix into etch in time. + + * Add dependency uim-common. (Closes: #402869) + + -- Ming Hua Tue, 27 Mar 2007 17:46:18 -0500 + +scim-uim (0.1.4-1) unstable; urgency=low + + * New upstream release. + * Build depend on autotools-dev and use config.{guess,sub} from + autotools-dev unconditionally. + * Adjust build-dependency: Relax libscim-dev, tighten libuim-dev, and drop + libxml2-dev. + * Update package description. + + -- Ming Hua Fri, 6 Jan 2006 23:24:07 -0600 + +scim-uim (0.1.3-3) unstable; urgency=low + + * debian/patches/{00list,10scim-plugin-module-install-dir.dpatch}: Rename + the patch name to 10_scim-module-install-dir.dpatch according to the new + patch name template. + * Build against SCIM 1.4 ABI: + - debian/control: Build-depend on libscim-dev (>= 1.4.1). + - debian/{rules,install}, debian/patches/10_scim-module-install-dir.dpatch: + Change scim module directory from /usr/lib/scim-1.0/1.0.0 to + /usr/lib/scim-1.0/1.4.0. + * debian/control: Make scim-uim depend on scim. + * debian/control: Upgrade to policy version 3.6.2 (no actual changes). + * debian/{copyright,watch}: Update upstream website and the URL for + downloading tarballs. + * debian/copyright: Update FSF address. + + -- Ming Hua Wed, 5 Oct 2005 14:07:50 -0500 + +scim-uim (0.1.3-2) unstable; urgency=low + + * Build-depend on libuim-dev (>= 1:0.4.5+1576-2) to pull in libm17n-dev + which is depended by libuim-dev. (Closes: #283047) + * Build-depend on libxml2-dev (which is depended by libm17n-dev) so that the + package builds. This should be a bug in libm17n-dev. + + -- Ming Hua Sun, 5 Dec 2004 21:25:22 -0600 + +scim-uim (0.1.3-1) unstable; urgency=low + + * Initial Release. (closes: #276997) + * Building scim-uim binary package. + * Use dpatch system, apply 10scim-plugin-module-install-dir.dpatch to + install the modules to the same directory as scim. + + -- Ming Hua Fri, 8 Oct 2004 19:05:09 -0500 --- scim-uim-0.2.0.orig/debian/docs +++ scim-uim-0.2.0/debian/docs @@ -0,0 +1 @@ +AUTHORS --- scim-uim-0.2.0.orig/debian/watch +++ scim-uim-0.2.0/debian/watch @@ -0,0 +1,7 @@ +# debian/watch file for scim-uim +# written by Ming Hua on 2007.05.26 + +# format version number +version=3 +# special URL parsed as qa.debian.org redirector for sourceforge +http://sf.net/scim/scim-uim-([\d\.]+)\.tar\.gz debian uupdate --- scim-uim-0.2.0.orig/debian/compat +++ scim-uim-0.2.0/debian/compat @@ -0,0 +1 @@ +4 --- scim-uim-0.2.0.orig/debian/rules +++ scim-uim-0.2.0/debian/rules @@ -0,0 +1,107 @@ +#!/usr/bin/make -f +# +# debian/rules for scim-uim package +# Copyright Ming Hua , 2006,2007 +# +# This file is distributed under the same license as scim-uim. + +# uncomment this to turn on verbose mode +#export DH_VERBOSE = 1 + +# 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 += -O + CXXFLAGS += -O +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 + # 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 + +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 + 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 + # no architecture independent packages + +.SUFFIXES: +.PHONY: clean build binary binary-arch binary-indep clean-patched patch unpatch + +# vim:textwidth=0: --- scim-uim-0.2.0.orig/debian/NEWS +++ scim-uim-0.2.0/debian/NEWS @@ -0,0 +1,12 @@ +scim-uim (0.2.0-1) unstable; urgency=low + + Starting from version 1.3.0, Debian's uim packaging changed and split the + input method plugins out of uim-common to separate packages. Since scim-uim + only depends on uim-common, the minimal dependency will no longer have a lot + of different input methods installed. After upgrading scim-uim and uim, you + may not have the input method you used anymore. You need to install the + specific uim-* package you need, and it will show up in scim-uim. Please + consult the /usr/share/doc/uim-common/NEWS.Debian.gz file for the whole list + of input method plugin packages. + + -- Ming Hua Mon, 28 May 2007 03:32:01 -0500 --- scim-uim-0.2.0.orig/debian/control +++ scim-uim-0.2.0/debian/control @@ -0,0 +1,24 @@ +Source: scim-uim +Section: utils +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Ming Hua +Uploaders: Osamu Aoki +Build-Depends: dpkg-dev (>= 1.14.6), debhelper (>= 4.0.0), dpatch, pkg-config, autotools-dev, libscim-dev (>= 1.4.6-1), libuim-dev (>= 1:1.1.0), libgcroots-dev +Standards-Version: 3.7.3 +Vcs-Svn: svn://svn.debian.org/pkg-ime/scim-uim/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-ime/scim-uim/trunk/ +Homepage: http://www.scim-im.org/ + +Package: scim-uim +Architecture: any +Depends: scim, uim-common, ${shlibs:Depends} +Description: UIM IM engine module for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package provides the UIM IM engine module for SCIM. It provides various + imput methods through UIM library. With this module you can use all the + input methods provided by UIM with the SCIM user interface. + . + For details about SCIM, please see the description of package scim. + For details about UIM, please see the description of package uim-common. --- scim-uim-0.2.0.orig/debian/patches/10_missing-header.dpatch +++ scim-uim-0.2.0/debian/patches/10_missing-header.dpatch @@ -0,0 +1,19 @@ +#! /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-uim-0.2.0~/src/scim_uim_imengine.cpp scim-uim-0.2.0/src/scim_uim_imengine.cpp +--- scim-uim-0.2.0~/src/scim_uim_imengine.cpp 2007-04-10 00:43:59.000000000 -0500 ++++ scim-uim-0.2.0/src/scim_uim_imengine.cpp 2007-12-15 20:20:55.000000000 -0600 +@@ -27,6 +27,7 @@ + #define Uses_SCIM_IMENGINE + #define Uses_SCIM_LOOKUP_TABLE + #define Uses_SCIM_CONFIG_BASE ++#define Uses_C_STRING + + #ifdef HAVE_CONFIG_H + #include --- scim-uim-0.2.0.orig/debian/patches/00list +++ scim-uim-0.2.0/debian/patches/00list @@ -0,0 +1,2 @@ +10_missing-header.dpatch +11_fix_includes.dpatch --- scim-uim-0.2.0.orig/debian/patches/11_fix_includes.dpatch +++ scim-uim-0.2.0/debian/patches/11_fix_includes.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 11_fix_includes.dpatch by Luca Falavigna +## DP: Add new uim includes, fix FTBFS. + +@DPATCH@ +diff -urNad scim-uim-0.2.0~/src/scim_uim_imengine.cpp scim-uim-0.2.0/src/scim_uim_imengine.cpp +--- scim-uim-0.2.0~/src/scim_uim_imengine.cpp 2008-06-25 07:21:05.000000000 +0000 ++++ scim-uim-0.2.0/src/scim_uim_imengine.cpp 2008-06-25 07:21:42.000000000 +0000 +@@ -35,7 +35,8 @@ + + #include + #include "scim_uim_imengine.h" +-#include ++#include ++#include + + #define scim_module_init uim_LTX_scim_module_init + #define scim_module_exit uim_LTX_scim_module_exit