debian/0000775000000000000000000000000012627542733007203 5ustar debian/gcin.docs0000664000000000000000000000001412607642604010764 0ustar README.html debian/gbp.conf0000664000000000000000000000003612607642604010615 0ustar [DEFAULT] pristine-tar = True debian/gcin.manpages0000664000000000000000000000041412607642604011633 0ustar man/gcin.1 man/gcin2tab.1 man/gcin-exit.1 man/gcin-gb-toggle.1 man/gcin-kbm-toggle.1 man/gcin-message.1 man/gcin-tools.1 man/gtab-merge.1 man/juyin-learn.1 man/phoa2d.1 man/sim2trad.1 man/tsa2d32.1 man/tslearn.1 man/ts-contribute.1 man/ts-edit.1 man/txt2gtab-phrase.1 debian/gcin-qt5-immodule.install0000664000000000000000000000001612607642604014024 0ustar usr/lib/*/qt5 debian/gcin-dev.install0000664000000000000000000000004712607642604012264 0ustar im-client/gcin-im-client.h usr/include debian/gcin-gtk3-immodule.postrm0000664000000000000000000000051412607656342014050 0ustar #!/bin/sh set -e set -u GTK_QUERY_IMMODULES=/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 if [ -x $GTK_QUERY_IMMODULES ]; then case "$1" in remove|purge) $GTK_QUERY_IMMODULES --update-cache ;; esac else echo "Cannot find $GTK_QUERY_IMMODULES" >&2 fi #DEBHELPER# exit 0 debian/gcin-gtk-immodule.postinst.in0000664000000000000000000000044412607642604014727 0ustar #!/bin/sh set -e set -u GTK_QUERY_IMMODULES=%%GTK_QUERY_IMMODULES%% if [ -x $GTK_QUERY_IMMODULES ]; then case "$1" in configure) $GTK_QUERY_IMMODULES --update-cache ;; esac else echo "Cannot find $GTK_QUERY_IMMODULES" >&2 fi #DEBHELPER# exit 0 debian/gcin.xpm0000664000000000000000000001041612607642604010647 0ustar /* 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." }; debian/gcin.prerm0000664000000000000000000000067712607642604011200 0ustar #!/bin/sh # prerm script for gcin set -e ua_remove () { update-alternatives \ --remove xinput-$1 \ /etc/X11/xinit/xinput.d/$2 ; } case "$1" in remove|deconfigure) ua_remove all_ALL gcin ua_remove zh_CN gcin ua_remove ja_JP gcin ua_remove zh_TW gcin ;; failed-upgrade|upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/gcin.install0000664000000000000000000000016212607642604011506 0ustar usr/bin usr/share/applications debian/gcin.xpm usr/share/pixmaps debian-pkg/im-switch/gcin etc/X11/xinit/xinput.d debian/gcin-gtk-immodule.postrm.in0000664000000000000000000000044712607642604014373 0ustar #!/bin/sh set -e set -u GTK_QUERY_IMMODULES=%%GTK_QUERY_IMMODULES%% if [ -x $GTK_QUERY_IMMODULES ]; then case "$1" in remove|purge) $GTK_QUERY_IMMODULES --update-cache ;; esac else echo "Cannot find $GTK_QUERY_IMMODULES" >&2 fi #DEBHELPER# exit 0 debian/gcin.postinst0000664000000000000000000000104412607642604011723 0ustar #!/bin/sh # postinst script for gcin set -e ua_inst () { update-alternatives \ --install /etc/X11/xinit/xinput.d/$1 xinput-$1 \ /etc/X11/xinit/xinput.d/$2 $3 ; } case "$1" in configure) # Set up default ua_inst all_ALL gcin 0 ua_inst zh_CN gcin 30 ua_inst ja_JP gcin 30 ua_inst zh_TW gcin 50 ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/compat0000664000000000000000000000000212607642604010375 0ustar 9 debian/gcin-gtk3-immodule.postinst0000664000000000000000000000051112607656342014404 0ustar #!/bin/sh set -e set -u GTK_QUERY_IMMODULES=/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 if [ -x $GTK_QUERY_IMMODULES ]; then case "$1" in configure) $GTK_QUERY_IMMODULES --update-cache ;; esac else echo "Cannot find $GTK_QUERY_IMMODULES" >&2 fi #DEBHELPER# exit 0 debian/gcin-qt4-immodule.install0000664000000000000000000000001612607642604014023 0ustar usr/lib/*/qt4 debian/source/0000775000000000000000000000000012607642604010477 5ustar debian/source/format0000664000000000000000000000001412607642604011705 0ustar 3.0 (quilt) debian/gcin-data.install0000664000000000000000000000013612607642604012416 0ustar usr/share/gcin/script usr/share/icons/gcin debian/gcin.svg usr/share/icons/hicolor/64x64/apps debian/patches/0000775000000000000000000000000012607654174010633 5ustar debian/patches/Use-qtchooser.patch0000664000000000000000000000154312607645253014416 0ustar Description: Use qtchooser to find moc --- a/configure +++ b/configure @@ -314,13 +314,7 @@ mv gcin.spec gcin.spec.tmp grep -v qt4/plugins/inputmethods gcin.spec.tmp > gcin.spec else - for i in /usr/share/qt4/bin/moc /usr/lib/qt4/bin/moc /usr/lib64/qt4/bin/moc /usr/bin/moc - do - [ ! -x $i ] && continue - QT4_MOC=$i - echo "QT4_MOC=$QT4_MOC" - break - done + QT4_MOC="qtchooser -run-tool=moc -qt=4" fi @@ -328,13 +322,7 @@ mv gcin.spec gcin.spec.tmp grep -v qt5/plugins/inputmethods gcin.spec.tmp > gcin.spec else - for i in /usr/share/qt5/bin/moc /usr/lib/qt5/bin/moc /usr/lib/x86_64-linux-gnu/qt5/bin/moc /usr/lib/i386-linux-gnu/qt5/bin/moc /usr/lib64/qt5/bin/moc /usr/bin/moc - do - [ ! -x $i ] && continue - QT5_MOC=$i - echo "QT5_MOC=$QT5_MOC" - break - done + QT5_MOC="qtchooser -run-tool=moc -qt=5" fi debian/patches/02_txt2gtab-phrase_manpage.patch0000664000000000000000000000263512607642604016665 0ustar Description: Add manpage for txt2grab-phrase Not yet pushed to upstream. Author: Yao Wei (魏銘廷) Forwarded: http://hyperrate.com/thread.php?tid=27632 Last-Update: 2012-07-11 --- /dev/null +++ b/man/txt2gtab-phrase.1 @@ -0,0 +1,66 @@ +.TH GCIN 1 "11 JUL 2012" "GCIN 2.7.8" "gcin input method platform" + + + +.SH NAME +txt2gtab-phrase \- gcin's phrase builder for table-based input methods + + + +.SH SYNOPSIS +.B txt2gtab-phrase +textfile +gtab +outfile + + + +.SH DESCRIPTION +.B txt2gtab-phrase +is a tool to generate input method table for specific phrases. + +.PP +By inputing line-delimited phrases and a input method gtab file, +it generates a input method table for the phrases according to the gtab file. + + + +.SH EXAMPLES +Provide that we have a list named list.txt below: + +.RS +.nf +心情好 +我是個好人 +.fi +.RE + +.PP +and a CJ543 input method table provided with gcin. By running: + +.RS +txt2gtab-phrase list.txt cj543.gtab output.gtab +.RE + +.PP +We have the result output.gtab below: + +.RS +.nf +!!!!gtab-keys 6 5 abcdefghijklmnopqrstuvwxyz',.;/[]()~!: + +心情好 p pqb vnd 0 +心情好 p pqmb vnd 0 +我是個好人 hqi amo owjr vnd o 0 +我是個好人 hqi amyo owjr vnd o 0 +我是個好人 hqi amo owr vnd o 0 +我是個好人 hqi amyo owr vnd o 0 +.fi +.RE + + + +.SH SEE ALSO +.BR gcin (1). +.SH AUTHOR +txt2gtab-phrase is written by Edward Der-Hua Liu . debian/patches/FTBFS_mips_powerpc_s390x.patch0000664000000000000000000000063712607645100016250 0ustar Description: Fix FTBFS on mips, powerpc, s390x For some unknown reason, after right shifting, v is still greater than 256. It is possible cause by implementing right shift with rotation. . This patch just uses mask to fix v. --- a/tsa2d32.cpp +++ b/tsa2d32.cpp @@ -627,6 +627,8 @@ v = kk64 >> TSIN_HASH_SHIFT_64; } + v &= 0xff; + if (v >= TSIN_HASH_N) p_err("error found %d", v); debian/patches/reproducible-build.patch0000664000000000000000000000075612607642604015433 0ustar Description: Remove __DATE__ for reproducible build --- gcin-2.8.3+dfsg1.orig/about.cpp +++ gcin-2.8.3+dfsg1/about.cpp @@ -143,7 +143,7 @@ static struct { image = gtk_image_new_from_file (gcin_png); #endif - label_version = gtk_label_new ("version " GCIN_VERSION " " __DATE__); + label_version = gtk_label_new ("version " GCIN_VERSION); gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 3); gtk_box_pack_start (GTK_BOX (hbox), label_version, FALSE, FALSE, 3); debian/patches/DFSG-Remove-dayi3.patch0000664000000000000000000000115612607642604014637 0ustar Description: Remove dayi3 to compliant with DFSG --- gcin-2.8.3+dfsg1.orig/data/Makefile +++ gcin-2.8.3+dfsg1/data/Makefile @@ -6,7 +6,7 @@ export NO_GTK_INIT= export GCIN_NO_RELOAD= DATA=pho.tab2 tsin32.idx NewCJ3.gtab \ - cj.gtab ar30.gtab ar30-big.gtab dayi3.gtab pinyin.gtab jyutping.gtab cj5.gtab \ + cj.gtab ar30.gtab ar30-big.gtab pinyin.gtab jyutping.gtab cj5.gtab \ et.kbm et26.kbm zo.kbm pinyin.kbm dvorak.kbm mitac.kbm colemak.kbm \ ibm.kbm tsin32 hsu.kbm pho-huge.tab2 simplex.gtab symbols.gtab russian.gtab \ greek.gtab cj-punc.gtab latin-letters.gtab tsin-1.src pin-juyin.xlt \ debian/patches/01_pass_flags.patch0000664000000000000000000001410112607654174014273 0ustar Description: Pass CFLAGS and LDFLAGS to compiler and linker For Debian hardening flags. . Mentioned, but not yet push to upstream. Some hardening lintian warning still appears. Author: Yao Wei (魏銘廷) Forwarded: http://hyperrate.com/thread.php?tid=27601 Last-Update: 2013-08-02 --- a/configure +++ b/configure @@ -38,7 +38,7 @@ FREEBSD=1 fi -SO_FLAGS="-Wl,--as-needed -shared" +SO_FLAGS="$CFLAGS $LDFLAGS -fPIC -Wl,--as-needed -shared" MAC_OS=0 uname | grep Darwin > /dev/null 2> /dev/null if [ $? = 0 ]; then @@ -365,7 +365,9 @@ echo "libdir=\$(DESTDIR)$libdir" >> config.mak echo "gcinlibdir=\$(DESTDIR)$gcinlibdir" >> config.mak echo "includedir=\$(DESTDIR)$includedir" >> config.mak -echo "LDFLAGS=-Wl,--as-needed $GTKLDFLAGS -lX11 -ldl -lm" >> config.mak +echo "CFLAGS=$CFLAGS $CPPFLAGS" >> config.mak +echo "CXXFLAGS=$CXXFLAGS $CPPFLAGS" >> config.mak +echo "LDFLAGS=$LDFLAGS -Wl,--as-needed $GTKLDFLAGS -lX11 -ldl -lm" >> config.mak echo "GCIN_VERSION=$GCIN_VERSION" >> config.mak echo "GCIN_TABLE_DIR=\$(datadir_r)/gcin/table" >> config.mak echo "GCIN_OGG_DIR=\$(datadir_r)/gcin/ogg" >> config.mak --- a/qt4-im/Makefile +++ b/qt4-im/Makefile @@ -4,11 +4,11 @@ IMMODULES=$(libdir)/$(DEB_BUILD_MULTIARCH)/$(QTIM) INCS=-I../im-client -I/usr/include/X11 `pkg-config QtCore QtGui --cflags` -CXXFLAGS=$(OPTFLAGS) $(INCS) -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT4 -DQT_SHARED \ +CXXFLAGS+=$(OPTFLAGS) $(INCS) -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT4 -DQT_SHARED \ -DQT_IMMODULE -DPIC OBJS= moc_gcin-qt.o gcin-qt.o im-gcin-qt.o gcin-imcontext-qt.o .SUFFIXES: .c .cpp .a .so .E .h -LDFLAGS=-L../im-client -lgcin-im-client `pkg-config QtCore QtGui --libs` +LDFLAGS+=-L../im-client -lgcin-im-client `pkg-config QtCore QtGui --libs` all: im-gcin.so .cpp.E: --- a/suffixes-rule +++ b/suffixes-rule @@ -12,7 +12,8 @@ $(CCX) $(CFLAGS) -E -o $@ $< -CFLAGS= -DUNIX=1 $(WALL) $(OPTFLAGS) $(GTKINC) -I./IMdkit/include -I./im-client -DDEBUG="0$(GCIN_DEBUG)" \ +CFLAGS+= \ + -DUNIX=1 $(WALL) $(OPTFLAGS) $(GTKINC) -I./IMdkit/include -I./im-client -DDEBUG="0$(GCIN_DEBUG)" \ -DGCIN_TABLE_DIR=\"$(GCIN_TABLE_DIR)\" \ -DGCIN_OGG_DIR=\"$(GCIN_OGG_DIR)\" \ -DDOC_DIR=\"$(DOC_DIR)\" \ --- a/gtk-im/Makefile +++ b/gtk-im/Makefile @@ -13,7 +13,7 @@ endif .SUFFIXES: .c .o .E -CFLAGS = $(OPTFLAGS) $(EXTRA_INC) $(GTKINC) -I../im-client -I.. -DUNIX=1 \ +CFLAGS += $(OPTFLAGS) $(EXTRA_INC) $(GTKINC) -I../im-client -I.. -DUNIX=1 \ -I../IMdkit/include -DCLIENT_LIB=1 -DMAC_OS=$(MAC_OS) -DFREEBSD=$(FREEBSD) .c.o: --- a/gtk3-im/Makefile +++ b/gtk3-im/Makefile @@ -14,7 +14,7 @@ endif .SUFFIXES: .c .o .E -CFLAGS = $(OPTFLAGS) $(EXTRA_INC) $(GTKINC) -I../im-client -I.. -DUNIX=1 \ +CFLAGS += $(OPTFLAGS) $(EXTRA_INC) $(GTKINC) -I../im-client -I.. -DUNIX=1 \ -I../IMdkit/include -DCLIENT_LIB=1 -DMAC_OS=$(MAC_OS) -DFREEBSD=$(FREEBSD) .c.o: --- a/data/Makefile +++ b/data/Makefile @@ -1,7 +1,7 @@ include ../config.mak .SUFFIXES: .kbmsrc .kbm .cin .gtab -CFLAGS= -DUNIX=1 $(WALL) $(OPTFLAGS) $(GTKINC) -I.. -DDEBUG="0$(GCIN_DEBUG)" +CFLAGS += -DUNIX=1 $(WALL) $(OPTFLAGS) $(GTKINC) -I.. -DDEBUG="0$(GCIN_DEBUG)" export NO_GTK_INIT= export GCIN_NO_RELOAD= --- a/im-client/Makefile +++ b/im-client/Makefile @@ -5,7 +5,7 @@ .SUFFIXES: .c .o .E .cpp WALL=-Wall -CFLAGS= -DUNIX=1 $(WALL) $(OPTFLAGS) -I. -I.. -I../IMdkit/include $(GTKINC) \ +CFLAGS += -DUNIX=1 $(WALL) $(OPTFLAGS) -I. -I.. -I../IMdkit/include $(GTKINC) \ -DCLIENT_LIB=1 -DGCIN_BIN_DIR=\"$(GCIN_BIN_DIR)\" -DUNIX=1 \ -DDEBUG="0$(GCIN_DEBUG)" -DGCIN_TABLE_DIR=\"$(GCIN_TABLE_DIR)\" \ -DFREEBSD=$(FREEBSD) -fPIC --- a/IMdkit/lib/Makefile +++ b/IMdkit/lib/Makefile @@ -1,7 +1,7 @@ include ../../config.mak #CFLAGS = -c -O2 -fno-strength-reduce -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DUNIXCONN -DTCPCONN -DXIM_t -DTRANS_SERVER -CFLAGS = -c $(OPTFLAGS) -fno-strength-reduce -DXIM_t -DTRANS_SERVER +CFLAGS += -c $(OPTFLAGS) -fno-strength-reduce -DXIM_t -DTRANS_SERVER INC = -I../include -I/usr/X11R6/include --- a/qt-im/Makefile +++ b/qt-im/Makefile @@ -3,7 +3,7 @@ QTIM=$(QT)/plugins/inputmethods IMMODULES=$(libdir)/$(QTIM) INCS=-I../im-client -I/usr/include `pkg-config --cflags qt-mt` -I/usr/include/Xft2/X11/Xft -I/usr/include/fontconfig -I/usr/include/freetype2 -CXXFLAGS=$(OPTFLAGS) $(INCS) -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_NO_DEBUG +CXXFLAGS+=$(OPTFLAGS) $(INCS) -Wall -D_REENTRANT -DUNIX=1 -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 LDFLAGS=-L../im-client -lgcin-im-client -Wl,-rpath,$(gcinlibdir) `pkg-config qt-mt --libs` --- a/qt5-im/Makefile +++ b/qt5-im/Makefile @@ -6,13 +6,12 @@ INCS=-I../im-client -I/usr/include/X11 `pkg-config Qt5Core Qt5Gui Qt5PlatformSupport QtDBus --cflags` # dirty fix for ubuntu 14.04, pkg-config Qt5Gui --cflags return -I/usr/include/qt5/QtGui, missing 5.2.1/QtGui MODVERSION=`pkg-config --modversion Qt5Gui` -INCS+=-I/usr/include/qt5/QtGui/$(MODVERSION)/QtGui -I/usr/include/i386-linux-gnu/qt5/QtGui/$(MODVERSION)/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtGui/$(MODVERSION)/QtGui -INCS+=-I/usr/include/x86_64-linux-gnu/qt5/QtGui/$(MODVERSION)/QtGui +INCS+=-I`pkg-config --variable=includedir Qt5Gui`/QtGui/$(MODVERSION)/QtGui -CXXFLAGS=$(OPTFLAGS) $(INCS) -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT5 -DQT_SHARED -DQT_IMMODULE -DPIC -DDEBUG="0$(GCIN_DEBUG)" +CXXFLAGS+=$(OPTFLAGS) $(INCS) -Wall -D_REENTRANT -DUNIX=1 -fPIC -DQT5 -DQT_SHARED -DQT_IMMODULE -DPIC -DDEBUG="0$(GCIN_DEBUG)" OBJS= moc_gcin-qt5.o gcin-qt5.o gcin-imcontext-qt5.o moc_qgcinplatforminputcontext.o .SUFFIXES: .c .cpp .a .so .E .h -LDFLAGS=-L../im-client -lgcin-im-client `pkg-config Qt5Core Qt5Gui Qt5PlatformSupport --libs` +LDFLAGS+=-L../im-client -lgcin-im-client `pkg-config Qt5Core Qt5Gui Qt5PlatformSupport --libs` GCIN_QT5 = libgcinplatforminputcontextplugin.so debian/patches/series0000664000000000000000000000037012607642604012043 0ustar 01_pass_flags.patch 02_txt2gtab-phrase_manpage.patch 03_gcin-tools_desktop_keyword_entry.patch 04_fix-sparc-build.patch fix-ftbfs-on-kfreebsd.patch FTBFS_mips_powerpc_s390x.patch DFSG-Remove-dayi3.patch Use-qtchooser.patch reproducible-build.patch debian/patches/04_fix-sparc-build.patch0000664000000000000000000000105112607644674015151 0ustar Description: Fix sparc build by removing lib64 path detection Not yet pushed to upstream Author: Yao Wei (魏銘廷) Last-Update: 2013-10-01 --- a/configure +++ b/configure @@ -197,11 +197,11 @@ LIB='lib' -if [ -d /usr/lib64 -a -d /lib64 -a ! -d /lib/x86_64-linux-gnu ]; then -LIB='lib64' -# for fedora 64bit -GTK_QUERY_IM_64='-64' -fi +#if [ -d /usr/lib64 -a -d /lib64 -a ! -d /lib/x86_64-linux-gnu ]; then +#LIB='lib64' +## for fedora 64bit +#GTK_QUERY_IM_64='-64' +#fi QT_IM='N' QT_IM_DIR=/usr/$LIB/qt3/plugins/inputmethods debian/patches/03_gcin-tools_desktop_keyword_entry.patch0000664000000000000000000000050712607642604020747 0ustar Description: Add keyword entry to gcin configuration tool Not yet pushed to upstream Author: Yao Wei (魏銘廷) Last-Update: 2013-08-02 --- a/menu/gcin-tools.desktop +++ b/menu/gcin-tools.desktop @@ -13,3 +13,4 @@ Type=Application StartupNotify=true Categories=Settings; +Keywords=input;ime;gcin;keyboard; debian/patches/fix-ftbfs-on-kfreebsd.patch0000664000000000000000000000040312607644777015746 0ustar Description: Fix FTBFS on kfreebsd-* --- a/configure +++ b/configure @@ -28,7 +28,7 @@ fi FREEBSD=0 -uname | grep FreeBSD > /dev/null 2> /dev/null +uname | grep FreeBSD | grep -v GNU/kFreeBSD > /dev/null 2> /dev/null if [ $? = 0 ]; then FREEBSD=1 fi debian/gcin.links0000664000000000000000000000073112607642604011162 0ustar usr/share/man/man1/phoa2d.1.gz usr/share/man/man1/phod2a.1.gz usr/share/man/man1/sim2trad.1.gz usr/share/man/man1/trad2sim.1.gz usr/share/man/man1/tsa2d32.1.gz usr/share/man/man1/tsd2a.1.gz usr/share/man/man1/tsa2d32.1.gz usr/share/man/man1/tsd2a32.1.gz usr/share/man/man1/tsa2d32.1.gz usr/share/man/man1/tsin2gtab-phrase.1.gz usr/share/man/man1/ts-edit.1.gz usr/share/man/man1/ts-edit-en.1.gz usr/share/man/man1/ts-contribute.1.gz usr/share/man/man1/ts-contribute-en.1.gz debian/control0000664000000000000000000001217212627542103010600 0ustar Source: gcin Section: utils Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: IME Packaging Team Uploaders: Yao Wei (魏銘廷) , ChangZhuo Chen (陳昌倬) , Homepage: http://hyperrate.com/dir.php?eid=67 Build-Depends: debhelper (>= 9), autotools-dev, dpkg-dev (>= 1.16.1~), libanthy-dev, libappindicator3-dev, libgtk2.0-dev (>= 2.20.0), libgtk-3-dev, libqt4-dev, libxtst-dev, qtbase5-private-dev, qtchooser, Standards-Version: 3.9.6 Vcs-Git: git://anonscm.debian.org/pkg-ime/gcin.git Vcs-Browser: http://anonscm.debian.org/cgit/pkg-ime/gcin.git Package: gcin Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends}, gcin-data, gcin-tables, libgcin, Recommends: im-config, gcin-gtk2-immodule, gcin-gtk3-immodule, Suggests: gcin-anthy, gcin-qt4-immodule, gcin-qt5-immodule, gcin-voice, Description: GTK+ based input method for Chinese users gcin is a GTK+ based input method which focused mainly on Traditional Chinese. However, it is also very useful for Simplified Chinese, Japanese, and many other languages. . To use gcin, the correspondence immodule packages also need to be installed. They are: . * gcin-gtk2-immodule for GTK2 * gcin-gtk3-immodule for GTK3 * gcin-qt4-immodule for Qt4 * gcin-qt5-immodule for Qt5 Package: gcin-data Architecture: all Depends: ${misc:Depends}, Replaces: gcin (<< 2.7.2+dfsg-1) Breaks: gcin (<< 2.7.2+dfsg-1) Description: icons and scripts for gcin gcin is a GTK+ based input method which focused mainly on Traditional Chinese. However, it is also very useful for Simplified Chinese, Japanese, and many other languages. . This package contains icons, scripts and other architecture-independent things. Package: gcin-tables Architecture: any Depends: ${misc:Depends}, Replaces: gcin (<< 2.7.2+dfsg-1) Breaks: gcin (<< 2.7.2+dfsg-1) Description: input method tables for gcin gcin is a GTK+ based input method which focused mainly on Traditional Chinese. However, it is also very useful for Simplified Chinese, Japanese, and many other languages. . This package contains architecture-dependent input method tables. Package: libgcin Architecture: any Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends}, Description: library for gcin gcin is a GTK+ based input method which focused mainly on Traditional Chinese. However, it is also very useful for Simplified Chinese, Japanese, and many other languages. . This package contains library for gcin. Package: gcin-gtk2-immodule Architecture: any Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends}, gcin (>= ${source:Version}), Breaks: gcin (<< 2.8.3+dfsg1-1) Replaces: gcin (<< 2.8.3+dfsg1-1) Description: GTK2 input method module with gcin as backend gcin is a GTK+ based input method which focused mainly on Traditional Chinese. However, it is also very useful for Simplified Chinese, Japanese, and many other languages. . This package is the GTK2 input method module (immodule) for gcin. Package: gcin-gtk3-immodule Architecture: any Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends}, gcin (>= ${source:Version}), Description: GTK3 input method module with gcin as backend gcin is a GTK+ based input method which focused mainly on Traditional Chinese. However, it is also very useful for Simplified Chinese, Japanese, and many other languages. . This package is the GTK3 input method module (immodule) for gcin. Package: gcin-qt4-immodule Architecture: any Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends}, gcin (>= ${source:Version}), Description: Qt4 input method module with gcin as backend gcin is a GTK+ based input method which focused mainly on Traditional Chinese. However, it is also very useful for Simplified Chinese, Japanese, and many other languages. . This package is the Qt4 input method module (immodule) for gcin. Package: gcin-qt5-immodule Architecture: any Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends}, gcin (>= ${source:Version}), Description: Qt5 input method module with gcin as backend gcin is a GTK+ based input method which focused mainly on Traditional Chinese. However, it is also very useful for Simplified Chinese, Japanese, and many other languages. . This package is the Qt5 input method module (immodule) for gcin. Package: gcin-anthy Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, gcin (>= ${source:Version}), anthy, Replaces: gcin (<< 2.7.2+dfsg-1) Breaks: gcin (<< 2.7.2+dfsg-1) Description: support library to use Anthy in gcin gcin is a GTK+ based input method which focused mainly on Traditional Chinese. However, it is also very useful for Simplified Chinese, Japanese, and many other languages. . This package is the support library to use anthy in gcin. debian/gcin.svg0000664000000000000000000004704612607642604010653 0ustar image/svg+xml debian/gcin-gtk2-immodule.install0000664000000000000000000000002212607642604014157 0ustar usr/lib/*/gtk-2.0 debian/watch0000664000000000000000000000016712607642604010234 0ustar version=3 opts=dversionmangle=s/\+dfsg\d*//,repacksuffix=+dfsg1 \ http://hyperrate.com/gcin-source/ gcin-(.*)\.tar\.xz debian/gcin-anthy.install0000664000000000000000000000003712607642604012630 0ustar usr/lib/*/gcin/anthy-module.so debian/gcin-gtk3-immodule.install0000664000000000000000000000002212607642604014160 0ustar usr/lib/*/gtk-3.0 debian/copyright0000664000000000000000000004511212607642604011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gcin Upstream-Contact: Edward Der-Hua Liu Source: http://www.csie.nctu.edu.tw/~cp76/gcin/download/ Files-Excluded: data/dayi3.cin Comment: Dayi input method is removed because it is dfsg non-free. (See #652553) Files: * Copyright: 2011-2012 Edward Der-Hua Liu License: LGPL-2.1 Files: debian/* Copyright: 2009 Wen-Yen Chuang 2011 Kan-Ru Chen 2011-2012 Yao Wei 2014-2015 ChangZhuo Chen (陳昌倬) License: GPL-2+ Files: eggtrayicon.cpp eggtrayicon.h Copyright: 2002 Anders Carlsson License: LGPL-2.1+ Files: data/jyutping.cin Copyright: 2001 Linguistic Society of Hong Kong License: jyutping This cin file is originally converted from the "phrase box" file available on the Linguistic Society of Hong Kong's website: http://www.hku.hk/linguist/lshk/ . You are free to use and redistribute this file; the author only wishes you keep the following notice intact: . "The copyright of the Jyutping phrase box belongs to the Linguistic Society of Hong Kong. We would like to thank the Jyutping Group of the Linguistic Society of Hong Kong for permission to use the electronic file in our research and/or product development." . For more information about the Jyutping system, visit the above website. The romanisation system is a little bit different from common Hong Kong usage, but this system is a lot more systematic. Files: data/ar30.cin data/ar30-big.cin ./data/ar33.cin Copyright: 2010-2012 Ming-Te Liao License: ar30 Array Input Method Public License . 1. OBJECTS . Specification, design, and user interaction behavior designed for Array Input Method. All mapping tables and related information for Array Input Method. . 2. GRANTING . License is granted, free of charge, to everyone if the conditions described in PERMISSION AND RESPONSIBILITY are met. . 3. PERMISSION AND RESPONSIBILITY . A. Permission: . 1. Grant of copyright license . Subject to the terms and conditions of this License, every one is granted a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sub-license, and distribute the Work and such Derivative Works. . 2. Grant of patent license . No patent is issued for Array Input Method. And the inventor will never claim patents for Array Input Method. . B. Responsibility: . 1. Licensee may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, licensee may act only on his own behalf and on his sole responsibility, not on behalf of anyone else, and only if the licensee agrees to indemnify, defend, and hold everyone else harmless for any liability incurred by, or claims asserted against, such everyone else by reason of licensee's accepting any such warranty or additional liability. . 4. CLAIM FROM LICENSOR . This license is issued by the original inventor and copyright holder of Array Input Method, who owns the full and original rights to the Array Input Method. This license is the formal license for Array Input Method. A licensee does not need to request additional license documentation from the licensor. Files: gtk-im/gtkimcontextgcin.c gtk-im/gtkimcontextgcin.h gtk-im/imgcin.c Copyright: 2000 Red Hat, Inc. License: LGPL-2.1+ Files: qt-im/qgcininputcontext.h qt-im/qgcininputcontextplugin.h qt-im/qgcininputcontextplugin_my.cpp Copyright: 2004 immodule for Qt Project. License: GPL-2 or QPL-1 Files: IC.cpp IC.h IMdkit/include/IMdkit.h IMdkit/lib/IMConn.c IMdkit/lib/IMMethod.c IMdkit/lib/IMValues.c IMdkit/lib/Xi18nX.h IMdkit/lib/XimFunc.h IMdkit/lib/i18nAttr.c IMdkit/lib/i18nClbk.c IMdkit/lib/i18nIc.c IMdkit/lib/i18nMethod.c IMdkit/lib/i18nPtHdr.c IMdkit/lib/i18nUtil.c IMdkit/lib/i18nX.c Copyright: 1993-1994 Hewlett-Packard Company 1994-1995 Sun Microsystems, Inc. License: IMdkit Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Sun Microsystems, Inc. and Hewlett-Packard not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Sun Microsystems, Inc. and Hewlett-Packard make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. . SUN MICROSYSTEMS INC. AND HEWLETT-PACKARD COMPANY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SUN MICROSYSTEMS, INC. AND HEWLETT-PACKARD COMPANY BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: IMdkit/lib/FrameMgr.c IMdkit/lib/FrameMgr.h Copyright: 1993-1994 Digital Equipment Corporation License: FrameMgr Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the names of Digital or MIT not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. . DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: IMdkit/lib/i18nIMProto.c Copyright: 1993-1994 Digital Equipment Corporation 1993-1994 Hewlett-Packard Company 1994-1995 Sun Microsystems, Inc. License: i18nIMProto Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the names of Digital or MIT not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. . DIGITAL AND HEWLETT-PACKARD COMPANY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DIGITAL AND HEWLETT-PACKARD COMPANY BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: IMdkit/include/XimProto.h Copyright: 1992-1994 FUJITSU LIMITED License: XimProto Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of FUJITSU LIMITED not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. FUJITSU LIMITED makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. . FUJITSU LIMITED DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL FUJITSU LIMITED BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: IMdkit/lib/Xtrans.h Copyright: 1993-1994 X Consortium 1993-1994 NCR Corporation License: Xtrans Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium. . Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name NCR not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. NCR makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. . NCR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NCR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. License: LGPL-2.1 This package 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; version 2.1 of the License. . 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 Lesser General Public License along with this program. If not, see . 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". License: LGPL-2.1+ This package 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 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 Lesser General Public License along with this program. If not, see . 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". License: GPL-2 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 of the License. . 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, see . On Debian systems, the complete text of the GNU General Public license version 2 can be found in "/usr/share/common-licenses/GPL-2". License: GPL-2+ 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; 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, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". License: QPL-1 THE Q PUBLIC LICENSE version 1.0 . Copyright (C) 1999-2000 Trolltech AS, Norway. Everyone is permitted to copy and distribute this license document. The intent of this license is to establish freedom to share and change the software regulated by this license under the open source model. . This license applies to any software containing a notice placed by the copyright holder saying that it may be distributed under the terms of the Q Public License version 1.0. Such software is herein referred to as the Software. This license covers modification and distribution of the Software, use of third-party application programs based on the Software, and development of free software which uses the Software. . Granted Rights . 1. You are granted the non-exclusive rights set forth in this license provided you agree to and comply with any and all conditions in this license. Whole or partial distribution of the Software, or software items that link with the Software, in any form signifies acceptance of this license. . 2. You may copy and distribute the Software in unmodified form provided that the entire package, including - but not restricted to - copyright, trademark notices and disclaimers, as released by the initial developer of the Software, is distributed. . 3. You may make modifications to the Software and distribute your modifications, in a form that is separate from the Software, such as patches. The following restrictions apply to modifications: . a. Modifications must not alter or remove any copyright notices in the Software. . b. When modifications to the Software are released under this license, a non-exclusive royalty-free right is granted to the initial developer of the Software to distribute your modification in future versions of the Software provided such versions remain available under these terms in addition to any other license(s) of the initial developer. . 4. You may distribute machine-executable forms of the Software or machine-executable forms of modified versions of the Software, provided that you meet these restrictions: . a. You must include this license document in the distribution. . b. You must ensure that all recipients of the machine-executable forms are also able to receive the complete machine-readable source code to the distributed Software, including all modifications, without any charge beyond the costs of data transfer, and place prominent notices in the distribution explaining this. . c. You must ensure that all modifications included in the machine-executable forms are available under the terms of this license. . 5. You may use the original or modified versions of the Software to compile, link and run application programs legally developed by you or by others. . 6. You may develop application programs, reusable components and other software items that link with the original or modified versions of the Software. These items, when distributed, are subject to the following requirements: . a. You must ensure that all recipients of machine-executable forms of these items are also able to receive and use the complete machine-readable source code to the items without any charge beyond the costs of data transfer. . b. You must explicitly license all recipients of your items to use and re-distribute original and modified versions of the items in both machine-executable and source code forms. The recipients must be able to do so without any charges whatsoever, and they must be able to re-distribute to anyone they choose. . c. If the items are not available to the general public, and the initial developer of the Software requests a copy of the items, then you must supply one. . Limitations of Liability . In no event shall the initial developers or copyright holders be liable for any damages whatsoever, including - but not restricted to - lost revenue or profits or other direct, indirect, special, incidental or consequential damages, even if they have been advised of the possibility of such damages, except to the extent invariable law, if any, provides otherwise. . No Warranty . The Software and this license document are provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. . Choice of Law . This license is governed by the Laws of Norway. Disputes shall be settled by Oslo City Court. debian/gcin.menu0000664000000000000000000000070312607642604011005 0ustar ?package(gcin): \ icon="/usr/share/pixmaps/gcin.xpm" \ title="gcin" \ longtitle="gcin common input method" \ needs="x11" \ section="Applications/System/Language Environment" \ command="/usr/bin/gcin" ?package(gcin): \ icon="/usr/share/pixmaps/gcin.xpm" \ title="gcin-tools" \ longtitle="Configuration tools for gcin input method platform" \ needs="x11" \ section="Applications/System/Language Environment" \ command="/usr/bin/gcin-tools" debian/README.source0000664000000000000000000000053612607642604011362 0ustar Use the following command to get DFSG source tarball debina/rules get-orig-source This command will download upstream tarball, remove dayi3.cin related code due to non DFSG license, and remove gcin-*.tar.xz to avoid source-contains-unsafe-symlink. Currently get-orig-source cannot generate identical tarball when upstream version is the same. debian/rules0000775000000000000000000000412512627542026010260 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/default.mk GTK2VER := $(shell pkg-config --variable=gtk_binary_version gtk+-2.0) GTK3VER := $(shell pkg-config --variable=gtk_binary_version gtk+-3.0) GTK2_IMMODULES := $(shell pkg-config --variable=libdir gtk+-2.0)/libgtk2.0-0/gtk-query-immodules-2.0 GTK3_IMMODULES := $(shell pkg-config --variable=libdir gtk+-3.0)/libgtk-3-0/gtk-query-immodules-3.0 %: dh $@ override_dh_auto_configure: dh_auto_configure -- --gcinlibdir=/usr/lib/$(DEB_HOST_MULTIARCH)/gcin sed 's,%%GTK_QUERY_IMMODULES%%,$(GTK2_IMMODULES),g' $(CURDIR)/debian/gcin-gtk-immodule.postinst.in > $(CURDIR)/debian/gcin-gtk2-immodule.postinst sed 's,%%GTK_QUERY_IMMODULES%%,$(GTK2_IMMODULES),g' $(CURDIR)/debian/gcin-gtk-immodule.postrm.in > $(CURDIR)/debian/gcin-gtk2-immodule.postrm sed 's,%%GTK_QUERY_IMMODULES%%,$(GTK3_IMMODULES),g' $(CURDIR)/debian/gcin-gtk-immodule.postinst.in > $(CURDIR)/debian/gcin-gtk3-immodule.postinst sed 's,%%GTK_QUERY_IMMODULES%%,$(GTK3_IMMODULES),g' $(CURDIR)/debian/gcin-gtk-immodule.postrm.in > $(CURDIR)/debian/gcin-gtk3-immodule.postrm override_dh_auto_install: make install DESTDIR=$(CURDIR)/debian/tmp # move libraries to the correspond gtk version mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/$(GTK2VER) mv debian/tmp/usr/lib/gtk-2.0/immodules debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/$(GTK2VER)/ mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-3.0/$(GTK3VER) mv debian/tmp/usr/lib/gtk-3.0/immodules debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-3.0/$(GTK3VER)/ # workaround to move arch-dep tables to /usr/lib mv debian/tmp/usr/share/gcin/table debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gcin/table ln -s /usr/lib/$(DEB_HOST_MULTIARCH)/gcin/table debian/tmp/usr/share/gcin/table override_dh_install: dh_install --fail-missing \ --exclude=Changelog.html \ --exclude=README.html \ --exclude=gcin.png \ $(NULL) override_dh_installchangelogs: dh_installchangelogs Changelog.html override_dh_makeshlibs: dh_makeshlibs -n debian/libgcin.install0000664000000000000000000000013312607642604012173 0ustar usr/lib/*/gcin/gcin* usr/lib/*/gcin/intcode-module.so usr/lib/*/gcin/libgcin-im-client.so* debian/gcin-gtk2-immodule.postrm0000664000000000000000000000051512607656342014050 0ustar #!/bin/sh set -e set -u GTK_QUERY_IMMODULES=/usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 if [ -x $GTK_QUERY_IMMODULES ]; then case "$1" in remove|purge) $GTK_QUERY_IMMODULES --update-cache ;; esac else echo "Cannot find $GTK_QUERY_IMMODULES" >&2 fi #DEBHELPER# exit 0 debian/gcin-tables.install0000664000000000000000000000005212607642604012754 0ustar usr/lib/*/gcin/table usr/share/gcin/table debian/NEWS0000664000000000000000000000042712607642604007701 0ustar gcin (2.8.3+dfsg1-1) experimental; urgency=medium The GTK2 immodule is separated from gcin to support multi architecture. In order to use gcin in GTK2, gcin-gtk2-immodule must be installed. -- ChangZhuo Chen (陳昌倬) Thu, 22 Jan 2015 18:29:32 +0800 debian/changelog0000664000000000000000000004341712627542731011064 0ustar gcin (2.8.4+dfsg1-1ubuntu1) xenial; urgency=medium * Rebuild against Qt 5.5.1. * Remove the forced 'make clean' to be able to build a source package. -- Timo Jyrinki Wed, 02 Dec 2015 12:00:41 +0200 gcin (2.8.4+dfsg1-1) unstable; urgency=medium * New upstream release. * Remove gcin-dev since libgcin-im-client.so is not designed to be used outside gcin. -- ChangZhuo Chen (陳昌倬) Thu, 15 Oct 2015 16:02:15 +0800 gcin (2.8.3+dfsg1-6) unstable; urgency=medium * Add Breaks, Replaces for gcin-gtk2-immodule Multi-Arch transition. -- ChangZhuo Chen (陳昌倬) Tue, 09 Jun 2015 20:15:48 +0800 gcin (2.8.3+dfsg1-5) unstable; urgency=medium * Fix maintainer script typos -- ChangZhuo Chen (陳昌倬) Fri, 05 Jun 2015 22:12:55 +0800 gcin (2.8.3+dfsg1-4) unstable; urgency=medium * Fix gcin-gtk2-immodule, gcin-gtk3-immodule uninstallation error. -- ChangZhuo Chen (陳昌倬) Fri, 05 Jun 2015 12:52:21 +0800 gcin (2.8.3+dfsg1-3) unstable; urgency=medium * Fix gcin-gtk2-immodule, gcin-gtk3-immodule installation error. -- ChangZhuo Chen (陳昌倬) Thu, 04 Jun 2015 13:19:33 +0800 gcin (2.8.3+dfsg1-2) unstable; urgency=medium * Merge back to unstable * Remove __DATE__ for reproducible build * Install manpage for man/txt2gtab-phrase.1 -- ChangZhuo Chen (陳昌倬) Wed, 03 Jun 2015 18:29:26 +0800 gcin (2.8.3+dfsg1-1) experimental; urgency=medium * New upstream release. * Bump Standards-Version to 3.9.6 * Support Multi-Arch * Add libgcin, gcin-gtk2-immodule * Add postinst, postrm scripts for GTK modules * Add debian/gbp.conf * debian/control * Update Build-Depends for Qt5 * Add libappindicator3-dev as Build-Depends * Add gcin-qt5-immodule * debian/copyright * Add ChangZhuo Chen (陳昌倬) * Use Files-Excluded to exclude non-free part * Remove invalid file path * debian/rules * Remove get-orig-source * Use --fail-missing in dh_install -- ChangZhuo Chen (陳昌倬) Thu, 22 Jan 2015 22:49:28 +0800 gcin (2.8.2+dfsg1-1) unstable; urgency=medium * Repack upstream tarball to fix source-contains-unsafe-symlink * debian/rules: * Preserve timestamp of data/Makefile when packing DFSG free source tarball. * Change +dfsg to +dfsg1 for repacking DFSG source tarball to fix source-contains-unsafe-symlink * Add manpage for ts-edit-en and ts-contribute-en -- ChangZhuo Chen (陳昌倬) Thu, 17 Apr 2014 18:20:35 +0800 gcin (2.8.2+dfsg-2) unstable; urgency=medium * Add hardening options * Fix FTBFS on mips, powerpc, s390x (Closes: #744296) * Enhance get-orig-source: * Remove unused symbolic link inside upstream tarball * Add debian/README.source -- ChangZhuo Chen (陳昌倬) Wed, 16 Apr 2014 18:40:47 +0800 gcin (2.8.2+dfsg-1) unstable; urgency=medium [ Yao Wei (魏銘廷) ] * New upstream release. * update watch url again. * add dfsg-free repackaging script * multiarch libraries for GTK+2 and GTK+3, closes: #693052 * update debian helper compat to 9 * debian/patches: fix sparc build error [ ChangZhuo Chen (陳昌倬) ] * Update debian/watch * Fix debian/rules * Add ChangZhuo Chen (陳昌倬) as uploader * Install /etc/X11/xinit/xinput.d/gcin in gcin package * Fix FTBFS on kfreebsd-* Thanks to Yao Wei (魏銘廷) -- ChangZhuo Chen (陳昌倬) Sat, 12 Apr 2014 11:24:29 +0800 gcin (2.8.1+dfsg-1) unstable; urgency=low * Imported Upstream version 2.8.1+dfsg * debian/patches: * add patch to pass LDFLAGS for hardening * add keyword entry to gcin-tools.desktop * add manpage for txt2gtab-phrases * debian/gcin.svg: replace non-rectangle gcin.png, warned by lintian, with rectangle vector icon * debian/rules: add hardening options * Remove gcin-chewing because it is not supported and is commented out in the upstream build scripts. -- Yao Wei (魏銘廷) Fri, 02 Aug 2013 21:41:35 +0800 gcin (2.7.6.1+dfsg-1) unstable; urgency=low * Imported Upstream version 2.7.6.1+dfsg * debian/patches: all fixed upstream * debian/im-switch/gcin: remove QT4_IM_MODULE envvar since it won't work at all * debian/control: set DM-Upload-Allowed to yes * debian/gcin-qt4-immodule.install: change install path -- Yao Wei (魏銘廷) Sat, 07 Apr 2012 15:48:18 +0800 gcin (2.7.5+dfsg-1) unstable; urgency=low * Imported Upstream version 2.7.5+dfsg * debian/patches/ld_only_link_needed: patch tagged to comply DEP-3 -- Yao Wei (魏銘廷) Sun, 04 Mar 2012 19:53:04 +0800 gcin (2.7.4+dfsg-1) unstable; urgency=low * Imported Upstream version 2.7.4+dfsg * debian/control, debian/copyright: upgrade debian policy standard version to 3.9.3 -- Yao Wei (魏銘廷) Thu, 01 Mar 2012 11:27:30 +0800 gcin (2.7.3+dfsg-1) unstable; urgency=low * Imported Upstream version 2.7.3 * debian/control: - fix upgrading from gcin issues. (Closes: #659790) - fix description on packages. * debian/man: merged upstream. -- Yao Wei (魏銘廷) Sun, 12 Feb 2012 16:05:38 +0800 gcin (2.7.2+dfsg-1) unstable; urgency=low [ Yao Wei (魏銘廷) ] * Reupload to Debian. (Closes: #658449) * Imported Upstream version 2.7.2 * Removed Dayi input method for DFSG compliance. * Remove all patches for cleanness. * Make debian/copyright DEP-5 compliant. -- Yao Wei (魏銘廷) Sat, 04 Feb 2012 10:56:38 +0800 gcin (1.5.8-1) unstable; urgency=low * New upstream release. * Stop build Qt3 immodule. (Closes: #604350) * debian/gcin-ext.1: merged upstream. * debian/patches/008_add_shebang_to_scripts.diff: merged. * debian/patches/009_add_tsin2gtab_phrase_manpage.diff: merged. -- Kan-Ru Chen Mon, 28 Feb 2011 15:35:50 +0800 gcin (1.5.7~pre13-1) experimental; urgency=low * New snapshot. * Update debian/watch to match debian version scheme. -- Kan-Ru Chen Tue, 30 Nov 2010 10:44:06 +0800 gcin (1.5.7~pre12-1) experimental; urgency=low * New snapshot. * Refresh patches. * debian/patches/008_add_shebang_to_scripts.diff, debian/patches/009_add_tsin2gtab_phrase_manpage.diff: New. * debian/gcin-exit.1: New. * Updated Standards-Version to 3.9.1, no changes needed. -- Kan-Ru Chen Mon, 29 Nov 2010 22:06:56 +0800 gcin (1.4.6-3) unstable; urgency=low * Fix FTBFS with gtk2 2.20 due to deprecated Gtk+ macros. (Closes: #577377) * Bump libgtk2.0-dev build-deps to 2.20.0. * Disable --new_gtk_im. Too unstable with mozilla browser. * Add back README.html. * Update im-switch script also checks qt4 path. * Update Maintainer, Vcs-Git and Vcs-Browser. Migrating to DD account. -- Kan-Ru Chen Wed, 05 May 2010 00:20:58 +0800 gcin (1.4.6-2) unstable; urgency=low * Fix FTBFS with gtk2 2.19 due to deprecated Gtk+ macros GTK_WIDGET_APP_PAINTABLE and GTK_WIDGET_NO_WINDOW. (Closes: #569246) (LP: #520148) * Updated Standards-Version to 3.8.4, no changes needed. -- Kan-Ru Chen Sat, 27 Feb 2010 17:24:34 +0800 gcin (1.4.6-1) unstable; urgency=low * New upstream release This version fixed FTBFS with binutils-gold. (Closes: #554417) * Switched to dpkg-source 3.0 (quilt) format * Use modern debhelper style * Updated Standards-Version to 3.8.3 * Updated copyright information * Acknowledge NMU - Thanks Stefano -- Kan-Ru Chen Sun, 10 Jan 2010 16:49:29 +0800 gcin (1.4.5-1.1) unstable; urgency=low * Non-maintainer upload. * Add missing #include to fix FTBFS with gcc 4.4, patch by Martin Michlmayr. (Closes: #531715) * gcin-qt{3,4}-immodule: add lintian overrides for shlib-defines-rpath, this is needed to get the package pass through auto-REJECT. Rationale: rpath is appropriate here, the packages use private shlibs. -- Stefano Zacchiroli Sat, 26 Dec 2009 10:13:19 +0100 gcin (1.4.5-1) unstable; urgency=low * New Upstream Version * Wrokaround dh_gtkmodules bug. * Bump Standards-Versions to 3.8.1, no changes needed. -- Kanru Chen Tue, 12 May 2009 11:35:18 +0800 gcin (1.4.5~pre2-1) unstable; urgency=low * [811fc3b] New Upstream version 1.4.5.pre2 * [86b0996] Update patches. - fix_gdm_crash_498619.diff: Dropped, fixed up stream. - fix_QT_detection.diff: Split into two patches. - fix_anthy_error_message.diff: Added. * [dfa7a85] Enable anthy. -- Kanru Chen Tue, 03 Mar 2009 14:33:40 +0800 gcin (1.4.2-2) unstable; urgency=low * Upload to unstable * [ef36b0e] New maintainer (Closes: #505501) * [4861a1e] Replace dh_clean -k with dh_prep. * [5b60cca] Add Vcs-Git and Vcs-Browser field. * [5dafdd8] Add README.source * [63892e6] Add patch ld_only_link_needed.diff * [a848d1e] Fix the bug causing gdm crashes. (Closes: #498619) * [326815b] Update patch descriptions. -- Kanru Chen Sat, 06 Dec 2008 14:58:33 +0800 gcin (1.4.2-1) experimental; urgency=low * New upstream release * New package gcin-dev * Make gcin-qt3-immodule a versionised dependency on gcin * Drop fix_desktop_file_categories.diff because upstream has merged it * Bump Standards-Versions to 3.8.0 -- Wen-Yen Chuang Thu, 1 Aug 2008 18:45:44 +0800 gcin (1.4.0-1) unstable; urgency=low * New upstream release This release fixes FTBFS on ia64 architecture. (Closes: #480520) * Update copyright information * Migrate from dpatch to quilt Drop 20_fix-manpages.dpatch and 40_fix_FTBFS_on_sparc_hppa_ia64.dpatch because upstream has merged them. * Install AUTHORS file to /usr/share/doc/gcin -- Wen-Yen Chuang Tue, 20 May 2008 14:57:12 +0800 gcin (1.3.9-1) unstable; urgency=low * New upstream release * Update symlinks for new manpages * Enable i18n * Refresh 10_fix-directory-structure.dpatch * Add 20_fix-manpages.dpatch to prevent lintian warnings * Include /usr/share/dpatch/dpatch.make to make debian/rules simpler * Add Depends ${misc:Depends} for gcin-qt3-immodule -- Wen-Yen Chuang Wed, 7 May 2008 21:39:20 +0800 gcin (1.3.4-3) unstable; urgency=low * Fix FTBFS on hppa, ia64, and sparc architectures (Closes: #406036) * Disable binary stripping in upstream's Makefile (Closes: #436914) * Auto-detect GTK+ module ABI version (Closes: #419366, #420504) * Update debian/copyright to machine-readable format * Make libgcin-im-client.so a private library * Bump Standards-Version to 3.7.3 * Fix typos in package description * Clean up debian/rules * Make lintian quiet - set Build-Depends libgtk2.0-dev >= 2.10.1 - move Homepage in package description to source stanza - replace all "GTK" with "GTK+" in package descriptions - replace all "##DP" with "## DP:" in debian/patches/* - update debian/gcin.menu - add 50_fix-desktop-file-categories.dpatch to match latest .desktop file policy - do not use -$(MAKE) in debian/rules so that other error messages from the clean rule will still be caught -- Wen-Yen Chuang Sun, 27 Apr 2008 15:32:36 +0800 gcin (1.3.4-2) unstable; urgency=low The "Nobuta power! Cyuunyuu!" Release. * Update for GTK+ 2.10. (Closes: #419293) * debian/control: - bump up the libgtk2.0-dev build-dep to >= 2.10.1-1. - remove dependency for libgtk2.0-bin * debian/gcin.postinst: debian/gcin.postrm: - remove update-gtk-immodules * debian/rules: - call dh_gtkmodules with LD_LIBRARY_PATH. - remove scripts for GTK+ version detection. -- Wen-Yen Chuang Sun, 15 Apr 2007 00:42:03 +0800 gcin (1.3.4-1) unstable; urgency=low The "Maki Horikita" Release. * New upstream release. * debian/patches: - modify 10_fix-directory-structure.dpatch to cope with upstream's changes. - modify 30_disable_rpath_for_gtk-im.dpatch to prevent fuzz during patching. -- Wen-Yen Chuang Tue, 10 Apr 2007 21:42:40 +0800 gcin (1.3.3-2) unstable; urgency=low * Move from experimental to unstable. This version(1.3.3) has fixed FTBFS on GNU/kFreeBSD. (Closes: #414406) -- Wen-Yen Chuang Mon, 9 Apr 2007 01:44:27 +0800 gcin (1.3.3-1) experimental; urgency=low * New upstream release. * debian/patches: - modify 10_fix-directory-structure.dpatch to cope with upstream's changes. - remove 40_fix_build_failure_in_big-endian_arch.dpatch because upstream had fixed this bug. - merge 50_fix-FTBFS-on-systems-with-lib64-directory.dpatch into 10_fix-directory-structure.dpatch. -- Wen-Yen Chuang Sun, 28 Jan 2007 22:51:32 +0800 gcin (1.3.1-1) unstable; urgency=low * New upstream release. * Set fallback option for im-switch. (Closes: #400374) * Fix gcin's postrm script so that it can be removed cleanly when libgtk2.0-bin is already removed. (This is scim's Ubuntu bug #52087) * debian/patches: - remove 20_fix-glibc2.4-with-amd64.dpatch because upstream had fixed this bug. - add 20_fix_installation_path_for_im-client.dpatch and 40_fix_build_failure_in_big-endian_arch.dpatch. -- Wen-Yen Chuang Mon, 4 Dec 2006 20:28:58 +0800 gcin (1.3.0.1-1) unstable; urgency=low * New upstream release. * debian/patches: - apply 50_fix-FTBFS-on-systems-with-lib64-directory.dpatch written by Ming Hua . (Closes: #399800) - remove 40_make_noseeing-inst_a_shell_script.dpatch because upstream had fixed this bug. - modify 10_fix-directory-structure.dpatch to cope with upstream's changes. -- Wen-Yen Chuang Wed, 22 Nov 2006 20:09:43 +0800 gcin (1.2.9-1) unstable; urgency=low * First upload to Debian (Closes: #355849) * debian/control: - gcin have to depend on libgtk2.0-bin, to be compatible with Debian's new GTK+2 packages. - moved im-switch from Depends to Recommends for gcin -- Wen-Yen Chuang Sat, 18 Nov 2006 22:43:12 +0800 gcin (1.2.9-0ubuntu1) feisty; urgency=low * New upstream release. * debian/control: - let dh_makeshlibs process gcin-qt3-immodule's dependency. * debian/copyright: - Qt immodule's license is GPL version 2, not LGPL. * debian/patches - fixed built problem with glibc 2.4 under AMD64/EM64T architecture. - disabled rpath - modify 10_fix-directory-structure.dpatch to cope with upstream's change. * debian/rules: - configured with --new_gtk_im=Y. This option supports Mozilla 1.8.0 and newer releases' OverTheSpot for inputmethods. - remove /usr/share/control-center-2.0. It is nonsense for Ubuntu. - enabled dh_makeshlibs since upstream supports library soname. * debian/watch: - updated upstream's download page. * Bumped Standards-Version to 3.7.2 -- Wen-Yen Chuang Sat, 18 Nov 2006 20:15:42 +0800 gcin (1.2.5-0ubuntu1) edgy; urgency=low * New upstream release. * Removed 20_fix-gcin-setup-parsing-error.dpatch, because upstream have fixed this bug. * debian/install: - removed lines about manpages, because upstream have fixed this problem. -- Wen-Yen Chuang Sat, 9 Sep 2006 23:02:35 +0800 gcin (1.2.3-0ubuntu1) edgy; urgency=low * New upstream release * Fixed gcin-setup's parsing error. This patch was released by upstream. * Modified 10_fix-directory-structure.dpatch to prevent Hunk during patching. * Installed new version manpages. Upstream misplaced those two files in wrong directory. -- Wen-Yen Chuang Sat, 2 Sep 2006 04:50:52 +0800 gcin (1.2.2-0ubuntu1) edgy; urgency=low * New upstream release * debian/patches/10_fix-directory-structure.dpatch: - modify 10_fix-directory-structure.dpatch to cope with upstream's change. -- Wen-Yen Chuang Thu, 17 Aug 2006 20:25:12 +0800 gcin (1.2.1-0ubuntu1) edgy; urgency=low * New upstream release * debian/control: - remove GTK 2.10 specific dependency for backporting edgy to dapper * debian/rules: - check GTK version and install the GTK immodule into correct path * debian/patches/10_fix-directory-structure.dpatch: - remove fixes for GTK installation path since it was done within debian/rules -- Wen-Yen Chuang Thu, 10 Aug 2006 19:27:33 +0800 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 debian/gcin-gtk2-immodule.postinst0000664000000000000000000000051212607656342014404 0ustar #!/bin/sh set -e set -u GTK_QUERY_IMMODULES=/usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 if [ -x $GTK_QUERY_IMMODULES ]; then case "$1" in configure) $GTK_QUERY_IMMODULES --update-cache ;; esac else echo "Cannot find $GTK_QUERY_IMMODULES" >&2 fi #DEBHELPER# exit 0