--- /dev/null
+# ChangeLog for app-i18n/qimhangul
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/qimhangul/ChangeLog,v 1.1 2004/10/06 06:45:59 usata Exp $
+
+*qimhangul-0.0.1 (06 Oct 2004)
+
+ 06 Oct 2004; Mamoru KOMACHI <usata@gentoo.org>
+ +files/qimhangul-0.0.1-thread-gentoo.diff, +qimhangul-0.0.1.ebuild:
+ Initial import.
+
--- /dev/null
+--- qimhangul.pro.orig 2004-10-06 13:53:50.000000000 +0900
++++ qimhangul.pro 2004-10-06 15:27:52.000000000 +0900
+@@ -8,7 +8,7 @@
+ target.path = $(QTDIR)/plugins/inputmethods
+ INSTALLS += target
+
+-CONFIG += debug plugin qt
++CONFIG += debug plugin qt thread
+
+ # Input
+ HEADERS += \
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/qimhangul/qimhangul-0.0.1.ebuild,v 1.1 2004/10/06 06:45:59 usata Exp $
+
+inherit eutils
+
+DESCRIPTION="Qt immodules input method framework plugin for UIM"
+HOMEPAGE="http://kldp.net/projects/qimhangul/"
+SRC_URI="http://kldp.net/download.php/1529/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=x11-libs/qt-3.3.3-r1"
+
+pkg_setup() {
+ if [ ! -e /usr/qt/3/plugins/inputmethods/libqimsw-none.so ] ; then
+ die "You need to rebuild >=x11-libs/qt-3.3.3-r1 with immqt-bc or immqt USE flag enabled."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-thread-gentoo.diff
+}
+
+src_compile() {
+ qmake -makefile || die "qmake failed"
+ emake -j1 || die "make failed."
+}
+
+src_install() {
+ make INSTALL_ROOT=${D} install || die
+
+ dodoc ChangeLog
+}
+
+pkg_postinst() {
+ einfo
+ einfo "After you emerged ${PN}, use right click to switch immodules for Qt."
+ einfo "If you would like to use qimhangul as default instead of XIM,"
+ einfo " set QT_IM_MODULE to hangul2."
+ einfo "e.g.)"
+ einfo " % export QT_IM_MODULE=hangul2"
+ einfo
+ ewarn
+ ewarn "qtconfig is no longer used for selecting input methods."
+ ewarn
+}