Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/hippodraw: hippodraw-1.19.1.ebuild ChangeLog hippodraw-1.21.3.ebuild
Date: Sun, 01 Jun 2008 20:14:39
Message-Id: E1K2twn-0002MW-Fo@stork.gentoo.org
1 markusle 08/06/01 20:14:33
2
3 Modified: hippodraw-1.19.1.ebuild ChangeLog
4 Added: hippodraw-1.21.3.ebuild
5 Log:
6 Version bump, masked for a bit more testing.
7 (Portage version: 2.1.5.2)
8
9 Revision Changes Path
10 1.2 sci-visualization/hippodraw/hippodraw-1.19.1.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild?r1=1.1&r2=1.2
15
16 Index: hippodraw-1.19.1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- hippodraw-1.19.1.ebuild 23 Feb 2007 15:12:58 -0000 1.1
23 +++ hippodraw-1.19.1.ebuild 1 Jun 2008 20:14:33 -0000 1.2
24 @@ -1,6 +1,6 @@
25 -# Copyright 1999-2007 Gentoo Foundation
26 +# Copyright 1999-2008 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild,v 1.1 2007/02/23 15:12:58 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild,v 1.2 2008/06/01 20:14:33 markusle Exp $
30
31 inherit eutils qt3
32
33 @@ -9,7 +9,7 @@
34 DESCRIPTION="Highly interactive data analysis Qt environment for C++ and python"
35 HOMEPAGE="http://www.slac.stanford.edu/grp/ek/hippodraw/"
36 SRC_URI="ftp://ftp.slac.stanford.edu/users/pfkeb/${PN}/${MY_PN}-${PV}.tar.gz"
37 -LICENSE="LGPL-2"
38 +LICENSE="GPL-2"
39 SLOT="0"
40 KEYWORDS="~amd64 ~x86"
41 IUSE="root fits numarray doc"
42
43
44
45 1.2 sci-visualization/hippodraw/ChangeLog
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/hippodraw/ChangeLog?rev=1.2&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/hippodraw/ChangeLog?rev=1.2&content-type=text/plain
49 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/hippodraw/ChangeLog?r1=1.1&r2=1.2
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/ChangeLog,v
54 retrieving revision 1.1
55 retrieving revision 1.2
56 diff -u -r1.1 -r1.2
57 --- ChangeLog 23 Feb 2007 15:12:58 -0000 1.1
58 +++ ChangeLog 1 Jun 2008 20:14:33 -0000 1.2
59 @@ -1,6 +1,16 @@
60 # ChangeLog for sci-visualization/hippodraw
61 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/ChangeLog,v 1.1 2007/02/23 15:12:58 bicatali Exp $
63 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
64 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/ChangeLog,v 1.2 2008/06/01 20:14:33 markusle Exp $
65 +
66 +*hippodraw-1.21.3 (01 Jun 2008)
67 +
68 + 01 Jun 2008; Markus Dittrich <markusle@g.o>
69 + +files/hippodraw-1.21.3-gcc4.3.patch,
70 + +files/hippodraw-1.21.3-numarray.patch, hippodraw-1.19.1.ebuild,
71 + +hippodraw-1.21.3.ebuild:
72 + Version bump, masked for a bit more testing. Added patch for gcc4.3
73 + compatibility (also need >=boost-1.35 for gcc4.3). Changed license
74 + to GPL-2 since this is what the LICENSE file in the tarball states.
75
76 *hippodraw-1.19.1 (23 Feb 2007)
77
78
79
80
81 1.1 sci-visualization/hippodraw/hippodraw-1.21.3.ebuild
82
83 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.21.3.ebuild?rev=1.1&view=markup
84 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.21.3.ebuild?rev=1.1&content-type=text/plain
85
86 Index: hippodraw-1.21.3.ebuild
87 ===================================================================
88 # Copyright 1999-2008 Gentoo Foundation
89 # Distributed under the terms of the GNU General Public License v2
90 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.21.3.ebuild,v 1.1 2008/06/01 20:14:33 markusle Exp $
91
92 inherit eutils qt3
93
94 MY_PN=HippoDraw
95
96 DESCRIPTION="Highly interactive data analysis Qt environment for C++ and python"
97 HOMEPAGE="http://www.slac.stanford.edu/grp/ek/hippodraw/"
98 SRC_URI="ftp://ftp.slac.stanford.edu/users/pfkeb/${PN}/${MY_PN}-${PV}.tar.gz"
99 LICENSE="GPL-2"
100 SLOT="0"
101 KEYWORDS="~amd64 ~x86"
102 IUSE="root fits numarray doc"
103
104 # minuit: included in root-5, but standalone cheaper to build
105 # qt4 not implemented:
106 # - won't work with sip on amd64
107 # - is still under testing
108 # opengl: completely buggy
109 # wcslib: not yet implemented (wcslib has nasty build system)
110 # sip: still buggy (gcc411 issue?)
111
112 RDEPEND=">=dev-lang/python-2.3
113 >=dev-libs/boost-1.32
114 $(qt_min_version 3.1)
115 numarray? ( dev-python/numarray )
116 fits? ( sci-libs/cfitsio
117 numarray? ( dev-python/pyfits ) )
118 !root? ( >=sci-libs/minuit-5 )
119 root? ( >=sci-physics/root-5 )"
120
121 DEPEND="${RDEPEND}
122 doc? ( app-doc/doxygen )"
123
124 S=${WORKDIR}/${MY_PN}-${PV}
125
126 src_unpack() {
127 unpack ${A}
128 cd "${S}"
129 epatch "${FILESDIR}"/${P}-gcc4.3.patch
130 epatch "${FILESDIR}"/${P}-numarray.patch
131
132 local docdir=/usr/share/doc/${PF}
133 # fix the install doc directory to gentoo's one
134 sed -i \
135 -e "s:\$(pkgdatadir)/html:${docdir}/html:" \
136 doc/Makefile.in
137
138 # fix an extra DESTDIR inherited from Makefile.am
139 sed -i \
140 -e "s:\$(DESTDIR)\$(pkgdatadir)/examples:${docdir}/examples:" \
141 examples/Makefile.in
142
143 # since we do not slot, remove version name in includes
144 sed -i \
145 -e 's/$(pkgincludedir)-$(VERSION)/$(pkgincludedir)/' \
146 */Makefile.in
147
148 #if use sip; then
149 # sed -i \
150 # -e "s:/usr/local:/usr:g"\
151 # -e "" \
152 # sip/Makefile.in
153 #fi
154 }
155
156 src_compile() {
157
158 local myconf="--with-boost-include=/usr/include"
159 myconf="${myconf} --with-Qt-include-dir=/usr/qt/3/include"
160 myconf="${myconf} --with-Qt-lib-dir=/usr/qt/3/$(get_libdir)"
161 myconf="${myconf} --with-Qt-bin-dir=/usr/qt/3/bin"
162 myconf="${myconf} --with-boost-lib=/usr/$(get_libdir)"
163 myconf="${myconf} --with-boost-libname=boost_python"
164 #built_with_use dev-libs/boost threads && myconf="${myconf}-mt"
165
166 if use minuit && ! use root; then
167 myconf="${myconf} --with-minuit2-include=/usr/include"
168 myconf="${myconf} --with-minuit2-lib=/usr/$(get_libdir)"
169 fi
170
171 if use root; then
172 myconf="${myconf} --with-root-include=/usr/include/root"
173 myconf="${myconf} --with-root-lib=/usr/$(get_libdir)/root"
174 fi
175
176 if use fits; then
177 myconf="${myconf} --with-cfitsio-include=/usr/include"
178 myconf="${myconf} --with-cfitsio-lib=/usr/$(get_libdir)"
179 fi
180
181 econf \
182 $(use_enable numarray numarraybuild) \
183 $(use_enable doc help) \
184 ${myconf} || die "econf failed"
185 # qtui failed with -j2, so build it first with -j1
186 emake -j1 -C qtui || die "make qtui failed"
187 emake || die "emake failed"
188 if use doc; then
189 make docs || die "make docs failed"
190 fi
191 }
192
193 src_install() {
194 emake DESTDIR="${D}" install || die "emake install failed"
195 make_desktop_entry hippodraw HippoDraw hippoApp \
196 Science "/usr/share/${MY_PN}"
197 dodoc README DISCLAIMER.rtf
198 }
199
200
201
202 --
203 gentoo-commits@l.g.o mailing list