mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
debian packaging:
* remove xenial & stretch support * remove globe plugin * always enable 3d
This commit is contained in:
parent
aeec6dfa8e
commit
206cc96014
2
debian/control
vendored
2
debian/control
vendored
@ -18,7 +18,6 @@ Build-Depends:
|
|||||||
libgdal-dev (>= 1.11),
|
libgdal-dev (>= 1.11),
|
||||||
libgeos-dev (>= 3.0.0),
|
libgeos-dev (>= 3.0.0),
|
||||||
libgsl-dev,
|
libgsl-dev,
|
||||||
libosgearth-dev,
|
|
||||||
libpq-dev,
|
libpq-dev,
|
||||||
libproj-dev,
|
libproj-dev,
|
||||||
libqca-qt5-2-dev,
|
libqca-qt5-2-dev,
|
||||||
@ -233,7 +232,6 @@ Section: libs
|
|||||||
Depends:
|
Depends:
|
||||||
${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
Replaces: libqgis2.99.0
|
|
||||||
Description: QGIS - shared Python library
|
Description: QGIS - shared Python library
|
||||||
QGIS is a Geographic Information System (GIS) which manages, analyzes and
|
QGIS is a Geographic Information System (GIS) which manages, analyzes and
|
||||||
display databases of geographic information.
|
display databases of geographic information.
|
||||||
|
84
debian/control.in
vendored
84
debian/control.in
vendored
@ -17,8 +17,7 @@ Build-Depends:
|
|||||||
libfcgi-dev,
|
libfcgi-dev,
|
||||||
libgdal-dev (>= 1.11),
|
libgdal-dev (>= 1.11),
|
||||||
libgeos-dev (>= 3.0.0),
|
libgeos-dev (>= 3.0.0),
|
||||||
#sid buster stretch xenial bionic cosmic# libgsl-dev,
|
libgsl-dev,
|
||||||
#sid buster bionic cosmic# libosgearth-dev,
|
|
||||||
libpq-dev,
|
libpq-dev,
|
||||||
libproj-dev,
|
libproj-dev,
|
||||||
libqca-qt5-2-dev,
|
libqca-qt5-2-dev,
|
||||||
@ -61,14 +60,14 @@ Build-Depends:
|
|||||||
python3-sip,
|
python3-sip,
|
||||||
python3-termcolor,
|
python3-termcolor,
|
||||||
python3-yaml,
|
python3-yaml,
|
||||||
#sid buster bionic cosmic# qt3d5-dev,
|
qt3d5-dev,
|
||||||
#sid buster bionic cosmic# qt3d-assimpsceneimport-plugin,
|
qt3d-assimpsceneimport-plugin,
|
||||||
#sid buster bionic cosmic# qt3d-defaultgeometryloader-plugin,
|
qt3d-defaultgeometryloader-plugin,
|
||||||
#sid buster bionic cosmic# qt3d-gltfsceneio-plugin,
|
qt3d-gltfsceneio-plugin,
|
||||||
#sid buster bionic cosmic# qt3d-scene2d-plugin,
|
qt3d-scene2d-plugin,
|
||||||
qt5keychain-dev,
|
qt5keychain-dev,
|
||||||
qtbase5-dev,
|
qtbase5-dev,
|
||||||
#!xenial# qtbase5-private-dev,
|
qtbase5-private-dev,
|
||||||
qtpositioning5-dev,
|
qtpositioning5-dev,
|
||||||
qttools5-dev-tools,
|
qttools5-dev-tools,
|
||||||
qttools5-dev,
|
qttools5-dev,
|
||||||
@ -90,7 +89,7 @@ Build-Depends:
|
|||||||
Build-Conflicts:
|
Build-Conflicts:
|
||||||
libqgis-dev,
|
libqgis-dev,
|
||||||
qgis-dev
|
qgis-dev
|
||||||
#sid buster stretch xenial bionic cosmic#Standards-Version: 3.9.7
|
Standards-Version: 3.9.7
|
||||||
Vcs-Browser: https://github.com/qgis/QGIS/
|
Vcs-Browser: https://github.com/qgis/QGIS/
|
||||||
Vcs-Git: https://github.com/qgis/QGIS.git
|
Vcs-Git: https://github.com/qgis/QGIS.git
|
||||||
Homepage: https://qgis.org/
|
Homepage: https://qgis.org/
|
||||||
@ -104,7 +103,6 @@ Depends:
|
|||||||
qgis-providers (= ${binary:Version}),
|
qgis-providers (= ${binary:Version}),
|
||||||
qgis-common (= ${source:Version})
|
qgis-common (= ${source:Version})
|
||||||
Recommends:
|
Recommends:
|
||||||
#globe# qgis-plugin-globe,
|
|
||||||
qgis-plugin-grass
|
qgis-plugin-grass
|
||||||
Suggests: gpsbabel
|
Suggests: gpsbabel
|
||||||
Conflicts: uim-qt3
|
Conflicts: uim-qt3
|
||||||
@ -122,7 +120,7 @@ Architecture: all
|
|||||||
Depends:
|
Depends:
|
||||||
libjs-jquery,
|
libjs-jquery,
|
||||||
libjs-leaflet,
|
libjs-leaflet,
|
||||||
#sid buster bionic cosmic# qml-module-qtcharts,
|
qml-module-qtcharts,
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
Description: QGIS - architecture-independent data
|
Description: QGIS - architecture-independent data
|
||||||
QGIS is a Geographic Information System (GIS) which manages, analyzes and
|
QGIS is a Geographic Information System (GIS) which manages, analyzes and
|
||||||
@ -131,22 +129,22 @@ Description: QGIS - architecture-independent data
|
|||||||
This package contains architecture-independent supporting data files for use
|
This package contains architecture-independent supporting data files for use
|
||||||
with QGIS.
|
with QGIS.
|
||||||
|
|
||||||
#sid buster bionic cosmic#Package: libqgis-3d{QGIS_ABI}
|
Package: libqgis-3d{QGIS_ABI}
|
||||||
#sid buster bionic cosmic#Architecture: any
|
Architecture: any
|
||||||
#sid buster bionic cosmic#Section: libs
|
Section: libs
|
||||||
#sid buster bionic cosmic#Depends:
|
Depends:
|
||||||
#sid buster bionic cosmic# qt3d-assimpsceneimport-plugin,
|
qt3d-assimpsceneimport-plugin,
|
||||||
#sid buster bionic cosmic# qt3d-defaultgeometryloader-plugin,
|
qt3d-defaultgeometryloader-plugin,
|
||||||
#sid buster bionic cosmic# qt3d-gltfsceneio-plugin,
|
qt3d-gltfsceneio-plugin,
|
||||||
#sid buster bionic cosmic# qt3d-scene2d-plugin,
|
qt3d-scene2d-plugin,
|
||||||
#sid buster bionic cosmic# ${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
#sid buster bionic cosmic# ${misc:Depends}
|
${misc:Depends}
|
||||||
#sid buster bionic cosmic#Description: QGIS - shared 3d library
|
Description: QGIS - shared 3d library
|
||||||
#sid buster bionic cosmic# QGIS is a Geographic Information System (GIS) which manages, analyzes and
|
QGIS is a Geographic Information System (GIS) which manages, analyzes and
|
||||||
#sid buster bionic cosmic# display databases of geographic information.
|
display databases of geographic information.
|
||||||
#sid buster bionic cosmic# .
|
.
|
||||||
#sid buster bionic cosmic# This package contains the shared 3d library.
|
This package contains the shared 3d library.
|
||||||
#sid buster bionic cosmic#
|
|
||||||
Package: libqgis-analysis{QGIS_ABI}
|
Package: libqgis-analysis{QGIS_ABI}
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Section: libs
|
Section: libs
|
||||||
@ -266,11 +264,11 @@ Depends:
|
|||||||
libexpat1-dev,
|
libexpat1-dev,
|
||||||
libgdal-dev (>= 1.11),
|
libgdal-dev (>= 1.11),
|
||||||
libgeos-dev (>= 3.0.0),
|
libgeos-dev (>= 3.0.0),
|
||||||
#sid buster stretch xenial bionic cosmic# libgsl-dev,
|
libgsl-dev,
|
||||||
libpq-dev,
|
libpq-dev,
|
||||||
libproj-dev,
|
libproj-dev,
|
||||||
libqca-qt5-2-dev,
|
libqca-qt5-2-dev,
|
||||||
#sid buster bionic cosmic# libqgis-3d{QGIS_ABI} (= ${binary:Version}),
|
libqgis-3d{QGIS_ABI} (= ${binary:Version}),
|
||||||
libqgis-analysis{QGIS_ABI} (= ${binary:Version}),
|
libqgis-analysis{QGIS_ABI} (= ${binary:Version}),
|
||||||
libqgis-app{QGIS_ABI} (= ${binary:Version}),
|
libqgis-app{QGIS_ABI} (= ${binary:Version}),
|
||||||
libqgis-core{QGIS_ABI} (= ${binary:Version}),
|
libqgis-core{QGIS_ABI} (= ${binary:Version}),
|
||||||
@ -308,7 +306,7 @@ Architecture: any
|
|||||||
Section: debug
|
Section: debug
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Depends:
|
Depends:
|
||||||
#sid buster bionic cosmic# libqgis-3d{QGIS_ABI} (= ${binary:Version}),
|
libqgis-3d{QGIS_ABI} (= ${binary:Version}),
|
||||||
libqgis-analysis{QGIS_ABI} (= ${binary:Version}),
|
libqgis-analysis{QGIS_ABI} (= ${binary:Version}),
|
||||||
libqgis-app{QGIS_ABI} (= ${binary:Version}),
|
libqgis-app{QGIS_ABI} (= ${binary:Version}),
|
||||||
libqgis-core{QGIS_ABI} (= ${binary:Version}),
|
libqgis-core{QGIS_ABI} (= ${binary:Version}),
|
||||||
@ -366,32 +364,6 @@ Description: GRASS plugin for QGIS - architecture-independent data
|
|||||||
This package contains architecture-independent supporting data files for use
|
This package contains architecture-independent supporting data files for use
|
||||||
with the QGIS GRASS plugin.
|
with the QGIS GRASS plugin.
|
||||||
|
|
||||||
#globe#Package: qgis-plugin-globe
|
|
||||||
#globe#Architecture: any
|
|
||||||
#globe#Depends:
|
|
||||||
#globe# qgis (= ${binary:Version}),
|
|
||||||
#globe# qgis-plugin-globe-common (= ${source:Version}),
|
|
||||||
#globe# openscenegraph-plugin-osgearth,
|
|
||||||
#globe# ${shlibs:Depends},
|
|
||||||
#globe# ${misc:Depends}
|
|
||||||
#globe#Description: OSG globe plugin for QGIS
|
|
||||||
#globe# QGIS is a Geographic Information System (GIS) which manages, analyzes and
|
|
||||||
#globe# display databases of geographic information.
|
|
||||||
#globe# .
|
|
||||||
#globe# This plugin enables 3D viewing using OSG globe in the QGIS.
|
|
||||||
#globe#
|
|
||||||
#globe#Package: qgis-plugin-globe-common
|
|
||||||
#globe#Architecture: all
|
|
||||||
#globe#Depends:
|
|
||||||
#globe# osgearth-data,
|
|
||||||
#globe# ${misc:Depends}
|
|
||||||
#globe#Description: OSG globe plugin for QGIS - architecture-independent data
|
|
||||||
#globe# QGIS is a Geographic Information System (GIS) which manages, analyzes and
|
|
||||||
#globe# display databases of geographic information.
|
|
||||||
#globe# .
|
|
||||||
#globe# This package contains architecture-independent supporting data files for use
|
|
||||||
#globe# with the QGIS GLOBE plugin.
|
|
||||||
#globe#
|
|
||||||
Package: python3-qgis
|
Package: python3-qgis
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Section: python
|
Section: python
|
||||||
|
1
debian/qgis-plugin-globe-common.install
vendored
1
debian/qgis-plugin-globe-common.install
vendored
@ -1 +0,0 @@
|
|||||||
usr/share/qgis/globe
|
|
1
debian/qgis-plugin-globe-common.links
vendored
1
debian/qgis-plugin-globe-common.links
vendored
@ -1 +0,0 @@
|
|||||||
usr/share/osgearth/data/world.tif usr/share/qgis/globe/world.tif
|
|
@ -1 +0,0 @@
|
|||||||
package-contains-broken-symlink usr/share/qgis/globe/world.tif ../../osgearth/data/world.tif
|
|
1
debian/qgis-plugin-globe.install
vendored
1
debian/qgis-plugin-globe.install
vendored
@ -1 +0,0 @@
|
|||||||
usr/lib/qgis/plugins/libglobeplugin.so
|
|
24
debian/rules
vendored
24
debian/rules
vendored
@ -40,7 +40,7 @@ endif
|
|||||||
|
|
||||||
QT_PLUGINS_DIR = usr/lib/$(DEB_BUILD_MULTIARCH)/qt5/plugins
|
QT_PLUGINS_DIR = usr/lib/$(DEB_BUILD_MULTIARCH)/qt5/plugins
|
||||||
|
|
||||||
ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"stretch buster xenial bionic cosmic"))
|
ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"buster bionic cosmic"))
|
||||||
DISTRIBUTION := sid
|
DISTRIBUTION := sid
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -91,7 +91,8 @@ CMAKE_OPTS := \
|
|||||||
-DWITH_QWTPOLAR=FALSE \
|
-DWITH_QWTPOLAR=FALSE \
|
||||||
-DQT_PLUGINS_DIR=$(QT_PLUGINS_DIR) \
|
-DQT_PLUGINS_DIR=$(QT_PLUGINS_DIR) \
|
||||||
-DPYTHON_LIBRARY=$(shell python3-config --ldflags | sed -e 's\#-L\(.*\) -L/usr/lib -l\([^ ]*\) .*$$\#\1/lib\2.so\#') \
|
-DPYTHON_LIBRARY=$(shell python3-config --ldflags | sed -e 's\#-L\(.*\) -L/usr/lib -l\([^ ]*\) .*$$\#\1/lib\2.so\#') \
|
||||||
-DDOXYGEN_ON_DEMAND=TRUE
|
-DDOXYGEN_ON_DEMAND=TRUE \
|
||||||
|
-DWITH_QSPATIALITE=TRUE
|
||||||
|
|
||||||
ifneq ($(SHA),)
|
ifneq ($(SHA),)
|
||||||
CMAKE_OPTS += -DSHA=$(SHA)
|
CMAKE_OPTS += -DSHA=$(SHA)
|
||||||
@ -104,15 +105,7 @@ ifeq ($(GRASSVER),7)
|
|||||||
-DGRASS_PREFIX7=/usr/lib/$(GRASS)
|
-DGRASS_PREFIX7=/usr/lib/$(GRASS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(DISTRIBUTION),xenial)
|
ifneq (,$(findstring $(DISTRIBUTION),"sid buster"))
|
||||||
CMAKE_OPTS += -DWITH_QSPATIALITE=TRUE
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(WITH_GLOBE))
|
|
||||||
CMAKE_OPTS += -DWITH_GLOBE=TRUE
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(findstring $(DISTRIBUTION),"sid buster 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
|
||||||
|
|
||||||
@ -145,7 +138,7 @@ endif
|
|||||||
-DORACLE_INCLUDEDIR=$(ORACLE_INCLUDEDIR)
|
-DORACLE_INCLUDEDIR=$(ORACLE_INCLUDEDIR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(findstring $(DISTRIBUTION),"sid buster stretch"))
|
ifneq (,$(findstring $(DISTRIBUTION),"sid buster"))
|
||||||
CMAKE_OPTS += -DSPATIALINDEX_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libspatialindex.so
|
CMAKE_OPTS += -DSPATIALINDEX_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libspatialindex.so
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -195,10 +188,6 @@ endif
|
|||||||
|
|
||||||
CONTROL_EXPRESSIONS = $(DISTRIBUTION) grass$(GRASSVER)
|
CONTROL_EXPRESSIONS = $(DISTRIBUTION) grass$(GRASSVER)
|
||||||
|
|
||||||
ifneq (,$(WITH_GLOBE))
|
|
||||||
CONTROL_EXPRESSIONS += globe
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(WITH_ORACLE))
|
ifneq (,$(WITH_ORACLE))
|
||||||
CONTROL_EXPRESSIONS += oracle
|
CONTROL_EXPRESSIONS += oracle
|
||||||
endif
|
endif
|
||||||
@ -287,9 +276,6 @@ override_dh_auto_install:
|
|||||||
-e 's#http://.*/leaflet.css#leaflet/leaflet.css#;s#http://.*/leaflet.js#leaflet/leaflet.js#;s#http://.*/jquery-.*.min.js#jquery-min.js#' \
|
-e 's#http://.*/leaflet.css#leaflet/leaflet.css#;s#http://.*/leaflet.js#leaflet/leaflet.js#;s#http://.*/jquery-.*.min.js#jquery-min.js#' \
|
||||||
$(CURDIR)/debian/tmp/usr/share/qgis/doc/developersmap.html
|
$(CURDIR)/debian/tmp/usr/share/qgis/doc/developersmap.html
|
||||||
|
|
||||||
# Use /usr/bin/python2.7 explicitly for Python Policy compliance
|
|
||||||
perl -i -pe 's=#!/usr/bin/env python=#!/usr/bin/python2.7=;' $$(find debian/tmp -name "*.py")
|
|
||||||
|
|
||||||
# Don't include a copy of the world.tif also included in osgearth-data
|
# Don't include a copy of the world.tif also included in osgearth-data
|
||||||
$(RM) $(CURDIR)/debian/tmp/usr/share/qgis/globe/world.tif
|
$(RM) $(CURDIR)/debian/tmp/usr/share/qgis/globe/world.tif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user