Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/imhangul: ChangeLog imhangul-0.9.14.ebuild
Date: Sun, 22 Mar 2009 04:01:58
Message-Id: E1LlEsk-0008Lu-70@stork.gentoo.org
1 matsuu 09/03/22 04:01:54
2
3 Modified: ChangeLog
4 Added: imhangul-0.9.14.ebuild
5 Log:
6 Version bumped, bug #263212. Fixed libdir handling.
7 (Portage version: 2.1.6.8/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.28 app-i18n/imhangul/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/imhangul/ChangeLog?rev=1.28&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/imhangul/ChangeLog?rev=1.28&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/imhangul/ChangeLog?r1=1.27&r2=1.28
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v
19 retrieving revision 1.27
20 retrieving revision 1.28
21 diff -u -r1.27 -r1.28
22 --- ChangeLog 21 Feb 2007 22:04:17 -0000 1.27
23 +++ ChangeLog 22 Mar 2009 04:01:54 -0000 1.28
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-i18n/imhangul
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v 1.27 2007/02/21 22:04:17 peper Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v 1.28 2009/03/22 04:01:54 matsuu Exp $
30 +
31 +*imhangul-0.9.14 (22 Mar 2009)
32 +
33 + 22 Mar 2009; MATSUU Takuto <matsuu@g.o> +imhangul-0.9.14.ebuild:
34 + Version bumped, bug #263212. Fixed libdir handling.
35
36 21 Feb 2007; Piotr JaroszyƄski <peper@g.o> ChangeLog:
37 Transition to Manifest2.
38
39
40
41 1.1 app-i18n/imhangul/imhangul-0.9.14.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/imhangul/imhangul-0.9.14.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/imhangul/imhangul-0.9.14.ebuild?rev=1.1&content-type=text/plain
45
46 Index: imhangul-0.9.14.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/imhangul-0.9.14.ebuild,v 1.1 2009/03/22 04:01:54 matsuu Exp $
51
52 inherit multilib
53
54 DESCRIPTION="Gtk+-2.0 Hangul Input Modules"
55 HOMEPAGE="http://kldp.net/projects/imhangul/"
56 SRC_URI="http://kldp.net/frs/download.php/4944/${P}.tar.bz2"
57
58 SLOT="0"
59 LICENSE="GPL-2"
60 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
61 IUSE=""
62
63 RDEPEND=">=app-i18n/libhangul-0.0.9
64 >=x11-libs/gtk+-2.2.0"
65 DEPEND="${RDEPEND}
66 dev-util/pkgconfig"
67
68 get_gtk_confdir() {
69 if has_multilib_profile ; then
70 GTK2_CONFDIR="${GTK2_CONFDIR:=/etc/gtk-2.0/${CHOST}}"
71 else
72 GTK2_CONFDIR="${GTK2_CONFDIR:=/etc/gtk-2.0}"
73 fi
74 echo ${GTK2_CONFDIR}
75 }
76
77 src_compile() {
78 econf \
79 --with-gtk-im-module-dir=/usr/$(get_libdir)/gtk-2.0/immodules \
80 --with-gtk-im-module-file=$(get_gtk_confdir) || die
81 emake || die
82 }
83
84 src_install() {
85 emake DESTDIR="${D}" install || die
86
87 dodoc AUTHORS ChangeLog NEWS README TODO
88 }
89
90 pkg_postinst() {
91 gtk-query-immodules-2.0 > "${ROOT}$(get_gtk_confdir)/gtk.immodules"
92
93 elog ""
94 elog "If you want to use one of the module as a default input method, "
95 elog ""
96 elog "export GTK_IM_MODULE=hangul2 # 2 input type"
97 elog "export GTK_IM_MODULE=hangul3f # 3 input type"
98 elog ""
99 }
100
101 pkg_postrm() {
102 gtk-query-immodules-2.0 > "${ROOT}$(get_gtk_confdir)/gtk.immodules"
103 }