[GRASS-SVN] r67024 - grass/branches/releasebranch_7_0/mswindows/osgeo4w
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Dec 5 09:39:27 PST 2015
Author: martinl
Date: 2015-12-05 09:39:26 -0800 (Sat, 05 Dec 2015)
New Revision: 67024
Modified:
grass/branches/releasebranch_7_0/mswindows/osgeo4w/gdal-config
grass/branches/releasebranch_7_0/mswindows/osgeo4w/geos-config
grass/branches/releasebranch_7_0/mswindows/osgeo4w/liblas-config
grass/branches/releasebranch_7_0/mswindows/osgeo4w/package.sh
Log:
wingrass: fix compilation issue with proj4 4.9 (avoid hacking Platform.make)
remove hardcoded options from config scripts
(merge r67021, r67023 from trunk)
Modified: grass/branches/releasebranch_7_0/mswindows/osgeo4w/gdal-config
===================================================================
--- grass/branches/releasebranch_7_0/mswindows/osgeo4w/gdal-config 2015-12-05 15:12:17 UTC (rev 67023)
+++ grass/branches/releasebranch_7_0/mswindows/osgeo4w/gdal-config 2015-12-05 17:39:26 UTC (rev 67024)
@@ -5,9 +5,7 @@
CONFIG_DEP_LIBS="$OSGEO4W_ROOT_MSYS/lib/libpng13.lib $OSGEO4W_ROOT_MSYS/lib/zlib.lib"
CONFIG_PREFIX="$OSGEO4W_ROOT_MSYS"
CONFIG_CFLAGS="-I$OSGEO4W_ROOT_MSYS/include"
-CONFIG_VERSION="1.9.0"
CONFIG_OGR_ENABLED=yes
-CONFIG_FORMATS="gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 xpm sdts raw dted mem jdem envisat elas fit vrt usgsdem l1b nitf bmp pcidsk airsar rs2 ilwis rmf rik leveller sgi idrisi bsb gif jpeg png pcraster "
usage()
{
cat <<EOF
@@ -17,9 +15,7 @@
[--libs]
[--dep-libs]
[--cflags]
- [--version]
[--ogr-enabled]
- [--formats]
EOF
exit $1
}
@@ -45,18 +41,10 @@
echo $CONFIG_PREFIX
;;
- --version)
- echo $CONFIG_VERSION
- ;;
-
--ogr-enabled)
echo $CONFIG_OGR_ENABLED
;;
- --formats)
- echo $CONFIG_FORMATS
- ;;
-
*)
usage 1 1>&2
;;
Modified: grass/branches/releasebranch_7_0/mswindows/osgeo4w/geos-config
===================================================================
--- grass/branches/releasebranch_7_0/mswindows/osgeo4w/geos-config 2015-12-05 15:12:17 UTC (rev 67023)
+++ grass/branches/releasebranch_7_0/mswindows/osgeo4w/geos-config 2015-12-05 17:39:26 UTC (rev 67024)
@@ -6,12 +6,10 @@
Usage: geos-config [OPTIONS]
Options:
[--prefix]
- [--version]
[--libs]
[--cflags]
[--ldflags]
[--includes]
- [--jtsport]
EOF
exit $1
}
@@ -25,13 +23,10 @@
esac
case $1 in
--prefix)
- echo $OSGEO4W_ROOT_MSYS
+ echo $OSGEO4W_ROOT_MSYS
;;
- --version)
- echo 3.2.2
- ;;
--cflags)
- echo -I$OSGEO4W_ROOT_MSYS/include
+ echo -I$OSGEO4W_ROOT_MSYS/include
;;
--libs)
echo $OSGEO4W_ROOT_MSYS/lib/geos_c.lib
@@ -42,9 +37,6 @@
--includes)
echo $OSGEO4W_ROOT_MSYS/include
;;
- --jtsport)
- echo 1.10.0
- ;;
*)
usage 1 1>&2
;;
Modified: grass/branches/releasebranch_7_0/mswindows/osgeo4w/liblas-config
===================================================================
--- grass/branches/releasebranch_7_0/mswindows/osgeo4w/liblas-config 2015-12-05 15:12:17 UTC (rev 67023)
+++ grass/branches/releasebranch_7_0/mswindows/osgeo4w/liblas-config 2015-12-05 17:39:26 UTC (rev 67024)
@@ -72,7 +72,6 @@
[--cxxflags]
[--defines]
[--includes]
- [--version]
EOF
exit $1
}
@@ -110,10 +109,6 @@
echo -pedantic -ansi -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98
;;
- --version)
- echo 1.6.0
- ;;
-
*)
usage 1 1>&2
;;
Modified: grass/branches/releasebranch_7_0/mswindows/osgeo4w/package.sh
===================================================================
--- grass/branches/releasebranch_7_0/mswindows/osgeo4w/package.sh 2015-12-05 15:12:17 UTC (rev 67023)
+++ grass/branches/releasebranch_7_0/mswindows/osgeo4w/package.sh 2015-12-05 17:39:26 UTC (rev 67024)
@@ -96,7 +96,7 @@
[ -d mswindows/osgeo4w/lib ] || mkdir mswindows/osgeo4w/lib
cp -uv $OSGEO4W_ROOT_MSYS/lib/sqlite3_i.lib mswindows/osgeo4w/lib/libsqlite3.a
-cp -uv $OSGEO4W_ROOT_MSYS/lib/proj_i.lib mswindows/osgeo4w/lib/libproj_i.a
+cp -uv $OSGEO4W_ROOT_MSYS/lib/proj_i.lib mswindows/osgeo4w/lib/libproj.a
cp -uv $OSGEO4W_ROOT_MSYS/lib/libtiff_i.lib mswindows/osgeo4w/lib/libtiff.a
cp -uv $OSGEO4W_ROOT_MSYS/lib/libpq.lib mswindows/osgeo4w/lib/libpq.a
cp -uv $OSGEO4W_ROOT_MSYS/lib/jpeg_i.lib mswindows/osgeo4w/lib/libjpeg.a
@@ -114,7 +114,7 @@
log configure
./configure \
- --with-libs="$OSGEO4W_ROOT_MSYS/lib $OSGEO4W_ROOT_MSYS/apps/msys/lib $PWD/mswindows/osgeo4w/lib" \
+ --with-libs="$PWD/mswindows/osgeo4w/lib $OSGEO4W_ROOT_MSYS/lib $OSGEO4W_ROOT_MSYS/apps/msys/lib" \
--with-includes="$OSGEO4W_ROOT_MSYS/include $OSGEO4W_ROOT_MSYS/apps/msys/include" \
--libexecdir=$OSGEO4W_ROOT_MSYS/bin \
--prefix=$OSGEO4W_ROOT_MSYS/apps/grass \
@@ -140,7 +140,7 @@
--with-cairo \
--with-cairo-includes=$OSGEO4W_ROOT_MSYS/include/cairo \
--with-postgres
-
+
touch mswindows/osgeo4w/configure-stamp
fi
More information about the grass-commit
mailing list