# ChangeLog for app-i18n/imhangul
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v 1.37 2011/12/22 22:03:35 maekke Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v 1.38 2012/01/11 15:23:33 matsuu Exp $
+
+*imhangul-3.1.0 (11 Jan 2012)
+*imhangul-2.1.0 (11 Jan 2012)
+
+ 11 Jan 2012; MATSUU Takuto <matsuu@gentoo.org> +imhangul-2.1.0.ebuild,
+ +imhangul-3.1.0.ebuild:
+ Version bumped.
22 Dec 2011; Markus Meier <maekke@gentoo.org> imhangul-2.0.0.ebuild:
x86 stable, bug #393011
DIST imhangul-0.9.12.tar.bz2 364154 RMD160 bf549c6157a474c2f1f20055de5aa8274d811cac SHA1 45fef722435bc53294f2a8f7d56ddf4d654ff2de SHA256 e51854c78c9be45e6be7f758a18d4dec9f52e1a2cbb671734d8947537bad05d0
DIST imhangul-0.9.16.tar.bz2 253102 RMD160 8dc127982defc3aa9db087965ccbad7fd4b8d53b SHA1 989113f64252eb990003e3f6e64ca66472586484 SHA256 fb36064cfdec3d3a36a4d9a08ccdcd9d2dbb5b999a6ff6688527139addc8add3
DIST imhangul-2.0.0.tar.bz2 255591 RMD160 196d05c164d446d65be11ba99263eaf25e2fbafc SHA1 0e12088f6eae4703b22be88251e3dc6546d8fb11 SHA256 504b3cce9dc269bc94a14c6e725b86620cb135e6d43f8b945d799162f50bbb43
+DIST imhangul-2.1.0.tar.bz2 268205 RMD160 9ee441730b52dc5857bfcb28c95696414fc86cab SHA1 199d73c24fe1e4365089031a0bd06f049c167b2d SHA256 08c6deb97eda7c96e8180528f3b2aeee3e367757c643e2c48dde7d7b5ac77dc9
DIST imhangul-3.0.0.tar.bz2 265064 RMD160 8925d9c2e90b2289b2c505f0cd713025ceec5062 SHA1 d1e4452284b52b56fd553a855e2aa7a9ee5d09fe SHA256 fbc6fbdd33781eeac873c677cb30da7163f0f8e8277bad386a93267c34b50eef
+DIST imhangul-3.1.0.tar.bz2 267943 RMD160 d14a1eebcfecfa8e1c0070094f0bf5e394c2f889 SHA1 8faff9153cb3cf69e1c2188f7d7b5411077b52b2 SHA256 69cd696a56321dd6cf7dc32d4bc7959a5853aee6ee61e4c4b26521473e84dad3
EBUILD imhangul-0.9.12.ebuild 1277 RMD160 664bca59833296f728a035f772ac2c83c7056ed2 SHA1 47e5689de937af4866e438c2d7847f761f3f3922 SHA256 955dab71e7d5f65c4c3d2ade5f02ccb797254852847f8c0a908f22070a29b68a
EBUILD imhangul-0.9.16.ebuild 2231 RMD160 0763bef8f92c55998e3e01f8b73865a5cb783523 SHA1 39de55b82f2002dd1bd5f18fb2969e741fa327ff SHA256 0edc7ea59bafdbd0d84883e144b07627a4db1a7539ebc59642811810a6ddf2b4
EBUILD imhangul-2.0.0.ebuild 2487 RMD160 3afa573da44e08d5bbc1c6ee22912f3f18805011 SHA1 b4babc5198692af687b68db294cdc09bb7824609 SHA256 e5a44af8f2fcf3054e563483716f5f8bd95516847ea8def982a9d81ab86768bf
+EBUILD imhangul-2.1.0.ebuild 2491 RMD160 ee7512567eb63d420fd83b6e3fe6fbb3ad697768 SHA1 4674711e320c06e08eaee3516244924bd0b89af0 SHA256 31e1f4b3aef1d9ecc60c3ffe2d22125268379df82f6f55a88d775c0e1cace480
EBUILD imhangul-3.0.0.ebuild 2114 RMD160 9fe15773b526efdc43bb7bd6b40425ae33d588eb SHA1 2bdfb939bcf2be29f7fbc7ff66e4a9d11c6b9950 SHA256 287da39455e6bd5f7cfb7b41ca9753ab0b88f89736f590a91c79f6f8f9c3ee76
-MISC ChangeLog 5590 RMD160 896f805ab1e356272cac1eab6f30f8ddd0dc678e SHA1 e517819001708ccc2f1fc058c2e9ec90a06ad3e8 SHA256 11449128dc8459b06e43cbf455748bfe7a31687cb09bfccdb29e02c16a1d5638
+EBUILD imhangul-3.1.0.ebuild 2117 RMD160 e58ea0189b9404c9b4e58f3182dcce2d26798026 SHA1 b2aa94a36c57ee1c4052ef76bc602336f70fa863 SHA256 f2a1f6a900cb7445ff9e298242103551dfdac65f14efa8edc25faa84f1b5d285
+MISC ChangeLog 5769 RMD160 fa14cb70eff7ecf3e0f53eec183d39197254a363 SHA1 704b78dca1b6bd33321ae1a55b4bb427ef00f71b SHA256 2f89bc4f1d13a3f2b4ac0a8c986d94526145f0e8d154504fe6115474165eb32b
MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk7zqaYACgkQkKaRLQcq0GIh2gCeIdDdhUwm93qLh297YKLKo/Zj
-qZgAn1R0mVyXoxZvl7RUUO7/dfKPuWYL
-=uekN
+iQIcBAEBAgAGBQJPDamCAAoJECaGw+YFKA1p+xoP/0E05G5Vni90NNr6Gk1w3Mwt
+wGJWw2PLh7aCGGjejK6eh4AY8AMATw+D1dsifXh4hd6EZaRfla3KiTzN4QuSK/0t
+bZmkWdc7Xqf4X+33ES5XhqdvG6Po4g/YlgRhwgtmX5M109vQO/Cahgx/D0slKn13
+kaL54F26PTlbtPWbM8RR4IfPEq3u8N3NPJ4hsPLHGMuItQrdeXCrINWo/Jbbyri7
+a7GFum/KNqYOKWtZ+vVr0x0WYS1qfrZ9Tl8kUIaJnDBAFfjSsQ6iVdolgKGA6Xu4
+pbOG0QPKRw6fASkLmEcpIF46BbRNKEVG5IlkQoQMWxscLCzm3mlj/QlPnbdx/PtT
+yezDaEqJDEzM8LsblL6VHSw8BT7HfGj8PciRDVMFvlPC3ipMvJ6Vdrzc04SOPtId
+CkY37LFUnklAJpRJhSGYkOilt4iD+sgMLqn30aBWR8HtkgRkbi4Z+cQkFd1hK1eR
+iNV8fLli6ayyw0tGeZJyglZoqm2IsIdpBVVQHWEKVvw5T9UCe5Dk7p4Zpr4MqbFl
+2fpd7a9jefnnrffgrqgylGyNjJYuB/AwTrESGILE6VkGHzoGT6uqLomzqqTbZaQM
+mxIHHwggnAsNMb1ikvU5kz86jnDxG1cMavs/RQZdSrTu0TBAENmJ2TwsBvRQHNfQ
+x1Zx5pV6AIbHYnBrBwdV
+=S3fd
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/imhangul-2.1.0.ebuild,v 1.1 2012/01/11 15:23:33 matsuu Exp $
+
+EAPI="3"
+inherit multilib
+
+DESCRIPTION="Gtk+-2.0 Hangul Input Modules"
+HOMEPAGE="http://code.google.com/p/imhangul/"
+SRC_URI="http://imhangul.googlecode.com/files/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=app-i18n/libhangul-0.0.12
+ >=x11-libs/gtk+-2.2:2
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/gettext"
+
+get_gtk_confdir() {
+ # bug #366889
+ if has_version '>=x11-libs/gtk+-2.22.1-r1:2' || has_multilib_profile ; then
+ GTK2_CONFDIR="${GTK2_CONFDIR:=${EPREFIX}/etc/gtk-2.0/$(get_abi_CHOST)}"
+ else
+ GTK2_CONFDIR="${GTK2_CONFDIR:=${EPREFIX}/etc/gtk-2.0}"
+ fi
+ echo ${GTK2_CONFDIR}
+}
+
+update_gtk_immodules() {
+ local GTK2_CONFDIR=$(get_gtk_confdir)
+
+ mkdir -p "${GTK2_CONFDIR}"
+
+ if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-2.0" ] ; then
+ "${EPREFIX}/usr/bin/gtk-query-immodules-2.0" > "${GTK2_CONFDIR}/gtk.immodules"
+ fi
+}
+
+src_prepare() {
+ # Drop DEPRECATED flags, bug #387825
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' Makefile.am Makefile.in || die
+}
+
+src_configure() {
+ econf \
+ --with-gtk-im-module-dir="${EPREFIX}/usr/$(get_libdir)/gtk-2.0/immodules" \
+ --with-gtk-im-module-file="$(get_gtk_confdir)" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ find "${ED}" -name "*.la" -type f -delete || die
+
+ insinto /etc/X11/xinit/xinput.d
+ newins "${FILESDIR}/xinput-imhangul2" imhangul2.conf || die
+ newins "${FILESDIR}/xinput-imhangul2y" imhangul2y.conf || die
+ newins "${FILESDIR}/xinput-imhangul32" imhangul32.conf || die
+ newins "${FILESDIR}/xinput-imhangul39" imhangul39.conf || die
+ newins "${FILESDIR}/xinput-imhangul3f" imhangul3f.conf || die
+ newins "${FILESDIR}/xinput-imhangul3s" imhangul3s.conf || die
+ newins "${FILESDIR}/xinput-imhangul3y" imhangul3y.conf || die
+ newins "${FILESDIR}/xinput-imhangulahn" imhangulahn.conf || die
+ newins "${FILESDIR}/xinput-imhangulro" imhangulro.conf || die
+
+ dodoc AUTHORS ChangeLog NEWS README TODO imhangul.conf || die
+}
+
+pkg_postinst() {
+ update_gtk_immodules
+
+ elog ""
+ elog "If you want to use one of the module as a default input method, "
+ elog ""
+ elog "export GTK_IM_MODULE=hangul2 # 2 input type"
+ elog "export GTK_IM_MODULE=hangul3f # 3 input type"
+ elog ""
+}
+
+pkg_postrm() {
+ update_gtk_immodules
+}
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/imhangul-3.1.0.ebuild,v 1.1 2012/01/11 15:23:33 matsuu Exp $
+
+EAPI="3"
+inherit multilib
+
+DESCRIPTION="Gtk+-3.0 Hangul Input Modules"
+HOMEPAGE="http://code.google.com/p/imhangul/"
+SRC_URI="http://imhangul.googlecode.com/files/${P}.tar.bz2"
+
+SLOT="3"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=app-i18n/libhangul-0.0.12
+ x11-libs/gtk+:3
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/gettext"
+
+update_gtk_immodules() {
+ if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" ] ; then
+ "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" --update-cache
+ fi
+}
+
+src_prepare() {
+ # Drop DEPRECATED flags, bug #387825
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' Makefile.am Makefile.in || die
+}
+
+src_configure() {
+ econf --with-gtk-im-module-dir="${EPREFIX}/usr/$(get_libdir)/gtk-3.0/$(pkg-config gtk+-3.0 --variable=gtk_binary_version)/immodules" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ find "${ED}" -name "*.la" -type f -delete || die
+
+ insinto /etc/X11/xinit/xinput.d
+ newins "${FILESDIR}/xinput-imhangul2" imhangul2.conf || die
+ newins "${FILESDIR}/xinput-imhangul2y" imhangul2y.conf || die
+ newins "${FILESDIR}/xinput-imhangul32" imhangul32.conf || die
+ newins "${FILESDIR}/xinput-imhangul39" imhangul39.conf || die
+ newins "${FILESDIR}/xinput-imhangul3f" imhangul3f.conf || die
+ newins "${FILESDIR}/xinput-imhangul3s" imhangul3s.conf || die
+ newins "${FILESDIR}/xinput-imhangul3y" imhangul3y.conf || die
+ newins "${FILESDIR}/xinput-imhangulahn" imhangulahn.conf || die
+ newins "${FILESDIR}/xinput-imhangulro" imhangulro.conf || die
+
+ dodoc AUTHORS ChangeLog NEWS README TODO imhangul.conf || die
+}
+
+pkg_postinst() {
+ update_gtk_immodules
+
+ elog ""
+ elog "If you want to use one of the module as a default input method, "
+ elog ""
+ elog "export GTK_IM_MODULE=hangul2 # 2 input type"
+ elog "export GTK_IM_MODULE=hangul3f # 3 input type"
+ elog ""
+}
+
+pkg_postrm() {
+ update_gtk_immodules
+}