--- scim-1.4.4.orig/debian/NEWS +++ scim-1.4.4/debian/NEWS @@ -0,0 +1,36 @@ +scim (1.4.4-1) unstable; urgency=low + + Since scim 1.4.3, upstream has changed in which locales GTK+ will prefer + scim as the IM module, from "*" (every locale) to "" (no locale). This + means if environment variable GTK_IM_MODULE is not set, GTK+ applications + will no longer use scim as its IM module by default (the default module will + depend on your locale and other installed input methods). So if you have + been relying on this behavior, your input method in GTK+ applications will + stop working after scim upgrade. To use scim as the GTK input method, make + sure you have set GTK_IM_MODULE to scim. Please read README.GTK in + /usr/share/doc/scim/ for more details. + + -- Ming Hua Sun, 15 Jan 2006 03:20:04 -0600 + +scim (1.4.1-1) unstable; urgency=low + + After upgrading from scim 1.0 to 1.4, you need to restart scim to have + it working properly. The simple way to restart scim is just + restarting X. Also the settings in ~/.scim for 1.0 may be + incompatible with 1.4, so if you encounter strange behaviour after + upgrading, move ~/.scim out of the way and try again. + + New scim 1.4 packages are not compatible with old IMEngines compiled + against scim 1.0. The new scim 1.4.1-1 package should conflict with + all old scim 1.0 packages, but if you are using unofficial IMEngines, + you need to install libscim-dev and recompile. + + Debian is having a C++ ABI transition, and new scim 1.4 packages are + compiled with g++ 4.0. This may cause prolem if you are using third + party softwares that are compiled with g++ 3.3 (or even some Debian + packages that hasn't finished the transition yet), especially if you + are using the GTK IM module for scim. A workaround would be using XIM + by setting GTK_IM_MODULE to xim. Please read the documentation in + /usr/share/doc/scim/README.Debian.gz for details. + + -- Ming Hua Thu, 11 Aug 2005 22:36:52 -0500 --- scim-1.4.4.orig/debian/scim.install +++ scim-1.4.4/debian/scim.install @@ -0,0 +1,30 @@ +etc/scim/config +etc/scim/global + +etc/X11/xinit/xinput.d/scim +etc/X11/xinit/xinput.d/scim-immodule + +usr/bin/scim +usr/bin/scim-config-agent +usr/bin/scim-setup + +usr/lib/scim-1.0/scim-helper-launcher +usr/lib/scim-1.0/scim-helper-manager +usr/lib/scim-1.0/scim-launcher +usr/lib/scim-1.0/scim-panel-gtk + +usr/lib/scim-1.0/1.4.0/Config/simple.so +usr/lib/scim-1.0/1.4.0/Filter/sctc.so +usr/lib/scim-1.0/1.4.0/FrontEnd/x11.so +usr/lib/scim-1.0/1.4.0/Helper/setup.so +usr/lib/scim-1.0/1.4.0/IMEngine/rawcode.so +usr/lib/scim-1.0/1.4.0/SetupUI/aaa-frontend-setup.so +usr/lib/scim-1.0/1.4.0/SetupUI/aaa-imengine-setup.so +usr/lib/scim-1.0/1.4.0/SetupUI/panel-gtk-setup.so + +usr/share/applications/scim-setup.desktop +usr/share/control-center-2.0/capplets/scim-setup.desktop + +usr/share/locale/*/LC_MESSAGES/scim.mo +usr/share/pixmaps/scim-setup.png +usr/share/scim/icons/*.png --- scim-1.4.4.orig/debian/control +++ scim-1.4.4/debian/control @@ -0,0 +1,140 @@ +Source: scim +Section: utils +Priority: optional +Maintainer: Ming Hua +Uploaders: Osamu Aoki +Build-Depends: debhelper (>= 4.0.0), dpatch, autotools-dev, intltool, x-dev | xlibs-dev, libx11-dev | xlibs-dev, libgtk2.0-dev (>= 2.4.0), libxt-dev | xlibs-dev +Standards-Version: 3.6.2 + +Package: scim +Architecture: any +Depends: ${shlibs:Depends} +Recommends: scim-gtk2-immodule (= ${Source-Version}), im-switch +Suggests: scim-uim, scim-pinyin, scim-hangul, scim-chewing, scim-m17n, scim-prime, scim-anthy, scim-skk, scim-canna, scim-tables-additional, scim-tables-ja, scim-tables-ko, scim-tables-zh, m17n-env +Conflicts: scim-tables-zh (<< 0.4.2), scim-tables-ja (<< 0.4.2), scim-tables-ko (<< 0.4.2), scim-tables-additional (<< 0.4.2), scim-gtk2-immodule (<< 1.2.0), scim-server-socket (<< 1.2.0), scim-frontend-socket (<< 1.2.0), scim-config-socket (<< 1.2.0), scim-config-gconf (<< 1.2.0), scim-chinese (<< 0.5.0), scim-uim (<= 0.1.3-2), scim-m17n (<= 0.1.3-1), scim-hangul (<= 0.1.2-1), scim-chewing (<= 0.2.0-2.1) +Description: smart common input method platform + Smart Common Input Method (SCIM) is an input method (IM) platform. Input + methods are needed to enter complex characters in many non-latin languages. + SCIM provides a common platform for various plugin modules and independent IM + programs, as well as a set of modules and programs on its own. It is highly + modularized and exposes abstract interfaces, so that plugin modules with + different functions can easily communicate with each other. The currently + supported module types are configuration, IM engine, front end, filter, and + setup GUI. + . + SCIM achieves the communication between IM engines and front ends through + both shared library linking and server/client mode. It supports XIM + protocol, as well as GTK+ IM module and Qt IM module. + . + This package is the main binary package of SCIM. It includes: the main + program scim (GTK+ based) and other support programs; simple configuration + module, X11 front end module, rawcode IM engine module, + simplified/traditional Chinese conversion filter module, and their + corresponding setup GUI modules; GTK+ panel and its setup GUI module; and a + GTK+ based setup tool. + . + SCIM is a well accepted platform and features various input method engines + for many languages. In Debian you can find the following separately packaged + IMs useful: scim-table-{additional,ja,po,zh}, scim-pinyin, scim-uim, + scim-m17n, scim-chewing, scim-anthy, scim-canna, scim-prime, and scim-skk. + GTK+ users would also find package scim-gtk2-immodule useful for GTK+ IM + module support. + . + For development on SCIM platform, please see the description of scim-dev + package. + . + Homepage: http://www.scim-im.org/ + +Package: libscim8c2a +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: scim (<< 1.2.0), libscim8 +Replaces: scim (<< 1.2.0), libscim8 +Description: library for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package provides runtime libraries for SCIM platform. + . + For more information about SCIM, please see the description of scim package. + +Package: libscim-dev +Section: libdevel +Architecture: any +Depends: libscim8c2a (= ${Source-Version}), libgtk2.0-dev, libpango1.0-dev +Conflicts: scim-dev (<< 1.2.0) +Replaces: scim-dev (<< 1.2.0) +Description: development library for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package provides development libraries on SCIM platform, including the + header files and static libraries. The development documentations can be + found in the scim-dev-doc package. + . + SCIM can be used as a dynamically loaded library on a single machine, or as a + server/client model through socket in a network environment. As a component + of the system, SCIM can work with existing IM framework such as XIM or IIIMF + (in progress), as well as using client specific IM interface, such as GTK+ + IM module or Qt IM module. SCIM provides an IM application, scim, which use + various IM engines to provide input methods for many languages, either by + native modules (such as scim-pinyin and scim-hangul) or interfaces to other + IM libraries (such as scim-anthy, scim-uim, scim-m17n, and scim-chewing). + . + For more information about SCIM, please see the description of scim package. + +Package: scim-gtk2-immodule +Architecture: any +Depends: scim, ${shlibs:Depends}, scim-modules-socket (= ${Source-Version}) +Description: GTK+2 input method module with SCIM as backend + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package is the GTK+ 2.x native input method module for SCIM. It provide + a GTK IM module with SCIM as the input backend. This input method module + should work within all GTK+ 2.x platforms, including gtk-x11, gtk-linuxfb and + gtk-directfb. + . + The GTK IM module communicates with SCIM backend through the socket IM engine + module and socket front end module provided by scim-modules-socket package. + . + For more information about SCIM, please see the description of scim package. + +Package: scim-modules-socket +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: scim-config-socket, scim-frontend-socket, scim-server-socket +Replaces: scim-config-socket, scim-frontend-socket, scim-server-socket +Provides: scim-config-socket, scim-frontend-socket, scim-server-socket +Description: socket modules for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package provides the socket modules for SCIM. SCIM can use a local or + inet socket as the front end and connect to the configuration and IM engine + modules. Then other computers and/or environments can share these input + methods by connecting to the socket with socket IM engine module and socket + configure module. + . + For more information about SCIM, please see the description of scim package. + +Package: scim-dev +Section: devel +Architecture: all +Depends: libscim-dev (>= ${Source-Version}), scim-dev-doc (= ${Source-Version}) +Description: development files for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package is a meta package to provide development libraries and + documentations for SCIM platform. + . + For more information about SCIM, please see the description of scim package. + +Package: scim-dev-doc +Section: doc +Architecture: all +Description: development documentation for SCIM platform + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + This package contains doxygen-generated HTML development documentation + for SCIM APIs. + . + For more information about SCIM and SCIM development, please see the + description of scim and scim-dev packages. --- scim-1.4.4.orig/debian/scim-gtk2-immodule.postrm +++ scim-1.4.4/debian/scim-gtk2-immodule.postrm @@ -0,0 +1,17 @@ +#!/bin/sh +# postrm script for scim-gtk-immodule +# see: dh_installdeb(1) + +set -e + +if [ "$1" = "remove" ]; then + /usr/sbin/update-gtk-immodules +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- scim-1.4.4.orig/debian/README.Qt +++ scim-1.4.4/debian/README.Qt @@ -0,0 +1,28 @@ +SCIM supports three different input modes - XIM mode, GTK IM mode, and Qt IM +mode. Currently the Debian packages only supports XIM and GTK IM, as the Qt +IM mode needs an unofficial patch for Qt 3, and Trolltech has said that such +patch can't go into Qt 3 because being considered too intrusive. At the time +of writing this README, Debian's Qt 3 package doesn't include this patch +either. + +But don't worry, Qt/KDE applications can use XIM mode just fine. You only +need to pay extra attention on two things: + +1. Both Qt and SCIM has their own settings for XIM style, so you need to make +sure they match. There are two commonly used XIM styles, usually called "on +the spot" and "over the spot". To change the style in SCIM, run scim-setup +(or choose "SCIM Input Method Setup" from your menu), and go to the "FrontEnd +-> Global Setup" page. The option to change XIM style is "Embed Preedit +String into client window", when it is selected, you are using "on the spot" +style; and when it is not selected, you are using "over the spot" style. To +change the style in Qt, run qtconfig (or choose "Qt3 Configuration" from your +menu), go to "Interface" tab, and choose the style in the "XIM Input Style" +dropdown menu at the bottom. You usually don't need the "off the spot" or +"root" style. + +2. It is reported that some of the KDE applications don't work very well when +using "on the spot" style. So if your application behaves strangely, you may +want to try switching to "over the spot" style first. + +vim:textwidth=78: + --- scim-1.4.4.orig/debian/im-switch/xim +++ scim-1.4.4/debian/im-switch/xim @@ -0,0 +1,15 @@ +# im-switch configuration file for scim +# should be installed as /etc/X11/xinit/xinput.d/scim_xim +# this configuration uses XIM + +# exported enviroment variables +XMODIFIERS="@im=SCIM" +GTK_IM_MODULE="xim" +QT_IM_MODULE="xim" +# command and arguments to invoke scim +XIM_PROGRAM="/usr/bin/scim" +XIM_ARGS="--daemon" +# package dependency (note that the format used here is not environment +# variable, but some format for libapt-pkg-perl and is parsed by grep, +# so can't be quoted, and no spaces allowed) +DEPENDS= --- scim-1.4.4.orig/debian/im-switch/scim +++ scim-1.4.4/debian/im-switch/scim @@ -0,0 +1,15 @@ +# im-switch configuration file for scim +# should be installed as /etc/X11/xinit/xinput.d/scim +# this configuration uses GTK IM module and Qt IM module provided by SCIM + +# exported enviroment variables +XMODIFIERS="@im=SCIM" +GTK_IM_MODULE="scim" +QT_IM_MODULE="scim" +# command and arguments to invoke scim +XIM_PROGRAM="/usr/bin/scim" +XIM_ARGS="--daemon" +# package dependency (note that the format used here is not environment +# variable, but some format for libapt-pkg-perl and is parsed by grep, +# so can't be quoted, and no spaces allowed) +DEPENDS=scim-gtk2-immodule,scim-qtimm --- scim-1.4.4.orig/debian/im-switch/scim-immodule +++ scim-1.4.4/debian/im-switch/scim-immodule @@ -0,0 +1,18 @@ +# +# This configuration file for SCIM is deprecated. +# +# Use "X input Method" for standard X applications +# Use "SCIM immodule" for GTK applications +# +# Using this configuration may improve some usability for GTK applications +# such as the location of word selection window. +# + +# You still need these XIM settings for non-GTK programs. +XIM=SCIM +XIM_PROGRAM=/usr/bin/scim +XIM_ARGS="-d" +GTK_IM_MODULE=scim +# Qt immodule is not ready +#QT_IM_MODULE=scim +DEPENDS="scim,scim-gtk2-immodule,scim-anthy|scim-canna|scim-chewing|scim-pinyin|scim-hangle|scim-prime|scim-skk|scim-tables-additional|scim-m17n|scim-uim|scim-tables-ja|scim-tables-ko|scim-tables-zh" --- scim-1.4.4.orig/debian/rules +++ scim-1.4.4/debian/rules @@ -0,0 +1,169 @@ +#!/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 by Ming Hua 2004. Some modification comes +# from Anthony Fok. + +# 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 \ + --sysconfdir=/etc + +build: build-stamp +build-stamp: config.status + # Add here commands to compile the package. + $(MAKE) + + (cd po; intltool-update -p) + 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 + + install -D -o root -g root -m 644 \ + $(CURDIR)/debian/im-switch/scim \ + $(CURDIR)/debian/tmp/etc/X11/xinit/xinput.d/scim; \ + install -D -o root -g root -m 644 \ + $(CURDIR)/debian/im-switch/scim-immodule \ + $(CURDIR)/debian/tmp/etc/X11/xinit/xinput.d/scim-immodule; \ + install -m 644 -D \ + $(CURDIR)/debian/im-switch/xim \ + $(CURDIR)/debian/scim/etc/X11/xinit/xinput.d/scim_xim + + # Clean up unnecessary static libraries for modules + rm debian/tmp/usr/lib/scim-1.0/1.4.0/*/*.la + rm debian/tmp/usr/lib/scim-1.0/1.4.0/*/*.a + rm debian/tmp/usr/lib/gtk-2.0/2.4.0/immodules/im-scim.a + rm debian/tmp/usr/lib/gtk-2.0/2.4.0/immodules/im-scim.la + + # Add translation domain to .desktop files + DOMAIN=$$(grep --max-count 1 '^GETTEXT_PACKAGE[[:space:]]*=' $(CURDIR)/po/Makefile | sed 's/^.*=[[:space:]]\([^[:space:]]\)/\1/'); \ + for d in $$(find debian/tmp -type f -name "*.desktop" ); do \ + echo "Adding translation domain $$DOMAIN to $$d..."; \ + echo "X-Ubuntu-Gettext-Domain=$$DOMAIN" >> $$d; \ + done + + # Prepare files for different packages to separate directories + dh_install --sourcedir=debian/tmp --fail-missing + + # Install reportbug script for scim binary package + install -m 755 -D \ + debian/scim.script debian/scim/usr/share/bug/scim/script + + 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 -X Makefile + 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 -X usr/lib/gtk-2.0/2.4.0/immodules -X usr/lib/scim-1.0/1.4.0 + dh_installdeb + dh_shlibdeps -L libscim8c2a -l debian/libscim8c2a/usr/lib + 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 install clean clean-patched patch unpatch binary binary-indep binary-arch --- scim-1.4.4.orig/debian/watch +++ scim-1.4.4/debian/watch @@ -0,0 +1,8 @@ +# watch control file for scim +# see uscan(1) + +# format version number +version=2 +# SourceForge repository +http://prdownloads.sourceforge.net/scim/scim-(1\.4\.[\d\.]*)\.tar\.gz debian uupdate + --- scim-1.4.4.orig/debian/scim.script +++ scim-1.4.4/debian/scim.script @@ -0,0 +1,18 @@ +#!/bin/sh + +# dpkg output of scim-related packages +echo "Related packages:" >&3 +dpkg-query -l "*scim*" | grep "^ii" >&3 + +echo >&3 + +# environment variables +echo "Related environment variables:" >&3 +echo "\$XMODIFIERS=$XMODIFIERS" >&3 +echo "\$GTK_IM_MODULE=$GTK_IM_MODULE" >&3 + +echo >&3 + +# contents in /usr/lib/scim-1.0 +echo "Installed SCIM components:" >&3 +ls -R /usr/lib/scim-1.0 >&3 --- scim-1.4.4.orig/debian/scim-gtk2-immodule.postinst +++ scim-1.4.4/debian/scim-gtk2-immodule.postinst @@ -0,0 +1,17 @@ +#!/bin/sh +# postinst script for scim-gtk2-immodule +# see: dh_installdeb(1) + +set -e + +if [ "$1" = "configure" ]; then + /usr/sbin/update-gtk-immodules +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- scim-1.4.4.orig/debian/changelog +++ scim-1.4.4/debian/changelog @@ -0,0 +1,359 @@ +scim (1.4.4-4ubuntu1) edgy; urgency=low + + * Merge to Debian unstable. + + -- Martin Pitt Mon, 10 Jul 2006 11:13:03 +0200 + +scim (1.4.4-4) unstable; urgency=low + + * Fixed typo in /etc/X11/xinit/xinput.d/scim-immodule thanks to + AWASHIRO Ikuya. + + -- Osamu Aoki Sun, 18 Jun 2006 01:11:50 +0900 + +scim (1.4.4-3) unstable; urgency=low + + * Fixed typo in /etc/X11/xinit/xinput.d/scim thanks to Ethan + Glasser-Cam. (Closes: #370606) + * Changed to use XIM for all applications for better im-switch + behavior. + * Added scim-immodule choice for im-switch while marking it + deprecated in README.Debian. + + -- Osamu Aoki Sat, 17 Jun 2006 09:55:08 +0900 + +scim (1.4.4-2) unstable; urgency=low + + * Updated documentation and dependency to match m17n-env changes. + * Provided support for im-switch. + + -- Osamu Aoki Sat, 20 May 2006 03:03:39 +0900 + +scim (1.4.4-1ubuntu12) dapper; urgency=low + + * debian/patched-icons/, debian/control, debian/rules: + - rolled back. + + -- Daniel Holbach Tue, 30 May 2006 00:21:40 +0200 + +scim (1.4.4-1ubuntu11) dapper; urgency=low + + * debian/patched-icons: + - new keyboard.png icons. + * debian/control: + - added sharutils to Build-Depends. + * debian/rules: + - added rules to uuencode/uudecode icons. + + -- Daniel Holbach Sun, 28 May 2006 17:41:44 +0200 + +scim (1.4.4-1ubuntu10) dapper; urgency=low + + * debian/rules: create pot file in package build + + -- Michael Vogt Thu, 4 May 2006 20:56:03 +0200 + +scim (1.4.4-1ubuntu9) dapper; urgency=low + + * Make scim-gtk2-immodule conflict with old libscim8c2a + + -- Jonathan Riddell Tue, 2 May 2006 17:07:18 +0100 + +scim (1.4.4-1ubuntu8) dapper; urgency=low + + * Move libscim-gtkutils to scim-gtk2-immodule + + -- Jonathan Riddell Fri, 21 Apr 2006 15:58:55 +0100 + +scim (1.4.4-1ubuntu7) dapper; urgency=low + + * debian/patches/20_scim_config.dpatch: + - Enable Trigger keys with CJK native keys (ubuntu: #37687), + Thanks to Atie + + -- Michael Vogt Mon, 3 Apr 2006 12:03:57 +0200 + +scim (1.4.4-1ubuntu6) dapper; urgency=low + + * Do not use "|" in DEPENDS value of im-switch setting to avoid error + message at login. (Ubuntu #35852) + * Remove scim from the DEPENDS value of im-switch settings. + + -- Ming Hua Wed, 22 Mar 2006 21:17:01 -0600 + +scim (1.4.4-1ubuntu5) dapper; urgency=low + + * Add im-switch support so that all SCIM modules can use a centralized + im-switch configuration (Ubuntu #35163). + - Write two im-switch configuration files (for GTK/Qt IM module and XIM, + respectively) and install them into /etc/X11/xinit/xinput.d/. + - Add im-switch to binary package scim's Recommends. + + -- Ming Hua Thu, 16 Mar 2006 01:08:42 -0600 + +scim (1.4.4-1ubuntu4) dapper; urgency=low + + * Copied debian/control to debian/control-breezy and adjusted C++ deps + * Changed debian/rules to be sensitive to lsb_release output and use + debian/control-breezy when appropriate (and clean properly afterward) + * Add build-dependency on lsb-release to make the above work correctly. + * Thanks to Martin Meredith for the initial patch, + and the patience with being abused by me while I helped him fix it. + + -- Adam Conrad Wed, 1 Mar 2006 01:58:44 +0000 + +scim (1.4.4-1ubuntu3) dapper; urgency=low + + * debian/patches/20_start_in_session.dpatch: + - removed again, we use im-switch now, much better and cleaner + + -- Michael Vogt Wed, 15 Mar 2006 10:34:07 +0000 + +scim (1.4.4-1ubuntu2) dapper; urgency=low + + * debian/patches/20_start_in_session.dpatch: + - add it to /etc/xdg/autostart + + -- Michael Vogt Mon, 13 Mar 2006 12:19:05 +0000 + +scim (1.4.4-1ubuntu1) dapper; urgency=low + + * debian/rules: Add gettext domain to .server and .desktop files to get + language pack support for them. (Similarly to cdbs' gnome.mk) + + -- Martin Pitt Fri, 24 Feb 2006 09:05:59 +0100 + +scim (1.4.4-1) unstable; urgency=low + + * New upstream release. + - The locales that prefer scim as GTK IM module has changed. + - Bump libgtk2.0-dev build dependency to >= 2.4.0. + * Complete documetation rewrite, add two more README files for using SCIM in + different desktop environments. + * Update scim(1) man page. + * Fix typo in reportbug script. + + -- Ming Hua Mon, 16 Jan 2006 21:33:38 -0600 + +scim (1.4.2-1) unstable; urgency=low + + * New upstream release. + * debian/{control,rules,libscim8.install}: C++ ABI transtion, rename binary + package libscim8 to libscim8c2a. (Closes: #339261) + * debian/control: Update Suggests list. Add Japanese IM engines and + replace scim-chinese with scim-pinyin. (Closes: #335909) + * debian/control: Upgrade to policy version 3.6.2 (no actual changes). + * debian/copyright: Update copyright notice and FSF address. + * debian/{control,rules}: Build-Depends on autotools-dev and use the + config.guess and config.sub files from autotools-dev unconditionally. + * debian/control: Use individual X library packages in Build-Depends + instead of the xlibs-dev metapackage. + * debian/{scim.script,rules}: Add reportbug information gathering script. + + -- Ming Hua Fri, 25 Nov 2005 17:55:25 -0600 + +scim (1.4.1-1) unstable; urgency=low + + * New upstream release. + * debian/{libscim6c2,libscim8,libscim-dev,scim,scim-module-socket}.install, + debian/{control,rules}: ABI change. Change binary package libscim6c2 to + libscim8, and all modules are in /usr/lib/scim-1.0/1.4.0/ now. There are + also a new shared library (libscim-x11utils-1.0) and new modules. + * debian/patches/{00list,10gtk-immodule-install-dir.dpatch}: Unfuzzy patch, + and rename it to 10_gtk-immodule-install-dir.dpatch according to new + naming template. + * debian/watch: Track 1.4 series. + * debian/NEWS: Change news entry version from 1.2.3-1 to 1.4.1-1, since + 1.2.3-1 was never released. Also refer to scim 1.4 instead of 1.2. + + -- Ming Hua Thu, 11 Aug 2005 22:38:20 -0500 + +scim (1.2.3-1) unstable; urgency=low + + * New upstream release. (Closes: #308064) + - Build with GCC 4.0. Use libscim6c2 as the shared library package name + to avoid problem with some unofficial builds. [minghua] + * debian/NEWS: Create this file, and add notes about scim 1.0 to 1.2 + upgrade and C++ ABI transtion. [minghua] + * debian/patches/{00list,20-gcc-4.0-ftbfs.dpatch}: Already included by + upstream, removed. [minghua] + * debian/control, debian/{scim,scim-dev,libscim6c2,libscim-dev}.install: + Build separate libscim6c2 and libscim-dev binary packages. [minghua] + * debian/control, debian/scim-config-gconf.{install,prerm,postinst}: Remove + binary package scim-config-gconf, as upstream doesn't provide this module + anymore. [minghua] + * debian/control, debian/scim-{server,config,frontend}-socket.install, + debian/scim-modules-socket.install: Combine configure, front end, and IM + engine modules for socket into one binary package. [minghua] + * debian/rules, debian/scim-modules-socket.install, debian/scim.install: + Change the module path, and adjust to the added and deleted files by + upstream. [minghua] + * debian/control: [minghua] + - Remove old Conflicts, we only support upgrade from sarge from now on. + - Make scim Conflicts with all old dynamic module packages. + - Have libscim-dev depends on libgtk2.0-dev and libpango1.0-dev since + their header files are #included directly. Also remove useless + libc6-dev | libc-dev dependency. + * debian/watch: Track 1.2 series. [minghua] + + -- Ming Hua Sun, 7 Aug 2005 14:18:29 -0500 + +scim (1.0.2-3) unstable; urgency=medium + + * Urgency set to medium to push these documentation changes into sarge. + * debian/README.Debian: Documentation update. [minghua] + - Clarify the situation of skim and scim-qt-immodule in Debian. + - List scim-chewing as available IM engine instead of a potential one since + it's in sarge now. (Closes: #306759) + - List scim-prime and scim-skk as potetial IM engines. + - Remove notes about gksu configurations, since gksu 1.2.4 and higher + doesn't lock XIM anymore. + * debian/control: Make all dynamic loadable module packages depend on scim + (<< 1.1), to smooth future upgrades. [minghua] + + -- Ming Hua Mon, 16 May 2005 21:11:00 -0500 + +scim (1.0.2-2) unstable; urgency=low + + * debian/README.Debian: Fix typo (Thanks, Carlos Z.F. Liu). [alee, minghua] + * debian/control: + - Make scim conflict with all old (<< 1.0.0) modules. [minghua] + - Change the upstream website. [minghua] + * debian/copyright: Change the upstream download repository to SourceForge. + [minghua] + * debian/README.Debian: ~/.scim/config -> ~/.scim/global (Thanks, Florian + Schlichting). (Closes: #291543) [osamu] + * debian/README.Debian: mention gksu configuration. (Closes: #283746) + [osamu] + + -- Ming Hua Wed, 2 Feb 2005 00:19:03 +0100 + +scim (1.0.2-1) unstable; urgency=low + + * New Upstream release. + * debian/control: Make scim conflict with old scim-gtk2-immodule (<< + 1.0.0) to avoid broken upgrade if user choose to upgrade only scim + but not scim-gtk2-immodule. (Closes: #287348) [minghua] + * debian/patches/{00list,20redirect-to-cerr.dpatch,30gnumeric.dpatch}: + Delete old patches that are already included by upstream. [minghua] + * debian/patches/{00list,20-gcc-4.0-ftbfs.dpatch}: Add patch from Andreas + Jochens to fix FTBFS on amd64/gcc-4.0. (Closes: #288470) + [minghua] + * debian/watch: Only track 1.0.x branch on upstream. [osamu,minghua] + + -- Ming Hua Tue, 11 Jan 2005 20:14:17 -0600 + +scim (1.0.1-4) unstable; urgency=low + + * Update README.Debian. [osamu] + * debian/control: Make scim-gtk2-immodule depend on scim-frontend-socket + and scim-config-socket. This prevents IM engine loading each time scim + gtk module is invoked (which happens very often if GTK_IM_MODULE=scim). + (Closes: #285623) [minghua] + * debian/watch: Switch to Sourceforge repository since SCIM isn't hosted + on freedesktop.org anymore. [minghua] + + -- Ming Hua Tue, 21 Dec 2004 20:36:10 -0600 + +scim (1.0.1-3) unstable; urgency=high + + * Patch to prevent data loss in gnumeric while moving cursor + by the upstream (Closes: #280661) + + -- Osamu Aoki Fri, 19 Nov 2004 23:22:41 +0100 + +scim (1.0.1-2) unstable; urgency=high + + * Patch to redirects the messages to standard error per Aaron M. Ucko. + (Closes: #280374) + + -- Osamu Aoki Tue, 09 Nov 2004 07:31:17 +0100 + +scim (1.0.1-1) unstable; urgency=low + + * New upstream release. (Closes: #269946) + + Fix FTBFS problem with gcc-3.4. (Closes: #266045) + * debian/control, debian/rules, debian/patches/: Switch to dpatch system. + * debian/control: Rewrite the descriptions for most packages, and update + Conflict: and Depends: relations. + * debian/scim-dev-doc.doc-base: Rewrite the descriptions. + * debian/scim-config-gconf.{postinst,prerm}: Add scripts to register and + unregister gconf2 schemas. + * debian/watch: Fix source watchfile line format. + * debian/scim.1, debian/scim.manpages: Add man page scim(1), thanks to + Osamu Aoki. + * debian/README.Debian: Update user's manual to reflect 1.0 series changes. + * Added Osamu Aoki as uploader. + * Update README.Debian by Osamu Aoki. + + -- Ming Hua Fri, 29 Oct 2004 20:48:12 +0200 + +scim (0.9.7-3) unstable; urgency=low + + * debian/control: Let scim-gtk2-immodule depends on scim-server-socket, + otherwise GDM will start scim and ignore all character input. + (Closes: #272321) Also have scim-gtk-immodule depends on + scim-frontend-socket and recommends scim-config-socket, so that the GTK IM + module mode works properly. + * debian/rules: Don't install Makefile.* with documents. (Closes: #255336) + * configs/config: Set /FrontEnd/X11/OnTheSpot to false, avoiding glitches + in some applications such as Mozilla and OpenOffice.org. + * debian/README.Debian: Add a brief English user's guide. + * debian/control, debian/copyright: Update upstream website address. + + -- Ming Hua Fri, 24 Sep 2004 21:09:08 -0500 + +scim (0.9.7-2) unstable; urgency=low + + * Add intltool (>= 0.22) to Build-Depends, without it scim FTBFS on all + architectures. (Closes: #255215) + * Fix old directory reference in debian/scim-dev-doc.doc-base to reflect the + new package name. (Closes: #255159) + * Change extras/gtk2_immodule/Makefile.{am,in} to install im-scim.so into + /usr/lib/gtk-2.0/2.4.0/immodules, also add postinst and postrm scripts for + package scim-gtk2-immodule. (Closes: #255177) + + -- Ming Hua Sat, 19 Jun 2004 22:24:09 -0500 + +scim (0.9.7-1) unstable; urgency=low + + * Initial release for upload into the official Debian archive. + * New upstream release. + * Followed the package split in my unofficial scim 0.4.0 package, + and modified according to the upstream scim.spec: + * merged scim-frontend-x11, scim-server-rawcode, scim-server-table, + scim-config-simple into the main scim package; + * removed scim-suite. + * Removed Build-Depends: gif2png. + * Renamed scim-doc as scim-dev-doc. + * The main scim package Suggests: scim-chinese, scim-tables-zh, + scim-tables-ja, scim-tables-ko, scim-tables-additional. + * Updated package descriptions with ideas from + http://freedesktop.org/~suzhe/download.html. + * Many thanks to Ming Hua for packaging + scim 0.9.2 and 0.9.6 on Debian Alioth. + * NMU: I won't have time to maintain this package in the longterm, so... + Ming Hua is the maintainer of this package! :-) + + -- Anthony Fok Sun, 6 Jun 2004 23:26:49 +0800 + +scim (0.9.6-1) unstable; urgency=low + + * New upstream version 0.9.6. + + -- Ming Hua Wed, 28 Apr 2004 16:36:25 -0500 + +scim (0.9.2-1) unstable; urgency=low + + * Initial Release, based on upstream version 0.9.2. + * Debianize as a single binary package, will try to split later. + + -- Ming Hua Sun, 29 Feb 2004 22:12:41 -0600 + +scim (0.4.0-1) unstable; urgency=low + + * Initial Release. + * Applied scim-0.4.0-generic-table.patch by upstream author James Su + to fix a bug reported by WONG Yiu Fai. + + -- Anthony Fok Mon, 21 Apr 2003 22:21:58 +0800 --- scim-1.4.4.orig/debian/scim-dev-doc.docs +++ scim-1.4.4/debian/scim-dev-doc.docs @@ -0,0 +1,4 @@ +docs/developers +docs/design.zh_CN + +docs/html --- scim-1.4.4.orig/debian/compat +++ scim-1.4.4/debian/compat @@ -0,0 +1 @@ +4 --- scim-1.4.4.orig/debian/scim.docs +++ scim-1.4.4/debian/scim.docs @@ -0,0 +1,8 @@ +AUTHORS +README +TODO + +docs/manual/zh_CN + +debian/README.GTK +debian/README.Qt --- scim-1.4.4.orig/debian/TODO.Debian +++ scim-1.4.4/debian/TODO.Debian @@ -0,0 +1,15 @@ +1.4.4-2 +------- +Check rules to meet requirements of the new dpkg-dev. + +Add lintian override for the soname-and-library-name-mismatch error. + +Add scim-setup.desktop handling in postinst and postrm. + + +Long Term +--------- +Write a patch for configure process so that it doesn't check X11/Intrinsic.h +for X availablity, and get rid of the libxt-dev build-dependency. + +Investigate "SONAME in dynamic loaded module" issue. --- scim-1.4.4.orig/debian/README.Debian +++ scim-1.4.4/debian/README.Debian @@ -0,0 +1,253 @@ + =========================================== + Brief User's Guide for SCIM (version 1.4.4) + =========================================== + +SCIM is an input method platform, and supports many different input methods +(IMs) to make input of complicated characters in X environment possible. +There are SCIM plugin modules for many languages such as Japanese, Chinese, +Korean, Arabic, and many Indic languages. + +--------------- +Debian Packages +--------------- + +The package scim is the core package of SCIM platform. To really use SCIM you +also need one module package to provide input methods for the language you +use. The modules packaged in Debian currently are (categorized by language): + +scim-anthy, scim-uim, scim-skk, scim-prime, scim-canna, scim-tables-ja + (for Japanese) +scim-pinyin, scim-tables-zh + (for simplified Chinese) +scim-chewing, scim-tables-zh + (for traditional Chinese) +scim-hangul, scim-tables-ko, scim-uim + (for Korean) +scim-m17n, scim-tables-additional, scim-uim + (for other languages) + +You need to read the documentation of the particular module package to see if +your language or favorite input method is supported. + +The package scim-gtk2-immodule provides GTK IM mode for SCIM. Contrary to the +popular conception, you do NOT need this package to be able to use SCIM in +GTK+/GNOME applications. Those applications can use XIM mode just fine. For +more details, please read README.GTK. + +There are two other programs need mentioning: skim and scim-qtimm. Both are +for Qt/KDE integration of SCIM, but they are not packaged in Debian (yet). +Especially scim-qtimm requires an unofficial patch for Qt 3, so it's prabably +quite hard to get it into Debian. William J Beksi is working on packaging +skim, and please refer to ITP bug #309857 for progress. Although these +programs are not available in Debian, Qt/KDE applications can also use XIM +mode just fine. Read README.Qt if you want to use SCIM in Qt/KDE +applications. + +In summary, you should install package scim and one of the IM module package +to start. You may install scim-gtk2-immodule if you use GTK+ applications and +want to try the GTK IM mode. You shouldn't need to explicitly install any +other package as they should be installed as necessary due to dependency. + +------- +Locales +------- + +SCIM should work in all UTF-8 locales. It can also work in some Chinese (zh), +Japanese (ja), and Korean (ko) non UTF-8 locales, but it usually requires some +additional configuration. The maintainer of scim package recommends using +UTF-8 locale. :-) + +There is one limitation in SCIM, that you must tell SCIM the UTF-8 locale you +want to use SCIM in. This is recorded in the user's configuration file +~/.scim/global. You need to add a line of the format + /SupportedUnicodeLocales = +to your ~/.scim/global file unless you use en_US.UTF-8 locale (which is +supported by default). The string should be in ll_CC.UTF-8 +form, where ll being the language, and CC being the country. You can always +use the "locale" command to check your locale setting. You can also add +mutiple locales there, just separate them by comma without space, like + /SupportedUnicodeLocales = en_US.UTF-8,en_GB.UTF_8,fr_FR.UTF-8 + +If you have never used SCIM before, your ~/.scim/global may be not existent. +You can run ``scim'' from an X terminal, then press Ctrl-C to abort it, this +configure file should be created for the user. + +If there are many users on a system and use the same locale, you may want to +consider change the system configuration file /etc/scim/global to set the +supported locale. + +---------- +Using SCIM +---------- + +After setting up locale, you can try using SCIM to input in your language. +SCIM can be used in two modes: XIM mode and GTK IM mode. + +To use XIM (X Input Method) mode, you need to set the environment variable +XMODIFIERS and GTK_IM_MODULE before starting your X application (you only need +to set GTK_IM_MODULE if the X application you want to run also uses GTK+). +Run the following commands in an X terminal (such as xterm, gnome-terminal or +konsole): + $ XMODIFIERS="@im=SCIM" + $ export XMODIFIERS + $ GTK_IM_MODULE="xim" + $ export GTK_IM_MODULE + $ scim -d +Now you should see some output by SCIM saying it's successfully launched, and +if your have a system tray, there should be an icon of keyboard image +appearing there (the image of the icon will change according to the input +method status). Then you can start an X program in the same terminal, for +example + $ gedit +will start the gedit text editor. Press Ctrl-space should activate SCIM and +you can start using your input method (remember you need to install the module +package for your input method). Note you must start the program you want to +use input method in from the same X terminal. To enable using SCIM in +programs launched in any way, see the "Autostart SCIM" section below. + +GTK+ 2 has its own input method framework, so GTK+/GNOME programs can use SCIM +in an additional mode, GTK IM mode. Note again that GTK+/GNOME programs can +use XIM mode, too, so the scim-gtk2-immodule and GTK IM mode are not essential +for using input methods in GTK+ applications. SCIM's GTK IM mode is provided +as a GTK IM module by the scim-gtk2-immodule package, and SCIM can +automatically start if you choose this module. So using GTK IM mode is +simpler, just start a GTK+/GNOME program, right-click and choose "Input +Methods -> SCIM Input Method" in the pop-up menu, and SCIM should +automatically start if it's not started yet. Now pressing Ctrl-space should +also activate SCIM and you can start inputing. An alternative way to start +GTK+ applications using SCIM at the GTK IM module is by using GTK_IM_MODULE +environment variable, such as: + $ GTK_IM_MODULE="scim" + $ export GTK_IM_MODULE + $ gedit +This way SCIM will automatically start when you start the GTK+ program, and +automatically stop when you quit the program. This may cause delay for +program start/quit though, so it's always a good idea to explicitly start SCIM +by "scim -d" command. + +-------------- +Autostart SCIM +-------------- + +It's quite inconvenient to set environment variables and manually start SCIM +each time you login, so you want to start SCIM automatically when your X +session starts. This is not hard, you just need to put the commands of +setting variables and start SCIM into a configuration file X reads when it +starts. For example, the following lines in ~/.gnomerc should work if you +want to start SCIM automatically with GNOME: + LANG=en_US.UTF-8 + export LANG + XMODIFIERS="@im=SCIM" + export XMODIFIERS + GTK_IM_MODULE="xim" + export GTK_IM_MODULE + scim -d +Change the en_US.UTF-8 to your preferred locale, and change GTK_IM_MODULE to +"scim" if you want to use GTK IM mode instead of XIM mode. + +The hard part is to figure out which configuration file to put these in. One +choice is to put it in ~/.xsession, and add your X session command at the end +of the file (such as "exec gnome-session" or "exec startkde"). But this way +you always need to modify this file to change X session, and the feature of +choosing session in GDM/KDM will not work anymore. + +There are other packages to help these configuration easier, see the next +section. + +--------------- +Helper Packages +--------------- + +The im-switch package will help user to set up their input methods. + +The im-switch package provides the framework for input method packages to +provide their own customization scirpts. It uses hook script in +/etc/X11/Xsession.d/ to read these customization scripts and set enviroment +for input methods. But this package's configuration is choosing among SCIM, +UIM, ... etc only. The detail choices within SCIM modules are done by +installing relevant packages and configuring through SCIM GUI configuration +tool. (This is the same situation between UIM modules.) + +If you start X in one of CJK environment while scim and im-switch are +installed, it should start SCIM automatically unless you have higher priority +package for IM. + +To see what is your IM, + $ im-swich -l +will list complete situation. If you just want to set one user account +to use SCIM, just type: + $ im-switch -s scim +The same can be done with menu selection as: + $ im-switch -c + +If you do the same from root use, you set system wide default. + # im-switch -s scim + # im-switch -c + +The activation of SCIM is default only for Chinese, Japanese and Korean (CJK) +enviroment. Above command set up SCIM only for one locale. If you wish to +enable SCIM system wide for all locales, configure SCIM from root as: + # im-switch -z zh_CN -s scim + # im-switch -z zh_TW -s scim + # im-switch -z zh_HK -s scim + # im-switch -z zh_SG -s scim + # im-switch -z ja_JP -s scim + # im-switch -z ko_KR -s scim + # im-switch -z all_ALL -s scim + +Then you clear the user specific configurations with + $ im-switch -a + +If you wish to load SCIM for the GTK applications through immodule mechanism +despite the warning in the README.GTK, we offer a configuration file +"scim-immodule" for it. Use it at your risk. + +There is another interesting package m17n-env. This provides terminals +run under all possible locales, e.g., ja_JP.UTF-8, ja_JP.eucJP, +fr_FR.ISO-8859-1, ... to enable multilingualization (m17n) environment. + +The good old language-env package provided customization for a +single non-UTF-8 locale only. So as of now, it is not so useful under +UTF-8 but font recommendation etc are quite informative. + +The im-switch package does not change ~/.scim/global or /etc/scim/global +to enable all available UTF-8 locales for SCIM since you may want to start +some locales without SCIM. You still need to manually enable your locale +(see the "Locales" section above). + +Select UTF-8 locale using GDM/KDM menu. + +(You can also add customization scripts in /etc/X11/Xsession.d/ directly, +of course, but the maintainer would discourge this.) + +------------------- +Further information +------------------- + +Debian users should read the other README files in /usr/share/doc/scim/ for +using SCIM in different desktop environments. There is also an scim(1) man +page worth reading. + +The Debian packaging work of SCIM related packages is coordinated on a mailing +list on Alioth, pkg-ime-devel@list.alioth.debian.org. You can subscribe to it +or read the web archives for some useful information. See + http://lists.alioth.debian.org/mailman/listinfo/pkg-ime-devel +about this mailing list. + +The SCIM upstream website is at http://www.scim-im.org/ but the Debian +specific information is probably quite sparse. + +----------- +Report Bugs +----------- + +SCIM is still not perfect, and there are always some corner case usability +issues. So please report bugs (install the reportbug package and use the +reportbug program, it's not hard to report a bug)! SCIM involves many +languages and input methods, only with every user's testing and help, can we +keep improving it and provide better input method support in Debian. Thanks! + + -- Ming Hua Sun, 15 Jan 2006 08:15:48 -0600 + -- Osamu Aoki Sat, 20 May 2006 02:45:20 +0900 + +vim:textwidth=78: --- scim-1.4.4.orig/debian/README.GTK +++ scim-1.4.4/debian/README.GTK @@ -0,0 +1,40 @@ +In GTK+ 2.x applications, you can use SCIM in two different modes, XIM mode or +GTK IM mode. In order to use GTK IM mode, you need to install package +scim-gtk2-immodule (which depends on scim-modules-socket). Then the +environment variable GTK_IM_MODULE will be used to determine which mode SCIM +will use. To use XIM mode, set GTK_IM_MODULE to xim (also remember you need +to set XMODIFIERS to @im=SCIM); to use GTK IM mode, set it to scim. + +Note that all GTK+ applications should work fine with SCIM in XIM mode, so the +package scim-gtk2-immodule is not essential for using SCIM in GTK+/GNOME +environments. A big disadvantage of using GTK IM mode is that it may cause +mysterious crashes if the GTK+ application (or some module the application +dynamically loads) is linked to a different version of standard C++ library +(libstdc++) as SCIM is linked to. For example, Adobe Reader (acroread) +version 7 and the official Mozilla Firefox from mozilla.org are both linked to +libstdc++5, so they will crash if you try to use the SCIM packages in unstable +(which are linked to libstdc++6) with them in GTK IM mode. For more details, +look at Debian bug #323216 [1]. + +Mainly for this reason, upstream has slightly changed the behavior of SCIM's +GTK IM mode since version 1.4.3. Until 1.4.2, SCIM claims to be preferred for +GTK IM mode in all locales, so if GTK_IM_MODULE is unset, SCIM will use GTK IM +mode (the same result as GTK_IM_MODULE set to scim) in GTK+ 2.x applications, +which makes GTK IM mode sort of the "default mode". Since 1.4.3, however, +SCIM no longer claims preferred for GTK IM mode in any locale, so unless +GTK_IM_MODULE is set to scim, SCIM will not use GTK IM mode. The side effect +of this change, is that if you have been using GTK IM mode with out setting +GTK_IM_MODULE, your SCIM will suddenly stop working after you upgrade to a +version higher than 1.4.2, you need to set GTK_IM_MODULE to scim to resume the +previous behavior. + +The support for XIM mode in GTK+ 2.x has been significantly improved since the +days of version 2.0. Although there are still small glitches here an there, +XIM mode is generally quite usable. Because of the crash bug mentioned above, +as well as the default mode change by upstream, the maintainer now recommends +using XIM mode even in GTK+ applications. The maintainer himself has been +mainly using XIM mode for a long time, and it had been serving him well. :-) + +1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323216 + +vim:textwidth=78: --- scim-1.4.4.orig/debian/scim.1 +++ scim-1.4.4/debian/scim.1 @@ -0,0 +1,164 @@ +.\" Copyright 2004 Osamu Aoki , +.\" 2004,2006 Ming Hua . +.\" This man page is distributed under the same license as scim package. +.\" +.TH scim 1 "January 2006" "scim 1.4.4" +. +.SH NAME +scim \(em smart common input method +. +.SH SYNOPSIS +.B scim \-l +.br +.BR scim " [" \-c " \fIconfig\fR]" +.RB [ \-e | \-ne " \fIengine\fR]" +.RB [ \-f " \fIfrontend\fR]" +.RB [ \-\-no\-socket ] +.RB [ \-d ] +.br +.B scim \-h +. +.SH DESCRIPTION +Smart common input method (SCIM) is a platform for input methods. +Input methods are useful for users who need to input characters that can't be +represented by the keys or key combinations on the keyboard, and it's +essential for languages that use ideograms, such as Chinese, Japanese and +Korean (CJK), as their alphabets contain hundreds or thousands of characters. +.PP +This is the main program of SCIM platform. +It can be used to invoke the input method as well as list available input +method modules. +. +.SH OPTIONS +Most options have both a short version and a long version, and they take the +same arguments. +.TP +.BR \-c " | " \-\-config " \fImodule\fR" +Use specified Config module. +.TP +.BR \-d " | " \-\-daemon +Run as a daemon. +The program will exit and leave a daemon in the background if invoked with +this option. +.TP +.BR \-e " | " \-\-engines " \fImodule\fR[,\fImodule\fR]..." +Use specified IMEngine modules. +Only the named module(s) will be loaded, separate module names with comma. +.TP +.BR \-ne " | " \-\-no-engines " \fImodule\fR[,\fImodule\fR]..." +Use all IMEngine modules except specified ones. +All modules except the named one(s) will be loaded, separate module names with +comma. +.TP +.BR \-f " | " \-\-frontend " \fImodule\fR" +Use specified FrontEnd module. +.TP +.BR \-h " | " \-\-help +Show summary of options. +.TP +.BR \-l " | " \-\-list +Print the version number and list all the available modules, categorized in +three groups \(em FrontEnd, Config and IMEngine. +.TP +.B \-\-no\-socket +Do not start a socket FrondEnd module. +. +.SH ENVIRONMENT +.TP +.B XMODIFIERS +Should be set to "@im=SCIM". +Note that \fBXMODIFIERS\fR is case sensitive, and \fBscim\fR need uppercase. +If you set it to lowercase, there will be no error message but \fBscim\fR +won't work. +.TP +.B GTK_IM_MODULE +GTK+ applications can use many different modules to connect with input +methods, and SCIM can work in two different modes to provide input methods to +GTK+ with two different modules. +One is XIM mode, using the "xim" GTK IM module from GTK+ itself. +The other is GTK IM mode, using the "scim" GTK IM module provided by SCIM +platform. +The environment variable \fBGTK_IM_MODULE\fR is used by GTK+ to specify which +GTK IM module the application should use, to use SCIM's two modes, set +\fBGTK_IM_MODULE\fR to "xim" or "scim" accordingly. +. +.SH EXAMPLES +To use \fBscim\fR in XIM mode, execute the following commands in an X terminal +(assuming Bourne style shell): +.RS +.B XMODIFIERS="@im=SCIM" +.br +.B export XMODIFIERS +.br +.B GTK_IM_MODULE="xim" +.br +.B export GTK_IM_MODULE +.br +.B scim \-d +.br +.RI < program > +.br +.RE +Now you can press Ctrl\-space to activate \fBscim\fR in the program you just +started from X terminal. +To avoid the inconvenience of having to start the program from X terminal, +make sure you set \fBXMODIFIERS\fR and \fBGTK_IM_MODULE\fR before starting +your X session. +.PP +To use \fBscim\fR in GTK IM mode, just start any GTK+ application, then right +click in the application, choose "Input Methods \-> SCIM Input Method" in the +pop\-up menu, and scim should automatically start. +Alternatively, you can use the following commands to set scim as the default +GTK IM module (again assuming Bourne style shell): +.RS +.B GTK_IM_MODULE="scim" +.br +.B export GTK_IM_MODULE +.br +.RI < gtk\-program > +.RE +Here \fBscim\fR will also automatically start when you start your GTK+ +program. +However, it's still a good idea to start \fBscim\fR explicitly even if you use +GTK IM mode, because if only one application is using GTK IM mode, \fBscim\fR +will automatically stop when you quit this application. +Then when you start a new application, \fBscim\fR will start again, this can +cause quite long delay for application start and quit, giving people the +impression of "everything slows down when using scim". +.PP +The following command starts \fBscim\fR in daemon mode, using the simple +configure module, Pinyin IM engine module, X11 frontend module: +.RS +.B scim \-c simple \-e pinyin \-f x11 \-\-no\-socket \-d +.RE +. +.SH FILES +.TP +.IR /etc/scim/global ", " /etc/scim/config +Configuration file for system wide settings +.TP +.IR ~/.scim/global ", " ~/.scim/config +User specific settings +. +.SH "SEE ALSO" +There is a brief English README giving some introduction and tips about SCIM, +in \fBDebian\fR system it's installed in \fI/usr/share/doc/scim/\fR and +gzipped. +There is also a (simplified) Chinese manual with more details, but it's a +little outdated. In \fBDebian\fR system it's installed in +\fI/usr/share/doc/scim/zh_CN/\fR. +.PP +\fBDebian\fR users should also read the \fINEWS.Debian\fR and +\fIREADME.Debian\fR files in \fI/usr/share/doc/scim/\fR. +There are also other README files in the same directory about using SCIM on a +\fBDebian\fR system. +. +.SH AUTHOR +SCIM platform is written by James Su and many other contributors. +.PP +This manual page is written by Osamu Aoki and Ming Hua for the \fBDebian\fR +system, but hopefully it's also useful for other users. +This document is distributed under the same license as the scim software +package. +.\" +.\" vim:textwidth=78: --- scim-1.4.4.orig/debian/libscim-dev.install +++ scim-1.4.4/debian/libscim-dev.install @@ -0,0 +1,17 @@ +usr/lib/libscim-1.0.so +usr/lib/libscim-1.0.a +usr/lib/libscim-1.0.la +usr/lib/pkgconfig/scim.pc +usr/include/scim-1.0/*.h + +usr/lib/libscim-gtkutils-1.0.so +usr/lib/libscim-gtkutils-1.0.a +usr/lib/libscim-gtkutils-1.0.la +usr/lib/pkgconfig/scim-gtkutils.pc +usr/include/scim-1.0/gtk/*.h + +usr/lib/libscim-x11utils-1.0.so +usr/lib/libscim-x11utils-1.0.a +usr/lib/libscim-x11utils-1.0.la +usr/lib/pkgconfig/scim-x11utils.pc +usr/include/scim-1.0/x11/*.h --- scim-1.4.4.orig/debian/libscim8c2a.install +++ scim-1.4.4/debian/libscim8c2a.install @@ -0,0 +1,6 @@ +usr/lib/libscim-1.0.so.8 +usr/lib/libscim-1.0.so.8.* +usr/lib/libscim-gtkutils-1.0.so.8 +usr/lib/libscim-gtkutils-1.0.so.8.* +usr/lib/libscim-x11utils-1.0.so.8 +usr/lib/libscim-x11utils-1.0.so.8.* --- scim-1.4.4.orig/debian/scim-gtk2-immodule.install +++ scim-1.4.4/debian/scim-gtk2-immodule.install @@ -0,0 +1 @@ +usr/lib/gtk-2.0/2.4.0/immodules/im-scim.so --- scim-1.4.4.orig/debian/scim-dev-doc.doc-base +++ scim-1.4.4/debian/scim-dev-doc.doc-base @@ -0,0 +1,15 @@ +Document: scim-dev-doc +Title: Development Documentation (API Reference) for SCIM +Author: James Su +Abstract: SCIM (Smart Common Input Method) is an input method (IM) + platform. It provides a common platform for different independent IM + programs. SCIM is highly modularized, providing abstract interfaces to + various modules for configuration, IM engine and front end. + . + This developer manual includes doxygen-generated HTML documentation for + the C++ API of SCIM. +Section: Apps/Text + +Format: HTML +Index: /usr/share/doc/scim-dev-doc/html/index.html +Files: /usr/share/doc/scim-dev-doc/html/*.html --- scim-1.4.4.orig/debian/scim.postinst +++ scim-1.4.4/debian/scim.postinst @@ -0,0 +1,67 @@ +#! /bin/sh +# postinst script for scim +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. +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 scim 0 + ua_inst ja_JP scim 50 + ua_inst ko_KR scim 50 + ua_inst zh_CN scim 50 + ua_inst zh_TW scim 50 + ua_inst zh_HK scim 50 + ua_inst zh_SG scim 50 + ua_inst all_ALL scim-immodule 0 + ua_inst ja_JP scim-immodule 0 + ua_inst ko_KR scim-immodule 0 + ua_inst zh_CN scim-immodule 0 + ua_inst zh_TW scim-immodule 0 + ua_inst zh_HK scim-immodule 0 + ua_inst zh_SG scim-immodule 0 + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- scim-1.4.4.orig/debian/scim.manpages +++ scim-1.4.4/debian/scim.manpages @@ -0,0 +1 @@ +debian/scim.1 --- scim-1.4.4.orig/debian/patches/20_scim_config.dpatch +++ scim-1.4.4/debian/patches/20_scim_config.dpatch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20_scim_config.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: update the default config (see malone #37687) + +@DPATCH@ +diff -urNad scim-1.4.4~/configs/config scim-1.4.4/configs/config +--- scim-1.4.4~/configs/config 2006-04-03 12:10:30.000000000 +0200 ++++ scim-1.4.4/configs/config 2006-04-03 12:11:03.000000000 +0200 +@@ -1,16 +1,17 @@ + # This file is encoded in UTF-8 encoding. + /FrontEnd/OnTheSpot = true ++/FrontEnd/SharedInputMethod = true + /FrontEnd/ChangeFactoryGlobally = false + /FrontEnd/Socket/ConfigReadOnly = false + /FrontEnd/Socket/MaxClients = 512 + /FrontEnd/X11/BrokenWchar = true +-/FrontEnd/X11/Dynamic = true ++/FrontEnd/X11/Dynamic = false + /FrontEnd/X11/OnTheSpot = true + /FrontEnd/X11/ServerName = SCIM + /Hotkeys/FrontEnd/NextFactory = Control+Alt+Down,Shift+Control+KeyRelease+Shift_L,Shift+Control+KeyRelease+Shift_R + /Hotkeys/FrontEnd/PreviousFactory = Control+Alt+Up,Shift+Control+KeyRelease+Control_L,Shift+Control+KeyRelease+Control_R + /Hotkeys/FrontEnd/ShowFactoryMenu = Control+Alt+Right +-/Hotkeys/FrontEnd/Trigger = Control+space ++/Hotkeys/FrontEnd/Trigger = Control+space,Shift+space,Zenkaku_Hankaku,Hangul + /Hotkeys/FrontEnd/ValidKeyMask = Shift+Control+Alt+CapsLock+Meta + /Panel/Gtk/Color/ActiveBackground = light sky blue + /Panel/Gtk/Color/ActiveText = black --- scim-1.4.4.orig/debian/patches/10_gtk-immodule-install-dir.dpatch +++ scim-1.4.4/debian/patches/10_gtk-immodule-install-dir.dpatch @@ -0,0 +1,59 @@ +#! /bin/sh -e +## 10_gtk-immodule-install-dir.dpatch by Ming Hua +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Change the gtk immodule installation directory from +## DP: /usr/lib/gtk-2.0/immodules/ to /usr/lib/gtk-2.0/2.4.0/immodules/. +## DP: This is just a workaround for the problem that +## DP: /usr/sbin/update-gtk-immodules used by GTK+ packages only looks +## DP: for the specific versioned directory (so that 2.2.x and 2.4.x can +## DP: coexist, probably). I can use /usr/bin/gtk-query-immodules-2.0 +## DP: instead, but that completely rewrite /etc/gtk-2.0/gtk.immodules, +## DP: and more importantly, it won't survive libgtk2.0-0 package +## DP: upgrades. After all, this patch has been working well. Let's +## DP: worry about compatibility with GTK+ 2.6.x later, at least not for +## DP: sarge. + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad --exclude=CVS --exclude=.svn ./extras/gtk2_immodule/Makefile.am /tmp/dpep-work.pSFvig/scim-1.4.1/extras/gtk2_immodule/Makefile.am +--- ./extras/gtk2_immodule/Makefile.am 2005-08-11 20:39:15.000000000 -0500 ++++ /tmp/dpep-work.pSFvig/scim-1.4.1/extras/gtk2_immodule/Makefile.am 2005-08-11 20:52:41.868781848 -0500 +@@ -32,7 +32,7 @@ + + noinst_HEADERS = gtkimcontextscim.h + +-moduledir = @GTK_LIBDIR@/gtk-2.0/immodules ++moduledir = @GTK_LIBDIR@/gtk-2.0/2.4.0/immodules + + module_LTLIBRARIES = $(CONFIG_GTK2_IMMODULE) + +diff -urNad --exclude=CVS --exclude=.svn ./extras/gtk2_immodule/Makefile.in /tmp/dpep-work.pSFvig/scim-1.4.1/extras/gtk2_immodule/Makefile.in +--- ./extras/gtk2_immodule/Makefile.in 2005-08-11 20:39:15.000000000 -0500 ++++ /tmp/dpep-work.pSFvig/scim-1.4.1/extras/gtk2_immodule/Makefile.in 2005-08-11 20:52:41.870781544 -0500 +@@ -366,7 +366,7 @@ + @SCIM_BUILD_X11_UTILS_TRUE@X11_UTILS = $(top_builddir)/utils/libscim-x11utils-1.0.la + @SCIM_LD_VERSION_SCRIPT_TRUE@LD_VERSION_SCRIPT_OPTION = "-Wl,--version-script=$(srcdir)/im-scim.version-script" + noinst_HEADERS = gtkimcontextscim.h +-moduledir = @GTK_LIBDIR@/gtk-2.0/immodules ++moduledir = @GTK_LIBDIR@/gtk-2.0/2.4.0/immodules + module_LTLIBRARIES = $(CONFIG_GTK2_IMMODULE) + im_scim_la_SOURCES = gtkimcontextscim.cpp imscim.cpp + im_scim_la_CXXFLAGS = @GTK2_CFLAGS@ --- scim-1.4.4.orig/debian/patches/00list +++ scim-1.4.4/debian/patches/00list @@ -0,0 +1,10 @@ +# Patch naming guideline: +# - Please use ##_xxx-xxx.dpatch pattern for naming the patch. ## is a +# two digit number, and xxx-xxx describe the content of the patch. +# - Use number 0# for patches pulled from upstream CVS. +# - Group patches of similar usage with the same first digit. +# - Note the patches are applied in the order of their numbers. So if +# you insert a new patch, make sure all the patches after it applies +# correctly. +10_gtk-immodule-install-dir.dpatch +20_scim_config.dpatch --- scim-1.4.4.orig/debian/copyright +++ scim-1.4.4/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Anthony Fok on +Sat, 5 Apr 2003 23:38:30 +0800. The current package maintainer is +Ming Hua . + +Upstream Author: James Su + +Home Page: http://www.scim-im.org/ + +The package was downloaded from http://prdownloads.sourceforge.net/scim/ + +Copyright: + + scim - Smart Common Input Method platform + + Copyright 2002-2005 James Su + + This program 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'. --- scim-1.4.4.orig/debian/scim.prerm +++ scim-1.4.4/debian/scim.prerm @@ -0,0 +1,37 @@ +#!/bin/sh +set -e + +ua_remove () { + update-alternatives \ + --remove xinput-$1 \ + /etc/X11/xinit/xinput.d/$2 ; +} + +case "$1" in + remove|upgrade|deconfigure) + ua_remove all_ALL scim + ua_remove ja_JP scim + ua_remove ko_KR scim + ua_remove zh_CN scim + ua_remove zh_TW scim + ua_remove zh_HK scim + ua_remove zh_SG scim + ua_remove all_ALL scim-immodule + ua_remove ja_JP scim-immodule + ua_remove ko_KR scim-immodule + ua_remove zh_CN scim-immodule + ua_remove zh_TW scim-immodule + ua_remove zh_HK scim-immodule + ua_remove zh_SG scim-immodule + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- scim-1.4.4.orig/debian/scim-modules-socket.install +++ scim-1.4.4/debian/scim-modules-socket.install @@ -0,0 +1,3 @@ +usr/lib/scim-1.0/1.4.0/Config/socket.so +usr/lib/scim-1.0/1.4.0/FrontEnd/socket.so +usr/lib/scim-1.0/1.4.0/IMEngine/socket.so