Skip to content

Commit 3efa50c

Browse files
committed
debian packaging update
1 parent d909597 commit 3efa50c

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

debian/changelog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ qgis (2.11.0) UNRELEASED; urgency=medium
22

33
* New development version 2.11 after branch of 2.10
44
* moved grass default.qgc from config to modules
5+
* include grass7 plugin
56

6-
-- Jürgen E. Fischer <jef@norbit.de> Fri, 24 Jul 2015 08:37:55 +0200
7+
-- Jürgen E. Fischer <jef@norbit.de> Tue, 25 Aug 2015 00:14:25 +0200
78

89
qgis (2.10.0) unstable; urgency=medium
910

debian/control.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Build-Depends:
99
#sid stretch jessie wheezy saucy sid-oracle trusty utopic vivid# debhelper (>= 9),
1010
#precise# debhelper (>= 7),
1111
flex,
12-
grass-dev (<< 7),
12+
grass-dev,
1313
libexpat1-dev,
1414
libfcgi-dev,
1515
#sid stretch jessie sid-oracle trusty utopic vivid# libgdal-dev (>= 1.10.1-0~),
@@ -23,8 +23,8 @@ Build-Depends:
2323
libqt4-dev (>= 4.7.0),
2424
libqt4-opengl-dev,
2525
libqtwebkit-dev,
26-
#sid stretch jessie wheezy sid-oracle# libqwt-dev,
27-
#precise saucy trusty utopic vivid# libqwt5-qt4-dev,
26+
#stretch jessie wheezy sid-oracle# libqwt-dev,
27+
#precise saucy trusty utopic vivid sid# libqwt5-qt4-dev,
2828
libspatialite-dev,
2929
libsqlite3-dev,
3030
libspatialindex-dev,
@@ -273,7 +273,7 @@ Depends:
273273
qgis-plugin-grass-common (= ${source:Version}),
274274
${shlibs:Depends},
275275
${misc:Depends},
276-
#!precise# grass-core (<< 7)
276+
#!precise# grass-core
277277
#precise# grass (<< 7)
278278
Description: GRASS plugin for QGIS
279279
QGIS is a Geographic Information System (GIS) which manages, analyzes and

debian/rules

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,11 @@ CMAKE_OPTS := \
4747
-DBUILDNAME=$(DEB_BUILD_NAME) \
4848
-DCMAKE_VERBOSE_MAKEFILE=1 \
4949
-DCMAKE_INSTALL_PREFIX=/usr \
50-
-DGRASS_PREFIX=/usr/lib/$(GRASS) \
5150
-DBINDINGS_GLOBAL_INSTALL=TRUE \
5251
-DPEDANTIC=TRUE \
5352
-DWITH_QSPATIALITE=TRUE \
5453
-DWITH_SERVER=TRUE \
5554
-DWITH_SERVER_PLUGINS=TRUE \
56-
-DWITH_GRASS7=FALSE \
5755
-DSERVER_SKIP_ECW=TRUE \
5856
-DQGIS_CGIBIN_SUBDIR=/usr/lib/cgi-bin \
5957
-DWITH_APIDOC=TRUE \
@@ -107,6 +105,18 @@ else
107105
CMAKE_OPTS += -DENABLE_TESTS=TRUE
108106
endif
109107

108+
ifeq ($(GRASSVER),7)
109+
CMAKE_OPTS += \
110+
-DWITH_GRASS=FALSE \
111+
-DWITH_GRASS7=TRUE \
112+
-DGRASS_PREFIX7=/usr/lib/$(GRASS)
113+
else
114+
CMAKE_OPTS += \
115+
-DWITH_GRASS=TRUE \
116+
-DWITH_GRASS7=FALSE \
117+
-DGRASS_PREFIX=/usr/lib/$(GRASS)
118+
endif
119+
110120
ifneq (,$(findstring $(DISTRIBUTION),"wheezy jessie stretch trusty sid sid-oracle"))
111121
CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
112122
CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)

0 commit comments

Comments
 (0)