--- gcin-1.2.0.orig/qt-im/qgcininputcontext.h_moc.cpp +++ gcin-1.2.0/qt-im/qgcininputcontext.h_moc.cpp @@ -1,8 +1,8 @@ /**************************************************************************** ** QGCINInputContext meta object code from reading C++ file 'qgcininputcontext.h' ** -** Created: Tue Apr 25 16:30:54 2006 -** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.5 edited Sep 2 14:41 $) +** Created: Tue Jul 4 02:01:42 2006 +** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.6 edited Mar 8 17:43 $) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ @@ -14,7 +14,7 @@ #include #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26) -#error "This file was generated using the moc from 3.3.5. It" +#error "This file was generated using the moc from 3.3.6. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif --- gcin-1.2.0.orig/qt-im/qgcininputcontextplugin.h_moc.cpp +++ gcin-1.2.0/qt-im/qgcininputcontextplugin.h_moc.cpp @@ -1,8 +1,8 @@ /**************************************************************************** ** QGCINInputContextPlugin meta object code from reading C++ file 'qgcininputcontextplugin.h' ** -** Created: Tue Apr 25 16:30:52 2006 -** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.5 edited Sep 2 14:41 $) +** Created: Tue Jul 4 02:01:28 2006 +** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.6 edited Mar 8 17:43 $) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ @@ -14,7 +14,7 @@ #include #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26) -#error "This file was generated using the moc from 3.3.5. It" +#error "This file was generated using the moc from 3.3.6. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif --- gcin-1.2.0.orig/gcin.spec.tmp +++ gcin-1.2.0/gcin.spec.tmp @@ -1,7 +1,7 @@ %define release liu_mdk %define prefix /usr %define name gcin -%define version 1.1.7 +%define version 1.2.0 Summary: gcin : Chinese input method server --- gcin-1.2.0.orig/debian/menu +++ gcin-1.2.0/debian/menu @@ -0,0 +1,15 @@ +?package(gcin): \ + icon="/usr/share/pixmaps/gcin.xpm" \ + title="gcin" \ + longtitle="gcin common input method" \ + needs="x11" \ + section="Apps/System" \ + command="/usr/bin/gcin" + +?package(gcin): \ + icon="/usr/share/pixmaps/gcin.xpm" \ + title="gcin-setup" \ + longtitle="gcin-setup, for gcin input method platform" \ + needs="x11" \ + section="Apps/System" \ + command="/usr/bin/gcin-setup" --- gcin-1.2.0.orig/debian/control +++ gcin-1.2.0/debian/control @@ -0,0 +1,32 @@ +Source: gcin +Section: utils +Priority: optional +Maintainer: Wen-Yen Chuang +Build-Depends: debhelper (>= 5.0.0), libgtk2.0-dev (>= 2.10), libxtst-dev, libqt3-mt-dev, dpatch +Standards-Version: 3.6.2 + +Package: gcin +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, im-switch +Recommends: gcin-qt3-immodule +Description: a GTK+ based input method platform for Chinese users + Gcin is a input method platform, which supports GTK/QT immodule and XIM. + Gcin is focused mainly on Traditional Chinese. However, it is also very useful + for Simplified Chinese, Japanese, and many other languages. + . + Input method table format of gcin is almost as same as those of xcin and scim. + . + This package contains GTK immodules. If you want to use QT immodule, please + install gcin-qt3-immodule package. + . + Home Page: http://www.csie.nctu.edu.tw/~cp76/gcin/ + +Package: gcin-qt3-immodule +Architecture: any +Depends: ${shlibs:Depends}, gcin +Description: a QT input method module with gcin as backend + Gcin is a input method platform, which supports GTK/QT immodule and XIM. + . + This package is the QT 3.x native input method module for gcin. + . + For more information about gcin, please check the description of gcin package. --- gcin-1.2.0.orig/debian/gcin.xpm +++ gcin-1.2.0/debian/gcin.xpm @@ -0,0 +1,188 @@ +/* XPM */ +static char *gcin[] = { +/* columns rows colors chars-per-pixel */ +"32 26 156 2", +" c #000000", +". c #0A0000", +"X c #0C0C00", +"o c #130000", +"O c #1B0000", +"+ c #171700", +"@ c #1D1600", +"# c #1D1D00", +"$ c #2F0000", +"% c #370000", +"& c #3E0000", +"* c #262600", +"= c #2D2D00", +"- c #303000", +"; c #3B3400", +": c #393900", +"> c #440000", +", c #4C0400", +"< c #530000", +"1 c #5A1100", +"2 c #630000", +"3 c #690000", +"4 c #760000", +"5 c #790000", +"6 c #742C00", +"7 c #444400", +"8 c #4D4D00", +"9 c #544E00", +"0 c #535300", +"q c #5C5C00", +"w c #616100", +"e c #6C6C00", +"r c #706A00", +"t c #727200", +"y c #787200", +"u c #820000", +"i c #920000", +"p c #9D0000", +"a c #A60000", +"s c #AA0000", +"d c #B70000", +"f c #BF0000", +"g c #B42B00", +"h c #8E6B00", +"j c #C20000", +"k c #CB0000", +"l c #D20000", +"z c #DD0000", +"x c #DD0B00", +"c c #DD1402", +"v c #DE1B04", +"b c #DE2207", +"n c #DE2408", +"m c #DE2A07", +"M c #DE2B0A", +"N c #DF340E", +"B c #DF3A0F", +"V c #DF3B11", +"C c #E00000", +"Z c #E21500", +"A c #E01D00", +"S c #E32C00", +"D c #E73500", +"F c #E0360E", +"G c #E53D00", +"H c #E03D12", +"J c #E94C00", +"K c #E04214", +"L c #E04518", +"P c #E04A16", +"I c #E14B1A", +"U c #E1521E", +"Y c #E25722", +"T c #E25C25", +"R c #EA6400", +"E c #E16327", +"W c #E36A2E", +"Q c #E36C32", +"! c #E47233", +"~ c #E57438", +"^ c #E27A36", +"/ c #E57C3C", +"( c #E67E40", +") c #838300", +"_ c #8A8A00", +"` c #959400", +"' c #9B9B00", +"] c #AE8300", +"[ c #A3A500", +"{ c #A4A900", +"} c #ADB100", +"| c #B2B200", +" . c #BABA00", +".. c #CABE00", +"X. c #F08400", +"o. c #E5803D", +"O. c #E2BD00", +"+. c #E58342", +"@. c #E68B44", +"#. c #E58B4B", +"$. c #E88F4A", +"%. c #E4944D", +"&. c #E8914D", +"*. c #E79652", +"=. c #E49952", +"-. c #E89352", +";. c #E99E54", +":. c #E99C5A", +">. c #E6A45D", +",. c #E9A25C", +"<. c #E4AD64", +"1. c #EAA964", +"2. c #ECAE6C", +"3. c #EBB26F", +"4. c #E3B270", +"5. c #E4B977", +"6. c #EDB674", +"7. c #EBBA76", +"8. c #EDBC7B", +"9. c #C5C500", +"0. c #CBCB00", +"q. c #D2CB00", +"w. c #D0D000", +"e. c #DDDD00", +"r. c #E5D400", +"t. c #F2CA00", +"y. c #E2E200", +"u. c #E6EA00", +"i. c #E9E900", +"p. c #F4F400", +"a. c yellow", +"s. c #EEC27C", +"d. c #EDC483", +"f. c #EEC68B", +"g. c #EEC987", +"h. c #EECB8D", +"j. c #EFCE90", +"k. c #E5D295", +"l. c #EFD594", +"z. c #EDDA9E", +"x. c #F0C98E", +"c. c #F0CC91", +"v. c #F0D093", +"b. c #F1D59C", +"n. c #F1D89D", +"m. c #EFDDA2", +"M. c #EFDEA8", +"N. c #F2DBA1", +"B. c #F4DEAA", +"V. c #F2E0A5", +"C. c #F3E1AC", +"Z. c #F4E5B2", +"A. c #F5E9BB", +"S. c #F6EEC4", +"D. c #F7EEC9", +"F. c None", +/* pixels */ +"F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.a z z z z l < F.F.F.F.F.F.F.F.F.", +"F.F.F.F.o o o F.F.F.F.F.F.o O 3 l z v F v z k > F.o o F.F.F.F.F.", +"F.o 2 d j j j j j i 2 i j j j z z v ^ <.E x z k f j f j i % F.F.", +"> d z z z z z z z z z z z z z z z v =.k./ x z z z z z z C j & F.", +"s z z c F I F b n c z z v B P V b c E %.I x b n M V V v C z j > ", +"z z v ! 7.x.7.;.>.Y x N +.8.h.d.-.N W >.U m #.=.,.d.g.-.H z z u ", +"z x T v.Z.g.g.Z.A./ m -.C.N.d.h.4.U =.M.~ K f.S.l.d.N.Z.+.c z k ", +"z v :.A.,.K U x.D.+.U b.n.! V I I N :.Z.~ V j.S.@.B / Z.6.S z z ", +"z M 6.Z.W x v :.A.( ~ Z.2.S z z z v :.C.~ V c.v.L z Y n.8.N z z ", +"z N 8.B.T z c -.Z.( ( A.>.c z z z v :.Z.~ V x.j.K z I n.d.N z z ", +"z n 2.A./ c S 3.S.( ! Z.6.N z z x v :.Z.~ K j.j.K z Y b.d.N z z ", +"z c +.Z.x.o.&.V.D./ P x.V.&.E W Q V :.Z.~ K j.k.K z U n.d.N z z ", +"z z V 1.C.C.m.V.A./ v ( b.C.n.z.5.U =.z.! K d.d.K z U h.8.V z z ", +"z z x I / %.o.s.C.Q z S W >.6.1.^ M Y @.L n ^ o.n z N @.^ v z j ", +"z z M +.=.@.>.C.x.I z z x v S n c z x v x z c c x z z v c z z 2 ", +"z z V <.m.B.B.j.~ Z c R c z C C z z z z z J m z z z l z z z 4 F.", +"p z c U / @./ Y v z v t.g s s s s 5 F.F.F.h O.1 F., 6 , > > F.F.", +"3 z z C x x x G G D J r.0 ; y r F.` { { [ | i.} { | u.q F.F.F.F.", +"F.5 k z z z z X.r...q.p.0.9.y.0.F.0 w y e.t q | e.e w - F.F.F.F.", +"F.F.% < < < F.] _ F.* 9.* F._ ) F.F.F.+ .= F.` _ F.F.F.F.F.F.F.", +"F.F.F.F.F.F.F.) ' * 7 w.7 * ' ) F.F.F.F._ _ + e.t F.F.F.F.F.F.F.", +"F.F.F.F.F.F.F.) y.0.0.p.0.0.i.) F.F.F.F.7 w.) 0.# F.F.F.F.F.F.F.", +"F.F.F.F.F.F.F.: 7 F.= 0.= F.7 : F.F.F.F.F.[ a.) F.F.F.F.F.F.F.F.", +"F.F.F.F.F.F.F.F.F.F.# 0.# F.F.F.F.F.F.F.0 9.p.9.0 F.F.F.F.F.F.F.", +"F.F.F.F.F.F.F.F.F.F.# 9.# F.F.F.F.X 0 ` y.[ 8 | i.` 0 X F.F.F.F.", +"F.F.F.F.F.F.F.F.F.F.# 0.# F.F.F.F.' p.0.0 X F.+ _ p.p.t F.F.F.F." +}; --- gcin-1.2.0.orig/debian/prerm +++ gcin-1.2.0/debian/prerm @@ -0,0 +1,11 @@ +#!/bin/sh +# prerm script for gcin + +set -e + +#DEBHELPER# + +update-alternatives --remove xinput-zh_TW /etc/X11/xinit/xinput.d/gcin +update-alternatives --remove xinput-zh_CN /etc/X11/xinit/xinput.d/gcin + +exit 0 --- gcin-1.2.0.orig/debian/im-switch/gcin +++ gcin-1.2.0/debian/im-switch/gcin @@ -0,0 +1,10 @@ +XIM=gcin +XIM_PROGRAM=/usr/bin/gcin +XIM_ARGS= +GTK_IM_MODULE=gcin +if [ -e /usr/lib/qt3/plugins/inputmethods/libqgcin.so ]; then + QT_IM_MODULE=gcin +else + QT_IM_MODULE=xim +fi +DEPENDS= --- gcin-1.2.0.orig/debian/rules +++ gcin-1.2.0/debian/rules @@ -0,0 +1,105 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# 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) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: patch +config.status: configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --new_gtk_im=N + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/gcin.sgml > gcin.1 + + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + -$(MAKE) clean + dh_clean --exclude ./IMdkit/Xi18n_sample/README.orig \ + --exclude ./IMdkit/lib/IMConn.c~ \ + --exclude ./IMdkit/lib/Makefile~ \ + --exclude ./IMdkit/lib/i18nClbk.c~ + +patch: patch-stamp +patch-stamp: + dpatch apply-all + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + + +install: build + dh_testdir + dh_testroot + dh_clean -k --exclude ./IMdkit/Xi18n_sample/README.orig \ + --exclude ./IMdkit/lib/IMConn.c~ \ + --exclude ./IMdkit/lib/Makefile~ \ + --exclude ./IMdkit/lib/i18nClbk.c~ + dh_installdirs + + # Add here commands to install the package into debian/gcin. + $(MAKE) install DESTDIR=$(CURDIR)/debian/gcin + rm -rf debian/gcin/usr/lib/qt3 + rm -rf debian/gcin/usr/lib/menu + rm -rf debian/gcin/usr/share/doc/gcin/Changelog + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs Changelog + dh_installdocs + dh_install + dh_installmenu + dh_link usr/share/man/man1/gcin.1.gz usr/share/man/man1/gcin-setup.1.gz \ + usr/share/man/man1/gcin2tab.1.gz usr/share/man/man1/phoa2d.1.gz \ + usr/share/man/man1/gcin2tab.1.gz usr/share/man/man1/phod2a.1.gz \ + usr/share/man/man1/gcin2tab.1.gz usr/share/man/man1/tsa2d.1.gz \ + usr/share/man/man1/gcin2tab.1.gz usr/share/man/man1/tsd2a.1.gz \ + usr/share/man/man1/gcin2tab.1.gz usr/share/man/man1/tslearn.1.gz \ + usr/share/man/man1/gcin2tab.1.gz usr/share/man/man1/juyin-learn.1.gz \ + usr/share/man/man1/gcin2tab.1.gz usr/share/man/man1/sim2trad.1.gz + dh_strip + dh_compress + + # /usr/bin/gcin-setup needs README.zh_TW uncompressed. + gunzip debian/gcin/usr/share/doc/gcin/README.gz + mv debian/gcin/usr/share/doc/gcin/README debian/gcin/usr/share/doc/gcin/README.zh_TW + + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- gcin-1.2.0.orig/debian/watch +++ gcin-1.2.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.csie.nctu.edu.tw/~cp76/gcin/download/gcin-(.*)\.tar\.bz2 --- gcin-1.2.0.orig/debian/changelog +++ gcin-1.2.0/debian/changelog @@ -0,0 +1,46 @@ +gcin (1.2.0-0ubuntu4) edgy; urgency=low + + * debian/control: + - require GTK 2.10 since 10_fix-directory-structure.dpatch for the path + + -- Sebastien Bacher Thu, 3 Aug 2006 14:31:54 +0200 + +gcin (1.2.0-0ubuntu3) edgy; urgency=low + + * debian/patches/10_fix-directory-structure.dpatch: + - updated for GTK 2.10 + + -- Sebastien Bacher Wed, 2 Aug 2006 22:49:05 +0200 + +gcin (1.2.0-0ubuntu2) edgy; urgency=low + + * Rebuild for GTK 2.10 + + -- Sebastien Bacher Wed, 2 Aug 2006 22:27:56 +0200 + +gcin (1.2.0-0ubuntu1) edgy; urgency=low + + * New upstream release + * Modify 10_fix-directory-structure.dpatch to prevent Hunk during patching. + * Modify im-switch script, enable QT3 immodule automatically. + * Remove m17n-env script, because dapper and later releases no longer needs + it. + + -- Wen-Yen Chuang Fri, 2 Jun 2006 19:13:54 +0800 + +gcin (1.1.9-0ubuntu1) dapper; urgency=low + + * New upstream release + * Modify 10_fix-directory-structure.dpatch to prevent Hunk during patching. + * Modify descriptions in control file. + + -- Wen-Yen Chuang Mon, 1 May 2006 16:01:52 +0800 + +gcin (1.1.8-0ubuntu1) dapper; urgency=low + + * Initial release + * Applied 10_fix-directory-structure.dpatch to fix configuration and + installation paths. + + -- Wen-Yen Chuang Sat, 15 Apr 2006 21:35:29 +0800 + --- gcin-1.2.0.orig/debian/postinst +++ gcin-1.2.0/debian/postinst @@ -0,0 +1,20 @@ +#!/bin/sh +# postinst script for gcin + +set -e + +update-alternatives \ + --install /etc/X11/xinit/xinput.d/zh_TW xinput-zh_TW \ + /etc/X11/xinit/xinput.d/gcin 50 + +update-alternatives \ + --install /etc/X11/xinit/xinput.d/zh_CN xinput-zh_CN \ + /etc/X11/xinit/xinput.d/gcin 50 + +if [ "$1" = "configure" ]; then + /usr/sbin/update-gtk-immodules +fi + +#DEBHELPER# + +exit 0 --- gcin-1.2.0.orig/debian/compat +++ gcin-1.2.0/debian/compat @@ -0,0 +1 @@ +5 --- gcin-1.2.0.orig/debian/postrm +++ gcin-1.2.0/debian/postrm @@ -0,0 +1,12 @@ +#!/bin/sh +# postrm script for gcin + +set -e + +#DEBHELPER# + +if [ "$1" = "remove" ]; then + /usr/sbin/update-gtk-immodules +fi + +exit 0 --- gcin-1.2.0.orig/debian/patches/10_fix-directory-structure.dpatch +++ gcin-1.2.0/debian/patches/10_fix-directory-structure.dpatch @@ -0,0 +1,102 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_fix-directory-structure.dpatch by +##DP +##DP Makefile: Fix icon installation path, +##DP from /usr/share/icons into /usr/share/pixmaps. +##DP +##DP configure: Fix paths in configuration script, includes +##DP QT3, documents, and icons. +##DP +##DP gcin-setup.c: Binary gcin-setup reads README file. +##DP However, this file is written in Traditional Chinese. +##DP Rename README into README.zh_TW to meet Debian style. +##DP +##DP gtk-im/Makefile: Fix GTK immodule installation path. +##DP +##DP qt-im/Makefile: Fix paths for QT3 headers and /usr/bin/moc-qt3. +##DP + +@DPATCH@ +--- gcin-1.2.0.orig/Makefile ++++ gcin-1.2.0/Makefile +@@ -99,8 +99,8 @@ + install $(PROGS) $(bindir) + + install: +- install -d $(datadir)/icons +- install gcin.png $(datadir)/icons ++ install -d $(datadir)/pixmaps ++ install -m 644 gcin.png $(datadir)/pixmaps + install -d $(GCIN_ICON_DIR_i) + install -m 644 icons/* $(GCIN_ICON_DIR_i) + install -d $(bindir) +--- gcin-1.2.0.orig/configure ++++ gcin-1.2.0/configure +@@ -82,7 +82,7 @@ + QT_IM='N' + for i in qt3 qt4 + do +- QT_IM_DIR=/usr/lib/$i/plugins/$LIB/inputmethods ++ QT_IM_DIR=/usr/lib/$i/plugins/inputmethods + echo "testing if you have QT_IM_MODULE dir:$QT_IM_DIR support" + if [ -d $QT_IM_DIR ]; then + QT_IM='Y' +@@ -150,11 +150,11 @@ + echo "GCIN_SCRIPT_DIR=\$(datadir_r)/gcin/script" >> config.mak + echo "GCIN_SCRIPT_DIR_i=\$(datadir)/gcin/script" >> config.mak + echo "OPTFLAGS=$OPTFLAGS" >> config.mak +-echo "DOC_DIR=\$(datadir_r)/doc/gcin-$GCIN_VERSION" >> config.mak +-echo "DOC_DIR_i=\$(datadir)/doc/gcin-$GCIN_VERSION" >> config.mak +-echo "GCIN_ICON_DIR=\$(datadir_r)/icons/gcin" >> config.mak +-echo "SYS_ICON_DIR=\$(datadir_r)/icons" >> config.mak +-echo "GCIN_ICON_DIR_i=\$(datadir)/icons/gcin" >> config.mak ++echo "DOC_DIR=\$(datadir_r)/doc/gcin" >> config.mak ++echo "DOC_DIR_i=\$(datadir)/doc/gcin" >> config.mak ++echo "GCIN_ICON_DIR=\$(datadir_r)/pixmaps/gcin" >> config.mak ++echo "SYS_ICON_DIR=\$(datadir_r)/pixmaps" >> config.mak ++echo "GCIN_ICON_DIR_i=\$(datadir)/pixmaps/gcin" >> config.mak + echo "GCIN_BIN_DIR=\$(bindir_r)" >> config.mak + echo "FREEBSD=$FREEBSD" >> config.mak + echo "QT_IM=$QT_IM" >> config.mak +--- gcin-1.1.9.orig/gcin-setup.c ++++ gcin-1.1.9/gcin-setup.c +@@ -204,7 +204,7 @@ + + static void cb_help() + { +- utf8_editor(DOC_DIR"/README"); ++ utf8_editor(DOC_DIR"/README.zh_TW"); + } + + struct { +--- gcin-1.1.8.orig/gtk-im/Makefile ++++ gcin-1.1.8/gtk-im/Makefile +@@ -1,7 +1,7 @@ + include ../config.mak + + OBJS = imgcin.o gtkimcontextgcin.o +-GTK2IM=gtk-2.0/immodules ++GTK2IM=gtk-2.0/2.10.0/immodules + IMMODULES=$(libdir)/$(GTK2IM) + IMMODULES_LOCAL=/usr/$(LIB)/$(GTK2IM) + +--- gcin-1.1.8.orig/qt-im/Makefile ++++ gcin-1.1.8/qt-im/Makefile +@@ -6,7 +6,7 @@ + else + IMMODULES_LOCAL=/usr/lib/$(QTIM) + endif +-INCS=-I../im-client -I/usr/lib/$(QT)/include -I/usr/include/Xft2/X11/Xft -I/usr/include/fontconfig -I/usr/include/freetype2 ++INCS=-I../im-client -I/usr/include/$(QT) -I/usr/include/Xft2/X11/Xft -I/usr/include/fontconfig -I/usr/include/freetype2 + CXXFLAGS=$(OPTFLAGS) $(INCS) -Wall -D_REENTRANT -fPIC -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG + OBJS=qgcininputcontextplugin.o qgcininputcontextplugin_my.o qgcininputcontext.o qgcininputcontext_x11.o + .SUFFIXES: .c .cpp .a .so .E .h +@@ -18,7 +18,7 @@ + .cpp.E: + $(CXX) -E $(CFLAGS) $(INCS) $< > $@ + .h.o: +- /usr/lib/$(QT)/bin/moc $< -o $<_moc.cpp ++ /usr/bin/moc-$(QT) $< -o $<_moc.cpp + $(CXX) -c -pipe $(CXXFLAGS) $(INCS) $<_moc.cpp -o $@ + + libqgcin.so: $(OBJS) --- gcin-1.2.0.orig/debian/patches/00list +++ gcin-1.2.0/debian/patches/00list @@ -0,0 +1 @@ +10_fix-directory-structure.dpatch --- gcin-1.2.0.orig/debian/copyright +++ gcin-1.2.0/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Wen-Yen Chuang on +Sat, 15 Apr 2006 21:35:29 +0800. + +It was downloaded from http://www.csie.nctu.edu.tw/~cp76/gcin/download/ + +Upstream Author: Edward Der-Hua Liu + +Copyright: + Copyright (C) 1994 Digital Equipment Corporation, Maynard, Massachusetts + Copyright (C) 1994 FUJITSU LIMITED + Copyright (C) 1994 Hewlett-Packard Company + Copyright (C) 1994 Philip Homburg + Copyright (C) 1994 X Consortium + Copyright (C) 1995 Sun Microsystems, Inc. + Copyright (C) 1996 Holger Veit + Copyright (C) 1996 Sebastien Marineau + +License: + 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 can be found in `/usr/share/common-licenses/LGPL-2.1'. --- gcin-1.2.0.orig/debian/install +++ gcin-1.2.0/debian/install @@ -0,0 +1,2 @@ +debian/im-switch/gcin etc/X11/xinit/xinput.d +debian/gcin.xpm /usr/share/pixmaps --- gcin-1.2.0.orig/debian/gcin-qt3-immodule.install +++ gcin-1.2.0/debian/gcin-qt3-immodule.install @@ -0,0 +1 @@ +qt-im/libqgcin.so usr/lib/qt3/plugins/inputmethods