1 |
matsuu 10/05/04 01:27:22 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: sunpinyin-2.0.1.ebuild |
5 |
Removed: ibus-sunpinyin-2.0_rc3.ebuild |
6 |
Log: |
7 |
Version bumped. Moved from app-i18n/ibus-sunpinyin to app-i18n/sunpinyin, bug #314769. |
8 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 app-i18n/ibus-sunpinyin/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-sunpinyin/metadata.xml?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-sunpinyin/metadata.xml?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-sunpinyin/metadata.xml?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus-sunpinyin/metadata.xml,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- metadata.xml 8 Nov 2009 03:49:53 -0000 1.1 |
24 |
+++ metadata.xml 4 May 2010 01:27:22 -0000 1.2 |
25 |
@@ -2,4 +2,9 @@ |
26 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
27 |
<pkgmetadata> |
28 |
<herd>cjk</herd> |
29 |
+<use> |
30 |
+ <flag name='ibus'>Enable support for <pkg>app-i18n/ibus</pkg> input method |
31 |
+ </flag> |
32 |
+ <flag name='xim'>Enable support for XIM</flag> |
33 |
+</use> |
34 |
</pkgmetadata> |
35 |
|
36 |
|
37 |
|
38 |
1.3 app-i18n/ibus-sunpinyin/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-sunpinyin/ChangeLog?rev=1.3&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-sunpinyin/ChangeLog?rev=1.3&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-sunpinyin/ChangeLog?r1=1.2&r2=1.3 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus-sunpinyin/ChangeLog,v |
47 |
retrieving revision 1.2 |
48 |
retrieving revision 1.3 |
49 |
diff -u -r1.2 -r1.3 |
50 |
--- ChangeLog 19 Nov 2009 16:05:58 -0000 1.2 |
51 |
+++ ChangeLog 4 May 2010 01:27:22 -0000 1.3 |
52 |
@@ -1,6 +1,14 @@ |
53 |
-# ChangeLog for app-i18n/ibus-sunpinyin |
54 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-sunpinyin/ChangeLog,v 1.2 2009/11/19 16:05:58 matsuu Exp $ |
56 |
+# ChangeLog for app-i18n/sunpinyin |
57 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
58 |
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-sunpinyin/ChangeLog,v 1.3 2010/05/04 01:27:22 matsuu Exp $ |
59 |
+ |
60 |
+*sunpinyin-2.0.1 (04 May 2010) |
61 |
+ |
62 |
+ 04 May 2010; MATSUU Takuto <matsuu@g.o> |
63 |
+ -ibus-sunpinyin-2.0_rc3.ebuild, +sunpinyin-2.0.1.ebuild, |
64 |
+ +files/sunpinyin-2.0.1-mkdir.patch, metadata.xml: |
65 |
+ Version bumped. Moved from app-i18n/ibus-sunpinyin to app-i18n/sunpinyin, |
66 |
+ bug #314769. |
67 |
|
68 |
*ibus-sunpinyin-2.0_rc3 (19 Nov 2009) |
69 |
|
70 |
|
71 |
|
72 |
|
73 |
1.1 app-i18n/ibus-sunpinyin/sunpinyin-2.0.1.ebuild |
74 |
|
75 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-sunpinyin/sunpinyin-2.0.1.ebuild?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus-sunpinyin/sunpinyin-2.0.1.ebuild?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: sunpinyin-2.0.1.ebuild |
79 |
=================================================================== |
80 |
# Copyright 1999-2010 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-sunpinyin/sunpinyin-2.0.1.ebuild,v 1.1 2010/05/04 01:27:22 matsuu Exp $ |
83 |
|
84 |
EAPI="2" |
85 |
PYTHON_DEPEND="ibus? 2:2.5" |
86 |
inherit confutils eutils python versionator |
87 |
|
88 |
DESCRIPTION="SunPinyin is a SLM (Statistical Language Model) based IME" |
89 |
HOMEPAGE="http://sunpinyin.org/" |
90 |
SRC_URI="http://sunpinyin.googlecode.com/files/${P}.tar.gz" |
91 |
|
92 |
LICENSE="LGPL-2.1 CDDL" |
93 |
SLOT="0" |
94 |
KEYWORDS="~amd64 ~x86" |
95 |
IUSE="debug ibus nls +xim" |
96 |
|
97 |
RDEPEND="dev-db/sqlite:3 |
98 |
ibus? ( |
99 |
>=app-i18n/ibus-1.1 |
100 |
!app-i18n/ibus-sunpinyin |
101 |
) |
102 |
nls? ( virtual/libintl ) |
103 |
xim? ( |
104 |
>=x11-libs/gtk+-2.12:2 |
105 |
x11-libs/libX11 |
106 |
)" |
107 |
DEPEND="${RDEPEND} |
108 |
dev-util/pkgconfig |
109 |
nls? ( sys-devel/gettext ) |
110 |
xim? ( x11-proto/xproto )" |
111 |
|
112 |
S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)" |
113 |
|
114 |
pkg_setup() { |
115 |
confutils_require_any uim xim |
116 |
} |
117 |
|
118 |
src_prepare() { |
119 |
epatch "${FILESDIR}/${P}-mkdir.patch" |
120 |
mv py-compile py-compile.orig || die |
121 |
ln -s "$(type -P true)" py-compile || die |
122 |
} |
123 |
|
124 |
src_configure() { |
125 |
econf \ |
126 |
$(use_enable debug) \ |
127 |
$(use_enable ibus) \ |
128 |
$(use_enable nls) \ |
129 |
$(use_enable xim) || die |
130 |
} |
131 |
|
132 |
src_install() { |
133 |
emake install DESTDIR="${D}" || die "Install failed" |
134 |
|
135 |
dodoc AUTHORS ChangeLog NEWS README TODO || die |
136 |
} |
137 |
|
138 |
pkg_postinst() { |
139 |
use ibus && python_mod_optimize /usr/share/ibus-${PN}/setup |
140 |
if use xim ; then |
141 |
elog "To use sunpinyin with XIM, you should use the following" |
142 |
elog "in your user startup scripts such as .xinitrc or .xprofile:" |
143 |
elog "XMODIFIERS=@im=xsunpinyin ; export XMODIFIERS" |
144 |
fi |
145 |
} |
146 |
|
147 |
pkg_postrm() { |
148 |
use ibus && python_mod_cleanup /usr/share/ibus-${PN}/setup |
149 |
} |