1 |
markusle 08/08/26 03:07:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qtiplot-0.9.7.ebuild |
5 |
Removed: qtiplot-0.9.4.ebuild qtiplot-0.9.5-r1.ebuild |
6 |
qtiplot-0.9.6.ebuild |
7 |
Log: |
8 |
Version bump (fixes #233610) and removed old ebuilds. |
9 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-SENTINEL-2 i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.32 sci-visualization/qtiplot/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.32&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.32&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?r1=1.31&r2=1.32 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v |
21 |
retrieving revision 1.31 |
22 |
retrieving revision 1.32 |
23 |
diff -u -r1.31 -r1.32 |
24 |
--- ChangeLog 25 Aug 2008 22:43:50 -0000 1.31 |
25 |
+++ ChangeLog 26 Aug 2008 03:07:35 -0000 1.32 |
26 |
@@ -1,6 +1,18 @@ |
27 |
# ChangeLog for sci-visualization/qtiplot |
28 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.31 2008/08/25 22:43:50 markusle Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.32 2008/08/26 03:07:35 markusle Exp $ |
31 |
+ |
32 |
+*qtiplot-0.9.7 (26 Aug 2008) |
33 |
+ |
34 |
+ 26 Aug 2008; Markus Dittrich <markusle@g.o> |
35 |
+ -files/qtiplot-0.9.2-systemlibs.patch, |
36 |
+ -files/qtiplot-0.9.4-systemlibs.patch, |
37 |
+ -files/qtiplot-0.9.5-fitplugins.patch, -files/qtiplot-0.9.5-profile.patch, |
38 |
+ -files/qtiplot-0.9.6-fitplugins.patch, -files/qtiplot-0.9.6-profile.patch, |
39 |
+ +files/qtiplot-0.9.7-gcc4.3.patch, -qtiplot-0.9.4.ebuild, |
40 |
+ -qtiplot-0.9.5-r1.ebuild, -qtiplot-0.9.6.ebuild, +qtiplot-0.9.7.ebuild: |
41 |
+ Version bump (fixes #233610) and removed old ebuilds. Thanks much to |
42 |
+ Alexey Shvetsov <alexxyum@×××××.com> for his patches. |
43 |
|
44 |
25 Aug 2008; Markus Dittrich <markusle@g.o> qtiplot-0.9.6.2.ebuild: |
45 |
Added missing dependency on x11-libs/qt-assistant:4 (fixes bug #235618). |
46 |
|
47 |
|
48 |
|
49 |
1.1 sci-visualization/qtiplot/qtiplot-0.9.7.ebuild |
50 |
|
51 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.ebuild?rev=1.1&view=markup |
52 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.ebuild?rev=1.1&content-type=text/plain |
53 |
|
54 |
Index: qtiplot-0.9.7.ebuild |
55 |
=================================================================== |
56 |
# Copyright 1999-2008 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.ebuild,v 1.1 2008/08/26 03:07:35 markusle Exp $ |
59 |
|
60 |
EAPI="1" |
61 |
inherit eutils multilib qt4 fdo-mime python |
62 |
|
63 |
DESCRIPTION="Qt based clone of the Origin plotting package" |
64 |
HOMEPAGE="http://soft.proindependent.com/qtiplot.html" |
65 |
SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2 |
66 |
doc? ( mirror://gentoo/${P}-manual-en.tar.bz2 )" |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~ppc64 ~x86" |
71 |
IUSE="python doc bindist" |
72 |
|
73 |
LANGS="de es fr ja ru sv" |
74 |
for l in ${LANGS}; do |
75 |
IUSE="${IUSE} linguas_${l}" |
76 |
done |
77 |
|
78 |
CDEPEND=">=x11-libs/qwt-5.1 |
79 |
>=x11-libs/qwtplot3d-0.2.7 |
80 |
x11-libs/qt-gui:4 |
81 |
x11-libs/qt-qt3support:4 |
82 |
x11-libs/qt-assistant:4 |
83 |
>=dev-cpp/muParser-1.28 |
84 |
>=sci-libs/liborigin-20080225 |
85 |
!bindist? ( sci-libs/gsl ) |
86 |
bindist? ( <sci-libs/gsl-1.10 )" |
87 |
|
88 |
DEPEND="${CDEPEND} |
89 |
dev-util/pkgconfig |
90 |
python? ( >=dev-python/sip-4.5.2 )" |
91 |
|
92 |
RDEPEND="${CDEPEND} |
93 |
python? ( >=dev-lang/python-2.5 |
94 |
dev-python/PyQt4 |
95 |
dev-python/pygsl |
96 |
sci-libs/scipy )" |
97 |
|
98 |
QT4_BUILT_WITH_USE_CHECK="qt3support" |
99 |
|
100 |
src_unpack() { |
101 |
unpack ${A} |
102 |
cd "${S}" |
103 |
epatch "${FILESDIR}"/${PN}-0.9.6.2-pro.patch |
104 |
epatch "${FILESDIR}"/${PN}-0.9.6.2-fitplugins.patch |
105 |
epatch "${FILESDIR}"/${P}-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 |
} |