Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/gdl: ChangeLog gdl-0.9_rc1.ebuild gdl-0.9_rc2.ebuild
Date: Wed, 26 Aug 2009 20:32:03
Message-Id: E1Mg8Wf-0001pa-48@stork.gentoo.org
1 markusle 09/08/26 02:46:17
2
3 Modified: ChangeLog gdl-0.9_rc1.ebuild
4 Added: gdl-0.9_rc2.ebuild
5 Log:
6 Version bump and fixed hdf5 issue (#275388) as well as collision with antlr (#267671).
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.12 dev-lang/gdl/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/ChangeLog?rev=1.12&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/ChangeLog?rev=1.12&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/ChangeLog?r1=1.11&r2=1.12
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v
19 retrieving revision 1.11
20 retrieving revision 1.12
21 diff -u -r1.11 -r1.12
22 --- ChangeLog 2 Sep 2008 09:32:03 -0000 1.11
23 +++ ChangeLog 26 Aug 2009 02:46:16 -0000 1.12
24 @@ -1,6 +1,14 @@
25 # ChangeLog for dev-lang/gdl
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v 1.11 2008/09/02 09:32:03 bicatali Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v 1.12 2009/08/26 02:46:16 markusle Exp $
30 +
31 +*gdl-0.9_rc2 (25 Aug 2009)
32 +
33 + 25 Aug 2009; Markus Dittrich <markusle@g.o> +gdl-0.9_rc2.ebuild,
34 + +files/gdl-0.9_rc2-gcc4.4.patch, +files/gdl-0.9_rc2-antlr.patch:
35 + Version bump and fixed hdf5-1.8 issue (see bug #275388).
36 + Also, the ebuild now compiles against the system antlr fixing
37 + the file collision with dev-java/antlr (see bug #267671).
38
39 02 Sep 2008; Sébastien Fabbro <bicatali@g.o>
40 -files/gdl-0.8.11-gcc4-gentoo.patch, -files/gdl-0.9_pre5-proj4.patch,
41
42
43
44 1.5 dev-lang/gdl/gdl-0.9_rc1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/gdl-0.9_rc1.ebuild?rev=1.5&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/gdl-0.9_rc1.ebuild?rev=1.5&content-type=text/plain
48 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/gdl-0.9_rc1.ebuild?r1=1.4&r2=1.5
49
50 Index: gdl-0.9_rc1.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9_rc1.ebuild,v
53 retrieving revision 1.4
54 retrieving revision 1.5
55 diff -u -r1.4 -r1.5
56 --- gdl-0.9_rc1.ebuild 6 Jun 2008 15:56:03 -0000 1.4
57 +++ gdl-0.9_rc1.ebuild 26 Aug 2009 02:46:16 -0000 1.5
58 @@ -1,6 +1,6 @@
59 -# Copyright 1999-2008 Gentoo Foundation
60 +# Copyright 1999-2009 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9_rc1.ebuild,v 1.4 2008/06/06 15:56:03 mr_bones_ Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9_rc1.ebuild,v 1.5 2009/08/26 02:46:16 markusle Exp $
64
65 inherit eutils flag-o-matic autotools
66
67
68
69
70 1.1 dev-lang/gdl/gdl-0.9_rc2.ebuild
71
72 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/gdl-0.9_rc2.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/gdl-0.9_rc2.ebuild?rev=1.1&content-type=text/plain
74
75 Index: gdl-0.9_rc2.ebuild
76 ===================================================================
77 # Copyright 1999-2009 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9_rc2.ebuild,v 1.1 2009/08/26 02:46:16 markusle Exp $
80
81 EAPI="2"
82
83 inherit eutils flag-o-matic autotools
84
85 MYP=${P/_/}
86 DESCRIPTION="An Interactive Data Language compatible incremental compiler"
87 LICENSE="GPL-2"
88 HOMEPAGE="http://gnudatalanguage.sourceforge.net/"
89 SRC_URI="mirror://sourceforge/gnudatalanguage/${MYP}.tar.gz"
90
91 SLOT="0"
92 KEYWORDS="~amd64 ~x86"
93 IUSE="python fftw hdf hdf5 netcdf imagemagick proj"
94
95 RDEPEND=">=sys-libs/readline-4.3
96 sci-libs/gsl
97 =dev-java/antlr-2.7*[cxx]
98 >=sci-libs/plplot-5.3
99 imagemagick? ( media-gfx/imagemagick )
100 hdf? ( sci-libs/hdf )
101 hdf5? ( sci-libs/hdf5 )
102 netcdf? ( sci-libs/netcdf )
103 python? ( dev-python/numarray dev-python/matplotlib )
104 fftw? ( >=sci-libs/fftw-3 )
105 proj? ( sci-libs/proj )"
106
107 DEPEND="${RDEPEND}
108 sys-devel/libtool"
109
110 S="${WORKDIR}/${MYP}"
111
112 src_prepare() {
113 epatch "${FILESDIR}"/${PN}-0.9_rc1-proj4.patch
114 epatch "${FILESDIR}"/${PN}-0.9_rc1-magick.patch
115 epatch "${FILESDIR}"/${P}-gcc4.4.patch
116 epatch "${FILESDIR}"/${P}-antlr.patch
117
118 # we need to blow away the directory with antlr
119 # otherwise the build system picks up bogus
120 # header files
121 rm -fr "${S}"/src/antlr || die "failed to remove antlr directory"
122
123 eautoreconf
124 }
125
126 src_configure() {
127 # need to check for old plplot
128 local myconf
129 if has_version '<sci-libs/plplot-5.9.0'; then
130 myconf="${myconf} --enable-oldplplot"
131 fi
132
133 # sorry, but even configure barfs with --as-needed
134 # when linking against imagemagick - have yet to
135 # figure out what the problem is
136 use imagemagick && append-ldflags -Wl,--no-as-needed
137
138 # make sure we're hdf5-1.6 backward compatible
139 use hdf5 && append-flags -DH5_USE_16_API
140
141 use proj && append-cppflags -DPJ_LIB__
142 econf \
143 $(use_with python) \
144 $(use_with fftw) \
145 $(use_with hdf) \
146 $(use_with hdf5) \
147 $(use_with netcdf) \
148 $(use_with imagemagick Magick) \
149 $(use_with proj libproj4) \
150 ${myconf} \
151 || die "econf failed"
152
153 }
154
155 src_test() {
156 cd "${S}"/testsuite
157 PATH="${S}"/src gdl <<-EOF
158 test_suite
159 EOF
160 }
161
162 src_install() {
163 emake DESTDIR="${D}" install || die "emake install failed"
164
165 insinto /usr/share/${PN}
166 doins -r src/pro src/py || die "install pro and py files failed"
167 dodoc README PYTHON.txt AUTHORS ChangeLog NEWS TODO HACKING \
168 || die "Failed to install docs"
169
170 # add GDL provided routines to IDL_PATH
171 echo "GDL_STARTUP=/usr/share/${PN}/pro" > 99gdl
172 echo "GDL_PATH=/usr/share/${PN}" >> 99gdl
173 doenvd 99gdl || die "doenvd failed"
174 }