1 |
ssuominen 10/01/09 08:45:39 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: qtiplot-0.9.7.11.ebuild |
5 |
Log: |
6 |
Version bump wrt #299769 by Justin Lecher. |
7 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.49 sci-visualization/qtiplot/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.49&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.49&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?r1=1.48&r2=1.49 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v |
19 |
retrieving revision 1.48 |
20 |
retrieving revision 1.49 |
21 |
diff -u -r1.48 -r1.49 |
22 |
--- ChangeLog 5 Jan 2010 11:08:39 -0000 1.48 |
23 |
+++ ChangeLog 9 Jan 2010 08:45:38 -0000 1.49 |
24 |
@@ -1,6 +1,18 @@ |
25 |
# ChangeLog for sci-visualization/qtiplot |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.48 2010/01/05 11:08:39 ssuominen Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.49 2010/01/09 08:45:38 ssuominen Exp $ |
29 |
+ |
30 |
+*qtiplot-0.9.7.11 (09 Jan 2010) |
31 |
+ |
32 |
+ 09 Jan 2010; Samuli Suominen <ssuominen@g.o> |
33 |
+ +qtiplot-0.9.7.11.ebuild, +files/qtiplot-0.9.7.11-build.conf.patch, |
34 |
+ +files/qtiplot-0.9.7.11-docbuild.patch, |
35 |
+ +files/qtiplot-0.9.7.11-dont-install-qwt.patch, |
36 |
+ +files/qtiplot-0.9.7.11-gl2ps.patch, |
37 |
+ +files/qtiplot-0.9.7.11-qtiplot.pro.patch, |
38 |
+ +files/qtiplot-0.9.7.11-sip48.patch, |
39 |
+ +files/qtiplot-0.9.7.11-syslibs.patch: |
40 |
+ Version bump wrt #299769 by Justin Lecher. |
41 |
|
42 |
05 Jan 2010; Samuli Suominen <ssuominen@g.o> |
43 |
qtiplot-0.9.7.10.ebuild: |
44 |
|
45 |
|
46 |
|
47 |
1.2 sci-visualization/qtiplot/metadata.xml |
48 |
|
49 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/metadata.xml?rev=1.2&view=markup |
50 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/metadata.xml?rev=1.2&content-type=text/plain |
51 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/metadata.xml?r1=1.1&r2=1.2 |
52 |
|
53 |
Index: metadata.xml |
54 |
=================================================================== |
55 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/metadata.xml,v |
56 |
retrieving revision 1.1 |
57 |
retrieving revision 1.2 |
58 |
diff -u -r1.1 -r1.2 |
59 |
--- metadata.xml 29 Jan 2006 15:43:33 -0000 1.1 |
60 |
+++ metadata.xml 9 Jan 2010 08:45:38 -0000 1.2 |
61 |
@@ -5,6 +5,10 @@ |
62 |
<maintainer> |
63 |
<email>cryos@g.o</email> |
64 |
</maintainer> |
65 |
+ <use> |
66 |
+ <flag name="xls">Import support for Microsoft office excel sheets</flag> |
67 |
+ <flag name="ods">Import support for OpenOffice .ods sheets</flag> |
68 |
+ </use> |
69 |
<longdescription> |
70 |
Data analysis and scientific plotting package. This is a clone of the |
71 |
popular Origin software available on another well known platform implemented |
72 |
|
73 |
|
74 |
|
75 |
1.1 sci-visualization/qtiplot/qtiplot-0.9.7.11.ebuild |
76 |
|
77 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.11.ebuild?rev=1.1&view=markup |
78 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.11.ebuild?rev=1.1&content-type=text/plain |
79 |
|
80 |
Index: qtiplot-0.9.7.11.ebuild |
81 |
=================================================================== |
82 |
# Copyright 1999-2010 Gentoo Foundation |
83 |
# Distributed under the terms of the GNU General Public License v2 |
84 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.11.ebuild,v 1.1 2010/01/09 08:45:38 ssuominen Exp $ |
85 |
|
86 |
EAPI=2 |
87 |
inherit eutils qt4 fdo-mime python |
88 |
|
89 |
DESCRIPTION="Qt based clone of the Origin plotting package" |
90 |
HOMEPAGE="http://soft.proindependent.com/qtiplot.html" |
91 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" |
92 |
|
93 |
LICENSE="GPL-2" |
94 |
SLOT="0" |
95 |
KEYWORDS="~amd64 ~x86" |
96 |
IUSE="bindist doc ods xls" |
97 |
|
98 |
LANGS="de es fr ja ru sv" |
99 |
for l in ${LANGS}; do |
100 |
IUSE="${IUSE} linguas_${l}" |
101 |
done |
102 |
|
103 |
# x11-libs/qwtplot3d is modified from upstream version |
104 |
# >=x11-libs/qwt-5.3 (or trunk) isn't released yet |
105 |
CDEPEND=" |
106 |
x11-libs/qt-opengl:4 |
107 |
x11-libs/qt-qt3support:4 |
108 |
x11-libs/qt-assistant:4 |
109 |
x11-libs/qt-svg:4 |
110 |
>=x11-libs/gl2ps-1.3.5 |
111 |
>=dev-cpp/muParser-1.30 |
112 |
>=dev-libs/boost-1.35.0 |
113 |
>=sci-libs/liborigin-20090406:2 |
114 |
!bindist? ( sci-libs/gsl ) |
115 |
bindist? ( <sci-libs/gsl-1.10 ) |
116 |
dev-libs/boost |
117 |
dev-tex/qtexengine |
118 |
ods? ( dev-libs/quazip ) |
119 |
xls? ( dev-libs/libxls )" |
120 |
# emf? ( media-libs/emfengine ) |
121 |
# foo? ( ?/qtpluginbrowser )" #300222 |
122 |
|
123 |
DEPEND="${CDEPEND} |
124 |
dev-util/pkgconfig |
125 |
dev-python/sip |
126 |
doc? ( app-text/docbook-sgml-utils |
127 |
app-text/docbook-xml-dtd:4.2 )" |
128 |
|
129 |
RDEPEND="${CDEPEND} |
130 |
>=dev-lang/python-2.5 |
131 |
dev-python/PyQt4[X] |
132 |
dev-python/pygsl |
133 |
sci-libs/scipy" |
134 |
|
135 |
PATCHES=( |
136 |
"${FILESDIR}/${P}-syslibs.patch" |
137 |
"${FILESDIR}/${P}-docbuild.patch" |
138 |
"${FILESDIR}/${P}-build.conf.patch" |
139 |
"${FILESDIR}/${P}-gl2ps.patch" |
140 |
"${FILESDIR}/${P}-dont-install-qwt.patch" |
141 |
"${FILESDIR}/${P}-qtiplot.pro.patch" |
142 |
"${FILESDIR}/${P}-sip48.patch" |
143 |
) |
144 |
|
145 |
src_prepare() { |
146 |
edos2unix \ |
147 |
3rdparty/qwtplot3d/qwtplot3d.pri \ |
148 |
3rdparty/qwtplot3d/qwtplot3d.pro \ |
149 |
qtiplot/src/origin/origin.pri \ |
150 |
qtiplot/src/scripting/scripting.pri \ |
151 |
3rdparty/qwt/qwtconfig.pri |
152 |
|
153 |
qt4_src_prepare |
154 |
|
155 |
rm -rf 3rdparty/{liborigin,QTeXEngine} 3rdparty/qwtplot3d/3rdparty/gl2ps/ |
156 |
|
157 |
python_version |
158 |
|
159 |
sed -i \ |
160 |
-e "s:doc/${PN}/manual:doc/${PF}/html:" \ |
161 |
-e "s:local/${PN}:$(get_libdir)/python${PYVER}/site-packages:" \ |
162 |
qtiplot/qtiplot.pro || die |
163 |
|
164 |
sed -i \ |
165 |
-e '/INSTALLS.*.*documentation/d' \ |
166 |
-e '/manual/d' \ |
167 |
qtiplot.pro qtiplot/qtiplot.pro || die |
168 |
|
169 |
# the lib$$suff did not work in the fitRational*.pro files |
170 |
sed -i \ |
171 |
-e "s|/usr/lib\$\${libsuff}|/usr/$(get_libdir)|g" \ |
172 |
fitPlugins/*/*.pro || die |
173 |
|
174 |
for l in ${LANGS}; do |
175 |
if ! use linguas_${l}; then |
176 |
sed -i \ |
177 |
-e "s:translations/qtiplot_${l}.ts::" \ |
178 |
-e "s:translations/qtiplot_${l}.qm::" \ |
179 |
qtiplot/qtiplot.pro || die |
180 |
fi |
181 |
done |
182 |
chmod -x qtiplot/qti_wordlist.txt |
183 |
|
184 |
# use emf && sed -i "/EMF_ENGINE_LIBS/s:^#::g" build.conf.example |
185 |
use ods && sed -i "/QUAZIP_LIBS/s:^#::g" build.conf.example |
186 |
use xls && sed -i "/XLS_LIBS/s:^#::g" build.conf.example |
187 |
# use && sed -i "/BrowserPlugin/s:#CONFIG:CONFIG:g" build.conf.example |
188 |
|
189 |
sed \ |
190 |
-e "s:GENTOOLIB:$(get_libdir):g" \ |
191 |
build.conf.example > build.conf |
192 |
} |
193 |
|
194 |
src_configure() { |
195 |
eqmake4 |
196 |
} |
197 |
|
198 |
src_compile() { |
199 |
emake || die "emake failed" |
200 |
if use doc; then |
201 |
# doxygen Doxyfile || die |
202 |
cd manual |
203 |
emake || die "html docbook building failed" |
204 |
fi |
205 |
} |
206 |
|
207 |
src_install() { |
208 |
emake INSTALL_ROOT="${D}" install || die |
209 |
newicon qtiplot_logo.png qtiplot.png |
210 |
make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot |
211 |
if use doc; then |
212 |
insinto /usr/share/doc/${PF}/html |
213 |
doins -r manual/html/* || die |
214 |
fi |
215 |
} |
216 |
|
217 |
pkg_postinst() { |
218 |
fdo-mime_desktop_database_update |
219 |
if use doc; then |
220 |
elog "On the first start, do Help -> Choose Help Folder" |
221 |
elog "and select /usr/share/doc/${PF}/html" |
222 |
fi |
223 |
} |
224 |
|
225 |
pkg_postrm() { |
226 |
fdo-mime_desktop_database_update |
227 |
} |