added ogr docs for bug #106704
authorSteve Arnold <nerdboy@gentoo.org>
Wed, 21 Sep 2005 06:19:14 +0000 (06:19 +0000)
committerSteve Arnold <nerdboy@gentoo.org>
Wed, 21 Sep 2005 06:19:14 +0000 (06:19 +0000)
Package-Manager: portage-2.0.51.22-r2

sci-libs/gdal/ChangeLog
sci-libs/gdal/Manifest
sci-libs/gdal/gdal-1.2.5-r1.ebuild
sci-libs/gdal/gdal-1.2.6-r3.ebuild
sci-libs/gdal/gdal-1.3.0.ebuild

index 5d2ea929e4ccc2b26234c27c3518e66a0560b695..f5d7d07f9721c988aa678e758e1462447931f3ca 100644 (file)
@@ -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)
 
index 12ce83fe4ed5590e57ed7f0529e0242ba37c0093..b988b97e584f0eefe608186a8a857eea8b477c7a 100644 (file)
@@ -1,8 +1,8 @@
-MD5 396210d71ba7322d8abd1afc4395dcf0 gdal-1.2.5-r1.ebuild 3252
-MD5 dfdde0d51e4e38f24461dd68269d71bd gdal-1.2.6-r3.ebuild 4892
-MD5 6f907376b02d239ca63c9160f29e9f7d gdal-1.3.0.ebuild 4893
 MD5 dc56f5d75556cdbcd7c4024288ef8fcb metadata.xml 481
-MD5 35e3ae6bc06dbb6366296d0eb01ffc85 ChangeLog 2126
+MD5 91b4351014ae7e37198ccfd2db1d8347 gdal-1.3.0.ebuild 5088
+MD5 7c670dbdb85b0cc1ca94767ec1b9ffdd ChangeLog 2281
+MD5 05fad9d06c351a459c7e9cc8d738b12c gdal-1.2.5-r1.ebuild 3173
+MD5 fefd12a5fc0130ac7c411436b64199f1 gdal-1.2.6-r3.ebuild 5031
+MD5 82ada11f44c42ddedbfa5426ad7991d2 files/digest-gdal-1.2.5-r1 63
 MD5 4d15ffbcc89c38a4e5a7bbbe698207a1 files/digest-gdal-1.2.6-r3 63
 MD5 d4bd0e3f81da140c24f49c6e6513b9f6 files/digest-gdal-1.3.0 63
-MD5 82ada11f44c42ddedbfa5426ad7991d2 files/digest-gdal-1.2.5-r1 63
index 8b257447cb1f4ca16e68cd56a40e5703e5258b68..998232724ad1e199b298668884f0e0d55b8a4f00 100644 (file)
@@ -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"
index 2741e204beee095219fec335195ddde62d9b3c7e..59d0d272cfb966ac148b48480c6d26824d047668 100644 (file)
@@ -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
 }
 
index 3ffd912cd746d04b20fc826f47bc52d52ae6442b..9e4ffcfef5692cafdc0898abcb2e703a8ea73a00 100644 (file)
@@ -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
 }