Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/ibus-pinyin: metadata.xml ChangeLog ibus-pinyin-1.3.99.20110217.ebuild ibus-pinyin-1.3.99.20101029.ebuild
Date: Sat, 07 May 2011 15:06:18
Message-Id: 20110507150609.3A90220054@flycatcher.gentoo.org
1 naota 11/05/07 15:06:09
2
3 Modified: metadata.xml ChangeLog
4 Added: ibus-pinyin-1.3.99.20110217.ebuild
5 Removed: ibus-pinyin-1.3.99.20101029.ebuild
6 Log:
7 Version bumped to 20110217.
8 Add boost USE flag.
9 Add a patch to fix compilation error when disabling boost.
10
11 (Portage version: 2.2.0_alpha31/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.2 app-i18n/ibus-pinyin/metadata.xml
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/metadata.xml?rev=1.2&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/metadata.xml?rev=1.2&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/metadata.xml?r1=1.1&r2=1.2
19
20 Index: metadata.xml
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/metadata.xml,v
23 retrieving revision 1.1
24 retrieving revision 1.2
25 diff -u -r1.1 -r1.2
26 --- metadata.xml 6 Sep 2008 03:24:30 -0000 1.1
27 +++ metadata.xml 7 May 2011 15:06:09 -0000 1.2
28 @@ -5,5 +5,8 @@
29 <longdescription lang="en">
30 PinYin engine for IBus platform. It provides a Chinese PinYin input method.
31 </longdescription>
32 +<use>
33 + <flag name="boost">Compile against dev-libs/boost libraries</flag>
34 +</use>
35 </pkgmetadata>
36
37
38
39
40 1.34 app-i18n/ibus-pinyin/ChangeLog
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.34&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?rev=1.34&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog?r1=1.33&r2=1.34
45
46 Index: ChangeLog
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v
49 retrieving revision 1.33
50 retrieving revision 1.34
51 diff -u -r1.33 -r1.34
52 --- ChangeLog 6 May 2011 12:48:27 -0000 1.33
53 +++ ChangeLog 7 May 2011 15:06:09 -0000 1.34
54 @@ -1,6 +1,14 @@
55 # ChangeLog for app-i18n/ibus-pinyin
56 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
57 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.33 2011/05/06 12:48:27 naota Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ChangeLog,v 1.34 2011/05/07 15:06:09 naota Exp $
59 +
60 +*ibus-pinyin-1.3.99.20110217 (07 May 2011)
61 +
62 + 07 May 2011; Naohiro Aota <naota@g.o>
63 + -ibus-pinyin-1.3.99.20101029.ebuild, +ibus-pinyin-1.3.99.20110217.ebuild,
64 + +files/ibus-pinyin-1.3.99.20110217-m_instance.patch, metadata.xml:
65 + Version bumped; Add boost support; Fix compilation error when disableing
66 + boost
67
68 06 May 2011; <naota@g.o> ibus-pinyin-1.3.99.20101029.ebuild:
69 Fix dependency
70
71
72
73 1.1 app-i18n/ibus-pinyin/ibus-pinyin-1.3.99.20110217.ebuild
74
75 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.3.99.20110217.ebuild?rev=1.1&view=markup
76 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.3.99.20110217.ebuild?rev=1.1&content-type=text/plain
77
78 Index: ibus-pinyin-1.3.99.20110217.ebuild
79 ===================================================================
80 # Copyright 1999-2011 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82 # $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.3.99.20110217.ebuild,v 1.1 2011/05/07 15:06:09 naota Exp $
83
84 EAPI="3"
85 PYTHON_DEPEND="2:2.5"
86 PYTHON_USE_WITH="sqlite"
87 inherit python eutils
88
89 PYDB_TAR="pinyin-database-1.2.99.tar.bz2"
90 DESCRIPTION="Chinese PinYin IMEngine for IBus Framework"
91 HOMEPAGE="http://code.google.com/p/ibus/"
92 SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz
93 http://ibus.googlecode.com/files/${PYDB_TAR}"
94
95 LICENSE="GPL-2"
96 SLOT="0"
97 KEYWORDS="~amd64 ~x86"
98 IUSE="boost nls"
99
100 RDEPEND=">=app-i18n/ibus-1.3.99
101 boost? (
102 >=dev-libs/boost-1.39
103 !=dev-libs/boost-1.46.1
104 )
105 sys-apps/util-linux
106 nls? ( virtual/libintl )"
107 DEPEND="${RDEPEND}
108 dev-util/pkgconfig
109 nls? ( >=sys-devel/gettext-0.16.1 )"
110
111 pkg_setup() {
112 python_set_active_version 2
113 python_pkg_setup
114 }
115
116 src_prepare() {
117 cp "${DISTDIR}/${PYDB_TAR}" "${S}"/data/db/open-phrase/ || die
118 mv py-compile py-compile.orig || die
119 ln -s "$(type -P true)" py-compile || die
120
121 epatch "${FILESDIR}"/${PN}-1.3.99.20110217-m_instance.patch
122 }
123
124 src_configure() {
125 econf $(use_enable nls) $(use_enable boost) --enable-db-open-phrase
126 }
127
128 src_install() {
129 emake DESTDIR="${D}" install || die
130
131 dodoc AUTHORS ChangeLog NEWS README || die
132 }
133
134 pkg_postinst() {
135 python_mod_optimize /usr/share/${PN}
136 }
137
138 pkg_postrm() {
139 python_mod_cleanup /usr/share/${PN}
140 }