1 |
bicatali 11/12/27 08:01:39 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: gdl-0.9.2.ebuild |
5 |
Removed: gdl-0.9-r1.ebuild gdl-0.9.1.ebuild |
6 |
Log: |
7 |
Version bump. Rewrote from scratch and switched to cmake since the configure scripts are not well maintained. Added a few patches to allow projections from gshhs and proj. Added a few more use flags. Fix bug #380323, bug #391667, and bug #393193. |
8 |
|
9 |
(Portage version: 2.1.10.41/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.26 dev-lang/gdl/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gdl/ChangeLog?rev=1.26&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gdl/ChangeLog?rev=1.26&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gdl/ChangeLog?r1=1.25&r2=1.26 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v |
21 |
retrieving revision 1.25 |
22 |
retrieving revision 1.26 |
23 |
diff -u -r1.25 -r1.26 |
24 |
--- ChangeLog 20 Jul 2011 16:52:20 -0000 1.25 |
25 |
+++ ChangeLog 27 Dec 2011 08:01:38 -0000 1.26 |
26 |
@@ -1,6 +1,20 @@ |
27 |
# ChangeLog for dev-lang/gdl |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v 1.25 2011/07/20 16:52:20 pacho Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/ChangeLog,v 1.26 2011/12/27 08:01:38 bicatali Exp $ |
31 |
+ |
32 |
+*gdl-0.9.2 (27 Dec 2011) |
33 |
+ |
34 |
+ 27 Dec 2011; Sébastien Fabbro <bicatali@g.o> |
35 |
+ +files/0.9.2-antlr.patch, -files/gdl-0.9_rc2-gcc4.4.patch, |
36 |
+ +files/0.9.2-include.patch, -files/gdl-0.9_rc4-gcc4.3.patch, |
37 |
+ +files/0.9.2-numpy.patch, -gdl-0.9-r1.ebuild, +gdl-0.9.2.ebuild, |
38 |
+ +files/0.9.2-proj4.patch, -files/gdl-0.9_rc4-gcc4.5.patch, -gdl-0.9.1.ebuild, |
39 |
+ +files/0.9.2-tests.patch, -files/gdl-0.9.1-antlr.patch, |
40 |
+ -files/gdl-0.9-configure.patch, -files/gdl-0.9-numpy.patch, metadata.xml: |
41 |
+ Version bump. Rewrote from scratch and switched to cmake since the configure |
42 |
+ scripts are not well maintained. Added a few patches to allow projections |
43 |
+ from gshhs and proj. Added a few more use flags. Fix bug #380323, bug |
44 |
+ #391667, and bug #393193. |
45 |
|
46 |
20 Jul 2011; Pacho Ramos <pacho@g.o> metadata.xml: |
47 |
Drop maintainer due retirement, bug #105599 |
48 |
|
49 |
|
50 |
|
51 |
1.7 dev-lang/gdl/metadata.xml |
52 |
|
53 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gdl/metadata.xml?rev=1.7&view=markup |
54 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gdl/metadata.xml?rev=1.7&content-type=text/plain |
55 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gdl/metadata.xml?r1=1.6&r2=1.7 |
56 |
|
57 |
Index: metadata.xml |
58 |
=================================================================== |
59 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/gdl/metadata.xml,v |
60 |
retrieving revision 1.6 |
61 |
retrieving revision 1.7 |
62 |
diff -u -r1.6 -r1.7 |
63 |
--- metadata.xml 20 Jul 2011 16:52:20 -0000 1.6 |
64 |
+++ metadata.xml 27 Dec 2011 08:01:38 -0000 1.7 |
65 |
@@ -8,8 +8,12 @@ |
66 |
Information Solutions. |
67 |
</longdescription> |
68 |
<use> |
69 |
- <flag name='hdf'>Adds support for the Hierarchical Data Format</flag> |
70 |
- <flag name='grib'>Adds support for the meteorological GRIB format</flag> |
71 |
- <flag name='udunits'>Support for manipulating units of physical quantities</flag> |
72 |
+ <flag name='hdf'>Add support for the Hierarchical Data Format v.4</flag> |
73 |
+ <flag name='gshhs'>Add support for projection adn continent maps with <pkg>sci-geosciences/gshhs-data</pkg></flag> |
74 |
+ |
75 |
+ <flag name='grib'>Add support for the meteorological GRIB format with <pkg>sci-libs/grib_api</pkg></flag> |
76 |
+ <flag name="proj">Add support for <pkg>sci-libs/proj</pkg> (geographic projections)</flag> |
77 |
+ <flag name="ps">Add support for Postscript with <pkg>dev-libs/pslib</pkg></flag> |
78 |
+ <flag name='udunits'>Add support for manipulating units of physical quantities</flag> |
79 |
</use> |
80 |
</pkgmetadata> |
81 |
|
82 |
|
83 |
|
84 |
1.1 dev-lang/gdl/gdl-0.9.2.ebuild |
85 |
|
86 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gdl/gdl-0.9.2.ebuild?rev=1.1&view=markup |
87 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gdl/gdl-0.9.2.ebuild?rev=1.1&content-type=text/plain |
88 |
|
89 |
Index: gdl-0.9.2.ebuild |
90 |
=================================================================== |
91 |
# Copyright 1999-2011 Gentoo Foundation |
92 |
# Distributed under the terms of the GNU General Public License v2 |
93 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9.2.ebuild,v 1.1 2011/12/27 08:01:38 bicatali Exp $ |
94 |
|
95 |
EAPI=4 |
96 |
|
97 |
WX_GTK_VER="2.8" |
98 |
PYTHON_DEPEND="python? 2" |
99 |
SUPPORT_PYTHON_ABIS="1" |
100 |
|
101 |
inherit cmake-utils eutils wxwidgets python virtualx |
102 |
|
103 |
RESTRICT_PYTHON_ABIS="3.*" |
104 |
|
105 |
DESCRIPTION="Interactive Data Language compatible incremental compiler" |
106 |
HOMEPAGE="http://gnudatalanguage.sourceforge.net/" |
107 |
SRC_URI="mirror://sourceforge/gnudatalanguage/${P}.tar.gz" |
108 |
|
109 |
LICENSE="GPL-2" |
110 |
SLOT="0" |
111 |
KEYWORDS="~amd64 ~x86" |
112 |
IUSE="fftw grib gshhs hdf hdf5 imagemagick netcdf openmp proj ps python |
113 |
static-libs udunits wxwidgets X" |
114 |
|
115 |
RDEPEND="sci-libs/gsl |
116 |
sci-libs/plplot |
117 |
sys-libs/ncurses |
118 |
sys-libs/readline |
119 |
sys-libs/zlib |
120 |
fftw? ( >=sci-libs/fftw-3 ) |
121 |
grib? ( sci-libs/grib_api ) |
122 |
gshhs? ( sci-geosciences/gshhs-data sci-geosciences/gshhs ) |
123 |
hdf? ( sci-libs/hdf ) |
124 |
hdf5? ( sci-libs/hdf5 ) |
125 |
imagemagick? ( media-gfx/imagemagick ) |
126 |
netcdf? ( sci-libs/netcdf ) |
127 |
proj? ( sci-libs/proj ) |
128 |
ps? ( dev-libs/pslib ) |
129 |
python? ( dev-python/numpy ) |
130 |
udunits? ( sci-libs/udunits ) |
131 |
wxwidgets? ( x11-libs/wxGTK:2.8[X] )" |
132 |
|
133 |
DEPEND="${RDEPEND} |
134 |
>=dev-java/antlr-2.7.7-r5:0[cxx]" |
135 |
|
136 |
pkg_setup() { |
137 |
use wxwidgets && wxwidgets_pkg_setup |
138 |
use python && python_pkg_setup |
139 |
} |
140 |
|
141 |
src_prepare() { |
142 |
use hdf5 && has_version sci-libs/hdf5[mpi] && export CXX=mpicxx |
143 |
epatch "${FILESDIR}"/${PV}-{antlr,numpy,proj4,include,tests}.patch |
144 |
# make sure antlr includes are from system |
145 |
rm -rf src/antlr |
146 |
# gentoo: use proj instead of libproj4 (libproj4 last update: 2004) |
147 |
sed -i \ |
148 |
-e 's:proj4:proj:' \ |
149 |
-e 's:lib_proj\.h:proj_api\.h:g' \ |
150 |
CMakeModules/FindLibproj4.cmake src/math_utl.hpp || die |
151 |
# gentoo: avoid install files in datadir directory |
152 |
sed -i \ |
153 |
-e '/AUTHORS/d' \ |
154 |
CMakeLists.txt || die |
155 |
|
156 |
if use python; then |
157 |
local abi |
158 |
for abi in ${PYTHON_ABIS}; do |
159 |
mkdir "${S}"-${abi} |
160 |
done |
161 |
fi |
162 |
} |
163 |
|
164 |
src_configure() { |
165 |
# MPI is still very buggy |
166 |
mycmakeargs+=( |
167 |
-DMPICH=OFF |
168 |
-DBUNDLED_ANTLR=OFF |
169 |
-DGDL_DATA_DIR=share/gdl/pro/gdl |
170 |
$(cmake-utils_use fftw) |
171 |
$(cmake-utils_use grib) |
172 |
$(cmake-utils_use gshhs) |
173 |
$(cmake-utils_use hdf) |
174 |
$(cmake-utils_use hdf5) |
175 |
$(cmake-utils_use imagemagick MAGICK) |
176 |
$(cmake-utils_use netcdf) |
177 |
$(cmake-utils_use openmp) |
178 |
$(cmake-utils_use proj LIBPROJ4) |
179 |
$(cmake-utils_use ps PSLIB) |
180 |
$(cmake-utils_use udunits) |
181 |
$(cmake-utils_use wxwidgets) |
182 |
$(cmake-utils_use X X11) |
183 |
) |
184 |
configuration() { |
185 |
mycmakeargs+=( $@ ) |
186 |
CMAKE_BUILD_DIR="${BUILDDIR:-${S}_build}" cmake-utils_src_configure |
187 |
} |
188 |
configuration -DPYTHON_MODULE=OFF -DPYTHON=OFF |
189 |
use python && \ |
190 |
python_execute_function -s configuration -DPYTHON_MODULE=ON -DPYTHON=ON |
191 |
} |
192 |
|
193 |
src_compile() { |
194 |
cmake-utils_src_compile |
195 |
use python && python_src_compile |
196 |
} |
197 |
|
198 |
src_test() { |
199 |
# defines a check target instead of the ctest to define some LDPATH |
200 |
if use X; then |
201 |
Xemake -j1 -C ${CMAKE_BUILD_DIR} check |
202 |
else |
203 |
emake -j1 -C ${CMAKE_BUILD_DIR} check |
204 |
fi |
205 |
} |
206 |
|
207 |
src_install() { |
208 |
cmake-utils_src_install |
209 |
if use python; then |
210 |
installation() { |
211 |
exeinto $(python_get_sitedir) |
212 |
newexe "${S}"-${PYTHON_ABI}/src/libgdl.so GDL.so |
213 |
} |
214 |
python_execute_function -s installation |
215 |
dodoc PYTHON.txt |
216 |
fi |
217 |
echo "GDL_PATH=\"+${EPREFIX}/usr/share/gdl/pro\"" > 50gdl |
218 |
doenvd 50gdl |
219 |
} |