1 |
jlec 11/07/16 16:44:27 |
2 |
|
3 |
Modified: qtiplot-0.9.8.5.ebuild qtiplot-0.9.8.2.ebuild |
4 |
qtiplot-0.9.8.3.ebuild qtiplot-0.9.8.4.ebuild |
5 |
ChangeLog qtiplot-0.9.8.6.ebuild |
6 |
Added: qtiplot-0.9.8.7.ebuild |
7 |
Log: |
8 |
Version Bump |
9 |
|
10 |
(Portage version: 2.2.0_alpha45/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.2 sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild?rev=1.2&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild?rev=1.2&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild?r1=1.1&r2=1.2 |
18 |
|
19 |
Index: qtiplot-0.9.8.5.ebuild |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild,v |
22 |
retrieving revision 1.1 |
23 |
retrieving revision 1.2 |
24 |
diff -u -r1.1 -r1.2 |
25 |
--- qtiplot-0.9.8.5.ebuild 19 Mar 2011 09:50:10 -0000 1.1 |
26 |
+++ qtiplot-0.9.8.5.ebuild 16 Jul 2011 16:44:27 -0000 1.2 |
27 |
@@ -1,6 +1,6 @@ |
28 |
# Copyright 1999-2011 Gentoo Foundation |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild,v 1.1 2011/03/19 09:50:10 jlec Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.5.ebuild,v 1.2 2011/07/16 16:44:27 jlec Exp $ |
32 |
|
33 |
EAPI=3 |
34 |
|
35 |
@@ -44,8 +44,8 @@ |
36 |
dev-util/pkgconfig |
37 |
python? ( >=dev-python/sip-4.9 ) |
38 |
doc? ( |
39 |
- >=app-text/docbook-sgml-utils-0.6.14-r1 |
40 |
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
41 |
+ >=app-text/docbook-sgml-utils-0.6.14-r1 |
42 |
+ >=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
43 |
|
44 |
RDEPEND="${CDEPEND} |
45 |
python? ( dev-python/PyQt4[X] )" |
46 |
|
47 |
|
48 |
|
49 |
1.9 sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild |
50 |
|
51 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild?rev=1.9&view=markup |
52 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild?rev=1.9&content-type=text/plain |
53 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild?r1=1.8&r2=1.9 |
54 |
|
55 |
Index: qtiplot-0.9.8.2.ebuild |
56 |
=================================================================== |
57 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild,v |
58 |
retrieving revision 1.8 |
59 |
retrieving revision 1.9 |
60 |
diff -u -r1.8 -r1.9 |
61 |
--- qtiplot-0.9.8.2.ebuild 22 Oct 2010 17:14:24 -0000 1.8 |
62 |
+++ qtiplot-0.9.8.2.ebuild 16 Jul 2011 16:44:27 -0000 1.9 |
63 |
@@ -1,6 +1,6 @@ |
64 |
-# Copyright 1999-2010 Gentoo Foundation |
65 |
+# Copyright 1999-2011 Gentoo Foundation |
66 |
# Distributed under the terms of the GNU General Public License v2 |
67 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild,v 1.8 2010/10/22 17:14:24 hwoarang Exp $ |
68 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild,v 1.9 2011/07/16 16:44:27 jlec Exp $ |
69 |
|
70 |
EAPI=3 |
71 |
|
72 |
@@ -46,8 +46,9 @@ |
73 |
DEPEND="${CDEPEND} |
74 |
dev-util/pkgconfig |
75 |
python? ( >=dev-python/sip-4.9 ) |
76 |
- doc? ( app-text/docbook-sgml-utils |
77 |
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
78 |
+ doc? ( |
79 |
+ app-text/docbook-sgml-utils |
80 |
+ >=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
81 |
|
82 |
RDEPEND="${CDEPEND} |
83 |
python? ( dev-python/PyQt4[X] )" |
84 |
|
85 |
|
86 |
|
87 |
1.4 sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild |
88 |
|
89 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild?rev=1.4&view=markup |
90 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild?rev=1.4&content-type=text/plain |
91 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild?r1=1.3&r2=1.4 |
92 |
|
93 |
Index: qtiplot-0.9.8.3.ebuild |
94 |
=================================================================== |
95 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild,v |
96 |
retrieving revision 1.3 |
97 |
retrieving revision 1.4 |
98 |
diff -u -r1.3 -r1.4 |
99 |
--- qtiplot-0.9.8.3.ebuild 9 Feb 2011 13:20:14 -0000 1.3 |
100 |
+++ qtiplot-0.9.8.3.ebuild 16 Jul 2011 16:44:27 -0000 1.4 |
101 |
@@ -1,6 +1,6 @@ |
102 |
# Copyright 1999-2011 Gentoo Foundation |
103 |
# Distributed under the terms of the GNU General Public License v2 |
104 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild,v 1.3 2011/02/09 13:20:14 jlec Exp $ |
105 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.3.ebuild,v 1.4 2011/07/16 16:44:27 jlec Exp $ |
106 |
|
107 |
EAPI=3 |
108 |
|
109 |
@@ -49,8 +49,8 @@ |
110 |
dev-util/pkgconfig |
111 |
python? ( >=dev-python/sip-4.9 ) |
112 |
doc? ( |
113 |
- >=app-text/docbook-sgml-utils-0.6.14-r1 |
114 |
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
115 |
+ >=app-text/docbook-sgml-utils-0.6.14-r1 |
116 |
+ >=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
117 |
|
118 |
RDEPEND="${CDEPEND} |
119 |
python? ( dev-python/PyQt4[X] )" |
120 |
|
121 |
|
122 |
|
123 |
1.2 sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild |
124 |
|
125 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild?rev=1.2&view=markup |
126 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild?rev=1.2&content-type=text/plain |
127 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild?r1=1.1&r2=1.2 |
128 |
|
129 |
Index: qtiplot-0.9.8.4.ebuild |
130 |
=================================================================== |
131 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild,v |
132 |
retrieving revision 1.1 |
133 |
retrieving revision 1.2 |
134 |
diff -u -r1.1 -r1.2 |
135 |
--- qtiplot-0.9.8.4.ebuild 5 Mar 2011 15:20:52 -0000 1.1 |
136 |
+++ qtiplot-0.9.8.4.ebuild 16 Jul 2011 16:44:27 -0000 1.2 |
137 |
@@ -1,6 +1,6 @@ |
138 |
# Copyright 1999-2011 Gentoo Foundation |
139 |
# Distributed under the terms of the GNU General Public License v2 |
140 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild,v 1.1 2011/03/05 15:20:52 jlec Exp $ |
141 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.4.ebuild,v 1.2 2011/07/16 16:44:27 jlec Exp $ |
142 |
|
143 |
EAPI=3 |
144 |
|
145 |
@@ -43,8 +43,8 @@ |
146 |
dev-util/pkgconfig |
147 |
python? ( >=dev-python/sip-4.9 ) |
148 |
doc? ( |
149 |
- >=app-text/docbook-sgml-utils-0.6.14-r1 |
150 |
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
151 |
+ >=app-text/docbook-sgml-utils-0.6.14-r1 |
152 |
+ >=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
153 |
|
154 |
RDEPEND="${CDEPEND} |
155 |
python? ( dev-python/PyQt4[X] )" |
156 |
|
157 |
|
158 |
|
159 |
1.81 sci-visualization/qtiplot/ChangeLog |
160 |
|
161 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.81&view=markup |
162 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.81&content-type=text/plain |
163 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/ChangeLog?r1=1.80&r2=1.81 |
164 |
|
165 |
Index: ChangeLog |
166 |
=================================================================== |
167 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v |
168 |
retrieving revision 1.80 |
169 |
retrieving revision 1.81 |
170 |
diff -u -r1.80 -r1.81 |
171 |
--- ChangeLog 5 Jul 2011 09:54:28 -0000 1.80 |
172 |
+++ ChangeLog 16 Jul 2011 16:44:27 -0000 1.81 |
173 |
@@ -1,6 +1,14 @@ |
174 |
# ChangeLog for sci-visualization/qtiplot |
175 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
176 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.80 2011/07/05 09:54:28 jlec Exp $ |
177 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.81 2011/07/16 16:44:27 jlec Exp $ |
178 |
+ |
179 |
+*qtiplot-0.9.8.7 (16 Jul 2011) |
180 |
+ |
181 |
+ 16 Jul 2011; Justin Lecher <jlec@g.o> qtiplot-0.9.8.2.ebuild, |
182 |
+ qtiplot-0.9.8.3.ebuild, qtiplot-0.9.8.4.ebuild, qtiplot-0.9.8.5.ebuild, |
183 |
+ qtiplot-0.9.8.6.ebuild, +qtiplot-0.9.8.7.ebuild, |
184 |
+ +files/qtiplot-0.9.8.7-kde.patch: |
185 |
+ Version Bump |
186 |
|
187 |
05 Jul 2011; Justin Lecher <jlec@g.o> qtiplot-0.9.8.6.ebuild, |
188 |
+files/qtiplot-0.9.8.6-gold.patch, +files/qtiplot-0.9.8.6-kde.patch, |
189 |
|
190 |
|
191 |
|
192 |
1.4 sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild |
193 |
|
194 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild?rev=1.4&view=markup |
195 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild?rev=1.4&content-type=text/plain |
196 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild?r1=1.3&r2=1.4 |
197 |
|
198 |
Index: qtiplot-0.9.8.6.ebuild |
199 |
=================================================================== |
200 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild,v |
201 |
retrieving revision 1.3 |
202 |
retrieving revision 1.4 |
203 |
diff -u -r1.3 -r1.4 |
204 |
--- qtiplot-0.9.8.6.ebuild 5 Jul 2011 09:54:28 -0000 1.3 |
205 |
+++ qtiplot-0.9.8.6.ebuild 16 Jul 2011 16:44:27 -0000 1.4 |
206 |
@@ -1,6 +1,6 @@ |
207 |
# Copyright 1999-2011 Gentoo Foundation |
208 |
# Distributed under the terms of the GNU General Public License v2 |
209 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild,v 1.3 2011/07/05 09:54:28 jlec Exp $ |
210 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.6.ebuild,v 1.4 2011/07/16 16:44:27 jlec Exp $ |
211 |
|
212 |
EAPI=3 |
213 |
|
214 |
@@ -46,8 +46,8 @@ |
215 |
dev-util/pkgconfig |
216 |
python? ( >=dev-python/sip-4.9 ) |
217 |
doc? ( |
218 |
- >=app-text/docbook-sgml-utils-0.6.14-r1 |
219 |
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
220 |
+ >=app-text/docbook-sgml-utils-0.6.14-r1 |
221 |
+ >=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
222 |
|
223 |
RDEPEND="${CDEPEND} |
224 |
python? ( dev-python/PyQt4[X] )" |
225 |
|
226 |
|
227 |
|
228 |
1.1 sci-visualization/qtiplot/qtiplot-0.9.8.7.ebuild |
229 |
|
230 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.7.ebuild?rev=1.1&view=markup |
231 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.7.ebuild?rev=1.1&content-type=text/plain |
232 |
|
233 |
Index: qtiplot-0.9.8.7.ebuild |
234 |
=================================================================== |
235 |
# Copyright 1999-2011 Gentoo Foundation |
236 |
# Distributed under the terms of the GNU General Public License v2 |
237 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.7.ebuild,v 1.1 2011/07/16 16:44:27 jlec Exp $ |
238 |
|
239 |
EAPI=3 |
240 |
|
241 |
PYTHON_DEPEND="python? 2" |
242 |
|
243 |
inherit eutils qt4-r2 fdo-mime python |
244 |
|
245 |
DESCRIPTION="Qt based clone of the Origin plotting package" |
246 |
HOMEPAGE="http://soft.proindependent.com/qtiplot.html" |
247 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" |
248 |
|
249 |
LICENSE="GPL-2 GPL-3" |
250 |
SLOT="0" |
251 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
252 |
IUSE="bindist doc mono latex png python zlib" |
253 |
|
254 |
LANGS="cn cz de es fr ja ro ru sv" |
255 |
for l in ${LANGS}; do |
256 |
lu=${l/cz/cs} |
257 |
lu=${lu/cn/zh_CN} |
258 |
IUSE="${IUSE} linguas_${lu}" |
259 |
done |
260 |
|
261 |
# qwtplot3d much modified from original upstream |
262 |
# >=x11-libs/qwt-5.3 they are using trunk checkouts |
263 |
CDEPEND=" |
264 |
x11-libs/qt-assistant |
265 |
x11-libs/qt-gui |
266 |
x11-libs/qt-opengl:4 |
267 |
x11-libs/qt-qt3support:4 |
268 |
|| ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 ) |
269 |
x11-libs/qt-svg:4 |
270 |
>=x11-libs/gl2ps-1.3.5[png?] |
271 |
>=dev-cpp/muParser-1.32 |
272 |
>=dev-libs/boost-1.35.0 |
273 |
sci-libs/gsl |
274 |
sci-libs/tamu_anova |
275 |
latex? ( dev-tex/qtexengine ) |
276 |
mono? ( dev-dotnet/libgdiplus ) |
277 |
png? ( media-libs/libpng ) |
278 |
zlib? ( dev-libs/quazip )" |
279 |
DEPEND="${CDEPEND} |
280 |
dev-util/pkgconfig |
281 |
python? ( >=dev-python/sip-4.9 ) |
282 |
doc? ( |
283 |
>=app-text/docbook-sgml-utils-0.6.14-r1 |
284 |
>=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
285 |
|
286 |
RDEPEND="${CDEPEND} |
287 |
python? ( dev-python/PyQt4[X] )" |
288 |
|
289 |
PATCHES=( |
290 |
"${FILESDIR}/${PN}-0.9.7.12-system-gl2ps.patch" |
291 |
"${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch" |
292 |
"${FILESDIR}/${PN}-0.9.8.6-gold.patch" |
293 |
"${FILESDIR}/${P}-kde.patch" |
294 |
) |
295 |
|
296 |
pkg_setup() { |
297 |
use python && python_set_active_version 2 |
298 |
} |
299 |
|
300 |
src_prepare() { |
301 |
local mylibs |
302 |
|
303 |
qt4-r2_src_prepare |
304 |
|
305 |
rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/,boost} || die |
306 |
sed \ |
307 |
-e "s:dll:static:g" \ |
308 |
-e "/INSTALLS/d" \ |
309 |
-i 3rdparty/qwtplot3d/*.pro |
310 |
|
311 |
use zlib && mylibs="${mylibs} -lquazip" |
312 |
use mono && mylibs="${mylibs} $(pkg-config --libs libgdiplus)" |
313 |
|
314 |
# Check build.conf for changes on bump. |
315 |
cat > build.conf <<-EOF |
316 |
# Automatically generated by Gentoo ebuild |
317 |
isEmpty( QTI_ROOT ) { |
318 |
message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" ) |
319 |
} |
320 |
|
321 |
MUPARSER_LIBS = \$\$system(pkg-config --libs muparser) |
322 |
GSL_LIBS = \$\$system(pkg-config --libs gsl) |
323 |
QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src |
324 |
QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a |
325 |
QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include |
326 |
QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a |
327 |
SYS_LIBS = -lgl2ps ${mylibs} |
328 |
|
329 |
PYTHON = python |
330 |
LUPDATE = lupdate |
331 |
LRELEASE = lrelease |
332 |
|
333 |
SCRIPTING_LANGS += muParser |
334 |
|
335 |
CONFIG += release |
336 |
CONFIG += CustomInstall |
337 |
DEFINES += SCRIPTING_CONSOLE |
338 |
|
339 |
EOF |
340 |
|
341 |
use bindist && echo "DEFINES += QTIPLOT_SUPPORT" >> build.conf |
342 |
use bindist || echo "DEFINES += QTIPLOT_PRO" >> build.conf |
343 |
use python && echo "SCRIPTING_LANGS += Python" >> build.conf |
344 |
use latex && echo "TEX_ENGINE_LIBS = -lQTeXEngine" >> build.conf |
345 |
use png && echo "LIBPNG_LIBS = -lpng" >> build.conf |
346 |
echo "TAMUANOVA_LIBS = -ltamuanova" >> build.conf && \ |
347 |
echo "TAMUANOVA_INCLUDEPATH = \"${EPREFIX}/usr/include/tamu_anova\"" >> build.conf |
348 |
|
349 |
sed \ |
350 |
-e "s:doc/${PN}/manual:doc/${PN}/html:" \ |
351 |
-e "s:/usr/local/${PN}:${EPREFIX}$(python_get_sitedir)/qtiplot:" \ |
352 |
-e '/INSTALLS.*documentation/d' \ |
353 |
-e '/INSTALLS.*manual/d' \ |
354 |
-e "/INSTALLBASE/s: /usr: ${EPREFIX}/usr:g" \ |
355 |
-e 's:/usr/local/qtiplot:$$INSTALLBASE:g' \ |
356 |
-i qtiplot/qtiplot.pro || die |
357 |
|
358 |
sed \ |
359 |
-e "/^target.path/s:/usr:${EPREFIX}/usr:g" \ |
360 |
-i fitPlugins/*/*.pro || die |
361 |
|
362 |
sed -e '/manual/d' -i qtiplot.pro || die |
363 |
|
364 |
sed -e "s:QTIPLOT_PRO:QTIPLOT_PROFESSIONAL:g" -i qtiplot/src/core/main.cpp || die |
365 |
|
366 |
# Drop langs only if LINGUAS is not empty |
367 |
if [[ -n ${LINGUAS} ]]; then |
368 |
for l in ${LANGS}; do |
369 |
lu=${l/cz/cs} |
370 |
lu=${lu/cn/zh_CN} |
371 |
use linguas_${lu} || \ |
372 |
sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \ |
373 |
-i qtiplot/qtiplot.pro || die |
374 |
done |
375 |
fi |
376 |
chmod -x qtiplot/qti_wordlist.txt |
377 |
|
378 |
# sed out debian paths |
379 |
sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \ |
380 |
-i manual/qtiplot.dsl || die |
381 |
sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \ |
382 |
-i manual/qtiplot_html.xsl || die |
383 |
} |
384 |
|
385 |
src_configure() { |
386 |
use amd64 && export QMAKESPEC="linux-g++-64" |
387 |
eqmake4 |
388 |
} |
389 |
|
390 |
src_compile() { |
391 |
emake || die "emake failed" |
392 |
lrelease qtiplot/qtiplot.pro || die |
393 |
if use doc; then |
394 |
cd manual |
395 |
emake web || die "html docbook building failed" |
396 |
fi |
397 |
} |
398 |
|
399 |
src_install() { |
400 |
qt4-r2_src_install |
401 |
newicon qtiplot_logo.png qtiplot.png |
402 |
make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot |
403 |
if use doc; then |
404 |
insinto /usr/share/doc/${PN}/html |
405 |
doins -r manual/html/* || die "install manual failed" |
406 |
fi |
407 |
|
408 |
if [[ -n ${LINGUAS} ]]; then |
409 |
insinto /usr/share/${PN}/translations |
410 |
for l in ${LANGS}; do |
411 |
lu=${l/cz/cs} |
412 |
lu=${lu/cn/zh_CN} |
413 |
use linguas_${lu} && \ |
414 |
doins qtiplot/translations/qtiplot_${l}.qm |
415 |
done |
416 |
fi |
417 |
} |
418 |
|
419 |
pkg_postinst() { |
420 |
if use python; then |
421 |
elog "You might want to emerge" |
422 |
elog "\t dev-python/pygsl" |
423 |
elog "\t dev-python/rpy" |
424 |
elog "\t sci-libs/scipy and" |
425 |
elog "\t dev-python/sympy" |
426 |
elog "to gain full python support." |
427 |
fi |
428 |
|
429 |
fdo-mime_desktop_database_update |
430 |
python_mod_optimize ${PN} |
431 |
} |
432 |
|
433 |
pkg_postrm() { |
434 |
fdo-mime_desktop_database_update |
435 |
python_mod_cleanup ${PN} |
436 |
} |