1 |
yngwin 13/01/31 08:42:40 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: fcitx-4.2.7.ebuild |
5 |
Log: |
6 |
Version bump, bug #454482. Thanks to Dennis Lan and Wang Jiajun for contributions. |
7 |
|
8 |
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 app-i18n/fcitx/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/fcitx/metadata.xml?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/fcitx/metadata.xml?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/fcitx/metadata.xml?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-i18n/fcitx/metadata.xml,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- metadata.xml 10 Jun 2012 09:15:46 -0000 1.7 |
24 |
+++ metadata.xml 31 Jan 2013 08:42:40 -0000 1.8 |
25 |
@@ -1,17 +1,17 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
- <herd>cjk</herd> |
30 |
- <maintainer> |
31 |
- <email>qiaomuf@g.o</email> |
32 |
- <name>Mu Qiao</name> |
33 |
- </maintainer> |
34 |
- <use> |
35 |
- <flag name="introspection">Enable GObject Introspection</flag> |
36 |
- <flag name="gtk3">Use GTK+3 instead of 2</flag> |
37 |
- <flag name='opencc'>Enable OpenCC for Chinese Transform</flag> |
38 |
- <flag name='pango'>Enable support for <pkg>x11-libs/pango</pkg></flag> |
39 |
- <flag name='snooper'>Enable Key Snooper for gtk app</flag> |
40 |
- <flag name='table'>Enable Table IM</flag> |
41 |
- </use> |
42 |
+ <herd>cjk</herd> |
43 |
+ <use> |
44 |
+ <flag name='autostart'>Enable xdg-compatible autostart of fcitx</flag> |
45 |
+ <flag name='enchant'>Use <pkg>app-text/enchant</pkg> for text prediction</flag> |
46 |
+ <flag name='introspection'>Enable GObject Introspection</flag> |
47 |
+ <flag name='gtk'>Install GTK2 IM module</flag> |
48 |
+ <flag name='gtk3'>Install GTK3 IM module</flag> |
49 |
+ <flag name='opencc'>Enable OpenCC for Chinese Transform</flag> |
50 |
+ <flag name='pango'>Enable support for <pkg>x11-libs/pango</pkg></flag> |
51 |
+ <flag name='qt4'>Install Qt4 IM module</flag> |
52 |
+ <flag name='snooper'>Enable Key Snooper for GTK app</flag> |
53 |
+ <flag name='table'>Enable Table IM</flag> |
54 |
+ </use> |
55 |
</pkgmetadata> |
56 |
|
57 |
|
58 |
|
59 |
1.54 app-i18n/fcitx/ChangeLog |
60 |
|
61 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/fcitx/ChangeLog?rev=1.54&view=markup |
62 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/fcitx/ChangeLog?rev=1.54&content-type=text/plain |
63 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/fcitx/ChangeLog?r1=1.53&r2=1.54 |
64 |
|
65 |
Index: ChangeLog |
66 |
=================================================================== |
67 |
RCS file: /var/cvsroot/gentoo-x86/app-i18n/fcitx/ChangeLog,v |
68 |
retrieving revision 1.53 |
69 |
retrieving revision 1.54 |
70 |
diff -u -r1.53 -r1.54 |
71 |
--- ChangeLog 29 Oct 2012 08:48:14 -0000 1.53 |
72 |
+++ ChangeLog 31 Jan 2013 08:42:40 -0000 1.54 |
73 |
@@ -1,6 +1,13 @@ |
74 |
# ChangeLog for app-i18n/fcitx |
75 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
76 |
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx/ChangeLog,v 1.53 2012/10/29 08:48:14 yngwin Exp $ |
77 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
78 |
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx/ChangeLog,v 1.54 2013/01/31 08:42:40 yngwin Exp $ |
79 |
+ |
80 |
+*fcitx-4.2.7 (31 Jan 2013) |
81 |
+ |
82 |
+ 31 Jan 2013; Ben de Groot <yngwin@g.o> +fcitx-4.2.7.ebuild, |
83 |
+ +files/fcitx-4.2.7-gcc46-compatible.patch, metadata.xml: |
84 |
+ Version bump, bug #454482. Thanks to Dennis Lan and Wang Jiajun for |
85 |
+ contributions. |
86 |
|
87 |
29 Oct 2012; Ben de Groot <yngwin@g.o> |
88 |
+files/fcitx-4.2.6.1-offline.patch, fcitx-4.2.6.1.ebuild: |
89 |
|
90 |
|
91 |
|
92 |
1.1 app-i18n/fcitx/fcitx-4.2.7.ebuild |
93 |
|
94 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/fcitx/fcitx-4.2.7.ebuild?rev=1.1&view=markup |
95 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/fcitx/fcitx-4.2.7.ebuild?rev=1.1&content-type=text/plain |
96 |
|
97 |
Index: fcitx-4.2.7.ebuild |
98 |
=================================================================== |
99 |
# Copyright 1999-2013 Gentoo Foundation |
100 |
# Distributed under the terms of the GNU General Public License v2 |
101 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx/fcitx-4.2.7.ebuild,v 1.1 2013/01/31 08:42:40 yngwin Exp $ |
102 |
|
103 |
EAPI=5 |
104 |
|
105 |
inherit cmake-utils eutils gnome2-utils fdo-mime multilib readme.gentoo |
106 |
|
107 |
DESCRIPTION="Flexible Contect-aware Input Tool with eXtension support" |
108 |
HOMEPAGE="http://www.fcitx.org/" |
109 |
SRC_URI="http://fcitx.googlecode.com/files/${P}_dict.tar.xz" |
110 |
|
111 |
LICENSE="GPL-2" |
112 |
SLOT="0" |
113 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
114 |
IUSE="+X +autostart +cairo +dbus debug +enchant gtk gtk3 icu introspection lua |
115 |
nls opencc +pango qt4 snooper static-libs +table test +xml" |
116 |
|
117 |
RDEPEND=" |
118 |
X? ( |
119 |
x11-libs/libX11 |
120 |
x11-libs/libXinerama |
121 |
) |
122 |
cairo? ( |
123 |
x11-libs/cairo[X] |
124 |
pango? ( x11-libs/pango[X] ) |
125 |
!pango? ( media-libs/fontconfig ) |
126 |
) |
127 |
dbus? ( sys-apps/dbus ) |
128 |
enchant? ( app-text/enchant ) |
129 |
gtk? ( |
130 |
x11-libs/gtk+:2 |
131 |
dev-libs/glib:2 |
132 |
dev-libs/dbus-glib |
133 |
) |
134 |
gtk3? ( |
135 |
x11-libs/gtk+:3 |
136 |
dev-libs/glib:2 |
137 |
dev-libs/dbus-glib |
138 |
) |
139 |
icu? ( dev-libs/icu ) |
140 |
introspection? ( dev-libs/gobject-introspection ) |
141 |
lua? ( dev-lang/lua ) |
142 |
opencc? ( app-i18n/opencc ) |
143 |
qt4? ( |
144 |
x11-libs/qt-gui:4[dbus,glib] |
145 |
x11-libs/qt-dbus:4 |
146 |
) |
147 |
xml? ( |
148 |
app-text/iso-codes |
149 |
dev-libs/libxml2 |
150 |
x11-libs/libxkbfile |
151 |
)" |
152 |
DEPEND="${RDEPEND} |
153 |
virtual/libintl |
154 |
virtual/pkgconfig |
155 |
nls? ( sys-devel/gettext )" |
156 |
|
157 |
DOCS=( AUTHORS ChangeLog README THANKS TODO |
158 |
doc/pinyin.txt doc/cjkvinput.txt doc/API.txt doc/Develop_Readme ) |
159 |
HTML_DOCS=( doc/wb_fh.htm ) |
160 |
|
161 |
src_prepare() { |
162 |
use autostart && DOC_CONTENTS="You have enabled the autostart USE flag, |
163 |
which will let fcitx start automatically on XDG compatible desktop |
164 |
environments, such as Gnome, KDE, LXDE, Razor-qt and Xfce. If you use |
165 |
~/.xinitrc to configure your desktop, make sure to include the fcitx |
166 |
command to start it." |
167 |
epatch "${FILESDIR}/${P}-gcc46-compatible.patch" |
168 |
epatch_user |
169 |
} |
170 |
|
171 |
src_configure() { |
172 |
local mycmakeargs=" |
173 |
-DLIB_INSTALL_DIR=/usr/$(get_libdir) |
174 |
$(cmake-utils_use_enable X X11) |
175 |
$(cmake-utils_use_enable autostart XDGAUTOSTART) |
176 |
$(cmake-utils_use_enable cairo CAIRO) |
177 |
$(cmake-utils_use_enable dbus DBUS) |
178 |
$(cmake-utils_use_enable debug DEBUG) |
179 |
$(cmake-utils_use_enable enchant ENCHANT) |
180 |
$(cmake-utils_use_enable gtk GTK2_IM_MODULE) |
181 |
$(cmake-utils_use_enable gtk3 GTK3_IM_MODULE) |
182 |
$(cmake-utils_use_enable icu ICU) |
183 |
$(cmake-utils_use_enable introspection GIR) |
184 |
$(cmake-utils_use_enable lua LUA) |
185 |
$(cmake-utils_use_enable nls GETTEXT) |
186 |
$(cmake-utils_use_enable opencc OPENCC) |
187 |
$(cmake-utils_use_enable pango PANGO) |
188 |
$(cmake-utils_use_enable qt4 QT) |
189 |
$(cmake-utils_use_enable qt4 QT_IM_MODULE) |
190 |
$(cmake-utils_use_enable qt4 QT_GUI) |
191 |
$(cmake-utils_use_enable snooper SNOOPER) |
192 |
$(cmake-utils_use_enable static-libs STATIC) |
193 |
$(cmake-utils_use_enable table TABLE) |
194 |
$(cmake-utils_use_enable test TEST) |
195 |
$(cmake-utils_use_enable xml LIBXML2)" |
196 |
if use gtk || use gtk3 || use qt4 ; then |
197 |
mycmakeargs+=" -DENABLE_GLIB2=ON " |
198 |
fi |
199 |
cmake-utils_src_configure |
200 |
} |
201 |
|
202 |
src_install() { |
203 |
cmake-utils_src_install |
204 |
rm -rf "${ED}"/usr/share/doc/${PN} || die |
205 |
use autostart && readme.gentoo_create_doc |
206 |
} |
207 |
|
208 |
pkg_postinst() { |
209 |
gnome2_icon_cache_update |
210 |
fdo-mime_desktop_database_update |
211 |
fdo-mime_mime_database_update |
212 |
use gtk && gnome2_query_immodules_gtk2 |
213 |
use gtk3 && gnome2_query_immodules_gtk3 |
214 |
use autostart && readme.gentoo_pkg_postinst |
215 |
} |
216 |
|
217 |
|
218 |
pkg_postrm() { |
219 |
gnome2_icon_cache_update |
220 |
fdo-mime_desktop_database_update |
221 |
fdo-mime_mime_database_update |
222 |
use gtk && gnome2_query_immodules_gtk2 |
223 |
use gtk3 && gnome2_query_immodules_gtk3 |
224 |
} |