[SCM] postgis branch, master, updated. upstream/2.0.1-53-g43bd658
Markus Wanner
markus at bluegap.ch
Fri Jun 14 15:05:47 UTC 2013
The following commit has been merged in the master branch:
commit 43bd658f8abbcafb7f9c20c61080b799d72173b4
Author: Markus Wanner <markus at bluegap.ch>
Date: Fri Jun 14 17:03:40 2013 +0200
Lower dependency on libgeos-dev to 3.2.2 and instead dynamically
disable topology support, if GEOS is not new enough - for
backportability.
diff --git a/debian/changelog b/debian/changelog
index 555f6fd..d5611cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,9 @@ postgis (2.0.3-2) UNRELEASED; urgency=low
libgdal1-dev right away.
* Build-Deps: correct libgeos-dev version requirement, depend on
libpostgresql-jdbc-java instead of (transitional) libpg-java.
+ * Lower dependency on libgeos-dev to 3.2.2 and instead dynamically
+ disable topology support, if GEOS is not new enough - for
+ backportability.
-- Markus Wanner <markus at bluegap.ch> Fri, 14 Jun 2013 13:08:58 +0200
diff --git a/debian/control b/debian/control
index daf1459..eb7b948 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
Uploaders: Stephen Frost <sfrost at debian.org>, Francesco Paolo
Lovergine <frankie at debian.org>, Markus Wanner <markus at bluegap.ch>
Build-Depends: debhelper (>= 8), dpkg-dev (>= 1.16.1~), autotools-dev,
- flex, bison, libgeos-dev (>= 3.3.0~), libjson0-dev (>= 0.9~),
+ flex, bison, libgeos-dev (>= 3.2.2~), libjson0-dev (>= 0.9~),
libproj-dev (>= 4.5.0), libssl-dev, xsltproc, docbook, docbook-xsl,
default-jdk, libpostgresql-jdbc-java, fastjar, libjts-java (>= 1.7),
imagemagick, libcunit1-dev, dblatex, libxml2-dev (>= 2.5.0~),
diff --git a/debian/control.in b/debian/control.in
index 8fcf2e9..811d872 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -5,7 +5,7 @@ Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
Uploaders: Stephen Frost <sfrost at debian.org>, Francesco Paolo
Lovergine <frankie at debian.org>, Markus Wanner <markus at bluegap.ch>
Build-Depends: debhelper (>= 8), dpkg-dev (>= 1.16.1~), autotools-dev,
- flex, bison, libgeos-dev (>= 3.3.0~), libjson0-dev (>= 0.9~),
+ flex, bison, libgeos-dev (>= 3.2.2~), libjson0-dev (>= 0.9~),
libproj-dev (>= 4.5.0), libssl-dev, xsltproc, docbook, docbook-xsl,
default-jdk, libpostgresql-jdbc-java, fastjar, libjts-java (>= 1.7),
imagemagick, libcunit1-dev, dblatex, libxml2-dev (>= 2.5.0~),
diff --git a/debian/rules b/debian/rules
index 65d39c0..8ef0ca3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -73,6 +73,19 @@ COMMON_CONFIGURE_ARGS = --host=$(DEB_HOST_GNU_TYPE) \
--infodir=\$${prefix}/share/info \
--with-gui
+# Retrieve the version of the GEOS library installed.
+GEOS_VERSION = $(shell geos-config --version)
+
+# Depending on that, we either request or disable topology support.
+ENABLE_TOPOLOGY = $(shell dpkg --compare-versions \
+ $(GEOS_VERSION) ge 3.3.2 && echo "yes")
+
+ifeq ($(ENABLE_TOPOLOGY),yes)
+ COMMON_CONFIGURE_ARGS += --with-topology
+else
+ COMMON_CONFIGURE_ARGS += --without-topology
+endif
+
build: build-arch build-indep
build-arch: build-arch-stamp
--
PostGIS for PostgreSQL
More information about the Pkg-grass-devel
mailing list