Because of getting no response on the first posting until now, I tried to make a suggestion for a patch. Sorry for answering to myself.

On 19.07.2010 11:51 (UTC+1), Rainer Hurling wrote:
gdal version 1.7.2 was released on April, 23th. There are many
improvements against version 1.6.0 (from December 2008) which we found
in the ports.

Are there any plans to update graphics/gdal in the next time?


The attached patch upgrades graphics/gdal from 1.6.0 to 1.7.2. Building and installing works for me and new features of gdal like converting R and SAGA GIS datasets are working :-)

As I have mentioned in another posting, there is a problem with option 'python'. When option 'python' is checked ON, the PORTREVISION will be hardcoded to 4, see line 192 of original Makefile (instead of 9 for the most recent version from today). I changed PORTREVISION to PYDISTUTILS_PORTREVISION, but I am not sure, if this is the right way ;-(

The patch increments libgdal version from lgdal.14 to lgdal.15. Due to this some other ports like math/saga should also be updated.

Could someone please be so kind to have a look at this patch? An updated graphics/gdal port is really needed for other ports like math/R and math/saga.

If I could help (like testing) in some way please let me know.

Thanks in advance,
Rainer Hurling


diff -Naur gdal_1.6.0/Makefile gdal/Makefile
--- gdal_1.6.0/Makefile 2010-07-26 16:34:40.000000000 +0200
+++ gdal/Makefile       2010-08-01 09:32:29.000000000 +0200
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=      gdal
-PORTVERSION=   1.6.0
-PORTREVISION=  9
+PORTVERSION=   1.7.2
 CATEGORIES=    graphics geography
-MASTER_SITES=  ftp://ftp.remotesensing.org/pub/gdal/ \
+MASTER_SITES=  http://download.osgeo.org/gdal/ \
+               ftp://ftp.remotesensing.org/pub/gdal/ \
                http://www.gdal.org/dl/ \
                http://dl.maptools.org/dl/gdal/ \
                http://sunpoet.net/distfiles/
@@ -189,7 +189,7 @@
 PYEASYINSTALL_CMD=     ${LOCALBASE}/bin/easy_install-${PYTHON_VER}
 PYDISTUTILS_PKGNAME=   ${PORTNAME:U}
 PYDISTUTILS_PKGVERSION=        ${PORTVERSION}
-PORTREVISION=  4
+PYDISTUTILS_PORTREVISION=      4
 _OSRELEASE!=           ${UNAME} -r
 PYEASYINSTALL_OSARCH=  -${OPSYS:L}-${_OSRELEASE}-${ARCH}
 PYEASYINSTALL_EGG=     
${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-${PYTHON_VERSION:S/thon//}${PYEASYINSTALL_OSARCH}.egg
diff -Naur gdal_1.6.0/distinfo gdal/distinfo
--- gdal_1.6.0/distinfo 2009-03-18 15:50:27.000000000 +0100
+++ gdal/distinfo       2010-08-01 08:11:58.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (gdal-1.6.0.tar.gz) = 0c53697511f489455f8b60e843986568
-SHA256 (gdal-1.6.0.tar.gz) = 
acdc2faf7496f8d8f4680347ce30fd3a2139b5c050f13dcd6ca8a3d7f6e418a4
-SIZE (gdal-1.6.0.tar.gz) = 7072689
+MD5 (gdal-1.7.2.tar.gz) = 05351f8cb61761ae579667e24a297fe6
+SHA256 (gdal-1.7.2.tar.gz) = 
0834909a93e955a45cf050714b018fed89f8dbe74e0381e91d16a8084ca08837
+SIZE (gdal-1.7.2.tar.gz) = 7755378
diff -Naur gdal_1.6.0/files/patch-ogr-GNUmakefile 
gdal/files/patch-ogr-GNUmakefile
--- gdal_1.6.0/files/patch-ogr-GNUmakefile      2009-03-18 15:50:27.000000000 
+0100
+++ gdal/files/patch-ogr-GNUmakefile    1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- ogr/GNUmakefile.orig       2009-03-02 23:42:30.000000000 +0300
-+++ ogr/GNUmakefile    2009-03-02 23:42:35.000000000 +0300
-@@ -19,7 +19,7 @@
- 
- default:      lib
- 
--all:  sublibs apps test_ogrsf$(EXE) 
-+all:  sublibs
- 
- clean:
-       rm -f html/*
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to