--- scim-tables-0.5.6.orig/debian/scim-modules-table.install +++ scim-tables-0.5.6/debian/scim-modules-table.install @@ -0,0 +1,8 @@ +usr/bin/scim-make-table +usr/share/man/man1/scim-make-table.1 + +usr/lib/scim-1.0/1.4.0/IMEngine/table.so +usr/lib/scim-1.0/1.4.0/SetupUI/table-imengine-setup.so + +usr/share/locale/*/LC_MESSAGES/scim-tables.mo +usr/share/scim/icons/table.png --- scim-tables-0.5.6.orig/debian/changelog +++ scim-tables-0.5.6/debian/changelog @@ -0,0 +1,136 @@ +scim-tables (0.5.6-1build1) dapper; urgency=low + + * Fakesync newer debian version on behalf of Ming Hua. + + -- Stefan Potyra Sun, 12 Mar 2006 03:39:43 +0100 + +scim-tables (0.5.6-1) unstable; urgency=low + + * New upstream release. + - The ZhuYin table based on the data from http://opendesktop.org.tw/ is + renamed to ZhuYin-Big. The ZhuYin table is reverted to the old version + based on the input table from OpenVanilla project. + - Add new CNS11643 table based on data from http://www.cmex.org.tw/. + * Update package descriptions. + + -- Ming Hua Wed, 18 Jan 2006 15:11:05 -0600 + +scim-tables (0.5.5-1) unstable; urgency=low + + * New upstream release. + - The old table CangJie is renamed to CangJie5, and new table CangJie is + added. The tables ZhuYin and Simplex are updated. All these changes + are based on the input tables from http://opendesktop.org.tw/. + - The table EZ is replaced by new table EZ-Big from Woodman Tuen. + + -- Ming Hua Sun, 11 Dec 2005 19:55:55 -0600 + +scim-tables (0.5.4-2) unstable; urgency=low + + * debian/control: Relax the versioned dependency on scim-modules-table to + become friendly with binary NMUs. (Closes: #342184) + * debian/control: Make scim-modules-table Replaces scim as + scim-modules-table and old scim have overlapped files. (Closes: #339733) + + -- Ming Hua Tue, 6 Dec 2005 22:23:09 -0600 + +scim-tables (0.5.4-1) unstable; urgency=low + + * New upstream release. + - debian/control, debian/scim-modules-table.{install,docs}: Build a new + binary package scim-modules-table with arch:any. These code moved from + scim to scim-tables since scim 1.2. (Closes: #327315) [carlosliu] + - Fix a typo in German translation, thanks to Jens Seidel. + (Closes: #313910) + * Build against scim 1.4.1: + - debian/contol: Use libscim-dev (>= 1.4.1) in Build-Depends instead of + scim-dev. This should make scim-tables adapt to the new ABI. + (Closes: #323831) [minghua] + - debian/patches/{00list,10_scim-module-install-dir.dpatch}: Add patch to + use /usr/lib/scim-1.0/1.4.0/ as module installation path. [carlosliu, + minghua] + * debian/control, debian/scim-tables-additional.install: Add tables for new + supported languages: Arabic, Nepali, Thai, Vietanamese and several Indic + languages (Bengali, Gujarati, Hindi, Kannada, Malayalam, Punjabi, Tamil + and Telugu). There are also new talbes for IPA-X-SAMPA and LaTeX. + [carlosliu, minghua] + * debian/control, debian/scim-tables-ko.install: Add new tables + HangulRomaja. [carlosliu] + * debian/control, debian/scim-tables-zh.install: Add new tables CangJie3, + CantonHK, Quick, Stroke5 and Wu. [carlosliu, minghua] + * debian/scim-modules-table.manpages, debian/scim-make-table.1: Write manual + page for /usr/bin/scim-make-table. [minghua] + * debian/copyright: List the upstream authors of input method tables, + clarify the licensing of Nippon table, and update FSF address. [minghua] + * debian/control: Update to policy version 3.6.2 (no actual changes). + [minghua] + * debian/patches/{00list,90_disable-skim.dpatch}: Add a hackish patch to + prevent "make distclean" error when skim support is disabled. [minghua] + * debian/watch: Track all new versions. [carlosliu] + + -- Ming Hua Wed, 2 Nov 2005 22:02:10 -0600 + +scim-tables (0.4.3-2) unstable; urgency=low + + * debian/scim-tables-{additional,zh}.install: Install the new tables Amharic + and Erbi-QS. [minghua] + * debian/rules: [minghua] + - Use --fail-missing in dh_install to make sure detecting new tables. + - Add ``make distclean'' in clean target. [minghua] + * debian/copyright, debian/watch: Change upstream website and download + repository. [minghua] + * debian/control: [minghua] + - Recommend Chinese truetype font packages for scim-tables-zh. + - Make all packages conflict with scim (>> 1.1.0). + - Clarified the input methods provided by scim-tables-zh. + + -- Ming Hua Fri, 4 Feb 2005 12:52:15 -0600 + +scim-tables (0.4.3-1) unstable; urgency=low + + * Package new upstream release to match scim 1.0.1 + + -- Osamu Aoki Thu, 21 Oct 2004 18:59:21 +0200 + +scim-tables (0.3.5-3) unstable; urgency=medium + + * Set urgency to medium, assuring this RC bug fix to go into sarge. + * Add pkg-config to Build-Depends, fixing the FTBFS bug. + (Closes: #259152) + + -- Ming Hua Mon, 2 Aug 2004 21:35:10 -0500 + +scim-tables (0.3.5-2) unstable; urgency=low + + * Initial release for upload into the official Debian archive. + * Splitted the package according to the upstream scim-tables.spec + * Modified Array30.txt.in setting to "AUTO_COMMIT = FALSE". + * Many thanks to Ming Hua for packaging + scim-tables-0.3.3-1 and 0.3.5-1 on Debian Alioth. + * NMU: I won't have time to maintain the package myself, so... + Ming Hua is still the maintainer. :-) + + -- Anthony Fok Mon, 7 Jun 2004 00:32:00 +0800 + +scim-tables (0.3.5-1) unstable; urgency=low + + * New upstream version 0.3.5. + * Add detailed introduction to each table-based input method in + debian/control, thanks to the suggestion by Carlos Z.F. Liu. + + -- Ming Hua Wed, 28 Apr 2004 16:57:46 -0500 + +scim-tables (0.3.3-1) unstable; urgency=low + + * Initial Release, based on upstream version 0.3.3. + * Debianize as a single arch-independent binary package, will try to split + later. + + -- Ming Hua Mon, 1 Mar 2004 03:02:42 -0600 + +scim-tables (0.2.0-1) unstable; urgency=low + + * Initial Release. + + -- Anthony Fok Mon, 7 Apr 2003 03:56:39 +0800 + --- scim-tables-0.5.6.orig/debian/scim-tables-ja.install +++ scim-tables-0.5.6/debian/scim-tables-ja.install @@ -0,0 +1,8 @@ +usr/share/scim/tables/HIRAGANA.bin +usr/share/scim/icons/HIRAGANA.png + +usr/share/scim/tables/KATAKANA.bin +usr/share/scim/icons/KATAKANA.png + +usr/share/scim/tables/Nippon.bin +usr/share/scim/icons/Nippon.png --- scim-tables-0.5.6.orig/debian/scim-modules-table.docs +++ scim-tables-0.5.6/debian/scim-modules-table.docs @@ -0,0 +1,2 @@ +AUTHORS +README --- scim-tables-0.5.6.orig/debian/patches/00list +++ scim-tables-0.5.6/debian/patches/00list @@ -0,0 +1,2 @@ +10_scim-module-install-dir.dpatch +90_disable-skim.dpatch --- scim-tables-0.5.6.orig/debian/patches/10_scim-module-install-dir.dpatch +++ scim-tables-0.5.6/debian/patches/10_scim-module-install-dir.dpatch @@ -0,0 +1,51 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_scim-module-install-dir.dpatch by Ming Hua +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change the scim module installation directory from /usr/lib/scim-1.0/ to +## DP: /usr/lib/scim-1.0/1.4.0/. See the note in a similar patch in scim-pinyin +## DP: package for the rationale. + +@DPATCH@ +diff -urNad scim-tables-0.5.1~/src/Makefile.am scim-tables-0.5.1/src/Makefile.am +--- scim-tables-0.5.1~/src/Makefile.am 2005-10-13 12:15:27.000000000 -0500 ++++ scim-tables-0.5.1/src/Makefile.am 2005-10-13 14:32:11.000000000 -0500 +@@ -38,7 +38,7 @@ + libgentable_la_CXXFLAGS = @SCIM_CFLAGS@ + libgentable_la_LDFLAGS = @SCIM_LIBS@ + +-moduledir = @SCIM_MODULEDIR@/IMEngine ++moduledir = @SCIM_MODULEDIR@/1.4.0/IMEngine + module_LTLIBRARIES = table.la + + table_la_SOURCES = scim_table_imengine.cpp +@@ -67,7 +67,7 @@ + SETUP_MODULE = table-imengine-setup.la + endif + +-setupmoduledir = @SCIM_MODULEDIR@/SetupUI ++setupmoduledir = @SCIM_MODULEDIR@/1.4.0/SetupUI + setupmodule_LTLIBRARIES = $(SETUP_MODULE) + + table_imengine_setup_la_SOURCES = scim_table_imengine_setup.cpp +diff -urNad scim-tables-0.5.1~/src/Makefile.in scim-tables-0.5.1/src/Makefile.in +--- scim-tables-0.5.1~/src/Makefile.in 2005-10-13 12:15:27.000000000 -0500 ++++ scim-tables-0.5.1/src/Makefile.in 2005-10-13 14:32:29.000000000 -0500 +@@ -285,7 +285,7 @@ + libgentable_la_CFLAGS = @SCIM_CFLAGS@ + libgentable_la_CXXFLAGS = @SCIM_CFLAGS@ + libgentable_la_LDFLAGS = @SCIM_LIBS@ +-moduledir = @SCIM_MODULEDIR@/IMEngine ++moduledir = @SCIM_MODULEDIR@/1.4.0/IMEngine + module_LTLIBRARIES = table.la + table_la_SOURCES = scim_table_imengine.cpp + table_la_CFLAGS = @SCIM_CFLAGS@ +@@ -304,7 +304,7 @@ + scim_make_table_LDFLAGS = @LTLIBINTL@ @SCIM_LIBS@ + scim_make_table_LDADD = libgentable.la + @SCIM_BUILD_SETUP_TRUE@SETUP_MODULE = table-imengine-setup.la +-setupmoduledir = @SCIM_MODULEDIR@/SetupUI ++setupmoduledir = @SCIM_MODULEDIR@/1.4.0/SetupUI + setupmodule_LTLIBRARIES = $(SETUP_MODULE) + table_imengine_setup_la_SOURCES = scim_table_imengine_setup.cpp + table_imengine_setup_la_CFLAGS = @SCIM_GTKUTILS_CFLAGS@ @SCIM_CFLAGS@ --- scim-tables-0.5.6.orig/debian/patches/90_disable-skim.dpatch +++ scim-tables-0.5.6/debian/patches/90_disable-skim.dpatch @@ -0,0 +1,34 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 90_disable-skim.dpatch by Ming Hua +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Currently configure provides an option --disable-skim-support to stop +## DP: building skim/ subdirectory, but "make distclean" still try to go +## DP: into the skim/, and will fail. This patch is just a hack to remove +## DP: skim/ subdirectory from the whole build. + +@DPATCH@ +diff -urNad scim-tables-0.5.5~/Makefile.am scim-tables-0.5.5/Makefile.am +--- scim-tables-0.5.5~/Makefile.am 2005-12-10 13:07:19.000000000 -0600 ++++ scim-tables-0.5.5/Makefile.am 2005-12-10 13:07:25.000000000 -0600 +@@ -30,7 +30,7 @@ + SKIM_SUBDIR=skim + endif + +-SUBDIRS = docs intl icons m4 po src tables $(SKIM_SUBDIR) ++SUBDIRS = docs intl icons m4 po src tables + + MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure $(AUX_DIST) + +diff -urNad scim-tables-0.5.5~/Makefile.in scim-tables-0.5.5/Makefile.in +--- scim-tables-0.5.5~/Makefile.in 2005-12-10 13:07:19.000000000 -0600 ++++ scim-tables-0.5.5/Makefile.in 2005-12-10 13:07:25.000000000 -0600 +@@ -75,7 +75,7 @@ + uninstall-recursive + ETAGS = etags + CTAGS = ctags +-DIST_SUBDIRS = docs intl icons m4 po src tables skim ++DIST_SUBDIRS = docs intl icons m4 po src tables + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + distdir = $(PACKAGE)-$(VERSION) + top_distdir = $(distdir) --- scim-tables-0.5.6.orig/debian/watch +++ scim-tables-0.5.6/debian/watch @@ -0,0 +1,7 @@ +# watch control file for scim-tables +# see uscan(1) + +# format version number +version=2 +# Sourceforge repository +http://prdownloads.sourceforge.net/scim/scim-tables-([\d\.]*)\.tar\.gz debian uupdate --- scim-tables-0.5.6.orig/debian/scim-tables-zh.docs +++ scim-tables-0.5.6/debian/scim-tables-zh.docs @@ -0,0 +1,5 @@ +tables/zh/README-CangJie.txt +tables/zh/README-Erbi.txt +tables/zh/README-Wu.txt +AUTHORS +README --- scim-tables-0.5.6.orig/debian/copyright +++ scim-tables-0.5.6/debian/copyright @@ -0,0 +1,93 @@ +This package was debianized by Anthony Fok on +Mon, 07 Apr 2003 04:11:31 +0800. The current package maintainer is +Ming Hua . + +The package was downloaded from http://prdownloads.sourceforge.net/scim/ +on Tue, 1 Nov 2005. + +The upstream home page is http://www.scim-im.org/. + +Upstream Author: The main upstream author is James Su, and there are +many parts, especially various input method tables contributed by other +people. They are listed below with the name of the input tables (the +directory in the source package where the tables are placed is noted in +parentheses): + + James Su + main upstream author + Cougar Liu + skim support (in skim/) + + Mike FABIAN + IPA-X-SAMPA (in tables/additional/) + Joerg Haustein + LaTeX (in tables/additional/) + Amharic (in tables/am/) + Mohammad DAMT + Arabi (in tables/ar/) + Amanpreet Singh Brar + Bengali-inscipt (in tables/bn/) + Punjabi-inscript and Punjabi-jhelum (in tables/pa/) + Jatin Nansi + Bengali-probhat (in tables/bn/) + Gujarati-phonetic (in tables/gu/) + Hindi-phonetic (in tables/hi/) + Punjabi-phonetic (in tables/pa/) + Tamil-phonetic (in tables/ta/) + Jens Petersen + Gujarati-inscript (in tables/gu/) + Hindi-inscript (in tables/hi/) + Kannada-inscript and Kannada-kgp (in tables/kn/) + Malayalam-inscript (in tables/ml/) + Tamil-inscript (in tables/ta/) + Telugu-inscript (in tables/te/) + Thai (in tables/th/) + Matthew Fischer + Nippon (in tables/ja/) + Yawerty (in tables/ru/) + Suyash Shrestha + Nepali_Rom and Nepali_Trad (in tables/ne/) + Samuel Thibault + Viqr (in tables/vi/) + Albert Wang + Array30, Dayi3, EZ, and ZhuYin (in tables/zh/) + Roy Hiu-yeung Chan + CangJie3 and Quick (in tables/zh/) + Woodman Tuen + EZ-Big (in tables/zh/) + + Erbi-QS (in tables/zh/) + Zen XioCiun and others + Wu (in tables/zh/) + +Copyright: The scim-tables package is distributed under GNU GPL. The +Nippon input method table included in this source package (and the +scim-tables-ja binary package) is derived from the KANJIDIC data files +maintained by Jim Breen , and this derivative +work got the explicit permission from the maintainer. For the licensing +detail of KANJIDIC data files (note we don't distribute these files, we +only distribute derivative work base on it), see its license in +/usr/share/doc/scim-tables-ja/kanjidic_licence.html. + + scim-tables - SCIM generic table input method module + + Copyright 2002-2005, James Su and other + contributors. + + 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 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'. --- scim-tables-0.5.6.orig/debian/control +++ scim-tables-0.5.6/debian/control @@ -0,0 +1,72 @@ +Source: scim-tables +Section: utils +Priority: optional +Maintainer: Ming Hua +Uploaders: Osamu Aoki +Build-Depends: debhelper (>= 4.0.0), dpatch, pkg-config, autotools-dev, libscim-dev (>= 1.4.0) +Standards-Version: 3.6.2 + +Package: scim-modules-table +Architecture: any +Depends: scim, ${shlibs:Depends} +Recommends: scim-tables-zh | scim-tables-ja | scim-tables-ko | scim-tables-additional +Replaces: scim (<< 1.2.0) +Description: generic tables IM engine module for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package is the generic tables IM engine for SCIM. With data tables this + module can provides input method for various languages. + . + For details about SCIM, please see the description of package scim. + +Package: scim-tables-zh +Architecture: all +Depends: scim-modules-table (>= ${Source-Version}) +Recommends: ttf-arphic-gbsn00lp | ttf-arphic-gkai00mp, ttf-arphic-bsmi00lp | ttf-arphic-bkai00mp +Description: Chinese input method data tables for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package contains SCIM table-based input method data for Chinese. + Currently the provided tables are: + . + Array30, CangJie, CangJie3, CangJie5, Cantonese, CantonHK, CNS11643, + Dayi3, EZ-Big, Erbi, Erbi-QS, Jyutping, Quick, Simplex, Stroke5, Wubi, + Wu, ZhuYin, ZhuYin-Big, and Ziranma. + . + For details about SCIM, please see the description of package scim. + +Package: scim-tables-ja +Architecture: all +Depends: scim-modules-table (>= ${Source-Version}) +Description: Japanese input method data tables for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package contains SCIM table-based input method data for Japanese. + Currently the provided tables are Hiragana, Katagana, and Nippon. + . + For details about SCIM, please see the description of package scim. + +Package: scim-tables-ko +Architecture: all +Depends: scim-modules-table (>= ${Source-Version}) +Description: Korean input method data tables for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package contains SCIM table-based input method data for Korean. + Currently the provided tables are Hangul, Hangul Romaja, and Hanja. + . + For details about SCIM, please see the description of package scim. + +Package: scim-tables-additional +Architecture: all +Depends: scim-modules-table (>= ${Source-Version}) +Description: miscellaneous input method data tables for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package contains SCIM input method data tables for non-CJK languages. + The currently supported languages are Amharic, Arabic, Nepali, Russian, Thai, + Vietnamese, and several Indic languages (Bengali, Gujarati, Hindi, Kannada, + Malayalam, Punjabi, Tamil and Telugu). It also provides support for X-SAMPA + and LaTeX style input. + . + For details about SCIM, please see the description of package scim. --- scim-tables-0.5.6.orig/debian/scim-tables-additional.install +++ scim-tables-0.5.6/debian/scim-tables-additional.install @@ -0,0 +1,61 @@ +usr/share/scim/tables/Amharic.bin +usr/share/scim/icons/Amharic.png + +usr/share/scim/tables/Arabic.bin +usr/share/scim/icons/Arabic.png + +usr/share/scim/tables/Nepali_Rom.bin +usr/share/scim/tables/Nepali_Trad.bin +usr/share/scim/icons/Nepali.png + +usr/share/scim/tables/Thai.bin +usr/share/scim/icons/Thai.png + +usr/share/scim/tables/Viqr.bin +usr/share/scim/icons/Viqr.png + +usr/share/scim/tables/Yawerty.bin +usr/share/scim/icons/Yawerty.png + +usr/share/scim/tables/Bengali-inscript.bin +usr/share/scim/icons/Bengali-inscript.png +usr/share/scim/tables/Bengali-probhat.bin +usr/share/scim/icons/Bengali-probhat.png + +usr/share/scim/tables/Gujarati-inscript.bin +usr/share/scim/icons/Gujarati-inscript.png +usr/share/scim/tables/Gujarati-phonetic.bin +usr/share/scim/icons/Gujarati-phonetic.png + +usr/share/scim/tables/Hindi-inscript.bin +usr/share/scim/icons/Hindi-inscript.png +usr/share/scim/tables/Hindi-phonetic.bin +usr/share/scim/icons/Hindi-phonetic.png + +usr/share/scim/tables/Kannada-inscript.bin +usr/share/scim/icons/Kannada-inscript.png +usr/share/scim/tables/Kannada-kgp.bin +usr/share/scim/icons/Kannada-kgp.png + +usr/share/scim/tables/Malayalam-inscript.bin +usr/share/scim/icons/Malayalam-inscript.png + +usr/share/scim/tables/Punjabi-inscript.bin +usr/share/scim/icons/Punjabi-inscript.png +usr/share/scim/tables/Punjabi-jhelum.bin +usr/share/scim/icons/Punjabi-jhelum.png +usr/share/scim/tables/Punjabi-phonetic.bin +usr/share/scim/icons/Punjabi-phonetic.png + +usr/share/scim/tables/Tamil-inscript.bin +usr/share/scim/icons/Tamil-inscript.png +usr/share/scim/tables/Tamil-phonetic.bin +usr/share/scim/icons/Tamil-phonetic.png + +usr/share/scim/tables/Telugu-inscript.bin +usr/share/scim/icons/Telugu-inscript.png + +usr/share/scim/tables/LaTeX.bin +usr/share/scim/icons/LaTeX.png +usr/share/scim/tables/IPA-X-SAMPA.bin +usr/share/scim/icons/IPA-X-SAMPA.png --- scim-tables-0.5.6.orig/debian/scim-tables-ko.install +++ scim-tables-0.5.6/debian/scim-tables-ko.install @@ -0,0 +1,6 @@ +usr/share/scim/tables/Hangul.bin +usr/share/scim/tables/HangulRomaja.bin +usr/share/scim/icons/Hangul.png + +usr/share/scim/tables/Hanja.bin +usr/share/scim/icons/Hanja.png --- scim-tables-0.5.6.orig/debian/rules +++ scim-tables-0.5.6/debian/rules @@ -0,0 +1,145 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 +# +# Modified for package scim-tables by Ming Hua 2005. Some modification +# comes from Anthony Fok and Carlos Z.F. Liu. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +# Setting compiling flags +CFLAGS = -W -g +CXXFLAGS = -W -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 + CXXFLAGS += -O0 +else + CFLAGS += -O2 + CXXFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: patch-stamp configure + dh_testdir + + ln -s /usr/share/misc/config.guess config.guess + ln -s /usr/share/misc/config.sub config.sub + rm -f config.cache + + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --disable-skim-support \ + --disable-static + +build: build-stamp +build-stamp: config.status + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp install-stamp + rm -f config.guess config.sub + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + dh_clean + +patch: patch-stamp +patch-stamp: + dpatch apply-all + touch patch-stamp + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Use the upstream makefile to install everything into + # debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + # Clean up unnecessary static libraries for modules + rm debian/tmp/usr/lib/scim-1.0/1.4.0/*/*.la + + # Prepare files for different packages to separate directories + dh_install --sourcedir=debian/tmp --fail-missing + + touch install-stamp + +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_installman +# dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build install + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build install + $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common + +binary: binary-arch binary-indep + +.SUFFIXES: +.PHONY: build clean clean-patched install binary-indep binary-arch binary patch unpatch --- scim-tables-0.5.6.orig/debian/scim-tables-ja.docs +++ scim-tables-0.5.6/debian/scim-tables-ja.docs @@ -0,0 +1,4 @@ +tables/ja/kanjidic_licence.html +tables/ja/kanjidic_doc.html +AUTHORS +README --- scim-tables-0.5.6.orig/debian/scim-tables-ko.docs +++ scim-tables-0.5.6/debian/scim-tables-ko.docs @@ -0,0 +1,2 @@ +AUTHORS +README --- scim-tables-0.5.6.orig/debian/scim-tables-zh.install +++ scim-tables-0.5.6/debian/scim-tables-zh.install @@ -0,0 +1,55 @@ +usr/share/scim/tables/Array30.bin +usr/share/scim/icons/Array30.png + +usr/share/scim/tables/CangJie5.bin +usr/share/scim/tables/CangJie.bin +usr/share/scim/icons/CangJie.png + +usr/share/scim/tables/CangJie3.bin +usr/share/scim/icons/CangJie3.png + +usr/share/scim/tables/Cantonese.bin +usr/share/scim/icons/Cantonese.png + +usr/share/scim/tables/CantonHK.bin +usr/share/scim/icons/CantonHK.png + +usr/share/scim/tables/CNS11643.bin +usr/share/scim/icons/CNS11643.png + +usr/share/scim/tables/Dayi3.bin +usr/share/scim/icons/Dayi.png + +usr/share/scim/tables/Erbi.bin +usr/share/scim/icons/Erbi.png + +usr/share/scim/tables/Erbi-QS.bin +usr/share/scim/icons/Erbi-QS.png + +usr/share/scim/tables/EZ-Big.bin +usr/share/scim/icons/EZ.png + +usr/share/scim/tables/Jyutping.bin +usr/share/scim/icons/Jyutping.png + +usr/share/scim/tables/Quick.bin +usr/share/scim/icons/Quick.png + +usr/share/scim/tables/Simplex.bin +usr/share/scim/icons/Simplex.png + +usr/share/scim/tables/Stroke5.bin +usr/share/scim/icons/Stroke5.png + +usr/share/scim/tables/Wu.bin +usr/share/scim/icons/Wu.png + +usr/share/scim/tables/Wubi.bin +usr/share/scim/icons/Wubi.png + +usr/share/scim/tables/Ziranma.bin +usr/share/scim/icons/Ziranma.png + +usr/share/scim/tables/ZhuYin.bin +usr/share/scim/tables/ZhuYin-Big.bin +usr/share/scim/icons/ZhuYin.png --- scim-tables-0.5.6.orig/debian/compat +++ scim-tables-0.5.6/debian/compat @@ -0,0 +1 @@ +4 --- scim-tables-0.5.6.orig/debian/scim-tables-additional.docs +++ scim-tables-0.5.6/debian/scim-tables-additional.docs @@ -0,0 +1,2 @@ +AUTHORS +README