[Lunar-commits] <moonbase-other> gdal: version bump. Take note of the comments in the BUILD and DEPENDS
Dennis Veatch
dennisveatch at bellsouth.net
Sat Aug 2 15:09:18 CEST 2014
commit ea784a4e928047b9c70011b5aa6385c463926922
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Sat, 02 Aug 2014 09:08:10 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/ea784a4e928047b9c70011b5aa6385c463926922
gdal: version bump. Take note of the comments in the BUILD and DEPENDS
regarding Python. Needed to add -fPIC so its ruby components would build.
---
libs/gdal/BUILD | +20/-0
libs/gdal/DEPENDS | +6/-11
libs/gdal/DETAILS | +1/-1
3 files changed, 27 insertions(+), 12 deletions(-)
--- /dev/null
+++ b/libs/gdal/BUILD
@@ -0,0 +1,20 @@
+
+ ./autogen.sh &&
+
+ CFLAGS+=" -fPIC" &&
+ sedit "s:openjpeg-2.0:openjpeg-1.5:g" configure &&
+
+# Do a little dance, make a little love, get Python tonight.
+# The way their swig/Python scripts works, gdal needs to be
+# installed cause of where their bindings look during the build.
+ if in_depends $MODULE Python ; then
+ OPTS+=" --without-python"
+ fi &&
+
+ default_build &&
+
+ if in_depends $MODULE Python ; then
+ cd swig/python &&
+ python setup.py build &&
+ python setup.py install
+ fi
--- a/libs/gdal/DEPENDS
+++ b/libs/gdal/DEPENDS
@@ -11,17 +11,11 @@ optional_depends "libpng" "--with-png" "--without-png" "for png gr
optional_depends "geos" "--with-geos" "--without-geos" "for Geometry Engine support"
optional_depends "jasper" "--with-jasper" "--without-jasper" "for JPEG-2000 Part-1 support"
optional_depends "perl" "--with-perl" "--without-perl" "for perl scripting support"
-
-# broken with sh: no such flag -d
-#optional_depends "Python" "--with-python" "--without-python" "for python scripting support"
-
optional_depends "%PHP" "--with-php" "--without-php" "for php support"
+optional_depends "ruby" "--with-ruby" "--without-ruby" "for ruby scripting support"
-# broken with -fPIC issue
-#optional_depends "ruby" "--with-ruby" "--without-ruby" "for ruby scripting support"
-
-# no suitable java in moonbase atm
-#optional_depends "%JAVA_SDK" "--with-java" "--without-java" "for java support"
+#See comments in BUILD about why there are no switches.
+optional_depends "Python" "" "" "for python scripting support"
optional_depends "%MYSQL" "--with-mysql" "--without-mysql" "for mysql database support"
optional_depends "sqlite" "--with-sqlite3" "--without-sqlite3" "for sqlite database support"
@@ -33,8 +27,9 @@ optional_depends "netcdf" "--with-netcdf" "--without-netcdf" "for CDF su
optional_depends "cfitsio" "--with-cfitsio" "--without-cfitsio" "for C and Fortran subroutine support"
optional_depends "poppler" "--with-poppler" "--without-poppler" "for poppler graphics support ${PROBLEM_COLOR}If yes here, say no to podofo${QUERY_COLOR}"
optional_depends "podofo" "--with-podofo" "--without-podofo" "for POrtable DOcument FOrmat support"
-
optional_depends "spatialindex" "--with-spatialite" "--without-spatialite" "for indexing support"
-
optional_depends "numpy" "" "" "for python numerical support"
optional_depends "proj-4" "" "" "transform data types"
+
+# no suitable java in moonbase atm
+#optional_depends "%JAVA_SDK" "--with-java" "--without-java" "for java support"
--- a/libs/gdal/DETAILS
+++ b/libs/gdal/DETAILS
@@ -7,7 +7,7 @@
ENTERED=20050915
UPDATED=20140801
SHORT="Geospatial Data Abstraction Library"
-
+PSAFE=no
cat << EOF
is a translator library for raster geospatial data formats that is released
under an X/MIT style Open Source license. As a library, it presents a
More information about the Lunar-commits
mailing list