1 |
jlec 10/09/03 06:12:37 |
2 |
|
3 |
Modified: ChangeLog qtiplot-0.9.8.ebuild |
4 |
Added: qtiplot-0.9.8.2.ebuild |
5 |
Log: |
6 |
Version Bump |
7 |
|
8 |
(Portage version: 2.2_rc72/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.66 sci-visualization/qtiplot/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.66&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.66&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/ChangeLog?r1=1.65&r2=1.66 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v |
20 |
retrieving revision 1.65 |
21 |
retrieving revision 1.66 |
22 |
diff -u -r1.65 -r1.66 |
23 |
--- ChangeLog 4 Aug 2010 06:31:36 -0000 1.65 |
24 |
+++ ChangeLog 3 Sep 2010 06:12:37 -0000 1.66 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-visualization/qtiplot |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.65 2010/08/04 06:31:36 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.66 2010/09/03 06:12:37 jlec Exp $ |
30 |
+ |
31 |
+*qtiplot-0.9.8.2 (03 Sep 2010) |
32 |
+ |
33 |
+ 03 Sep 2010; Justin Lecher <jlec@g.o> +qtiplot-0.9.8.2.ebuild, |
34 |
+ +files/qtiplot-0.9.8.2-syslibs.patch: |
35 |
+ Version Bump |
36 |
|
37 |
04 Aug 2010; Justin Lecher <jlec@g.o> -qtiplot-0.9.7.13.ebuild, |
38 |
-qtiplot-0.9.7.14.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.3 sci-visualization/qtiplot/qtiplot-0.9.8.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.ebuild?rev=1.3&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.ebuild?rev=1.3&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.ebuild?r1=1.2&r2=1.3 |
47 |
|
48 |
Index: qtiplot-0.9.8.ebuild |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.ebuild,v |
51 |
retrieving revision 1.2 |
52 |
retrieving revision 1.3 |
53 |
diff -u -r1.2 -r1.3 |
54 |
--- qtiplot-0.9.8.ebuild 4 Aug 2010 06:29:18 -0000 1.2 |
55 |
+++ qtiplot-0.9.8.ebuild 3 Sep 2010 06:12:37 -0000 1.3 |
56 |
@@ -1,12 +1,12 @@ |
57 |
# Copyright 1999-2010 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.ebuild,v 1.2 2010/08/04 06:29:18 jlec Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.ebuild,v 1.3 2010/09/03 06:12:37 jlec Exp $ |
61 |
|
62 |
EAPI=3 |
63 |
|
64 |
PYTHON_DEPEND="python? 2" |
65 |
|
66 |
-inherit eutils qt4 fdo-mime python |
67 |
+inherit eutils qt4-r2 fdo-mime python |
68 |
|
69 |
DESCRIPTION="Qt based clone of the Origin plotting package" |
70 |
HOMEPAGE="http://soft.proindependent.com/qtiplot.html" |
71 |
@@ -65,11 +65,10 @@ |
72 |
|
73 |
pkg_setup() { |
74 |
use python && python_set_active_version 2 |
75 |
- qt4_pkg_setup |
76 |
} |
77 |
|
78 |
src_prepare() { |
79 |
- qt4_src_prepare |
80 |
+ qt4-r2_src_prepare |
81 |
|
82 |
rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/} |
83 |
|
84 |
@@ -106,8 +105,6 @@ |
85 |
EOF |
86 |
|
87 |
use python && echo "SCRIPTING_LANGS += Python" >> build.conf |
88 |
-# use xls && echo "XLS_LIBS = -lExcelFormat" >> build.conf |
89 |
- use xls && echo "XLS_LIBS = ${EPREFIX}/usr/$(get_libdir)/libExcelFormat.a" >> build.conf |
90 |
if use ods; then |
91 |
echo "QUAZIP_INCLUDEPATH = ${EPREFIX}/usr/include/quazip" >> build.conf |
92 |
echo "QUAZIP_LIBS = -lquazip" >> build.conf |
93 |
|
94 |
|
95 |
|
96 |
1.1 sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild |
97 |
|
98 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild?rev=1.1&view=markup |
99 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild?rev=1.1&content-type=text/plain |
100 |
|
101 |
Index: qtiplot-0.9.8.2.ebuild |
102 |
=================================================================== |
103 |
# Copyright 1999-2010 Gentoo Foundation |
104 |
# Distributed under the terms of the GNU General Public License v2 |
105 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild,v 1.1 2010/09/03 06:12:37 jlec Exp $ |
106 |
|
107 |
EAPI=3 |
108 |
|
109 |
PYTHON_DEPEND="python? 2" |
110 |
|
111 |
inherit eutils qt4-r2 fdo-mime python |
112 |
|
113 |
DESCRIPTION="Qt based clone of the Origin plotting package" |
114 |
HOMEPAGE="http://soft.proindependent.com/qtiplot.html" |
115 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" |
116 |
|
117 |
LICENSE="GPL-2 GPL-3" |
118 |
SLOT="0" |
119 |
KEYWORDS="~amd64 ~x86" |
120 |
IUSE="doc python ods" |
121 |
|
122 |
LANGS="cn cz de es fr ro ru ja sv" |
123 |
for l in ${LANGS}; do |
124 |
lu=${l/cz/cs} |
125 |
lu=${lu/cn/zh_CN} |
126 |
IUSE="${IUSE} linguas_${lu}" |
127 |
done |
128 |
|
129 |
# qwtplot3d much modified from original upstream |
130 |
# >=x11-libs/qwt-5.3 they are using trunk checkouts |
131 |
CDEPEND=" |
132 |
x11-libs/qt-opengl:4 |
133 |
x11-libs/qt-qt3support:4 |
134 |
x11-libs/qt-assistant:4 |
135 |
x11-libs/qt-svg:4 |
136 |
>=x11-libs/gl2ps-1.3.5 |
137 |
>=dev-cpp/muParser-1.32 |
138 |
>=dev-libs/boost-1.35.0 |
139 |
>=sci-libs/liborigin-20100903:2 |
140 |
sci-libs/gsl |
141 |
dev-libs/boost |
142 |
dev-tex/qtexengine |
143 |
ods? ( dev-libs/quazip )" |
144 |
# Still unable to build |
145 |
# emf? ( media-libs/libemf |
146 |
# media-libs/emfengine ) |
147 |
|
148 |
DEPEND="${CDEPEND} |
149 |
dev-util/pkgconfig |
150 |
python? ( >=dev-python/sip-4.9 ) |
151 |
doc? ( app-text/docbook-sgml-utils |
152 |
>=app-text/docbook-xml-dtd-4.4-r2:4.4 )" |
153 |
|
154 |
RDEPEND="${CDEPEND} |
155 |
python? ( |
156 |
dev-python/PyQt4[X] |
157 |
dev-python/pygsl |
158 |
dev-python/rpy |
159 |
sci-libs/scipy )" |
160 |
|
161 |
PATCHES=( |
162 |
"${FILESDIR}/${PN}-0.9.7.12-system-QTeXEngine.patch" |
163 |
"${FILESDIR}/${PN}-0.9.7.14-system-liborigin.patch" |
164 |
"${FILESDIR}/${PN}-0.9.7.12-system-gl2ps.patch" |
165 |
"${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch" |
166 |
"${FILESDIR}/${PN}-0.9.8.2-syslibs.patch" |
167 |
) |
168 |
|
169 |
pkg_setup() { |
170 |
use python && python_set_active_version 2 |
171 |
} |
172 |
|
173 |
src_prepare() { |
174 |
qt4-r2_src_prepare |
175 |
|
176 |
rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/} |
177 |
|
178 |
# Check build.conf for changes on bump. |
179 |
cat >build.conf <<-EOF |
180 |
# Automatically generated by Gentoo ebuild |
181 |
isEmpty( QTI_ROOT ) { |
182 |
message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" ) |
183 |
} |
184 |
|
185 |
MUPARSER_LIBS = \$\$system(pkg-config --libs muparser) |
186 |
GSL_LIBS = \$\$system(pkg-config --libs gsl) |
187 |
BOOST_INCLUDEPATH = "${EPREFIX}/usr/include/boost" |
188 |
BOOST_LIBS = -lboost_date_time-mt -lboost_thread-mt |
189 |
QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src |
190 |
QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a |
191 |
QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include |
192 |
QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a |
193 |
LIB_ORIGIN_INCLUDEPATH = "${EPREFIX}/usr/include/liborigin2" |
194 |
LIB_ORIGIN_LIBS = -lorigin2 |
195 |
QTEXENGINE_LIBS = -lQTeXEngine |
196 |
SYS_LIBS = -lgl2ps |
197 |
|
198 |
PYTHON = python |
199 |
LUPDATE = lupdate |
200 |
LRELEASE = lrelease |
201 |
|
202 |
SCRIPTING_LANGS += muParser |
203 |
|
204 |
CONFIG += release |
205 |
CONFIG += CustomInstall |
206 |
DEFINES += SCRIPTING_CONSOLE |
207 |
|
208 |
EOF |
209 |
|
210 |
use python && echo "SCRIPTING_LANGS += Python" >> build.conf |
211 |
if use ods; then |
212 |
echo "QUAZIP_INCLUDEPATH = ${EPREFIX}/usr/include/quazip" >> build.conf |
213 |
echo "QUAZIP_LIBS = -lquazip" >> build.conf |
214 |
fi |
215 |
|
216 |
sed '/^INSTALLS/d;' -i 3rdparty/qwtplot3d/qwtplot3d.pro || die |
217 |
|
218 |
# Fails to build... |
219 |
#if use emf; then |
220 |
# echo "EMF_ENGINE_INCLUDEPATH = /usr/include/libEMF" >> build.conf |
221 |
# echo "EMF_ENGINE_LIBS = -lEMF" >> build.conf |
222 |
#fi |
223 |
|
224 |
sed -e "s:doc/${PN}/manual:doc/${PN}/html:" \ |
225 |
-e "s:/usr/local/${PN}:$(python_get_sitedir)/qtiplot:" \ |
226 |
-i qtiplot/qtiplot.pro || die |
227 |
|
228 |
sed -e '/INSTALLS.*documentation/d' \ |
229 |
-e '/INSTALLS.*manual/d' \ |
230 |
-i qtiplot/qtiplot.pro || die |
231 |
sed -e '/manual/d' -i qtiplot.pro || die |
232 |
|
233 |
# Drop langs only if LINGUAS is not empty |
234 |
if [[ -n ${LINGUAS} ]]; then |
235 |
for l in ${LANGS}; do |
236 |
lu=${l/cz/cs} |
237 |
lu=${lu/cn/zh_CN} |
238 |
use linguas_${lu} || \ |
239 |
sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \ |
240 |
-i qtiplot/qtiplot.pro || die |
241 |
done |
242 |
fi |
243 |
chmod -x qtiplot/qti_wordlist.txt |
244 |
|
245 |
# sed out debian paths |
246 |
sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \ |
247 |
-i manual/qtiplot.dsl || die |
248 |
sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \ |
249 |
-i manual/qtiplot_html.xsl || die |
250 |
} |
251 |
|
252 |
src_configure() { |
253 |
use amd64 && export QMAKESPEC="linux-g++-64" |
254 |
eqmake4 |
255 |
} |
256 |
|
257 |
src_compile() { |
258 |
emake || die "emake failed" |
259 |
lrelease qtiplot/qtiplot.pro || die |
260 |
if use doc; then |
261 |
cd manual |
262 |
emake web || die "html docbook building failed" |
263 |
fi |
264 |
} |
265 |
|
266 |
src_install() { |
267 |
emake INSTALL_ROOT="${D}" install || die 'emake install failed' |
268 |
newicon qtiplot_logo.png qtiplot.png |
269 |
make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot |
270 |
if use doc; then |
271 |
insinto /usr/share/doc/${PN}/html |
272 |
doins -r manual/html/* || die "install manual failed" |
273 |
fi |
274 |
|
275 |
if [[ -n ${LINGUAS} ]]; then |
276 |
insinto /usr/share/${PN}/translations |
277 |
for l in ${LANGS}; do |
278 |
lu=${l/cz/cs} |
279 |
lu=${lu/cn/zh_CN} |
280 |
use linguas_${lu} && \ |
281 |
doins qtiplot/translations/qtiplot_${l}.qm |
282 |
done |
283 |
fi |
284 |
} |
285 |
|
286 |
pkg_postinst() { |
287 |
fdo-mime_desktop_database_update |
288 |
python_mod_optimize ${PN} |
289 |
} |
290 |
|
291 |
pkg_postrm() { |
292 |
fdo-mime_desktop_database_update |
293 |
python_mod_cleanup ${PN} |
294 |
} |