Skip to content

Commit 206cc96

Browse files
committed
debian packaging:
* remove xenial & stretch support * remove globe plugin * always enable 3d
1 parent aeec6df commit 206cc96

File tree

7 files changed

+33
-81
lines changed

7 files changed

+33
-81
lines changed

debian/control

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Build-Depends:
1818
libgdal-dev (>= 1.11),
1919
libgeos-dev (>= 3.0.0),
2020
libgsl-dev,
21-
libosgearth-dev,
2221
libpq-dev,
2322
libproj-dev,
2423
libqca-qt5-2-dev,
@@ -233,7 +232,6 @@ Section: libs
233232
Depends:
234233
${shlibs:Depends},
235234
${misc:Depends}
236-
Replaces: libqgis2.99.0
237235
Description: QGIS - shared Python library
238236
QGIS is a Geographic Information System (GIS) which manages, analyzes and
239237
display databases of geographic information.

debian/control.in

Lines changed: 28 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ Build-Depends:
1717
libfcgi-dev,
1818
libgdal-dev (>= 1.11),
1919
libgeos-dev (>= 3.0.0),
20-
#sid buster stretch xenial bionic cosmic# libgsl-dev,
21-
#sid buster bionic cosmic# libosgearth-dev,
20+
libgsl-dev,
2221
libpq-dev,
2322
libproj-dev,
2423
libqca-qt5-2-dev,
@@ -61,14 +60,14 @@ Build-Depends:
6160
python3-sip,
6261
python3-termcolor,
6362
python3-yaml,
64-
#sid buster bionic cosmic# qt3d5-dev,
65-
#sid buster bionic cosmic# qt3d-assimpsceneimport-plugin,
66-
#sid buster bionic cosmic# qt3d-defaultgeometryloader-plugin,
67-
#sid buster bionic cosmic# qt3d-gltfsceneio-plugin,
68-
#sid buster bionic cosmic# qt3d-scene2d-plugin,
63+
qt3d5-dev,
64+
qt3d-assimpsceneimport-plugin,
65+
qt3d-defaultgeometryloader-plugin,
66+
qt3d-gltfsceneio-plugin,
67+
qt3d-scene2d-plugin,
6968
qt5keychain-dev,
7069
qtbase5-dev,
71-
#!xenial# qtbase5-private-dev,
70+
qtbase5-private-dev,
7271
qtpositioning5-dev,
7372
qttools5-dev-tools,
7473
qttools5-dev,
@@ -90,7 +89,7 @@ Build-Depends:
9089
Build-Conflicts:
9190
libqgis-dev,
9291
qgis-dev
93-
#sid buster stretch xenial bionic cosmic#Standards-Version: 3.9.7
92+
Standards-Version: 3.9.7
9493
Vcs-Browser: https://github.com/qgis/QGIS/
9594
Vcs-Git: https://github.com/qgis/QGIS.git
9695
Homepage: https://qgis.org/
@@ -104,7 +103,6 @@ Depends:
104103
qgis-providers (= ${binary:Version}),
105104
qgis-common (= ${source:Version})
106105
Recommends:
107-
#globe# qgis-plugin-globe,
108106
qgis-plugin-grass
109107
Suggests: gpsbabel
110108
Conflicts: uim-qt3
@@ -122,7 +120,7 @@ Architecture: all
122120
Depends:
123121
libjs-jquery,
124122
libjs-leaflet,
125-
#sid buster bionic cosmic# qml-module-qtcharts,
123+
qml-module-qtcharts,
126124
${misc:Depends}
127125
Description: QGIS - architecture-independent data
128126
QGIS is a Geographic Information System (GIS) which manages, analyzes and
@@ -131,22 +129,22 @@ Description: QGIS - architecture-independent data
131129
This package contains architecture-independent supporting data files for use
132130
with QGIS.
133131

134-
#sid buster bionic cosmic#Package: libqgis-3d{QGIS_ABI}
135-
#sid buster bionic cosmic#Architecture: any
136-
#sid buster bionic cosmic#Section: libs
137-
#sid buster bionic cosmic#Depends:
138-
#sid buster bionic cosmic# qt3d-assimpsceneimport-plugin,
139-
#sid buster bionic cosmic# qt3d-defaultgeometryloader-plugin,
140-
#sid buster bionic cosmic# qt3d-gltfsceneio-plugin,
141-
#sid buster bionic cosmic# qt3d-scene2d-plugin,
142-
#sid buster bionic cosmic# ${shlibs:Depends},
143-
#sid buster bionic cosmic# ${misc:Depends}
144-
#sid buster bionic cosmic#Description: QGIS - shared 3d library
145-
#sid buster bionic cosmic# QGIS is a Geographic Information System (GIS) which manages, analyzes and
146-
#sid buster bionic cosmic# display databases of geographic information.
147-
#sid buster bionic cosmic# .
148-
#sid buster bionic cosmic# This package contains the shared 3d library.
149-
#sid buster bionic cosmic#
132+
Package: libqgis-3d{QGIS_ABI}
133+
Architecture: any
134+
Section: libs
135+
Depends:
136+
qt3d-assimpsceneimport-plugin,
137+
qt3d-defaultgeometryloader-plugin,
138+
qt3d-gltfsceneio-plugin,
139+
qt3d-scene2d-plugin,
140+
${shlibs:Depends},
141+
${misc:Depends}
142+
Description: QGIS - shared 3d library
143+
QGIS is a Geographic Information System (GIS) which manages, analyzes and
144+
display databases of geographic information.
145+
.
146+
This package contains the shared 3d library.
147+
150148
Package: libqgis-analysis{QGIS_ABI}
151149
Architecture: any
152150
Section: libs
@@ -266,11 +264,11 @@ Depends:
266264
libexpat1-dev,
267265
libgdal-dev (>= 1.11),
268266
libgeos-dev (>= 3.0.0),
269-
#sid buster stretch xenial bionic cosmic# libgsl-dev,
267+
libgsl-dev,
270268
libpq-dev,
271269
libproj-dev,
272270
libqca-qt5-2-dev,
273-
#sid buster bionic cosmic# libqgis-3d{QGIS_ABI} (= ${binary:Version}),
271+
libqgis-3d{QGIS_ABI} (= ${binary:Version}),
274272
libqgis-analysis{QGIS_ABI} (= ${binary:Version}),
275273
libqgis-app{QGIS_ABI} (= ${binary:Version}),
276274
libqgis-core{QGIS_ABI} (= ${binary:Version}),
@@ -308,7 +306,7 @@ Architecture: any
308306
Section: debug
309307
Priority: extra
310308
Depends:
311-
#sid buster bionic cosmic# libqgis-3d{QGIS_ABI} (= ${binary:Version}),
309+
libqgis-3d{QGIS_ABI} (= ${binary:Version}),
312310
libqgis-analysis{QGIS_ABI} (= ${binary:Version}),
313311
libqgis-app{QGIS_ABI} (= ${binary:Version}),
314312
libqgis-core{QGIS_ABI} (= ${binary:Version}),
@@ -366,32 +364,6 @@ Description: GRASS plugin for QGIS - architecture-independent data
366364
This package contains architecture-independent supporting data files for use
367365
with the QGIS GRASS plugin.
368366

369-
#globe#Package: qgis-plugin-globe
370-
#globe#Architecture: any
371-
#globe#Depends:
372-
#globe# qgis (= ${binary:Version}),
373-
#globe# qgis-plugin-globe-common (= ${source:Version}),
374-
#globe# openscenegraph-plugin-osgearth,
375-
#globe# ${shlibs:Depends},
376-
#globe# ${misc:Depends}
377-
#globe#Description: OSG globe plugin for QGIS
378-
#globe# QGIS is a Geographic Information System (GIS) which manages, analyzes and
379-
#globe# display databases of geographic information.
380-
#globe# .
381-
#globe# This plugin enables 3D viewing using OSG globe in the QGIS.
382-
#globe#
383-
#globe#Package: qgis-plugin-globe-common
384-
#globe#Architecture: all
385-
#globe#Depends:
386-
#globe# osgearth-data,
387-
#globe# ${misc:Depends}
388-
#globe#Description: OSG globe plugin for QGIS - architecture-independent data
389-
#globe# QGIS is a Geographic Information System (GIS) which manages, analyzes and
390-
#globe# display databases of geographic information.
391-
#globe# .
392-
#globe# This package contains architecture-independent supporting data files for use
393-
#globe# with the QGIS GLOBE plugin.
394-
#globe#
395367
Package: python3-qgis
396368
Architecture: any
397369
Section: python

debian/qgis-plugin-globe-common.install

Lines changed: 0 additions & 1 deletion
This file was deleted.

debian/qgis-plugin-globe-common.links

Lines changed: 0 additions & 1 deletion
This file was deleted.

debian/qgis-plugin-globe-common.lintian-overrides

Lines changed: 0 additions & 1 deletion
This file was deleted.

debian/qgis-plugin-globe.install

Lines changed: 0 additions & 1 deletion
This file was deleted.

debian/rules

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ endif
4040

4141
QT_PLUGINS_DIR = usr/lib/$(DEB_BUILD_MULTIARCH)/qt5/plugins
4242

43-
ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"stretch buster xenial bionic cosmic"))
43+
ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"buster bionic cosmic"))
4444
DISTRIBUTION := sid
4545
endif
4646

@@ -91,7 +91,8 @@ CMAKE_OPTS := \
9191
-DWITH_QWTPOLAR=FALSE \
9292
-DQT_PLUGINS_DIR=$(QT_PLUGINS_DIR) \
9393
-DPYTHON_LIBRARY=$(shell python3-config --ldflags | sed -e 's\#-L\(.*\) -L/usr/lib -l\([^ ]*\) .*$$\#\1/lib\2.so\#') \
94-
-DDOXYGEN_ON_DEMAND=TRUE
94+
-DDOXYGEN_ON_DEMAND=TRUE \
95+
-DWITH_QSPATIALITE=TRUE
9596

9697
ifneq ($(SHA),)
9798
CMAKE_OPTS += -DSHA=$(SHA)
@@ -104,15 +105,7 @@ ifeq ($(GRASSVER),7)
104105
-DGRASS_PREFIX7=/usr/lib/$(GRASS)
105106
endif
106107

107-
ifneq ($(DISTRIBUTION),xenial)
108-
CMAKE_OPTS += -DWITH_QSPATIALITE=TRUE
109-
endif
110-
111-
ifneq (,$(WITH_GLOBE))
112-
CMAKE_OPTS += -DWITH_GLOBE=TRUE
113-
endif
114-
115-
ifneq (,$(findstring $(DISTRIBUTION),"sid buster stretch"))
108+
ifneq (,$(findstring $(DISTRIBUTION),"sid buster"))
116109
CMAKE_OPTS += -DPOSTGRES_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libpq.so
117110
endif
118111

@@ -145,7 +138,7 @@ endif
145138
-DORACLE_INCLUDEDIR=$(ORACLE_INCLUDEDIR)
146139
endif
147140

148-
ifneq (,$(findstring $(DISTRIBUTION),"sid buster stretch"))
141+
ifneq (,$(findstring $(DISTRIBUTION),"sid buster"))
149142
CMAKE_OPTS += -DSPATIALINDEX_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libspatialindex.so
150143
endif
151144

@@ -195,10 +188,6 @@ endif
195188

196189
CONTROL_EXPRESSIONS = $(DISTRIBUTION) grass$(GRASSVER)
197190

198-
ifneq (,$(WITH_GLOBE))
199-
CONTROL_EXPRESSIONS += globe
200-
endif
201-
202191
ifneq (,$(WITH_ORACLE))
203192
CONTROL_EXPRESSIONS += oracle
204193
endif
@@ -287,9 +276,6 @@ override_dh_auto_install:
287276
-e 's#http://.*/leaflet.css#leaflet/leaflet.css#;s#http://.*/leaflet.js#leaflet/leaflet.js#;s#http://.*/jquery-.*.min.js#jquery-min.js#' \
288277
$(CURDIR)/debian/tmp/usr/share/qgis/doc/developersmap.html
289278

290-
# Use /usr/bin/python2.7 explicitly for Python Policy compliance
291-
perl -i -pe 's=#!/usr/bin/env python=#!/usr/bin/python2.7=;' $$(find debian/tmp -name "*.py")
292-
293279
# Don't include a copy of the world.tif also included in osgearth-data
294280
$(RM) $(CURDIR)/debian/tmp/usr/share/qgis/globe/world.tif
295281

0 commit comments

Comments
 (0)