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