debian packaging update

This commit is contained in:
Juergen E. Fischer 2015-08-29 21:05:09 +02:00
parent 5197e91bdc
commit f7e07c22a7
3 changed files with 10 additions and 6 deletions

2
debian/compat.in vendored
View File

@ -1,3 +1,3 @@
#sid jessie sid-oracle trusty utopic vivid#9 #stretch sid jessie trusty utopic vivid#9
#wheezy jessie#8 #wheezy jessie#8
#precise#7 #precise#7

4
debian/control.in vendored
View File

@ -36,7 +36,7 @@ Build-Depends:
#saucy wheezy# python-dev, #saucy wheezy# python-dev,
#saucy# libpython2.7-dev, #saucy# libpython2.7-dev,
#sid stretch jessie trusty utopic vivid# python-all (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~), #sid stretch jessie trusty utopic vivid# python-all (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~),
#sid stretch jessie wheezy precise saucy sid-oracle trusty utopic vivid# python-qt4 (>= 4.1.0), python-qt4-dev, #sid stretch jessie wheezy precise saucy trusty utopic vivid# python-qt4 (>= 4.1.0), python-qt4-dev,
#sid stretch jessie# pyqt4.qsci-dev, #sid stretch jessie# pyqt4.qsci-dev,
#sid stretch jessie trusty utopic vivid# python-pyspatialite, #sid stretch jessie trusty utopic vivid# python-pyspatialite,
python-sip (>= 4.5.0), python-sip (>= 4.5.0),
@ -54,7 +54,7 @@ Build-Depends:
spawn-fcgi, lighttpd, poppler-utils, locales, qt4-doc-html, spawn-fcgi, lighttpd, poppler-utils, locales, qt4-doc-html,
libqt4-sql-sqlite libqt4-sql-sqlite
Build-Conflicts: libqgis-dev, qgis-dev Build-Conflicts: libqgis-dev, qgis-dev
#sid stretch jessie sid-oracle vivid#Standards-Version: 3.9.6 #sid stretch jessie vivid#Standards-Version: 3.9.6
#wheezy#Standards-Version: 3.9.3 #wheezy#Standards-Version: 3.9.3
#precise saucy trusty utopic#Standards-Version: 3.8.4 #precise saucy trusty utopic#Standards-Version: 3.8.4
#sid stretch jessie#X-Python-Version: >= 2.7, << 2.8 #sid stretch jessie#X-Python-Version: >= 2.7, << 2.8

10
debian/rules vendored
View File

@ -93,11 +93,15 @@ ifneq (,$(findstring $(DISTRIBUTION),"wheezy precise"))
CMAKE_OPTS += -DWITH_PYSPATIALITE=TRUE CMAKE_OPTS += -DWITH_PYSPATIALITE=TRUE
endif endif
ifneq (,$(findstring $(DISTRIBUTION),"sid sid-oracle stretch")) ifneq (,$(findstring $(DISTRIBUTION),"sid stretch"))
CMAKE_OPTS += -DPOSTGRES_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libpq.so CMAKE_OPTS += -DPOSTGRES_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libpq.so
endif endif
ifneq (,$(findstring $(DISTRIBUTION),"jessie stretch trusty utopic vivid sid sid-oracle")) ifneq (,$(findstring $(DISTRIBUTION),"sid"))
CMAKE_OPTS += -DGEOS_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libgeos_c.so
endif
ifneq (,$(findstring $(DISTRIBUTION),"jessie stretch trusty utopic vivid sid"))
CMAKE_OPTS += -DPYTHON_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libpython2.7.so CMAKE_OPTS += -DPYTHON_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libpython2.7.so
endif endif
@ -122,7 +126,7 @@ else
CMAKE_OPTS += -DENABLE_TESTS=TRUE CMAKE_OPTS += -DENABLE_TESTS=TRUE
endif endif
ifneq (,$(findstring $(DISTRIBUTION),"wheezy jessie stretch trusty sid sid-oracle")) ifneq (,$(findstring $(DISTRIBUTION),"wheezy jessie stretch trusty sid"))
CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS) CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)