pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/35752: update geography/gdal-lib to v1.4.0.



>Number:         35752
>Category:       pkg
>Synopsis:       update geography/gdal-lib to v1.4.0.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 21 00:40:00 +0000 2007
>Originator:     Brook Milligan
>Release:        NetBSD 3.0
>Organization:
Brook Milligan                         Internet:  brook%nmsu.edu@localhost
Department of Biology
New Mexico State University            Telephone:  (505) 646-7980
Las Cruces, New Mexico  88003  U.S.A.  FAX:        (505) 646-5665
>Environment:
        
        
System: NetBSD viola.nmsu.edu 3.0 NetBSD 3.0 (VIOLA) #0: Mon May 15 21:08:52 
MDT 2006 
root%trillium.aquilegia.com@localhost:/usr/src/sys/arch/i386/compile/VIOLA i386
Architecture: i386
Machine: i386
>Description:
        As of January 2007, a new release of gdal is available.  The
following is the summary given by http://www.gdal.org/NEWS.html.

GDAL/OGR 1.4.0 - General Changes
--------------------------------

Perl Bindings: 
 - Added doxygen based documentation.

NG Python Bindings: 
 - Implemented numpy support.

CSharp Bindings: 
 - Now mostly operational.

WinCE Porting:
 - CPL 
 - base OGR, OSR and mitab and shape drivers.
 - GDAL, including GeoTIFF, DTED, AAIGrid drivers
 - Added test suite (gdalautotest/cpp)

Mac OSX Port:
 - Added framework support (--with-macosx-framework)

GDAL 1.4.0 - Overview Of Changes
--------------------------------

WCS Driver:
 - New

PDS (Planetary Data Set) Driver:
 - New

ISIS (Mars Qubes) Driver:
 - New

HFA (.img) Driver:
 - Support reading ProjectionX PE strings.
 - Support producing .aux files with statistics.
 - Fix serious bugs with u1, u2 and u4 compressed data.

NITF Driver:
 - Added BLOCKA reading support.
 - Added ICORDS='D'
 - Added jpeg compression support (readonly)
 - Support multiple images as subdatasets.
 - Support CGM data (as metadata)

AIGrid Driver:
 - Use VSI*L API (large files, in memory, etc)
 - Support upper case filenames.
 - Support .clr file above coverage.

HDF4 Driver:
 - Added support for access to geolocation arrays (see RFC 4).
 - External raw raster bands supported.

PCIDSK (.pix) Driver:
 - Support METER/FEET as LOCAL_CS. 
 - Fix serious byte swapping error on creation.

BMP Driver: 
 - Various fixes, including 16bit combinations, and non-intel byte swapping.

GeoTIFF Driver:
 - Fixed in place update for LZW and Deflated compressed images.

JP2KAK (JPEG2000) Driver:
 - Added support for reading and writing gmljp2 headers. 
 - Read xml boxes as metadata. 
 - Accelerate YCbCr handling. 

JP2MrSID (JPEG2000) Driver: 
 - Added support for reading gmljp2 headers. 

EHDR (ESRI BIL) Driver:
 - Support 1-7 bit data. 
 - Added statistics support.

OGR 1.4.0 - Overview of Changes
-------------------------------

OGR SQL:
 - RFC 6: Added support for SQL/attribute filter access to geometry, and 
   style strings. 

OGRSpatialReference: 
 - Support for OGC SRS URNs. 
 - Support for +wktext/EXTENSION stuff for preserving PROJ.4 string in WKT.
 - Added Two Point Equidistant projection.
 - Added Krovak projection.
 - Updated support files to EPSG 6.11.

OGRCoordinateTransformation: 
 - Support source and destination longitude wrapping control.

OGRFeatureStyle: 
 - Various extensions and improvements. 

INFORMIX Driver: 
 - New

KML Driver: 
 - New (write only)

E00 Driver:
 - New (read only) 
 - Polygon (PAL) likely not working properly.

Postgres/PostGIS Driver:
 - Updated to support new EWKB results (PostGIS 1.1?)
 - Fixed serious bug with writing SRSes.
 - Added schema support.

GML Driver: 
 - Strip namespaces off field names. 
 - Handle very large geometries gracefully.

ODBC Driver: 
 - Added support for spatial_ref_sys table.

SDE Driver: 
 - Added logic to speed things up while actually detecting layer geometry types

PGeo Driver: 
 - Added support for MDB Tools ODBC driver on linux/unix.

VRT Driver:
 - Added useSpatialSubquery support.

>How-To-Repeat:
        Our current package is old.  In addition, it did not handle
the mysql option at all.
>Fix:
        The following patch will (mostly; see below) update the
package to v1.4.0.  Note that in addition to updating the package to a
new version, the following changes are made:

- Update DESCR to refer to the current web page.

- Change maintainer.  The former maintainer no longer works on
  this project, so I will take over from him.

- Add an option for the dependency on mysql.

- Add a fortran dependency per suggestion of the build system.

- Add a dependency on curl both in Makefile and buildlink3.mk.  The
  latter is required, because the resulting shared library makes
  reference to the curl library.  This is similar to, for example,
  libz.

- Update the PLIST.

- Replace all previous patches with one for the configure script to
  replace incorrect == expression arguments to test.

Note that I am not certain how to handle the new patch file within the
context of the following diff.  For instance, should it have a new
name or reuse patch-aa (as I did below).  Also, I am not certain how
to have the patch remove the former patch files.  Nevertheless, I hope
the intent is clear.

cvs diff: Diffing .
Index: DESCR
===================================================================
RCS file: /cvsroot-NetBSD/pkgsrc/geography/gdal-lib/DESCR,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 DESCR
--- DESCR       2 May 2006 20:36:33 -0000       1.1.1.1
+++ DESCR       20 Feb 2007 16:22:13 -0000
@@ -16,5 +16,4 @@
        * PNG                   (read/write)
        * Geosoft GXF           (read)
        * Arc/Info Binary Grid  (read)
-A full list is available at
-http://www.remotesensing.org/gdal/formats_list.html
+A full list is available at http://www.gdal.org/formats_list.html.
Index: Makefile
===================================================================
RCS file: /cvsroot-NetBSD/pkgsrc/geography/gdal-lib/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile    28 Dec 2006 12:12:58 -0000      1.6
+++ Makefile    20 Feb 2007 16:22:13 -0000
@@ -1,18 +1,17 @@
 # $NetBSD: Makefile,v 1.6 2006/12/28 12:12:58 joerg Exp $
 #
 
-DISTNAME=              gdal-1.3.1
-PKGNAME=               gdal-lib-1.3.1
-PKGREVISION=           1
+DISTNAME=              gdal-1.4.0
+PKGNAME=               gdal-lib-1.4.0
 CATEGORIES=            geography
 MASTER_SITES=          http://www.gdal.org/dl/
 
-MAINTAINER=            mchittur%cs.nmsu.edu@localhost
-HOMEPAGE=              http://gdal.org/
+MAINTAINER=            brook%nmsu.edu@localhost
+HOMEPAGE=              http://www.gdal.org/
 COMMENT=               Translator library for raster geospatial data formats
 
 USE_PKGLOCALEDIR=      yes
-USE_LANGUAGES=         c c++
+USE_LANGUAGES=         c c++ fortran
 USE_LIBTOOL=           yes
 
 GNU_CONFIGURE=         yes
@@ -21,8 +20,8 @@
 MAKE_FILE=             GNUmakefile
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.gdal-lib
-PKG_SUPPORTED_OPTIONS= pgsql
-PKG_SUGGESTED_OPTIONS= pgsql
+PKG_SUPPORTED_OPTIONS= pgsql mysql
+PKG_SUGGESTED_OPTIONS= pgsql mysql
 
 .include "../../mk/bsd.options.mk"
 
@@ -33,6 +32,13 @@
 CONFIGURE_ARGS+=       --without-pg
 .endif
 
+.if !empty(PKG_OPTIONS:Mmysql)
+. include "../../mk/mysql.buildlink3.mk"
+CONFIGURE_ARGS+=       --with-mysql
+.else
+CONFIGURE_ARGS+=       --without-mysql
+.endif
+
 CONFIGURE_ARGS+=       --with-xerces
 CONFIGURE_ARGS+=       --with-xerces-inc=${PREFIX:Q}/include
 CONFIGURE_ARGS+=       --with-xerces-lib=-L${PREFIX:Q}/lib\ -lxerces-c
@@ -42,7 +48,8 @@
 CHECK_PORTABILITY_SKIP+=       mkbindist.sh
 
 .include "../../devel/zlib/buildlink3.mk"
-.include "../../misc/proj/buildlink3.mk"
 .include "../../geography/geos/buildlink3.mk"
+.include "../../misc/proj/buildlink3.mk"
 .include "../../textproc/xerces-c/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot-NetBSD/pkgsrc/geography/gdal-lib/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST       6 Sep 2006 09:52:42 -0000       1.2
+++ PLIST       20 Feb 2007 16:22:13 -0000
@@ -47,7 +47,7 @@
 lib/libgdal.la
 man/man1/gdal-config.1
 man/man1/gdal_contour.1
-man/man1/gdal_merge.py.1
+man/man1/gdal_merge.1
 man/man1/gdal_translate.1
 man/man1/gdal_utilities.1
 man/man1/gdaladdo.1
@@ -58,8 +58,11 @@
 man/man1/ogr_utilities.1
 man/man1/ogrinfo.1
 man/man1/ogrtindex.1
-man/man1/pct2rgb.py.1
-man/man1/rgb2pct.py.1
+man/man1/pct2rgb.1
+man/man1/rgb2pct.1
+share/gdal/GDALLogoBW.svg
+share/gdal/GDALLogoColor.svg
+share/gdal/GDALLogoGS.svg
 share/gdal/cubewerx_extra.wkt
 share/gdal/ecw_cs.dat
 share/gdal/ellipsoid.csv
@@ -71,6 +74,7 @@
 share/gdal/pcs.csv
 share/gdal/prime_meridian.csv
 share/gdal/projop_wparm.csv
+share/gdal/s57agencies.csv
 share/gdal/s57attributes.csv
 share/gdal/s57attributes_aml.csv
 share/gdal/s57attributes_iw.csv
Index: buildlink3.mk
===================================================================
RCS file: /cvsroot-NetBSD/pkgsrc/geography/gdal-lib/buildlink3.mk,v
retrieving revision 1.5
diff -u -r1.5 buildlink3.mk
--- buildlink3.mk       10 Aug 2006 00:38:25 -0000      1.5
+++ buildlink3.mk       20 Feb 2007 16:22:13 -0000
@@ -28,8 +28,13 @@
 .include "../../mk/pgsql.buildlink3.mk"
 .endif
 
+.if !empty(PKG_BUILD_OPTIONS.gdal-lib:Mmysql)
+.include "../../mk/mysql.buildlink3.mk"
+.endif
+
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../geography/geos/buildlink3.mk"
 .include "../../textproc/xerces-c/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
 
 BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}
Index: distinfo
===================================================================
RCS file: /cvsroot-NetBSD/pkgsrc/geography/gdal-lib/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo    22 Oct 2006 20:37:01 -0000      1.3
+++ distinfo    20 Feb 2007 16:22:13 -0000
@@ -1,9 +1,6 @@
 $NetBSD: distinfo,v 1.3 2006/10/22 20:37:01 rillig Exp $
 
-SHA1 (gdal-1.3.1.tar.gz) = 2783c4c0d2a83a34f4c5c6a8efe41e816ba396fb
-RMD160 (gdal-1.3.1.tar.gz) = 5967608e6e1c9f0af8698fcffb58eab4dcdd518d
-Size (gdal-1.3.1.tar.gz) = 6856011 bytes
-SHA1 (patch-aa) = c8fd8c0749d2ef10a630e0c688f0696970ce1ff3
-SHA1 (patch-ab) = 207f2aede8d0a7a2c7d89d45675745c81a812307
-SHA1 (patch-ac) = 23402d8e6e44ca7767a9266e2f0bbcc36a398349
-SHA1 (patch-ad) = 5f3c1f3ca0cb5a284836c6f64ea0590c459f6aa8
+SHA1 (gdal-1.4.0.tar.gz) = fde8f5dbcd32f608b1c740aa2e6425e5febefca1
+RMD160 (gdal-1.4.0.tar.gz) = 18c2b0e60d5089b9b64b14a1b82fb4573430f473
+Size (gdal-1.4.0.tar.gz) = 7458051 bytes
+SHA1 (patch-aa) = 649f72dcf0fbc78f1486b843817500db2d454c8c
cvs diff: Diffing patches
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot-NetBSD/pkgsrc/geography/gdal-lib/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-aa
--- patches/patch-aa    2 May 2006 20:36:33 -0000       1.1.1.1
+++ patches/patch-aa    20 Feb 2007 16:22:13 -0000
@@ -1,13 +1,20 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/05/02 20:36:33 wiz Exp $
+$NetBSD$
 
---- GDALmake.opt.in.orig       2005-12-30 22:14:55.000000000 +0000
-+++ GDALmake.opt.in
-@@ -34,7 +34,7 @@ C_DBGFLAGS = -g -DDEBUG 
- CXX_PROFFLAGS =       -g3 -pg -DDEBUG 
- C_PROFFLAGS = -g3 -pg -DDEBUG 
+--- configure.orig     2007-02-16 08:57:36.000000000 -0700
++++ configure
+@@ -28245,13 +28245,13 @@ fi
  
--LIBS  =       @LIBS@
-+LIBS  =       @LIBS@ -lcompat
+ echo "$as_me:$LINENO: checking for special pymod link hacks" >&5
+ echo $ECHO_N "checking for special pymod link hacks... $ECHO_C" >&6
+-if test ! -z "`uname | grep Darwin`" -a ${with_libtool} == no ; then
++if test ! -z "`uname | grep Darwin`" -a ${with_libtool} = no ; then
+     echo "$as_me:$LINENO: result: darwin-nonlibtool" >&5
+ echo "${ECHO_T}darwin-nonlibtool" >&6
+ 
+     PY_LD_SHARED='g++ -bundle -framework Python'
+     PY_SO_EXT='so'
+-elif test ! -z "`uname | grep Darwin`" -a ${with_libtool} == yes ; then
++elif test ! -z "`uname | grep Darwin`" -a ${with_libtool} = yes ; then
+     echo "$as_me:$LINENO: result: darwin-libtool" >&5
+ echo "${ECHO_T}darwin-libtool" >&6
  
- PYTHON_INCLUDES = @PYTHON_INCLUDES@
- PYTHON_LIBS = @PYTHON_LIBS@
cvs diff: cannot find patches/patch-ab
cvs diff: cannot find patches/patch-ac
cvs diff: cannot find patches/patch-ad

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index