1 |
matsuu 11/05/28 02:40:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: imhangul-2.0.0.ebuild imhangul-3.0.0.ebuild |
5 |
Removed: imhangul-0.9.14.ebuild imhangul-0.9.13.ebuild |
6 |
imhangul-0.9.15.ebuild |
7 |
Log: |
8 |
Version bumped. Changed LICENSE. Fixed GTK2_CONFDIR handling, bug #366889. |
9 |
|
10 |
(Portage version: 2.1.9.49/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.32 app-i18n/imhangul/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imhangul/ChangeLog?rev=1.32&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imhangul/ChangeLog?rev=1.32&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imhangul/ChangeLog?r1=1.31&r2=1.32 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v |
22 |
retrieving revision 1.31 |
23 |
retrieving revision 1.32 |
24 |
diff -u -r1.31 -r1.32 |
25 |
--- ChangeLog 27 Mar 2011 10:49:19 -0000 1.31 |
26 |
+++ ChangeLog 28 May 2011 02:40:50 -0000 1.32 |
27 |
@@ -1,6 +1,14 @@ |
28 |
# ChangeLog for app-i18n/imhangul |
29 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v 1.31 2011/03/27 10:49:19 nirbheek Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/ChangeLog,v 1.32 2011/05/28 02:40:50 matsuu Exp $ |
32 |
+ |
33 |
+*imhangul-3.0.0 (28 May 2011) |
34 |
+*imhangul-2.0.0 (28 May 2011) |
35 |
+ |
36 |
+ 28 May 2011; MATSUU Takuto <matsuu@g.o> -imhangul-0.9.13.ebuild, |
37 |
+ -imhangul-0.9.14.ebuild, -imhangul-0.9.15.ebuild, +imhangul-2.0.0.ebuild, |
38 |
+ +imhangul-3.0.0.ebuild: |
39 |
+ Version bumped. Changed LICENSE. Fixed GTK2_CONFDIR handling, bug #366889. |
40 |
|
41 |
27 Mar 2011; Nirbheek Chauhan <nirbheek@g.o> |
42 |
imhangul-0.9.12.ebuild, imhangul-0.9.13.ebuild, imhangul-0.9.14.ebuild, |
43 |
|
44 |
|
45 |
|
46 |
1.1 app-i18n/imhangul/imhangul-2.0.0.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imhangul/imhangul-2.0.0.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imhangul/imhangul-2.0.0.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: imhangul-2.0.0.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2011 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/imhangul-2.0.0.ebuild,v 1.1 2011/05/28 02:40:50 matsuu Exp $ |
56 |
|
57 |
EAPI="3" |
58 |
inherit multilib |
59 |
|
60 |
DESCRIPTION="Gtk+-2.0 Hangul Input Modules" |
61 |
HOMEPAGE="http://kldp.net/projects/imhangul/" |
62 |
SRC_URI="http://kldp.net/frs/download.php/5924/${P}.tar.bz2" |
63 |
|
64 |
SLOT="0" |
65 |
LICENSE="GPL-2" |
66 |
KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
67 |
IUSE="" |
68 |
|
69 |
RDEPEND=">=app-i18n/libhangul-0.0.12 |
70 |
>=x11-libs/gtk+-2.2:2 |
71 |
virtual/libintl" |
72 |
DEPEND="${RDEPEND} |
73 |
dev-util/pkgconfig |
74 |
sys-devel/gettext" |
75 |
|
76 |
get_gtk_confdir() { |
77 |
# bug #366889 |
78 |
if has_version '>=x11-libs/gtk+-2.22.1-r1:2' || has_multilib_profile ; then |
79 |
GTK2_CONFDIR="${GTK2_CONFDIR:=${EPREFIX}/etc/gtk-2.0/$(get_abi_CHOST)}" |
80 |
else |
81 |
GTK2_CONFDIR="${GTK2_CONFDIR:=${EPREFIX}/etc/gtk-2.0}" |
82 |
fi |
83 |
echo ${GTK2_CONFDIR} |
84 |
} |
85 |
|
86 |
update_gtk_immodules() { |
87 |
local GTK2_CONFDIR=$(get_gtk_confdir) |
88 |
|
89 |
mkdir -p "${GTK2_CONFDIR}" |
90 |
|
91 |
if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-2.0" ] ; then |
92 |
"${EPREFIX}/usr/bin/gtk-query-immodules-2.0" > "${GTK2_CONFDIR}/gtk.immodules" |
93 |
fi |
94 |
} |
95 |
|
96 |
src_configure() { |
97 |
econf \ |
98 |
--with-gtk-im-module-dir="${EPREFIX}/usr/$(get_libdir)/gtk-2.0/immodules" \ |
99 |
--with-gtk-im-module-file="$(get_gtk_confdir)" || die |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
emake DESTDIR="${D}" install || die |
104 |
|
105 |
find "${ED}" -name "*.la" -type f -delete || die |
106 |
|
107 |
insinto /etc/X11/xinit/xinput.d |
108 |
newins "${FILESDIR}/xinput-imhangul2" imhangul2.conf || die |
109 |
newins "${FILESDIR}/xinput-imhangul2y" imhangul2y.conf || die |
110 |
newins "${FILESDIR}/xinput-imhangul32" imhangul32.conf || die |
111 |
newins "${FILESDIR}/xinput-imhangul39" imhangul39.conf || die |
112 |
newins "${FILESDIR}/xinput-imhangul3f" imhangul3f.conf || die |
113 |
newins "${FILESDIR}/xinput-imhangul3s" imhangul3s.conf || die |
114 |
newins "${FILESDIR}/xinput-imhangul3y" imhangul3y.conf || die |
115 |
newins "${FILESDIR}/xinput-imhangulahn" imhangulahn.conf || die |
116 |
newins "${FILESDIR}/xinput-imhangulro" imhangulro.conf || die |
117 |
|
118 |
dodoc AUTHORS ChangeLog NEWS README TODO imhangul.conf || die |
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
update_gtk_immodules |
123 |
|
124 |
elog "" |
125 |
elog "If you want to use one of the module as a default input method, " |
126 |
elog "" |
127 |
elog "export GTK_IM_MODULE=hangul2 # 2 input type" |
128 |
elog "export GTK_IM_MODULE=hangul3f # 3 input type" |
129 |
elog "" |
130 |
} |
131 |
|
132 |
pkg_postrm() { |
133 |
update_gtk_immodules |
134 |
} |
135 |
|
136 |
|
137 |
|
138 |
1.1 app-i18n/imhangul/imhangul-3.0.0.ebuild |
139 |
|
140 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imhangul/imhangul-3.0.0.ebuild?rev=1.1&view=markup |
141 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/imhangul/imhangul-3.0.0.ebuild?rev=1.1&content-type=text/plain |
142 |
|
143 |
Index: imhangul-3.0.0.ebuild |
144 |
=================================================================== |
145 |
# Copyright 1999-2011 Gentoo Foundation |
146 |
# Distributed under the terms of the GNU General Public License v2 |
147 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/imhangul/imhangul-3.0.0.ebuild,v 1.1 2011/05/28 02:40:50 matsuu Exp $ |
148 |
|
149 |
EAPI="3" |
150 |
inherit multilib |
151 |
|
152 |
DESCRIPTION="Gtk+-3.0 Hangul Input Modules" |
153 |
HOMEPAGE="http://kldp.net/projects/imhangul/" |
154 |
SRC_URI="http://kldp.net/frs/download.php/5925/${P}.tar.bz2" |
155 |
|
156 |
SLOT="3" |
157 |
LICENSE="GPL-3" |
158 |
KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
159 |
IUSE="" |
160 |
|
161 |
RDEPEND=">=app-i18n/libhangul-0.0.12 |
162 |
x11-libs/gtk+:3 |
163 |
virtual/libintl" |
164 |
DEPEND="${RDEPEND} |
165 |
dev-util/pkgconfig |
166 |
sys-devel/gettext" |
167 |
|
168 |
update_gtk_immodules() { |
169 |
if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" ] ; then |
170 |
"${EPREFIX}/usr/bin/gtk-query-immodules-3.0" --update-cache |
171 |
fi |
172 |
} |
173 |
|
174 |
src_configure() { |
175 |
econf --with-gtk-im-module-dir="${EPREFIX}/usr/$(get_libdir)/gtk-3.0/$(pkg-config gtk+-3.0 --variable=gtk_binary_version)/immodules" || die |
176 |
} |
177 |
|
178 |
src_install() { |
179 |
emake DESTDIR="${D}" install || die |
180 |
|
181 |
find "${ED}" -name "*.la" -type f -delete || die |
182 |
|
183 |
insinto /etc/X11/xinit/xinput.d |
184 |
newins "${FILESDIR}/xinput-imhangul2" imhangul2.conf || die |
185 |
newins "${FILESDIR}/xinput-imhangul2y" imhangul2y.conf || die |
186 |
newins "${FILESDIR}/xinput-imhangul32" imhangul32.conf || die |
187 |
newins "${FILESDIR}/xinput-imhangul39" imhangul39.conf || die |
188 |
newins "${FILESDIR}/xinput-imhangul3f" imhangul3f.conf || die |
189 |
newins "${FILESDIR}/xinput-imhangul3s" imhangul3s.conf || die |
190 |
newins "${FILESDIR}/xinput-imhangul3y" imhangul3y.conf || die |
191 |
newins "${FILESDIR}/xinput-imhangulahn" imhangulahn.conf || die |
192 |
newins "${FILESDIR}/xinput-imhangulro" imhangulro.conf || die |
193 |
|
194 |
dodoc AUTHORS ChangeLog NEWS README TODO imhangul.conf || die |
195 |
} |
196 |
|
197 |
pkg_postinst() { |
198 |
update_gtk_immodules |
199 |
|
200 |
elog "" |
201 |
elog "If you want to use one of the module as a default input method, " |
202 |
elog "" |
203 |
elog "export GTK_IM_MODULE=hangul2 # 2 input type" |
204 |
elog "export GTK_IM_MODULE=hangul3f # 3 input type" |
205 |
elog "" |
206 |
} |
207 |
|
208 |
pkg_postrm() { |
209 |
update_gtk_immodules |
210 |
} |