--- imhangul-0.9.13.orig/debian/rules +++ imhangul-0.9.13/debian/rules @@ -0,0 +1,87 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +IMAPIVER ?= $(shell pkg-config --variable=gtk_binary_version gtk+-2.0) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --with-default-keyboard=2 + +build: build-stamp +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/imhangul \ + moduledir=/usr/lib/gtk-2.0/$(IMAPIVER)/immodules + install -m644 $(CURDIR)/debian/imhangul.xinput $(CURDIR)/debian/imhangul/etc/X11/xinit/xinput.d/imhangul + +binary-indep: build install + # nothing todo + +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs debian/README.Debian.ko + dh_installexamples + dh_installmenu + dh_installcron + # dh_installman -pimhangul + dh_installinfo +# dh_undocumented + dh_gtkmodules + dh_installchangelogs ChangeLog + dh_strip + dh_link + dh_compress + dh_fixperms + + dh_installdeb + dh_shlibdeps -pimhangul + + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch configure +.PHONY: build clean binary-indep binary-arch binary install --- imhangul-0.9.13.orig/debian/README.Debian +++ imhangul-0.9.13/debian/README.Debian @@ -0,0 +1,16 @@ +imhangul for Debian +------------------- + +* It used im-switch from 0.9.13-2. It automatically become the default + GTK input module in ko_KR locale, unless other higher priority + Korean module is installed. And you can set the default input + module using im-switch command. + + See im-switch documents for details. + +* /usr/share/doc/imhangul/README (upstream) is written in Korean, + encoded in UTF-8. + +* See http://imhangul.kldp.net for more information. + + -- Changwoo Ryu , Fri Dec 23 03:53:50 2005 --- imhangul-0.9.13.orig/debian/docs +++ imhangul-0.9.13/debian/docs @@ -0,0 +1,3 @@ +AUTHORS +NEWS +README --- imhangul-0.9.13.orig/debian/control +++ imhangul-0.9.13/debian/control @@ -0,0 +1,16 @@ +Source: imhangul +Section: gnome +Priority: optional +Maintainer: Changwoo Ryu +Build-Depends: debhelper (>> 5.0.0), bzip2, libgtk2.0-dev (>= 2.10.1-1) +Standards-Version: 3.7.2 + +Package: imhangul +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, im-switch +Suggests: imhangul-status-applet +Description: A Hangul (Korean) input module for GTK+ + Imhangul is a Hangul input module for GTK+ 2. This supports Korean + Hangul input with several types of keyboards widely used in Korea. + . + See http://imhangul.kldp.net for more information (in Korean). --- imhangul-0.9.13.orig/debian/README.Debian.ko +++ imhangul-0.9.13/debian/README.Debian.ko @@ -0,0 +1,25 @@ +데비안 imhangul +--------------- + +* 버전 0.9.13-2부터 im-switch를 이용합니다. 다른 한국어 GTK 입력 모듈이 + 설치되어 있지 않다면 한국어 로케일에서 기본적으로 동작하게 됩니다. + 다른 한국어 GTK IM 모듈이 설치되어 imhangul보다 우선순위가 높은 경우에도 + im-switch 명령을 이용하면 강제로 imhangul을 쓰도록 설정할 수 있습니다. + + 다음 명령으로 현재 사용 중인 IM을 알 수 있습니다. + + # im-switch -l + + 시스템의 GTK 입력 모듈을 imhangul로 고정하려면 루트 사용자로 다음 명령을 + 이용하십시오. + + # im-switch -s imhangul + + 사용자의 GTK 입력 모듈을 imhangul로 바꾸려면 마찬가지로 해당 + 사용자로 다음 명령을 이용하십시오. + + $ im-switch -s imhangul + +* 자세한 정보는 http://imhangul.kldp.net을 참고하십시오. + + -- Changwoo Ryu , Thu Jul 8 03:06:49 2004 --- imhangul-0.9.13.orig/debian/imhangul.postinst +++ imhangul-0.9.13/debian/imhangul.postinst @@ -0,0 +1,27 @@ +#! /bin/sh + +set -e + +PRIORITY=49 + +case "$1" in + configure) + update-alternatives \ + --install /etc/X11/xinit/xinput.d/ko_KR xinput-ko_KR \ + /etc/X11/xinit/xinput.d/imhangul $PRIORITY + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + + --- imhangul-0.9.13.orig/debian/imhangul.prerm +++ imhangul-0.9.13/debian/imhangul.prerm @@ -0,0 +1,21 @@ +#! /bin/sh + +set -e + +case "$1" in + remove|upgrade|deconfigure) + update-alternatives --remove xinput-ko_KR /etc/X11/xinit/xinput.d/imhangul + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + + --- imhangul-0.9.13.orig/debian/imhangul.postrm +++ imhangul-0.9.13/debian/imhangul.postrm @@ -0,0 +1,17 @@ +#! /bin/sh + +set -e + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +#DEBHELPER# + +exit 0 --- imhangul-0.9.13.orig/debian/copyright +++ imhangul-0.9.13/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by Changwoo Ryu on +Wed, 23 Apr 2003 22:15:08 +0900. + +It was downloaded from + +Upstream Author: Choe Hwanjin + +Copyright: + + Copyright (C) Choe Hwanjin and is covered under the terms of the + GPL. See the file /usr/share/common-licenses/GPL for more + information. --- imhangul-0.9.13.orig/debian/dirs +++ imhangul-0.9.13/debian/dirs @@ -0,0 +1 @@ +etc/X11/xinit/xinput.d --- imhangul-0.9.13.orig/debian/imhangul.xinput +++ imhangul-0.9.13/debian/imhangul.xinput @@ -0,0 +1 @@ +GTK_IM_MODULE=hangul2 --- imhangul-0.9.13.orig/debian/compat +++ imhangul-0.9.13/debian/compat @@ -0,0 +1 @@ +5 --- imhangul-0.9.13.orig/debian/changelog +++ imhangul-0.9.13/debian/changelog @@ -0,0 +1,146 @@ +imhangul (0.9.13-6) unstable; urgency=low + + * Used pkg-config gtk_binary_version variable instead of modversion, to + find the immodule path. (Closes:419365) + + -- Changwoo Ryu Mon, 16 Apr 2007 00:05:43 +0900 + +imhangul (0.9.13-5) unstable; urgency=low + + * Build for unstable gtk 2.10. (Closes: #419309) + * Depends on debhelper 5. + + -- Changwoo Ryu Sun, 15 Apr 2007 18:04:36 +0900 + +imhangul (0.9.13-4) experimental; urgency=low + + * Bumped Standard-Version to 3.7.2. + * Used dh_gtkmodules instead of update-gtk-immodules. + * Detect the immodule path in build time. No more debian/rules + modification on every new stable GTK+ release... + + -- Changwoo Ryu Fri, 16 Mar 2007 04:00:02 +0900 + +imhangul (0.9.13-3) unstable; urgency=low + + * Set GTK_IM_MODULE=hangul2 instead of GTK_IM_MODULE=imhangul. For + hangul3{f,90} users, no idea... + + -- Changwoo Ryu Sun, 25 Dec 2005 23:30:50 +0900 + +imhangul (0.9.13-2) unstable; urgency=low + + * Used im-switch. + + -- Changwoo Ryu Fri, 23 Dec 2005 03:48:06 +0900 + +imhangul (0.9.13-1) unstable; urgency=low + + * New upstream release + + -- Changwoo Ryu Mon, 10 Oct 2005 15:06:16 +0900 + +imhangul (0.9.12-1) unstable; urgency=low + + * New upstream release + + -- Changwoo Ryu Sun, 7 Aug 2005 15:39:49 +0900 + +imhangul (0.9.11-1) unstable; urgency=low + + * New upstream release + + -- Changwoo Ryu Wed, 11 Aug 2004 20:06:25 +0900 + +imhangul (0.9.10-3) unstable; urgency=low + + * Disable the status window to avoid Epiphany crashes. + + -- Changwoo Ryu Sun, 8 Aug 2004 13:33:12 +0900 + +imhangul (0.9.10-2) unstable; urgency=low + + * Set the default preedit style as "underline". + + -- Changwoo Ryu Fri, 23 Jul 2004 05:46:28 +0900 + +imhangul (0.9.10-1) unstable; urgency=low + + * New upstream release. + + -- Changwoo Ryu Mon, 19 Jul 2004 01:02:04 +0900 + +imhangul (0.9.9-6) unstable; urgency=low + + * Removed the note about gtk's broken hangul module from the + Description:. The broken module has been removed in gtk 2.4.x. + * Changed the module install dir to /usr/lib/gtk-2.0/2.4.0/immodules, + from /usr/lib/gtk-2.0/2.4.0/immodules/hangul. + * Corrected some old informations in README.Debian. More information to + set the default GTK input module. + + -- Changwoo Ryu Thu, 8 Jul 2004 02:53:56 +0900 + +imhangul (0.9.9-5) unstable; urgency=low + + * DebConf4 release. ;) + * Rebuilt for unstable. + + -- Changwoo Ryu Tue, 1 Jun 2004 08:11:23 +0900 + +imhangul (0.9.9-4) experimental; urgency=low + + * Depends: libgtk2.0-dev (>= 2.4.0) for experimental. + + -- Changwoo Ryu Thu, 15 Apr 2004 01:46:49 +0900 + +imhangul (0.9.9-3) experimental; urgency=low + + * GTK 2.4 build. + + -- Changwoo Ryu Mon, 29 Mar 2004 22:13:50 +0900 + +imhangul (0.9.9-2) unstable; urgency=low + + * Changed the Section to gnome + * Simplified postinst, postrm scripts. + + -- Changwoo Ryu Tue, 13 Jan 2004 05:35:01 +0900 + +imhangul (0.9.9-1) unstable; urgency=low + + * New upstream release. It obsoltes the patch in 0.9.8-2. + + -- Changwoo Ryu Mon, 22 Dec 2003 23:38:07 +0900 + +imhangul (0.9.8-2) unstable; urgency=low + + * Fixes "Evolution Never Die" bug. + + -- Changwoo Ryu Wed, 10 Dec 2003 04:02:44 +0900 + +imhangul (0.9.8-1) unstable; urgency=low + + * New upstream release + + -- Changwoo Ryu Sun, 23 Nov 2003 03:47:26 +0900 + +imhangul (0.9.7-1) unstable; urgency=low + + * New upstream release + + -- Changwoo Ryu Wed, 22 Oct 2003 02:56:43 +0900 + +imhangul (0.9.6-2) unstable; urgency=low + + * Added imhangul-status-applet to Suggests:. + * Added bzip2 to Build-Depends:. + + -- Changwoo Ryu Sat, 26 Apr 2003 15:03:53 +0900 + +imhangul (0.9.6-1) unstable; urgency=low + + * Initial Release (Closes: #190360). + + -- Changwoo Ryu Wed, 23 Apr 2003 22:15:08 +0900 + --- imhangul-0.9.13.orig/gtkimcontexthangul.c +++ imhangul-0.9.13/gtkimcontexthangul.c @@ -243,7 +243,7 @@ PangoAttrList **attrs, gint start, gint end) = - im_hangul_preedit_foreground; + im_hangul_preedit_reverse; static GdkColor pref_fg = { 0, 0xeeee, 0, 0 }; static GdkColor pref_bg = { 0, 0xFFFF, 0xFFFF, 0xFFFF };