1 |
markusle 08/09/25 14:29:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qtiplot-0.9.7.2.ebuild |
5 |
Removed: qtiplot-0.9.6.2.ebuild |
6 |
Log: |
7 |
Version bump. Fixes bug #238632. |
8 |
(Portage version: 2.2_rc9/cvs/Linux 2.6.26-SENTINEL-2 i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.33 sci-visualization/qtiplot/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.33&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.33&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?r1=1.32&r2=1.33 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v |
20 |
retrieving revision 1.32 |
21 |
retrieving revision 1.33 |
22 |
diff -u -r1.32 -r1.33 |
23 |
--- ChangeLog 26 Aug 2008 03:07:35 -0000 1.32 |
24 |
+++ ChangeLog 25 Sep 2008 14:29:36 -0000 1.33 |
25 |
@@ -1,6 +1,18 @@ |
26 |
# ChangeLog for sci-visualization/qtiplot |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.32 2008/08/26 03:07:35 markusle Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.33 2008/09/25 14:29:36 markusle Exp $ |
30 |
+ |
31 |
+*qtiplot-0.9.7.2 (25 Sep 2008) |
32 |
+ |
33 |
+ 25 Sep 2008; Markus Dittrich <markusle@g.o> |
34 |
+ -qtiplot-0.9.6.2.ebuild, |
35 |
+ +files/qtiplot-0.9.7.2-liborigin-gcc4.3.patch, |
36 |
+ +files/qtiplot-0.9.7.2-pro.patch, +qtiplot-0.9.7.2.ebuild: |
37 |
+ Version bump. Fixes bug #238632. |
38 |
+ NOTE: This version uses an improved liborigin file parser |
39 |
+ and is not compatible any more with sci-libs/liborigin. Hence, |
40 |
+ we use the included liborigin sources for now until upstream |
41 |
+ hopefully updates liborigin as well. |
42 |
|
43 |
*qtiplot-0.9.7 (26 Aug 2008) |
44 |
|
45 |
|
46 |
|
47 |
|
48 |
1.1 sci-visualization/qtiplot/qtiplot-0.9.7.2.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.2.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.2.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: qtiplot-0.9.7.2.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2008 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.2.ebuild,v 1.1 2008/09/25 14:29:36 markusle Exp $ |
58 |
|
59 |
EAPI="1" |
60 |
inherit eutils multilib qt4 fdo-mime python |
61 |
|
62 |
DESCRIPTION="Qt based clone of the Origin plotting package" |
63 |
HOMEPAGE="http://soft.proindependent.com/qtiplot.html" |
64 |
SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2 |
65 |
doc? ( mirror://gentoo/${PN}-0.9.7-manual-en.tar.bz2 )" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~ppc64 ~x86" |
70 |
IUSE="python doc bindist" |
71 |
|
72 |
LANGS="de es fr ja ru sv" |
73 |
for l in ${LANGS}; do |
74 |
IUSE="${IUSE} linguas_${l}" |
75 |
done |
76 |
|
77 |
CDEPEND=">=x11-libs/qwt-5.1 |
78 |
>=x11-libs/qwtplot3d-0.2.7 |
79 |
x11-libs/qt-gui:4 |
80 |
x11-libs/qt-qt3support:4 |
81 |
x11-libs/qt-assistant:4 |
82 |
>=dev-cpp/muParser-1.28 |
83 |
dev-libs/boost |
84 |
!bindist? ( sci-libs/gsl ) |
85 |
bindist? ( <sci-libs/gsl-1.10 )" |
86 |
|
87 |
DEPEND="${CDEPEND} |
88 |
dev-util/pkgconfig |
89 |
python? ( >=dev-python/sip-4.5.2 )" |
90 |
|
91 |
RDEPEND="${CDEPEND} |
92 |
python? ( >=dev-lang/python-2.5 |
93 |
dev-python/PyQt4 |
94 |
dev-python/pygsl |
95 |
sci-libs/scipy )" |
96 |
|
97 |
QT4_BUILT_WITH_USE_CHECK="qt3support" |
98 |
|
99 |
src_unpack() { |
100 |
unpack ${A} |
101 |
cd "${S}" |
102 |
epatch "${FILESDIR}"/${P}-pro.patch |
103 |
epatch "${FILESDIR}"/${PN}-0.9.6.2-fitplugins.patch |
104 |
epatch "${FILESDIR}"/${PN}-0.9.7-gcc4.3.patch |
105 |
epatch "${FILESDIR}"/${P}-liborigin-gcc4.3.patch |
106 |
|
107 |
sed -i \ |
108 |
-e '/manual/d'\ |
109 |
-e '/3rd/d' \ |
110 |
qtiplot.pro || die "sed qtiplot.pro failed" |
111 |
|
112 |
python_version |
113 |
|
114 |
sed -i \ |
115 |
-e '/manual/d' \ |
116 |
-e "s:doc/${PN}:doc/${PF}:" \ |
117 |
-e "s:local/${PN}:$(get_libdir)/python${PYVER}/site-packages:" \ |
118 |
qtiplot/qtiplot.pro || die " sed for qtiplot/qtiplot.pro failed" |
119 |
|
120 |
if ! use python; then |
121 |
sed -i \ |
122 |
-e '/^SCRIPTING_LANGS += Python/d' \ |
123 |
-e '/sipcmd/d' \ |
124 |
qtiplot/qtiplot.pro || die "sed for python option failed" |
125 |
fi |
126 |
|
127 |
# the lib$$suff did not work in the fitRational*.pro files |
128 |
sed -i \ |
129 |
-e "s|/usr/lib\$\${libsuff}|/usr/$(get_libdir)|g" \ |
130 |
fitPlugins/fit*/fitRational*.pro \ |
131 |
|| die "sed fitRational* failed" |
132 |
|
133 |
for l in ${LANGS}; do |
134 |
if ! use linguas_${l}; then |
135 |
sed -i \ |
136 |
-e "s:translations/qtiplot_${l}.ts::" \ |
137 |
-e "s:translations/qtiplot_${l}.qm::" \ |
138 |
qtiplot/qtiplot.pro || die |
139 |
fi |
140 |
done |
141 |
} |
142 |
|
143 |
src_compile() { |
144 |
eqmake4 || die "eqmake4 failed" |
145 |
emake || die "emake failed" |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
emake INSTALL_ROOT="${D}" install || die 'emake install failed' |
150 |
rm -f "${D}"/usr/share/${PN}/translations/*.ts |
151 |
use python && chmod -x "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/qti_wordlist.txt |
152 |
|
153 |
newicon qtiplot_logo.png qtiplot.png |
154 |
make_desktop_entry qtiplot QtiPlot qtiplot |
155 |
|
156 |
if use doc; then |
157 |
insinto /usr/share/doc/${PF}/html |
158 |
doins -r "${WORKDIR}"/qtiplot-manual/* \ |
159 |
|| die "install manual failed" |
160 |
rm -rf "${D}"/usr/share/doc/${PF}/html/*/.svn |
161 |
fi |
162 |
} |
163 |
|
164 |
pkg_postinst() { |
165 |
fdo-mime_desktop_database_update |
166 |
|
167 |
if use python; then |
168 |
python_version |
169 |
python_mod_compile \ |
170 |
/usr/$(get_libdir)/python${PYVER}/site-packages/qti{plotrc,Util}.py |
171 |
fi |
172 |
|
173 |
if use doc; then |
174 |
elog "On the first start, do Help -> Choose Help Folder" |
175 |
elog "and select /usr/share/doc/${PF}/html" |
176 |
fi |
177 |
} |
178 |
|
179 |
pkg_postrm() { |
180 |
fdo-mime_desktop_database_update |
181 |
|
182 |
if use python; then |
183 |
python_version |
184 |
python_mod_cleanup |
185 |
fi |
186 |
} |