Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/qtiplot: ChangeLog qtiplot-0.9.7.10.ebuild qtiplot-0.9.7.7-r1.ebuild
Date: Fri, 01 Jan 2010 10:46:57
Message-Id: E1NQf1x-0001z4-Ch@stork.gentoo.org
1 ssuominen 10/01/01 10:46:53
2
3 Modified: ChangeLog
4 Added: qtiplot-0.9.7.10.ebuild
5 Removed: qtiplot-0.9.7.7-r1.ebuild
6 Log:
7 Version bump by jlec
8 (Portage version: 2.2_rc61/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.47 sci-visualization/qtiplot/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.47&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.47&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?r1=1.46&r2=1.47
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v
20 retrieving revision 1.46
21 retrieving revision 1.47
22 diff -u -r1.46 -r1.47
23 --- ChangeLog 18 Sep 2009 18:40:01 -0000 1.46
24 +++ ChangeLog 1 Jan 2010 10:46:53 -0000 1.47
25 @@ -1,6 +1,19 @@
26 # ChangeLog for sci-visualization/qtiplot
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.46 2009/09/18 18:40:01 bicatali Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.47 2010/01/01 10:46:53 ssuominen Exp $
31 +
32 +*qtiplot-0.9.7.10 (01 Jan 2010)
33 +
34 + 01 Jan 2010; Samuli Suominen <ssuominen@g.o>
35 + +qtiplot-0.9.7.10.ebuild, +files/qtiplot-0.9.7.10-build.conf.patch,
36 + +files/qtiplot-0.9.7.10-docbuild.patch,
37 + +files/qtiplot-0.9.7.10-dont-install-qwt.patch,
38 + +files/qtiplot-0.9.7.10-gcc44.patch, +files/qtiplot-0.9.7.10-gl2ps.patch,
39 + +files/qtiplot-0.9.7.10-qtiplot.pro.patch,
40 + +files/qtiplot-0.9.7.10-sip.patch, +files/qtiplot-0.9.7.10-sip2.patch,
41 + +files/qtiplot-0.9.7.10-syslibs.patch:
42 + Version bump wrt #275167, #292884 and 293095. Thanks to Justin Lecher for
43 + ebuild.
44
45 *qtiplot-0.9.7.7-r1 (18 Sep 2009)
46
47
48
49
50 1.1 sci-visualization/qtiplot/qtiplot-0.9.7.10.ebuild
51
52 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.10.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.10.ebuild?rev=1.1&content-type=text/plain
54
55 Index: qtiplot-0.9.7.10.ebuild
56 ===================================================================
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.7.10.ebuild,v 1.1 2010/01/01 10:46:53 ssuominen Exp $
60
61 EAPI=2
62 inherit eutils qt4 fdo-mime python
63
64 DESCRIPTION="Qt based clone of the Origin plotting package"
65 HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
66 SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~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 # qwtplot3d much modified from original upstream
79 # >=x11-libs/qwt-5.3 they are using trunk checkouts
80 CDEPEND="
81 x11-libs/qt-opengl:4
82 x11-libs/qt-qt3support:4
83 x11-libs/qt-assistant:4
84 x11-libs/qt-svg:4
85 >=x11-libs/gl2ps-1.3.5
86 >=dev-cpp/muParser-1.30
87 >=dev-libs/boost-1.35.0
88 >=sci-libs/liborigin-20090406:2
89 !bindist? ( sci-libs/gsl )
90 bindist? ( <sci-libs/gsl-1.10 )
91 dev-libs/boost
92 dev-tex/qtexengine"
93 # Still not working
94 # media-libs/libemf
95 # media-libs/emfengine"
96
97 DEPEND="${CDEPEND}
98 dev-util/pkgconfig
99 python? ( dev-python/sip )
100 doc? ( app-text/docbook-sgml-utils
101 app-text/docbook-xml-dtd:4.2 )"
102
103 RDEPEND="${CDEPEND}
104 python? ( >=dev-lang/python-2.5
105 dev-python/PyQt4[X]
106 dev-python/pygsl
107 sci-libs/scipy )"
108
109 PATCHES=(
110 "${FILESDIR}/${P}-syslibs.patch"
111 "${FILESDIR}/${P}-docbuild.patch"
112 "${FILESDIR}/${P}-gcc44.patch"
113 "${FILESDIR}/${P}-build.conf.patch"
114 "${FILESDIR}/${P}-sip.patch"
115 "${FILESDIR}/${P}-gl2ps.patch"
116 "${FILESDIR}/${P}-dont-install-qwt.patch"
117 "${FILESDIR}/${P}-qtiplot.pro.patch"
118 )
119
120 src_prepare() {
121 qt4_src_prepare
122
123 rm -rf 3rdparty/{liborigin,QTeXEngine} 3rdparty/qwtplot3d/3rdparty/gl2ps/
124
125 python_version
126
127 sed -i \
128 -e "s:doc/${PN}/manual:doc/${PF}/html:" \
129 -e "s:local/${PN}:$(get_libdir)/python${PYVER}/site-packages:" \
130 qtiplot/qtiplot.pro || die " sed for qtiplot/qtiplot.pro failed"
131
132 if ! use python; then
133 sed -i \
134 -e '/^SCRIPTING_LANGS += Python/d' \
135 -e '/sipcmd/d' \
136 qtiplot/qtiplot.pro || die "sed for python option failed"
137 fi
138 sed -i \
139 -e '/INSTALLS.*.*documentation/d' \
140 -e '/manual/d' \
141 qtiplot.pro qtiplot/qtiplot.pro || die "sed for doc failed"
142
143 # the lib$$suff did not work in the fitRational*.pro files
144 sed -i \
145 -e "s|/usr/lib\$\${libsuff}|/usr/$(get_libdir)|g" \
146 fitPlugins/*/*.pro \
147 || die "sed fitRational* failed"
148
149 for l in ${LANGS}; do
150 if ! use linguas_${l}; then
151 sed -i \
152 -e "s:translations/qtiplot_${l}.ts::" \
153 -e "s:translations/qtiplot_${l}.qm::" \
154 qtiplot/qtiplot.pro || die
155 fi
156 done
157 chmod -x qtiplot/qti_wordlist.txt
158
159 sed \
160 -e "s:GENTOOLIB:$(get_libdir):g" \
161 -e "/^EMF_ENGINE_LIBS/s:^:#:g" \
162 build.conf.example > build.conf
163 }
164
165 src_configure() {
166 eqmake4
167 }
168
169 src_compile() {
170 emake || die "emake failed"
171 if use doc; then
172 #doxygen Doxyfile || die "api building failed"
173 cd manual
174 emake || die "html docbook building failed"
175 fi
176 }
177
178 src_install() {
179 emake INSTALL_ROOT="${D}" install || die 'emake install failed'
180 newicon qtiplot_logo.png qtiplot.png
181 make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
182 if use doc; then
183 insinto /usr/share/doc/${PF}/html
184 doins -r manual/html/* || die "install manual failed"
185 fi
186 }
187
188 pkg_postinst() {
189 fdo-mime_desktop_database_update
190 if use doc; then
191 elog "On the first start, do Help -> Choose Help Folder"
192 elog "and select /usr/share/doc/${PF}/html"
193 fi
194 }
195
196 pkg_postrm() {
197 fdo-mime_desktop_database_update
198 }