Skip to content

Commit f5b7834

Browse files
committed
debian packaging updates
1 parent 6eb2159 commit f5b7834

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

debian/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ Description: QGIS server providing various OGC services
271271
.
272272
This package contains the QGIS server.
273273

274-
Package: libqgis-customwidgets{QGIS_ABI}
274+
Package: libqgis-customwidgets
275275
Architecture: any
276276
Depends:
277277
qt4-designer,

debian/control.in

+8-7
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Build-Depends:
99
#sid jessie wheezy saucy sid-oracle trusty utopic vivid# debhelper (>= 9),
1010
#precise# debhelper (>= 7),
1111
flex,
12-
grass-dev,
12+
grass-dev (<< 7),
1313
libexpat1-dev,
1414
libfcgi-dev,
1515
#sid jessie sid-oracle trusty utopic vivid# libgdal-dev (>= 1.10.1-0~),
@@ -32,7 +32,7 @@ Build-Depends:
3232
pyqt4-dev-tools,
3333
python-qscintilla2,
3434
#precise saucy wheezy# python,
35-
#precise saucy# python-central (>=0.5),
35+
#precise saucy# python-central (>= 0.5),
3636
#saucy wheezy# python-dev,
3737
#saucy# libpython2.7-dev,
3838
#sid jessie sid-oracle trusty utopic vivid# python-all (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~),
@@ -210,7 +210,7 @@ Package: libqgis-dev
210210
Architecture: any
211211
Section: libdevel
212212
Depends:
213-
grass-dev,
213+
grass-dev (<< 7),
214214
libexpat1-dev,
215215
#sid jessie sid-oracle trusty utopic vivid# libgdal-dev (>= 1.10.1-0~),
216216
#precise# libgdal-dev (>= 1.9.0) | libgdal1-dev (<< 1.9.0),
@@ -226,10 +226,10 @@ Depends:
226226
libqgis-networkanalysis{QGIS_ABI} (= ${binary:Version}),
227227
libqgisgrass{QGIS_ABI} (= ${binary:Version}),
228228
libqgispython{QGIS_ABI} (= ${binary:Version}),
229-
libqt4-dev (>=4.6.0),
229+
libqt4-dev (>= 4.7.0),
230230
libsqlite3-dev,
231-
python-qt4 (>=4.1.0),
232-
python-qt4-dev (>=4.1.0),
231+
python-qt4 (>= 4.1.0),
232+
python-qt4-dev (>= 4.1.0),
233233
qt4-designer,
234234
${misc:Depends}
235235
Recommends: libqgis-customwidgets
@@ -250,7 +250,8 @@ Depends:
250250
qgis-plugin-grass-common (= ${source:Version}),
251251
${shlibs:Depends},
252252
${misc:Depends},
253-
grass{GRASS_ABI}
253+
#!precise# grass-core (<< 7)
254+
#precise# grass (<< 7)
254255
Description: GRASS plugin for QGIS
255256
QGIS is a Geographic Information System (GIS) which manages, analyzes and
256257
display databases of geographic information.

debian/rules

+2-3
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,13 @@ QGIS_MAJOR=$(shell sed -ne 's/SET(CPACK_PACKAGE_VERSION_MAJOR "\([0-9]*\)")/\1/p
3939
QGIS_MINOR=$(shell sed -ne 's/SET(CPACK_PACKAGE_VERSION_MINOR "\([0-9]*\)")/\1/p' CMakeLists.txt)
4040
QGIS_PATCH=$(shell sed -ne 's/SET(CPACK_PACKAGE_VERSION_PATCH "\([0-9]*\)")/\1/p' CMakeLists.txt)
4141
QGIS_ABI=$(QGIS_MAJOR).$(QGIS_MINOR).$(QGIS_PATCH)
42-
GRASS_ABI=$(subst .,,$(shell pkg-config --modversion grass|sed -e "s/\.//g" -e "s/RC/-/"))
4342
GRASS=grass$(subst .,,$(shell pkg-config --modversion grass|cut -d. -f1,2))
4443

4544
CMAKE_OPTS := \
4645
-DBUILDNAME=$(DEB_BUILD_NAME) \
4746
-DCMAKE_VERBOSE_MAKEFILE=1 \
4847
-DCMAKE_INSTALL_PREFIX=/usr \
49-
-DGRASS_PREFIX=/usr/lib/grass64 \
48+
-DGRASS_PREFIX=/usr/lib/$(GRASS) \
5049
-DBINDINGS_GLOBAL_INSTALL=TRUE \
5150
-DPEDANTIC=TRUE \
5251
-DWITH_QSPATIALITE=TRUE \
@@ -137,7 +136,7 @@ $(2): $(1)
137136
-e "s#\{QT_PLUGIN_DIR\}#$(QT_PLUGIN_DIR)#g" \
138137
-e "s/\{QGIS_ABI\}/$(QGIS_ABI)/g" \
139138
-e "s/\{GRASS\}/$(GRASS)/g" \
140-
-e "s/\{GRASS_ABI\}/$(GRASS_ABI)/g" $$^ >$$@
139+
$$^ >$$@
141140

142141
templates:: $(2)
143142

0 commit comments

Comments
 (0)