1 |
qiaomuf 11/02/26 08:09:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sunpinyin-2.0.3-r1.ebuild |
5 |
Removed: sunpinyin-2.0.3.ebuild |
6 |
Log: |
7 |
Include upstream patch. |
8 |
|
9 |
(Portage version: 2.1.9.41/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.7 app-i18n/sunpinyin/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/sunpinyin/ChangeLog?rev=1.7&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/sunpinyin/ChangeLog?rev=1.7&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/sunpinyin/ChangeLog?r1=1.6&r2=1.7 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v |
21 |
retrieving revision 1.6 |
22 |
retrieving revision 1.7 |
23 |
diff -u -r1.6 -r1.7 |
24 |
--- ChangeLog 20 Feb 2011 13:22:37 -0000 1.6 |
25 |
+++ ChangeLog 26 Feb 2011 08:09:49 -0000 1.7 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for app-i18n/sunpinyin |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v 1.6 2011/02/20 13:22:37 qiaomuf Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/ChangeLog,v 1.7 2011/02/26 08:09:49 qiaomuf Exp $ |
31 |
+ |
32 |
+*sunpinyin-2.0.3-r1 (26 Feb 2011) |
33 |
+ |
34 |
+ 26 Feb 2011; Mu Qiao <qiaomuf@g.o> -sunpinyin-2.0.3.ebuild, |
35 |
+ +sunpinyin-2.0.3-r1.ebuild, +files/sunpinyin-2.0.3-force-switch.patch: |
36 |
+ Include upstream patch. |
37 |
|
38 |
20 Feb 2011; Mu Qiao <qiaomuf@g.o> sunpinyin-2.0.3.ebuild: |
39 |
Fix compilation for userpriv, thanks to Alphat-PC. |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-i18n/sunpinyin/sunpinyin-2.0.3-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/sunpinyin/sunpinyin-2.0.3-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/sunpinyin/sunpinyin-2.0.3-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: sunpinyin-2.0.3-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin/sunpinyin-2.0.3-r1.ebuild,v 1.1 2011/02/26 08:09:49 qiaomuf Exp $ |
53 |
|
54 |
EAPI="1" |
55 |
inherit eutils scons-utils |
56 |
|
57 |
DESCRIPTION="SunPinyin is a SLM (Statistical Language Model) based IME" |
58 |
HOMEPAGE="http://sunpinyin.googlecode.com" |
59 |
SRC_URI="${HOMEPAGE}/files/${P}.tar.gz |
60 |
http://open-gram.googlecode.com/files/dict.utf8.tar.bz2 |
61 |
http://open-gram.googlecode.com/files/lm_sc.t3g.arpa.tar.bz2" |
62 |
|
63 |
LICENSE="LGPL-2.1 CDDL" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="" |
67 |
|
68 |
RDEPEND="dev-db/sqlite:3" |
69 |
DEPEND="${RDEPEND} |
70 |
dev-util/pkgconfig" |
71 |
|
72 |
src_unpack() { |
73 |
unpack "${P}.tar.gz" |
74 |
ln -s "${DISTDIR}/dict.utf8.tar.bz2" "${S}/raw/" || die "dict file not found" |
75 |
ln -s "${DISTDIR}/lm_sc.t3g.arpa.tar.bz2" "${S}/raw/" || die "dict file not found" |
76 |
cd "${S}" && epatch "${FILESDIR}/${P}-force-switch.patch" |
77 |
} |
78 |
|
79 |
src_compile() { |
80 |
escons --prefix="/usr" |
81 |
} |
82 |
|
83 |
src_install() { |
84 |
escons --prefix="/usr" --install-sandbox="${D}" install |
85 |
} |
86 |
|
87 |
pkg_postinst() { |
88 |
elog "" |
89 |
elog "If you have already installed former version of ${PN}" |
90 |
elog "and any wrapper, please remerge the wrapper to make it work with" |
91 |
elog "the new version." |
92 |
elog "" |
93 |
elog "To use any wrapper for ${PN}, please merge any of the following" |
94 |
elog "packages: " |
95 |
elog "emerge app-i18n/fcitx-sunpinyin" |
96 |
elog "emerge app-i18n/ibus-sunpinyin" |
97 |
elog "emerge app-i18n/scim-sunpinyin" |
98 |
elog "emerge app-i18n/xsunpinyin" |
99 |
elog "" |
100 |
} |