--- scim-hangul-0.2.2.orig/debian/compat +++ scim-hangul-0.2.2/debian/compat @@ -0,0 +1 @@ +4 --- scim-hangul-0.2.2.orig/debian/install +++ scim-hangul-0.2.2/debian/install @@ -0,0 +1,5 @@ +usr/lib/scim-1.0/*/IMEngine/hangul.so +usr/lib/scim-1.0/*/SetupUI/hangul-imengine-setup.so + +usr/share/locale/*/LC_MESSAGES/scim-hangul.mo +usr/share/scim/icons/scim-hangul.png --- scim-hangul-0.2.2.orig/debian/changelog +++ scim-hangul-0.2.2/debian/changelog @@ -0,0 +1,101 @@ +scim-hangul (0.2.2-2ubuntu1) gutsy; urgency=low + + * Merge with Debian; remaining changes: + - Check for skim in the im-switch file and sets XIM_PROGRAM=skim if + it is installed (fixes the problem that skim is not started currently + automatically in kubuntu). + - Add im-switch support. (Ubuntu #33763) + - Write two im-switch configuration files (for GTK/Qt IM module and XIM) + and install them into /etc/X11/xinit/xinput.d/. + - Add postinst and prerm scripts to handle the alternatives system + used by im-switch. + - Add im-switch to Recommends. + + -- Matthias Klose Mon, 11 Jun 2007 18:17:30 +0200 + +scim-hangul (0.2.2-2) unstable; urgency=low + + * Adapt to the $(moduledir) change in scim 1.4.6. (Closes: #424012) + - Bump build dependency to libscim-dev (>= 1.4.6). + - Drop 10scim-plugin-module-install-dir dpatch, no longer needed. + - Use wildcard "*" instead of hardcoded "1.4.0" for scim module path in + debian/install and debian/rules, making it possible to binNMU when scim + module ABI changes. + * Add scim to dependency. All IM module packages should depend on scim, + because they would be useless without scim installed. Users only need to + install the IM module package they need and should get scim automatically. + * Update debian/watch to use the qa.debian.org redirect URL for + sourceforge.net. + * Upgarde to policy version 3.7.2.2, no actual changes needed. + + -- Yooseong Yang Sun, 10 Jun 2007 10:53:00 +0900 + +scim-hangul (0.2.2-1ubuntu2) feisty; urgency=low + + * Rebuild for ldbl128 change (powerpc, sparc). + * Set Ubuntu maintainer address. + + -- Matthias Klose Mon, 5 Mar 2007 01:26:27 +0100 + +scim-hangul (0.2.2-1ubuntu1) edgy; urgency=low + + * Merge from debian unstable. + + -- Scott James Remnant Mon, 10 Jul 2006 16:29:30 +0100 + +scim-hangul (0.2.2-1) unstable; urgency=low + + [ Ming Hua ] + * New upstream release. + * Build-depend on autotools-dev and use config.{guess,sub} from + autotools-dev package unconditionally. + + [ Yooseong Yang ] + * skim/admin/CVS removed in source tree. + + -- Yooseong Yang Thu, 1 Jun 2006 15:31:35 +0900 + +scim-hangul (0.2.1-1ubuntu2) dapper; urgency=low + + * check for skim in the im-switch file and sets XIM_PROGRAM=skim if + it is installed (fixes the problem that skim is not started currently + automatically in kubuntu) + + -- Hou ZhengPeng Thu, 13 Apr 2006 10:26:46 +0800 + +scim-hangul (0.2.1-1ubuntu1) dapper; urgency=low + + * Add im-switch support. (Ubuntu #33763) + - Write two im-switch configuration files (for GTK/Qt IM module and XIM) + and install them into /etc/X11/xinit/xinput.d/. + - Add postinst and prerm scripts to handle the alternatives system used by + im-switch. + - Add im-switch to Recommends. + + -- Ming Hua Sun, 5 Mar 2006 23:07:47 -0600 + +scim-hangul (0.2.1-1) unstable; urgency=low + + [ Ming Hua ] + * New upstream release. + * Update upstream homepage information. + * Add myself as an uploader with the maintainer's agreement. + + [ Yooseong Yang ] + * Add another korean truetype font in suggest field of control file. + + -- Yooseong Yang Sat, 31 Dec 2005 11:43:40 +0900 + +scim-hangul (0.1.2-2) unstable; urgency=low + + * Added patch by Ming Hua against SCIM 1.4 ABI + (closes: #336270) + + -- Yooseong Yang Fri, 4 Nov 2005 11:18:22 +0900 + +scim-hangul (0.1.2-1) unstable; urgency=low + + * Initial release, based on upstream version (0.1.2) (closes: #278084) + + -- Yooseong Yang Wed, 10 Nov 2004 09:30:22 +0900 + --- scim-hangul-0.2.2.orig/debian/control +++ scim-hangul-0.2.2/debian/control @@ -0,0 +1,24 @@ +Source: scim-hangul +Section: utils +Priority: optional +Maintainer: Ubuntu Core developers +XSBC-Original-Maintainer: Yooseong Yang +Uploaders: Ming Hua +Build-Depends: debhelper (>= 4.0.1), dpatch, autotools-dev, libgtk2.0-dev, libscim-dev (>= 1.4.6-1) +Standards-Version: 3.7.2.2 + +Package: scim-hangul +Architecture: any +Depends: scim, ${shlibs:Depends} +Recommends: im-switch +Suggests: ttf-unfonts, ttf-alee +Description: Hangul Input Method Engine for SCIM + SCIM (Smart Common Input Method) is an input method (IM) platform. + . + Hangul Input Method Engine enables SCIM to input Hangul (Korean) + characters from the keyboard using the plugin modules and the data + files. + . + Homepage: http://www.scim-im.org/ + . + For details about SCIM, please see the description of package scim. --- scim-hangul-0.2.2.orig/debian/docs +++ scim-hangul-0.2.2/debian/docs @@ -0,0 +1,2 @@ +README +NEWS --- scim-hangul-0.2.2.orig/debian/im-switch/scim +++ scim-hangul-0.2.2/debian/im-switch/scim @@ -0,0 +1,17 @@ +# im-switch configuration file for scim-hangul +# should be installed as /etc/X11/xinit/xinput.d/scim-hangul +# 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 +if [ -e /usr/bin/skim ]; then + XIM_PROGRAM=/usr/bin/skim +else + XIM_PROGRAM=/usr/bin/scim +fi +XIM_ARGS="--daemon" +# package dependency +DEPENDS="scim, scim-gtk2-immodule | scim-qtimm" --- scim-hangul-0.2.2.orig/debian/im-switch/xim +++ scim-hangul-0.2.2/debian/im-switch/xim @@ -0,0 +1,17 @@ +# im-switch configuration file for scim-hangul +# should be installed as /etc/X11/xinit/xinput.d/scim-hangul_scim +# this configuration uses XIM + +# exported enviroment variables +XMODIFIERS="@im=SCIM" +GTK_IM_MODULE="xim" +QT_IM_MODULE="xim" +# command and arguments to invoke scim +if [ -e /usr/bin/skim ]; then + XIM_PROGRAM=/usr/bin/skim +else + XIM_PROGRAM=/usr/bin/scim +fi +XIM_ARGS="--daemon" +# package dependency +DEPENDS="scim" --- scim-hangul-0.2.2.orig/debian/postinst +++ scim-hangul-0.2.2/debian/postinst @@ -0,0 +1,31 @@ +#!/bin/sh + +set -e + +# Install im-switch support for ko_KR +IM_SWITCH_SUPPORT_DIR="/etc/X11/xinit/xinput.d" +if [ "$1" = "configure" ]; then + # The configuration using GTK and Qt IM module is installed at + # priority 45, the one using XIM is installed at priority 40. It is + # set below 50 because scim-hangul will be installed by default by + # Korean language pack, therefore it should have lower priority than + # other Korean input methods (such as nabi), which usually set + # priority to 50. + if [ -e "$IM_SWITCH_SUPPORT_DIR/scim-hangul" ]; then + update-alternatives --install \ + "$IM_SWITCH_SUPPORT_DIR/ko_KR" \ + xinput-ko_KR \ + "$IM_SWITCH_SUPPORT_DIR/scim-hangul" \ + 45 + fi + if [ -e "$IM_SWITCH_SUPPORT_DIR/scim-hangul_xim" ]; then + update-alternatives --install \ + "$IM_SWITCH_SUPPORT_DIR/ko_KR" \ + xinput-ko_KR \ + "$IM_SWITCH_SUPPORT_DIR/scim-hangul_xim" \ + 40 + fi +fi + +# Nothing should be added by debhelper, this is just to satisfy lintian +#DEBHELPER# --- scim-hangul-0.2.2.orig/debian/prerm +++ scim-hangul-0.2.2/debian/prerm @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +# Remove im-switch support for ko_KR +IM_SWITCH_SUPPORT_DIR="/etc/X11/xinit/xinput.d" +if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]; then + update-alternatives --remove \ + xinput-ko_KR \ + "$IM_SWITCH_SUPPORT_DIR/scim-hangul" + update-alternatives --remove \ + xinput-ko_KR \ + "$IM_SWITCH_SUPPORT_DIR/scim-hangul_xim" +fi + +# Nothing should be added by debhelper, this is just to satisfy lintian +#DEBHELPER# --- scim-hangul-0.2.2.orig/debian/rules +++ scim-hangul-0.2.2/debian/rules @@ -0,0 +1,154 @@ +#!/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-hangul by Osamu Aoki 2004. Some modification +# comes from Ming Hua and 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 \ + --disable-static \ + --disable-skim-support + +build: build-stamp +build-stamp: config.status + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp install-stamp + rm -f config.guess config.sub + + # Fix the broken Makefile when disable skim support + [ ! -f Makefile ] || sed -i -e 's/ skim$$//' Makefile + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +patch: patch-stamp +patch-stamp: + dpatch apply-all + touch patch-stamp + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Use the upstream makefile to install everything into + # debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + # Clean up unnecessary static libraries for modules + rm debian/tmp/usr/lib/scim-1.0/*/*/*.la + + # Prepare files for different packages to separate directories + dh_install --sourcedir=debian/tmp --fail-missing + # Install im-switch configuration files + install -m 644 -D debian/im-switch/xim \ + debian/scim-hangul/etc/X11/xinit/xinput.d/scim-hangul_xim + install -m 644 -D debian/im-switch/scim \ + debian/scim-hangul/etc/X11/xinit/xinput.d/scim-hangul + + touch install-stamp + +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build install + # We don't have any arch-independent packages yet + #$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build install + $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common + +binary: binary-arch binary-indep + +.SUFFIXES: +.PHONY: build clean clean-patched install binary-indep binary-arch binary patch unpatch --- scim-hangul-0.2.2.orig/debian/copyright +++ scim-hangul-0.2.2/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Osamu Aoki on +Fri, 22 Oct 2004 01:19:46 +0200 + +Upstream Author: James Su + CHOE Hwanjin + Cougar Liu + +Home Page: http://www.scim-im.org/ + +The package was downloaded from http://prdownloads.sourceforge.net/scim/ + +Copyright: + + Smart Common Input Method -- Hangul Input Method Engine + + Copyright 2002-2004, James Su + 2004, CHOE Hwanjin + 2003-2005, Cougar Liu + + 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 dated June, 1991. + + 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- scim-hangul-0.2.2.orig/debian/watch +++ scim-hangul-0.2.2/debian/watch @@ -0,0 +1,8 @@ +# debian/watch file for scim-hangul +# written by Ming Hua on 2007.05.27 + +# format version number +version=3 +# special URL parsed as qa.debian.org redirector for sourceforge +http://sf.net/scim/scim-hangul-([\d\.]+)\.tar\.gz debian uupdate + --- scim-hangul-0.2.2.orig/debian/TODO +++ scim-hangul-0.2.2/debian/TODO @@ -0,0 +1,6 @@ +* gconf: +Add following to debian/install, if source/patch provides schemas/ +directory contents. + + etc/gconf/schemas/scim-hangul.schemas +