summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2005-09-21 06:19:14 +0000
committerSteve Arnold <nerdboy@gentoo.org>2005-09-21 06:19:14 +0000
commit918ad0bee3d96744841f716e6f670ef6d96ce7e9 (patch)
treed9ee9a4a2e7f03af7e4b2c6ff45301adf708377c /sci-libs/gdal
parentVersion bump, bug 98945. (diff)
downloadgentoo-2-918ad0bee3d96744841f716e6f670ef6d96ce7e9.tar.gz
gentoo-2-918ad0bee3d96744841f716e6f670ef6d96ce7e9.tar.bz2
gentoo-2-918ad0bee3d96744841f716e6f670ef6d96ce7e9.zip
added ogr docs for bug #106704
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sci-libs/gdal')
-rw-r--r--sci-libs/gdal/ChangeLog8
-rw-r--r--sci-libs/gdal/gdal-1.2.5-r1.ebuild5
-rw-r--r--sci-libs/gdal/gdal-1.2.6-r3.ebuild64
-rw-r--r--sci-libs/gdal/gdal-1.3.0.ebuild65
4 files changed, 74 insertions, 68 deletions
diff --git a/sci-libs/gdal/ChangeLog b/sci-libs/gdal/ChangeLog
index 5d2ea929e4cc..f5d7d07f9721 100644
--- a/sci-libs/gdal/ChangeLog
+++ b/sci-libs/gdal/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/gdal
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/ChangeLog,v 1.11 2005/09/17 21:50:32 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/ChangeLog,v 1.12 2005/09/21 06:19:14 nerdboy Exp $
+
+ 21 Sep 2005; Steve Arnold <nerdboy@gentoo.org> gdal-1.2.6-r3.ebuild,
+ gdal-1.3.0.ebuild:
+ added ogr docs for bug #106704 and minor cleanup
17 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> gdal-1.2.6-r3.ebuild:
Stable on ppc.
@@ -10,7 +14,7 @@
11 Sep 2005; Steve Arnold <nerdboy@gentoo.org> gdal-1.2.5-r1.ebuild,
gdal-1.2.6-r3.ebuild, +gdal-1.3.0.ebuild:
added new version and local use flag for xerces (bugs #102859 and #104937)
- plus stable bump for sparc and x86.
+ and hdf5, plus stable bump for sparc and x86.
*gdal-1.2.6-r3 (04 Aug 2005)
diff --git a/sci-libs/gdal/gdal-1.2.5-r1.ebuild b/sci-libs/gdal/gdal-1.2.5-r1.ebuild
index 8b257447cb1f..998232724ad1 100644
--- a/sci-libs/gdal/gdal-1.2.5-r1.ebuild
+++ b/sci-libs/gdal/gdal-1.2.5-r1.ebuild
@@ -1,12 +1,9 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.2.5-r1.ebuild,v 1.5 2005/09/11 04:21:43 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.2.5-r1.ebuild,v 1.6 2005/09/21 06:19:14 nerdboy Exp $
inherit eutils libtool gnuconfig distutils multilib
-# libgrass support is coming soon...
-# grass? ( >=sci-geosciences/grass-5.0 )
-
IUSE="jpeg png gif python postgres mysql ogdi fits debug"
DESCRIPTION="GDAL is a translator library for raster geospatial data formats"
diff --git a/sci-libs/gdal/gdal-1.2.6-r3.ebuild b/sci-libs/gdal/gdal-1.2.6-r3.ebuild
index 2741e204beee..59d0d272cfb9 100644
--- a/sci-libs/gdal/gdal-1.2.6-r3.ebuild
+++ b/sci-libs/gdal/gdal-1.2.6-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.2.6-r3.ebuild,v 1.4 2005/09/17 21:50:32 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.2.6-r3.ebuild,v 1.5 2005/09/21 06:19:14 nerdboy Exp $
inherit eutils libtool gnuconfig distutils
@@ -28,12 +28,12 @@ DEPEND=">=sys-libs/zlib-1.1.4
ogdi? ( sci-libs/ogdi )
gml? ( dev-libs/xerces-c )
|| (
- postgres? ( dev-db/postgresql )
- mysql? ( dev-db/mysql )
+ postgres? ( dev-db/postgresql )
+ mysql? ( dev-db/mysql )
)
|| (
- netcdf? ( sci-libs/netcdf )
- hdf? ( sci-libs/hdf )
+ netcdf? ( sci-libs/netcdf )
+ hdf? ( sci-libs/hdf )
)
jasper? ( media-libs/jasper )
odbc? ( dev-db/unixODBC )
@@ -48,14 +48,14 @@ src_unpack() {
elibtoolize --patch-only
gnuconfig_update
if useq netcdf && useq hdf; then
- einfo "Checking is HDF4 compiled with szip..."
- if built_with_use sci-libs/hdf szip ; then
- einfo "Found HDF4 compiled with szip. Nice."
- else
- ewarn "HDF4 must be compiled with szip USE flag!"
- einfo "Emerge HDF with szip USE flag and then emerge GDAL."
- die "HDF4 not merged with szip use flag"
- fi
+ einfo "Checking is HDF4 compiled with szip..."
+ if built_with_use sci-libs/hdf szip ; then
+ einfo "Found HDF4 compiled with szip. Nice."
+ else
+ ewarn "HDF4 must be compiled with szip USE flag!"
+ einfo "Emerge HDF with szip USE flag and then emerge GDAL."
+ die "HDF4 not merged with szip use flag"
+ fi
fi
}
@@ -65,45 +65,45 @@ src_compile() {
# it doesn't work without ${D} (or with econf and einstall).
pkg_conf="--prefix=${D}usr --exec-prefix=${D}usr --bindir=${D}usr/bin \
- --datadir=${D}usr/share/gdal --includedir=${D}usr/include/gdal \
- --libdir=${D}usr/$(get_libdir) --mandir=${D}usr/share/man
- --with-pymoddir=${D}usr/lib/python${PYVER}/site-packages \
- --enable-static=no --enable-shared=yes --with-gnu-ld"
+ --datadir=${D}usr/share/gdal --includedir=${D}usr/include/gdal \
+ --libdir=${D}usr/$(get_libdir) --mandir=${D}usr/share/man \
+ --with-pymoddir=${D}usr/lib/python${PYVER}/site-packages \
+ --enable-static=no --enable-shared=yes --with-gnu-ld"
# the above should make libtool behave for the most part
use_conf="$(use_with jpeg) $(use_with png) $(use_with mysql) \
- $(use_with postgres pg) $(use_with fits cfitsio) \
- $(use_with netcdf) $(use_with hdf hdf4) $(use_with geos) \
- $(use_with sqlite) $(use_with jasper) $(use_with odbc)
- $(use_with gml xerces)"
+ $(use_with postgres pg) $(use_with fits cfitsio) \
+ $(use_with netcdf) $(use_with hdf hdf4) $(use_with geos) \
+ $(use_with sqlite) $(use_with jasper) $(use_with odbc) \
+ $(use_with gml xerces)"
# It can't find this
if useq ogdi ; then
- use_conf="--with-ogdi=/usr/lib ${use_conf}"
+ use_conf="--with-ogdi=/usr/lib ${use_conf}"
fi
if useq gif ; then
- use_conf="--with-gif=internal ${use_conf}"
+ use_conf="--with-gif=internal ${use_conf}"
else
- use_conf="--with-gif=no ${use_conf}"
+ use_conf="--with-gif=no ${use_conf}"
fi
if useq debug ; then
- export CFG=debug
+ export CFG=debug
fi
# Enable newer Grass support only
if useq grass ; then
- use_conf="--with-grass=/usr/grass60 ${use_conf}"
- use_conf="--with-libgrass=no ${use_conf}"
+ use_conf="--with-grass=/usr/grass60 ${use_conf}"
+ use_conf="--with-libgrass=no ${use_conf}"
fi
if useq python ; then
- use_conf="--with-pymoddir=${D}usr/lib/python${PYVER}/site-packages \
- ${use_conf}"
+ use_conf="--with-pymoddir=${D}usr/lib/python${PYVER}/site-packages \
+ ${use_conf}"
else
- use_conf="--with-python=no ${use_conf}"
+ use_conf="--with-python=no ${use_conf}"
fi
# Fix doc path just in case
@@ -130,7 +130,9 @@ src_install() {
dosed "s:$(INST_DOCS)/gdal:$(INST_DOCS)/html:g" GNUmakefile
dodoc Doxyfile.man Doxyfile HOWTO-RELEASE NEWS
if useq doc ; then
- dohtml html/*.* || die "install html failed"
+ dohtml html/* || die "install html failed"
+ docinto ogr
+ dohtml ogr/html/* || die "install ogr html failed"
fi
}
diff --git a/sci-libs/gdal/gdal-1.3.0.ebuild b/sci-libs/gdal/gdal-1.3.0.ebuild
index 3ffd912cd746..9e4ffcfef569 100644
--- a/sci-libs/gdal/gdal-1.3.0.ebuild
+++ b/sci-libs/gdal/gdal-1.3.0.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.3.0.ebuild,v 1.1 2005/09/11 04:21:43 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.3.0.ebuild,v 1.2 2005/09/21 06:19:14 nerdboy Exp $
inherit eutils libtool gnuconfig distutils
-IUSE="jpeg png geos gif grass jasper netcdf hdf python postgres mysql \
+IUSE="jpeg png geos gif grass jasper netcdf hdf hdf5 python postgres mysql \
odbc sqlite ogdi fits gml doc debug"
DESCRIPTION="GDAL is a translator library for raster geospatial data formats (includes OGR support)"
@@ -27,13 +27,14 @@ DEPEND=">=sys-libs/zlib-1.1.4
fits? ( sci-libs/cfitsio )
ogdi? ( sci-libs/ogdi )
gml? ( dev-libs/xerces-c )
+ hdf5? ( >=sci-libs/hdf5-1.6.4 )
|| (
- postgres? ( dev-db/postgresql )
- mysql? ( dev-db/mysql )
+ postgres? ( dev-db/postgresql )
+ mysql? ( dev-db/mysql )
)
|| (
- netcdf? ( sci-libs/netcdf )
- hdf? ( sci-libs/hdf )
+ netcdf? ( sci-libs/netcdf )
+ hdf? ( sci-libs/hdf )
)
jasper? ( media-libs/jasper )
odbc? ( dev-db/unixODBC )
@@ -48,14 +49,14 @@ src_unpack() {
elibtoolize --patch-only
gnuconfig_update
if useq netcdf && useq hdf; then
- einfo "Checking is HDF4 compiled with szip..."
- if built_with_use sci-libs/hdf szip ; then
- einfo "Found HDF4 compiled with szip. Nice."
- else
- ewarn "HDF4 must be compiled with szip USE flag!"
- einfo "Emerge HDF with szip USE flag and then emerge GDAL."
- die "HDF4 not merged with szip use flag"
- fi
+ einfo "Checking is HDF4 compiled with szip..."
+ if built_with_use sci-libs/hdf szip ; then
+ einfo "Found HDF4 compiled with szip. Nice."
+ else
+ ewarn "HDF4 must be compiled with szip USE flag!"
+ einfo "Emerge HDF with szip USE flag and then emerge GDAL."
+ die "HDF4 not merged with szip use flag"
+ fi
fi
}
@@ -65,45 +66,45 @@ src_compile() {
# it doesn't work without ${D} (or with econf and einstall).
pkg_conf="--prefix=${D}usr --exec-prefix=${D}usr --bindir=${D}usr/bin \
- --datadir=${D}usr/share/gdal --includedir=${D}usr/include/gdal \
- --libdir=${D}usr/$(get_libdir) --mandir=${D}usr/share/man
- --with-pymoddir=${D}usr/lib/python${PYVER}/site-packages \
- --enable-static=no --enable-shared=yes --with-gnu-ld"
+ --datadir=${D}usr/share/gdal --includedir=${D}usr/include/gdal \
+ --libdir=${D}usr/$(get_libdir) --mandir=${D}usr/share/man \
+ --with-pymoddir=${D}usr/lib/python${PYVER}/site-packages \
+ --enable-static=no --enable-shared=yes --with-gnu-ld"
# the above should make libtool behave for the most part
use_conf="$(use_with jpeg) $(use_with png) $(use_with mysql) \
- $(use_with postgres pg) $(use_with fits cfitsio) \
- $(use_with netcdf) $(use_with hdf hdf4) $(use_with geos) \
- $(use_with sqlite) $(use_with jasper) $(use_with odbc)
- $(use_with gml xerces)"
+ $(use_with postgres pg) $(use_with fits cfitsio) \
+ $(use_with netcdf) $(use_with hdf hdf4) $(use_with geos) \
+ $(use_with sqlite) $(use_with jasper) $(use_with odbc) \
+ $(use_with gml xerces) $(use_with hdf5)"
# It can't find this
if useq ogdi ; then
- use_conf="--with-ogdi=/usr/lib ${use_conf}"
+ use_conf="--with-ogdi=/usr/lib ${use_conf}"
fi
if useq gif ; then
- use_conf="--with-gif=internal ${use_conf}"
+ use_conf="--with-gif=internal ${use_conf}"
else
- use_conf="--with-gif=no ${use_conf}"
+ use_conf="--with-gif=no ${use_conf}"
fi
if useq debug ; then
- export CFG=debug
+ export CFG=debug
fi
# Enable newer Grass support only
if useq grass ; then
- use_conf="--with-grass=/usr/grass60 ${use_conf}"
- use_conf="--with-libgrass=no ${use_conf}"
+ use_conf="--with-grass=/usr/grass60 ${use_conf}"
+ use_conf="--with-libgrass=no ${use_conf}"
fi
if useq python ; then
- use_conf="--with-pymoddir=${D}usr/lib/python${PYVER}/site-packages \
- ${use_conf}"
+ use_conf="--with-pymoddir=${D}usr/lib/python${PYVER}/site-packages \
+ ${use_conf}"
else
- use_conf="--with-python=no ${use_conf}"
+ use_conf="--with-python=no ${use_conf}"
fi
# Fix doc path just in case
@@ -131,6 +132,8 @@ src_install() {
dodoc Doxyfile.man Doxyfile HOWTO-RELEASE NEWS
if useq doc ; then
dohtml html/*.* || die "install html failed"
+ docinto ogr
+ dohtml ogr/html/* || die "install ogr html failed"
fi
}