1 |
pva 10/06/01 10:42:11 |
2 |
|
3 |
Modified: metadata.xml ChangeLog psi-0.14-r1.ebuild |
4 |
Added: psi-9999.ebuild |
5 |
Removed: psi-0.13.ebuild |
6 |
Log: |
7 |
Added VCS version of psi, thank Nikoli for this job and Rion for review. |
8 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 net-im/psi/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/psi/metadata.xml?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/psi/metadata.xml?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/psi/metadata.xml?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-im/psi/metadata.xml,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- metadata.xml 4 Dec 2009 09:44:02 -0000 1.7 |
24 |
+++ metadata.xml 1 Jun 2010 10:42:11 -0000 1.8 |
25 |
@@ -7,7 +7,12 @@ |
26 |
</maintainer> |
27 |
<longdescription>Psi is a very good jabber client that uses QT</longdescription> |
28 |
<use> |
29 |
+ <flag name='enchant'>Use enchant spell engine instead of aspell</flag> |
30 |
<flag name='extras'>Enables extra non official patches</flag> |
31 |
+ <flag name='iconsets'>Install additional iconsets, some of them has not clear licensing</flag> |
32 |
+ <flag name='plugins'>Enable plugins support</flag> |
33 |
+ <flag name='powersave'>Disable some non critical timers for much less CPU usage</flag> |
34 |
<flag name='webkit'>Enable chatlog rendering using webkit</flag> |
35 |
+ <flag name='whiteboarding'>Enable experimental interactive SVG drawing</flag> |
36 |
</use> |
37 |
</pkgmetadata> |
38 |
|
39 |
|
40 |
|
41 |
1.190 net-im/psi/ChangeLog |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/psi/ChangeLog?rev=1.190&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/psi/ChangeLog?rev=1.190&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/psi/ChangeLog?r1=1.189&r2=1.190 |
46 |
|
47 |
Index: ChangeLog |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v |
50 |
retrieving revision 1.189 |
51 |
retrieving revision 1.190 |
52 |
diff -u -r1.189 -r1.190 |
53 |
--- ChangeLog 1 Jun 2010 10:19:34 -0000 1.189 |
54 |
+++ ChangeLog 1 Jun 2010 10:42:11 -0000 1.190 |
55 |
@@ -1,6 +1,12 @@ |
56 |
# ChangeLog for net-im/psi |
57 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.189 2010/06/01 10:19:34 pva Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.190 2010/06/01 10:42:11 pva Exp $ |
60 |
+ |
61 |
+*psi-9999 (01 Jun 2010) |
62 |
+ |
63 |
+ 01 Jun 2010; Peter Volkov <pva@g.o> -psi-0.13.ebuild, |
64 |
+ psi-0.14-r1.ebuild, +psi-9999.ebuild, metadata.xml: |
65 |
+ Added VCS version of psi, thank Nikoli for this job and Rion for review. |
66 |
|
67 |
01 Jun 2010; Peter Volkov <pva@g.o> psi-0.14-r1.ebuild: |
68 |
Added app-crypt/qca-ossl:2 dependency for hmac support missing for voice |
69 |
|
70 |
|
71 |
|
72 |
1.8 net-im/psi/psi-0.14-r1.ebuild |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/psi/psi-0.14-r1.ebuild?rev=1.8&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/psi/psi-0.14-r1.ebuild?rev=1.8&content-type=text/plain |
76 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/psi/psi-0.14-r1.ebuild?r1=1.7&r2=1.8 |
77 |
|
78 |
Index: psi-0.14-r1.ebuild |
79 |
=================================================================== |
80 |
RCS file: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.14-r1.ebuild,v |
81 |
retrieving revision 1.7 |
82 |
retrieving revision 1.8 |
83 |
diff -u -r1.7 -r1.8 |
84 |
--- psi-0.14-r1.ebuild 1 Jun 2010 10:19:34 -0000 1.7 |
85 |
+++ psi-0.14-r1.ebuild 1 Jun 2010 10:42:11 -0000 1.8 |
86 |
@@ -1,6 +1,6 @@ |
87 |
# Copyright 1999-2010 Gentoo Foundation |
88 |
# Distributed under the terms of the GNU General Public License v2 |
89 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.14-r1.ebuild,v 1.7 2010/06/01 10:19:34 pva Exp $ |
90 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.14-r1.ebuild,v 1.8 2010/06/01 10:42:11 pva Exp $ |
91 |
|
92 |
EAPI="2" |
93 |
|
94 |
@@ -42,7 +42,7 @@ |
95 |
doc? ( app-doc/doxygen )" |
96 |
|
97 |
PDEPEND="crypt? ( app-crypt/qca-gnupg:2 ) |
98 |
- jingle? ( net-im/psimedia |
99 |
+ jingle? ( net-im/psimedia |
100 |
app-crypt/qca-ossl:2 ) |
101 |
ssl? ( app-crypt/qca-ossl:2 )" |
102 |
|
103 |
|
104 |
|
105 |
|
106 |
1.1 net-im/psi/psi-9999.ebuild |
107 |
|
108 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/psi/psi-9999.ebuild?rev=1.1&view=markup |
109 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/psi/psi-9999.ebuild?rev=1.1&content-type=text/plain |
110 |
|
111 |
Index: psi-9999.ebuild |
112 |
=================================================================== |
113 |
# Copyright 1999-2010 Gentoo Foundation |
114 |
# Distributed under the terms of the GNU General Public License v2 |
115 |
# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-9999.ebuild,v 1.1 2010/06/01 10:42:11 pva Exp $ |
116 |
|
117 |
EAPI="2" |
118 |
|
119 |
LANGS="ar be bg br ca cs da de ee el eo es et fi fr hr hu it ja mk nl pl pt pt_BR ru se sk sl sr sr@latin sv sw uk ur_PK vi zh_CN zh_TW" |
120 |
|
121 |
EGIT_REPO_URI="git://git.psi-im.org/psi.git" |
122 |
EGIT_HAS_SUBMODULES="true" |
123 |
LANGS_URI="git://pv.et-inf.fho-emden.de/git/psi-l10n" |
124 |
|
125 |
ESVN_DISABLE_DEPENDENCIES="true" |
126 |
BASE_URI="http://psi-dev.googlecode.com/svn/trunk" |
127 |
ESVN_PROJECT="psiplus" |
128 |
|
129 |
inherit eutils qt4-r2 multilib git subversion |
130 |
|
131 |
DESCRIPTION="Qt4 Jabber client, with Licq-like interface" |
132 |
HOMEPAGE="http://psi-im.org/" |
133 |
LICENSE="GPL-2" |
134 |
SLOT="0" |
135 |
KEYWORDS="" |
136 |
IUSE="crypt dbus debug doc enchant extras jingle iconsets spell ssl xscreensaver powersave |
137 |
plugins -whiteboarding webkit" |
138 |
|
139 |
RDEPEND=">=x11-libs/qt-gui-4.4:4[qt3support,dbus?] |
140 |
>=app-crypt/qca-2.0.2:2 |
141 |
whiteboarding? ( x11-libs/qt-svg:4 ) |
142 |
spell? ( |
143 |
enchant? ( >=app-text/enchant-1.3.0 ) |
144 |
!enchant? ( app-text/aspell ) |
145 |
) |
146 |
xscreensaver? ( x11-libs/libXScrnSaver ) |
147 |
extras? ( webkit? ( x11-libs/qt-webkit ) ) |
148 |
app-arch/unzip" |
149 |
|
150 |
DEPEND="${RDEPEND} |
151 |
extras? ( |
152 |
${SUBVERSION_DEPEND} |
153 |
sys-devel/qconf |
154 |
) |
155 |
doc? ( app-doc/doxygen )" |
156 |
|
157 |
PDEPEND="crypt? ( app-crypt/qca-gnupg:2 ) |
158 |
jingle? ( |
159 |
net-im/psimedia |
160 |
app-crypt/qca-ossl:2 |
161 |
) |
162 |
ssl? ( app-crypt/qca-ossl:2 )" |
163 |
|
164 |
RESTRICT="test" |
165 |
|
166 |
pkg_setup() { |
167 |
for x in iconsets plugins powersave webkit whiteboarding;do |
168 |
use ${x} && use !extras && \ |
169 |
ewarn "USE=${x} is only available in Psi+ and requires USE=extras, ${x} will be disabled." |
170 |
done |
171 |
|
172 |
if use extras; then |
173 |
ewarn |
174 |
ewarn "You're about to build heavily patched version of Psi called Psi+." |
175 |
ewarn "It has really nice features but still is under heavy development." |
176 |
ewarn "Take a look at homepage for more info: http://code.google.com/p/psi-dev" |
177 |
ewarn "If you wish to disable some patches just put" |
178 |
ewarn "MY_EPATCH_EXCLUDE=\"list of patches\"" |
179 |
ewarn "into /etc/portage/env/${CATEGORY}/${PN} file." |
180 |
ewarn |
181 |
ewarn "Note: some patches depend on other. So if you disabled some patch" |
182 |
ewarn "and other started to fail to apply, you'll have to disable patches" |
183 |
ewarn "that fail too." |
184 |
ebeep |
185 |
|
186 |
if use iconsets; then |
187 |
ewarn |
188 |
ewarn "Some artwork is from open source projects, but some is provided 'as-is'" |
189 |
ewarn "and has not clear licensing." |
190 |
ewarn "Possibly this build is not redistributable in some countries." |
191 |
fi |
192 |
fi |
193 |
} |
194 |
|
195 |
src_unpack() { |
196 |
git_src_unpack |
197 |
|
198 |
# fetch translations |
199 |
mkdir "${WORKDIR}/psi-l10n" |
200 |
for x in ${LANGS}; do |
201 |
if use linguas_${x}; then |
202 |
EGIT_REPO_URI="${LANGS_URI}-${x}" |
203 |
EGIT_PROJECT="psi-l10n/${x}" |
204 |
S="${WORKDIR}/psi-l10n/${x}" |
205 |
git_fetch |
206 |
fi |
207 |
done |
208 |
|
209 |
if use extras; then |
210 |
S="${WORKDIR}/patches" |
211 |
ESVN_REPO_URI="${BASE_URI}/patches" |
212 |
subversion_fetch |
213 |
if use iconsets; then |
214 |
S="${WORKDIR}/${P}/iconsets" |
215 |
ESVN_REPO_URI="${BASE_URI}/iconsets" |
216 |
subversion_fetch |
217 |
else |
218 |
for x in clients moods activities system; do |
219 |
S="${WORKDIR}/${P}/iconsets/${x}/default" |
220 |
ESVN_REPO_URI="${BASE_URI}/iconsets/${x}/default" |
221 |
ESVN_PROJECT="psiplus/${x}" |
222 |
subversion_fetch |
223 |
done |
224 |
fi |
225 |
fi |
226 |
|
227 |
S="${WORKDIR}/${P}" |
228 |
} |
229 |
|
230 |
src_prepare() { |
231 |
rm -rf third-party/qca # We use system libraries. |
232 |
|
233 |
if use extras; then |
234 |
EPATCH_EXCLUDE="${MY_EPATCH_EXCLUDE} |
235 |
*-win32-* |
236 |
*dirty-check*" \ |
237 |
EPATCH_SOURCE="${WORKDIR}/patches/" EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch |
238 |
|
239 |
use powersave && epatch "${WORKDIR}/patches/dev/psi-reduce-power-consumption.patch" |
240 |
|
241 |
if use whiteboarding; then |
242 |
sed -e 's/#CONFIG += whiteboarding/CONFIG += whiteboarding/' \ |
243 |
-i src/src.pro || die "sed failed" |
244 |
epatch "${WORKDIR}/patches/dev/psi-wb.patch" |
245 |
|
246 |
ewarn "Whiteboarding is very unstable." |
247 |
fi |
248 |
|
249 |
subversion_wc_info |
250 |
sed -e "s/.xxx/.${ESVN_WC_REVISION}/" \ |
251 |
-i src/applicationinfo.cpp || die "sed failed" |
252 |
|
253 |
qconf || die "Failed to create ./configure." |
254 |
fi |
255 |
} |
256 |
|
257 |
src_configure() { |
258 |
# unable to use econf because of non-standard configure script |
259 |
# disable growl as it is a MacOS X extension only |
260 |
local confcmd="./configure |
261 |
--prefix=/usr |
262 |
--qtdir=/usr |
263 |
--disable-bundled-qca |
264 |
--disable-growl |
265 |
$(use dbus || echo '--disable-qdbus') |
266 |
$(use debug && echo '--debug') |
267 |
$(use spell && { |
268 |
use enchant && echo '--disable-aspell' || echo '--disable-enchant' |
269 |
} || echo '--disable-aspell --disable-enchant') |
270 |
$(use xscreensaver || echo '--disable-xss') |
271 |
$(use extras && { |
272 |
use plugins && echo '--enable-plugins' |
273 |
use webkit && echo '--enable-webkit' |
274 |
} )" |
275 |
|
276 |
echo "${confcmd}" |
277 |
${confcmd} || die "configure failed" |
278 |
} |
279 |
|
280 |
src_compile() { |
281 |
eqmake4 |
282 |
|
283 |
emake || die "emake failed" |
284 |
|
285 |
if use doc; then |
286 |
cd doc |
287 |
mkdir -p api # 259632 |
288 |
make api_public || die "make api_public failed" |
289 |
fi |
290 |
} |
291 |
|
292 |
src_install() { |
293 |
emake INSTALL_ROOT="${D}" install || die "emake install failed" |
294 |
rm "${D}"/usr/share/psi/{COPYING,README} |
295 |
|
296 |
# this way the docs will be installed in the standard gentoo dir |
297 |
newdoc iconsets/roster/README README.roster || die |
298 |
newdoc iconsets/system/README README.system || die |
299 |
newdoc certs/README README.certs || die |
300 |
dodoc README || die |
301 |
|
302 |
if use doc; then |
303 |
cd doc |
304 |
dohtml -r api || die "dohtml failed" |
305 |
fi |
306 |
|
307 |
# install translations |
308 |
cd "${WORKDIR}/psi-l10n" |
309 |
insinto /usr/share/${PN} |
310 |
for x in ${LANGS}; do |
311 |
if use linguas_${x}; then |
312 |
lrelease "${x}/${PN}_${x}.ts" || die "lrelease ${x} failed" |
313 |
doins "${x}/${PN}_${x}.qm" || die |
314 |
newins "${x}/INFO" "INFO.${x}" || die |
315 |
fi |
316 |
done |
317 |
|
318 |
if use extras; then |
319 |
if use plugins; then |
320 |
cd "${S}" |
321 |
insinto /usr/share/psi/plugins |
322 |
doins src/plugins/plugins.pri || die |
323 |
doins src/plugins/psiplugin.pri || die |
324 |
doins -r src/plugins/include || die |
325 |
dosed "s:target.path.*:target.path = /usr/$(get_libdir)/psi/plugins:" \ |
326 |
/usr/share/psi/plugins/psiplugin.pri \ |
327 |
|| die "sed failed" |
328 |
fi |
329 |
fi |
330 |
} |