[libkml] 07/23: Switch build system from autotools to cmake.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Jul 25 19:41:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository libkml.

commit 08eef24c3523bd201ccee6eb180b1e866826a274
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jul 25 15:29:16 2015 +0200

    Switch build system from autotools to cmake.
---
 debian/changelog |  1 +
 debian/control   |  5 +++--
 debian/rules     | 12 ++++++++----
 3 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d89c4b6..42afd42 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ libkml (1.3.0~r864+git20150723-0fa2f22-1) UNRELEASED; urgency=medium
   * New upstream git snapshot.
   * Drop Files-Excluded from copyright & repacksuffix from watch file,
     third party sources no longer included.
+  * Switch build system from autotools to cmake.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 25 Jul 2015 15:16:12 +0200
 
diff --git a/debian/control b/debian/control
index c511d6a..d7170ae 100644
--- a/debian/control
+++ b/debian/control
@@ -5,13 +5,14 @@ Uploaders: Francesco Paolo Lovergine <frankie at debian.org>,
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               dh-autoreconf,
                dh-python,
-               autotools-dev,
                chrpath,
+               cmake,
                default-jdk,
+               libboost-dev,
                libcurl4-gnutls-dev | libcurl-ssl-dev,
                libexpat1-dev,
+               libminizip-dev,
                liburiparser-dev (>= 0.7.1),
                python-dev (>= 2.6.6-3~),
                python-all-dev (>= 2.6.6-3~),
diff --git a/debian/rules b/debian/rules
index e5df46c..e616c15 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,15 +2,19 @@
 
 JAVA_HOME = /usr/lib/jvm/default-java
 
-DEB_CONFIGURE_EXTRA_FLAGS = --enable-systempython --with-java-include-dir=$(JAVA_HOME)/include
-
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-	dh $@ --with autoreconf,python2 --parallel
+	dh $@ --with python2 --parallel
 
 override_dh_auto_configure:
-	dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)
+	dh_auto_configure -- \
+		-DBUILD_TESTING=OFF \
+		-DBUILD_EXAMPLES=OFF \
+		-DINSTALL_EXAMPLES=OFF \
+		-DBUILD_SWIG=OFF \
+		-DBUILD_SWIG_PYTHON=OFF \
+		-DBUILD_SWIG_JAVA=OFF \
 
 override_dh_auto_install:
 	dh_auto_install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/libkml.git



More information about the Pkg-grass-devel mailing list