1 |
naota 11/11/17 09:06:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: scim-1.4.11-r1.ebuild |
5 |
Log: |
6 |
Add patch to make it work with Firefox and Thunderbird. Bug #390053 |
7 |
|
8 |
(Portage version: 2.2.0_alpha73/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.147 app-i18n/scim/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/scim/ChangeLog?rev=1.147&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/scim/ChangeLog?rev=1.147&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/scim/ChangeLog?r1=1.146&r2=1.147 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-i18n/scim/ChangeLog,v |
20 |
retrieving revision 1.146 |
21 |
retrieving revision 1.147 |
22 |
diff -u -r1.146 -r1.147 |
23 |
--- ChangeLog 28 Oct 2011 07:56:51 -0000 1.146 |
24 |
+++ ChangeLog 17 Nov 2011 09:06:46 -0000 1.147 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-i18n/scim |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/ChangeLog,v 1.146 2011/10/28 07:56:51 naota Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/ChangeLog,v 1.147 2011/11/17 09:06:46 naota Exp $ |
30 |
+ |
31 |
+*scim-1.4.11-r1 (17 Nov 2011) |
32 |
+ |
33 |
+ 17 Nov 2011; Naohiro Aota <naota@g.o> +scim-1.4.11-r1.ebuild, |
34 |
+ +files/scim-1.4.11-type-module-use.patch: |
35 |
+ Add patch to make it work with Firefox and Thunderbird. Bug #390053 |
36 |
|
37 |
*scim-1.4.11 (28 Oct 2011) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-i18n/scim/scim-1.4.11-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/scim/scim-1.4.11-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/scim/scim-1.4.11-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: scim-1.4.11-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/scim-1.4.11-r1.ebuild,v 1.1 2011/11/17 09:06:46 naota Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
inherit autotools eutils flag-o-matic multilib |
55 |
|
56 |
DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform" |
57 |
HOMEPAGE="http://www.scim-im.org/" |
58 |
SRC_URI="mirror://sourceforge/scim/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
63 |
IUSE="doc" |
64 |
|
65 |
RDEPEND="x11-libs/libX11 |
66 |
dev-libs/glib:2 |
67 |
x11-libs/gtk+:2 |
68 |
>=dev-libs/atk-1 |
69 |
>=x11-libs/pango-1 |
70 |
!app-i18n/scim-cvs" |
71 |
DEPEND="${RDEPEND} |
72 |
doc? ( app-doc/doxygen |
73 |
>=app-text/docbook-xsl-stylesheets-1.73.1 ) |
74 |
dev-lang/perl |
75 |
dev-util/pkgconfig |
76 |
>=dev-util/intltool-0.33 |
77 |
sys-devel/libtool" |
78 |
|
79 |
update_gtk_immodules() { |
80 |
local GTK2_CONFDIR="/etc/gtk-2.0" |
81 |
# bug #366889 |
82 |
if has_version '>=x11-libs/gtk+-2.22.1-r1:2' || has_multilib_profile ; then |
83 |
GTK2_CONFDIR="${GTK2_CONFDIR}/$(get_abi_CHOST)" |
84 |
fi |
85 |
mkdir -p "${EPREFIX}${GTK2_CONFDIR}" |
86 |
|
87 |
if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-2.0" ] ; then |
88 |
"${EPREFIX}/usr/bin/gtk-query-immodules-2.0" > "${EPREFIX}${GTK2_CONFDIR}/gtk.immodules" |
89 |
fi |
90 |
} |
91 |
|
92 |
src_prepare() { |
93 |
epatch "${FILESDIR}"/${P}-type-module-use.patch |
94 |
} |
95 |
|
96 |
src_configure() { |
97 |
local myconf |
98 |
# bug #83625 |
99 |
filter-flags -fvisibility-inlines-hidden |
100 |
filter-flags -fvisibility=hidden |
101 |
|
102 |
econf \ |
103 |
$(use_with doc doxygen) \ |
104 |
--enable-ld-version-script \ |
105 |
${myconf} || die |
106 |
} |
107 |
|
108 |
src_install() { |
109 |
emake DESTDIR="${D}" install || die |
110 |
|
111 |
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-${PN}" > "${T}/${PN}.conf" || die |
112 |
insinto /etc/X11/xinit/xinput.d |
113 |
doins "${T}/${PN}.conf" || die |
114 |
|
115 |
dodoc README AUTHORS ChangeLog docs/developers docs/scim.cfg || die |
116 |
use doc && dohtml -r docs/html/* |
117 |
} |
118 |
|
119 |
pkg_postinst() { |
120 |
elog |
121 |
elog "To use SCIM with both GTK2 and XIM, you should use the following" |
122 |
elog "in your user startup scripts such as .gnomerc or .xinitrc:" |
123 |
elog |
124 |
elog "LANG='your_language' scim -d" |
125 |
elog "export XMODIFIERS=@im=SCIM" |
126 |
elog "export GTK_IM_MODULE=\"scim\"" |
127 |
elog "export QT_IM_MODULE=\"scim\"" |
128 |
elog |
129 |
elog "where 'your_language' can be zh_CN, zh_TW, ja_JP.eucJP or any other" |
130 |
elog "UTF-8 locale such as en_US.UTF-8 or ja_JP.UTF-8" |
131 |
elog |
132 |
elog "To use Chinese input methods:" |
133 |
elog " # emerge app-i18n/scim-tables app-i18n/scim-pinyin" |
134 |
elog "To use Korean input methods:" |
135 |
elog " # emerge app-i18n/scim-hangul" |
136 |
elog "To use Japanese input methods:" |
137 |
elog " # emerge app-i18n/scim-anthy" |
138 |
elog "To use various input methods (more than 30 languages):" |
139 |
elog " # emerge app-i18n/scim-m17n" |
140 |
elog |
141 |
ewarn |
142 |
ewarn "If you upgraded from scim-1.2.x or scim-1.0.x, you should remerge all SCIM modules." |
143 |
ewarn |
144 |
|
145 |
update_gtk_immodules |
146 |
} |
147 |
|
148 |
pkg_postrm() { |
149 |
update_gtk_immodules |
150 |
} |