Skip to content
Permalink
Browse files

debian packaging: add ubuntu disco

  • Loading branch information
jef-n committed Apr 15, 2019
1 parent 568260c commit 96cc4eb992aa73c3b4da3596d86d611a94d92c5c
Showing with 50 additions and 44 deletions.
  1. +5 −4 INSTALL
  2. +29 −29 debian/control.in
  3. +1 −1 debian/libqgis-dev.install.in
  4. +2 −2 debian/python3-qgis.install.in
  5. +3 −3 debian/rules
  6. +8 −4 doc/INSTALL.html
  7. +2 −1 doc/linux.t2t
@@ -1,10 +1,10 @@
QGIS
Building QGIS from source - step by step
Sunday March 24, 2019
Monday April 15, 2019


Last Updated: Sunday March 24, 2019
Last Change : Sunday March 24, 2019
Last Updated: Monday April 15, 2019
Last Change : Monday April 15, 2019


1. Introduction
@@ -180,11 +180,12 @@ Now update your local sources database:
===============================

|| Distribution | install command for packages |
| stretch | ``apt-get install bison ca-certificates ccache cmake cmake-curses-gui dh-python doxygen expect flex gdal-bin git graphviz grass-dev libexpat1-dev libfcgi-dev libgdal-dev libgeos-dev libgsl-dev libpq-dev libproj-dev libqca-qt5-2-dev libqca-qt5-2-plugins libqscintilla2-qt5-dev libqt5opengl5-dev libqt5serialport5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5webkit5-dev libqt5xmlpatterns5-dev libqwt-qt5-dev libspatialindex-dev libspatialite-dev libsqlite3-dev libsqlite3-mod-spatialite libyaml-tiny-perl libzip-dev lighttpd locales ninja-build ocl-icd-opencl-dev opencl-headers pkg-config poppler-utils pyqt5-dev pyqt5-dev-tools pyqt5.qsci-dev python3-all-dev python3-autopep8 python3-dateutil python3-dev python3-future python3-gdal python3-httplib2 python3-jinja2 python3-markupsafe python3-mock python3-nose2 python3-owslib python3-plotly python3-psycopg2 python3-pygments python3-pyproj python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-requests python3-sip python3-sip-dev python3-six python3-termcolor python3-tz python3-yaml qt5-default qt5keychain-dev qtbase5-dev qtbase5-private-dev qtpositioning5-dev qttools5-dev qttools5-dev-tools saga spawn-fcgi txt2tags xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb`` |
| stretch | ``apt-get install bison ca-certificates ccache cmake cmake-curses-gui dh-python doxygen expect flex gdal-bin git graphviz grass-dev libexpat1-dev libfcgi-dev libgdal-dev libgeos-dev libgsl-dev libpq-dev libproj-dev libqca-qt5-2-dev libqca-qt5-2-plugins libqt5opengl5-dev libqt5scintilla2-dev libqt5serialport5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5webkit5-dev libqt5xmlpatterns5-dev libqwt-qt5-dev libspatialindex-dev libspatialite-dev libsqlite3-dev libsqlite3-mod-spatialite libyaml-tiny-perl libzip-dev lighttpd locales ninja-build ocl-icd-opencl-dev opencl-headers pkg-config poppler-utils pyqt5-dev pyqt5-dev-tools pyqt5.qsci-dev python3-all-dev python3-autopep8 python3-dateutil python3-dev python3-future python3-gdal python3-httplib2 python3-jinja2 python3-markupsafe python3-mock python3-nose2 python3-owslib python3-plotly python3-psycopg2 python3-pygments python3-pyproj python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-requests python3-sip python3-sip-dev python3-six python3-termcolor python3-tz python3-yaml qt5-default qt5keychain-dev qtbase5-dev qtbase5-private-dev qtpositioning5-dev qttools5-dev qttools5-dev-tools saga spawn-fcgi txt2tags xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb`` |
| buster | ``apt-get install bison ca-certificates ccache cmake cmake-curses-gui dh-python doxygen expect flex gdal-bin git graphviz grass-dev libexpat1-dev libfcgi-dev libgdal-dev libgeos-dev libgsl-dev libosgearth-dev libpq-dev libproj-dev libqca-qt5-2-dev libqca-qt5-2-plugins libqscintilla2-qt5-dev libqt5opengl5-dev libqt5serialport5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5webkit5-dev libqt5xmlpatterns5-dev libqwt-qt5-dev libspatialindex-dev libspatialite-dev libsqlite3-dev libsqlite3-mod-spatialite libyaml-tiny-perl libzip-dev lighttpd locales ninja-build ocl-icd-opencl-dev opencl-headers pkg-config poppler-utils pyqt5-dev pyqt5-dev-tools pyqt5.qsci-dev python3-all-dev python3-autopep8 python3-dateutil python3-dev python3-future python3-gdal python3-httplib2 python3-jinja2 python3-markupsafe python3-mock python3-nose2 python3-owslib python3-plotly python3-psycopg2 python3-pygments python3-pyproj python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-requests python3-sip python3-sip-dev python3-six python3-termcolor python3-tz python3-yaml qt3d-assimpsceneimport-plugin qt3d-defaultgeometryloader-plugin qt3d-gltfsceneio-plugin qt3d-scene2d-plugin qt3d5-dev qt5-default qt5keychain-dev qtbase5-dev qtbase5-private-dev qtpositioning5-dev qttools5-dev qttools5-dev-tools saga spawn-fcgi txt2tags xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb`` |
| xenial | ``apt-get install bison ca-certificates ccache cmake cmake-curses-gui dh-python doxygen expect flex gdal-bin git graphviz grass-dev libexpat1-dev libfcgi-dev libgdal-dev libgeos-dev libgsl-dev libpq-dev libproj-dev libqca-qt5-2-dev libqca-qt5-2-plugins libqt5opengl5-dev libqt5scintilla2-dev libqt5serialport5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5webkit5-dev libqt5xmlpatterns5-dev libqwt-qt5-dev libspatialindex-dev libspatialite-dev libsqlite3-dev libsqlite3-mod-spatialite libyaml-tiny-perl libzip-dev lighttpd locales ninja-build ocl-icd-opencl-dev opencl-headers pkg-config poppler-utils pyqt5-dev pyqt5-dev-tools pyqt5.qsci-dev python3-all-dev python3-autopep8 python3-dateutil python3-dev python3-future python3-gdal python3-httplib2 python3-jinja2 python3-markupsafe python3-mock python3-nose2 python3-owslib python3-plotly python3-psycopg2 python3-pygments python3-pyproj python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-requests python3-sip python3-sip-dev python3-six python3-termcolor python3-tz python3-yaml qt5-default qt5keychain-dev qtbase5-dev qtpositioning5-dev qttools5-dev qttools5-dev-tools saga spawn-fcgi txt2tags xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb`` |
| bionic | ``apt-get install bison ca-certificates ccache cmake cmake-curses-gui dh-python doxygen expect flex gdal-bin git graphviz grass-dev libexpat1-dev libfcgi-dev libgdal-dev libgeos-dev libgsl-dev libosgearth-dev libpq-dev libproj-dev libqca-qt5-2-dev libqca-qt5-2-plugins libqscintilla2-qt5-dev libqt5opengl5-dev libqt5serialport5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5webkit5-dev libqt5xmlpatterns5-dev libqwt-qt5-dev libspatialindex-dev libspatialite-dev libsqlite3-dev libsqlite3-mod-spatialite libyaml-tiny-perl libzip-dev lighttpd locales ninja-build ocl-icd-opencl-dev opencl-headers pkg-config poppler-utils pyqt5-dev pyqt5-dev-tools pyqt5.qsci-dev python3-all-dev python3-autopep8 python3-dateutil python3-dev python3-future python3-gdal python3-httplib2 python3-jinja2 python3-markupsafe python3-mock python3-nose2 python3-owslib python3-plotly python3-psycopg2 python3-pygments python3-pyproj python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-requests python3-sip python3-sip-dev python3-six python3-termcolor python3-tz python3-yaml qt3d-assimpsceneimport-plugin qt3d-defaultgeometryloader-plugin qt3d-gltfsceneio-plugin qt3d-scene2d-plugin qt3d5-dev qt5-default qt5keychain-dev qtbase5-dev qtbase5-private-dev qtpositioning5-dev qttools5-dev qttools5-dev-tools saga spawn-fcgi txt2tags xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb`` |
| cosmic | ``apt-get install bison ca-certificates ccache cmake cmake-curses-gui dh-python doxygen expect flex gdal-bin git graphviz grass-dev libexpat1-dev libfcgi-dev libgdal-dev libgeos-dev libgsl-dev libosgearth-dev libpq-dev libproj-dev libqca-qt5-2-dev libqca-qt5-2-plugins libqscintilla2-qt5-dev libqt5opengl5-dev libqt5serialport5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5webkit5-dev libqt5xmlpatterns5-dev libqwt-qt5-dev libspatialindex-dev libspatialite-dev libsqlite3-dev libsqlite3-mod-spatialite libyaml-tiny-perl libzip-dev lighttpd locales ninja-build ocl-icd-opencl-dev opencl-headers pkg-config poppler-utils pyqt5-dev pyqt5-dev-tools pyqt5.qsci-dev python3-all-dev python3-autopep8 python3-dateutil python3-dev python3-future python3-gdal python3-httplib2 python3-jinja2 python3-markupsafe python3-mock python3-nose2 python3-owslib python3-plotly python3-psycopg2 python3-pygments python3-pyproj python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-requests python3-sip python3-sip-dev python3-six python3-termcolor python3-tz python3-yaml qt3d-assimpsceneimport-plugin qt3d-defaultgeometryloader-plugin qt3d-gltfsceneio-plugin qt3d-scene2d-plugin qt3d5-dev qt5-default qt5keychain-dev qtbase5-dev qtbase5-private-dev qtpositioning5-dev qttools5-dev qttools5-dev-tools saga spawn-fcgi txt2tags xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb`` |
| disco | ``apt-get install bison ca-certificates ccache cmake cmake-curses-gui dh-python doxygen expect flex gdal-bin git graphviz grass-dev libexpat1-dev libfcgi-dev libgdal-dev libgeos-dev libgsl-dev libosgearth-dev libpq-dev libproj-dev libqca-qt5-2-dev libqca-qt5-2-plugins libqscintilla2-qt5-dev libqt5opengl5-dev libqt5serialport5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5webkit5-dev libqt5xmlpatterns5-dev libqwt-qt5-dev libspatialindex-dev libspatialite-dev libsqlite3-dev libsqlite3-mod-spatialite libyaml-tiny-perl libzip-dev lighttpd locales ninja-build ocl-icd-opencl-dev opencl-headers pkg-config poppler-utils pyqt5-dev pyqt5-dev-tools pyqt5.qsci-dev python3-all-dev python3-autopep8 python3-dateutil python3-dev python3-future python3-gdal python3-httplib2 python3-jinja2 python3-markupsafe python3-mock python3-nose2 python3-owslib python3-plotly python3-psycopg2 python3-pygments python3-pyproj python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-requests python3-sip python3-sip-dev python3-six python3-termcolor python3-tz python3-yaml qt3d-assimpsceneimport-plugin qt3d-defaultgeometryloader-plugin qt3d-gltfsceneio-plugin qt3d-scene2d-plugin qt3d5-dev qt5-default qt5keychain-dev qtbase5-dev qtbase5-private-dev qtpositioning5-dev qttools5-dev qttools5-dev-tools saga spawn-fcgi txt2tags xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb`` |
| sid | ``apt-get install bison ca-certificates ccache cmake cmake-curses-gui dh-python doxygen expect flex gdal-bin git graphviz grass-dev libexpat1-dev libfcgi-dev libgdal-dev libgeos-dev libgsl-dev libosgearth-dev libpq-dev libproj-dev libqca-qt5-2-dev libqca-qt5-2-plugins libqscintilla2-qt5-dev libqt5opengl5-dev libqt5serialport5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5webkit5-dev libqt5xmlpatterns5-dev libqwt-qt5-dev libspatialindex-dev libspatialite-dev libsqlite3-dev libsqlite3-mod-spatialite libyaml-tiny-perl libzip-dev lighttpd locales ninja-build ocl-icd-opencl-dev opencl-headers pkg-config poppler-utils pyqt5-dev pyqt5-dev-tools pyqt5.qsci-dev python3-all-dev python3-autopep8 python3-dateutil python3-dev python3-future python3-gdal python3-httplib2 python3-jinja2 python3-markupsafe python3-mock python3-nose2 python3-owslib python3-plotly python3-psycopg2 python3-pygments python3-pyproj python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsql python3-pyqt5.qtsvg python3-pyqt5.qtwebkit python3-requests python3-sip python3-sip-dev python3-six python3-termcolor python3-tz python3-yaml qt3d-assimpsceneimport-plugin qt3d-defaultgeometryloader-plugin qt3d-gltfsceneio-plugin qt3d-scene2d-plugin qt3d5-dev qt5-default qt5keychain-dev qtbase5-dev qtbase5-private-dev qtpositioning5-dev qttools5-dev qttools5-dev-tools saga spawn-fcgi txt2tags xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb`` |

(extracted from the control.in file in debian/)
@@ -17,13 +17,13 @@ Build-Depends:
libgdal-dev (>= 1.11),
libgeos-dev (>= 3.0.0),
libgsl-dev,
#sid buster bionic cosmic# libosgearth-dev,
#sid buster bionic cosmic disco# libosgearth-dev,
libpq-dev,
libproj-dev,
libqca-qt5-2-dev,
libqca-qt5-2-plugins,
#sid buster bionic cosmic# libqscintilla2-qt5-dev,
# stretch xenial # libqt5scintilla2-dev,
#sid buster bionic cosmic disco# libqscintilla2-qt5-dev,
# stretch xenial # libqt5scintilla2-dev,
libqt5opengl5-dev,
libqt5serialport5-dev,
libqt5sql5-sqlite,
@@ -61,11 +61,11 @@ Build-Depends:
python3-sip,
python3-termcolor,
python3-yaml,
#sid buster bionic cosmic# qt3d5-dev,
#sid buster bionic cosmic# qt3d-assimpsceneimport-plugin,
#sid buster bionic cosmic# qt3d-defaultgeometryloader-plugin,
#sid buster bionic cosmic# qt3d-gltfsceneio-plugin,
#sid buster bionic cosmic# qt3d-scene2d-plugin,
#sid buster bionic cosmic disco# qt3d5-dev,
#sid buster bionic cosmic disco# qt3d-assimpsceneimport-plugin,
#sid buster bionic cosmic disco# qt3d-defaultgeometryloader-plugin,
#sid buster bionic cosmic disco# qt3d-gltfsceneio-plugin,
#sid buster bionic cosmic disco# qt3d-scene2d-plugin,
qt5keychain-dev,
qtbase5-dev,
#!xenial# qtbase5-private-dev,
@@ -122,7 +122,7 @@ Architecture: all
Depends:
libjs-jquery,
libjs-leaflet,
#sid buster bionic cosmic# qml-module-qtcharts,
#sid buster bionic cosmic disco# qml-module-qtcharts,
${misc:Depends}
Description: QGIS - architecture-independent data
QGIS is a Geographic Information System (GIS) which manages, analyzes and
@@ -131,22 +131,22 @@ Description: QGIS - architecture-independent data
This package contains architecture-independent supporting data files for use
with QGIS.

#sid buster bionic cosmic#Package: libqgis-3d{QGIS_ABI}
#sid buster bionic cosmic#Architecture: any
#sid buster bionic cosmic#Section: libs
#sid buster bionic cosmic#Depends:
#sid buster bionic cosmic# qt3d-assimpsceneimport-plugin,
#sid buster bionic cosmic# qt3d-defaultgeometryloader-plugin,
#sid buster bionic cosmic# qt3d-gltfsceneio-plugin,
#sid buster bionic cosmic# qt3d-scene2d-plugin,
#sid buster bionic cosmic# ${shlibs:Depends},
#sid buster bionic cosmic# ${misc:Depends}
#sid buster bionic cosmic#Description: QGIS - shared 3d library
#sid buster bionic cosmic# QGIS is a Geographic Information System (GIS) which manages, analyzes and
#sid buster bionic cosmic# display databases of geographic information.
#sid buster bionic cosmic# .
#sid buster bionic cosmic# This package contains the shared 3d library.
#sid buster bionic cosmic#
#sid buster bionic cosmic disco#Package: libqgis-3d{QGIS_ABI}
#sid buster bionic cosmic disco#Architecture: any
#sid buster bionic cosmic disco#Section: libs
#sid buster bionic cosmic disco#Depends:
#sid buster bionic cosmic disco# qt3d-assimpsceneimport-plugin,
#sid buster bionic cosmic disco# qt3d-defaultgeometryloader-plugin,
#sid buster bionic cosmic disco# qt3d-gltfsceneio-plugin,
#sid buster bionic cosmic disco# qt3d-scene2d-plugin,
#sid buster bionic cosmic disco# ${shlibs:Depends},
#sid buster bionic cosmic disco# ${misc:Depends}
#sid buster bionic cosmic disco#Description: QGIS - shared 3d library
#sid buster bionic cosmic disco# QGIS is a Geographic Information System (GIS) which manages, analyzes and
#sid buster bionic cosmic disco# display databases of geographic information.
#sid buster bionic cosmic disco# .
#sid buster bionic cosmic disco# This package contains the shared 3d library.
#sid buster bionic cosmic disco#
Package: libqgis-analysis{QGIS_ABI}
Architecture: any
Section: libs
@@ -277,9 +277,9 @@ Depends:
libqgis-server{QGIS_ABI} (= ${binary:Version}),
libqgisgrass{GRASSVER}-{QGIS_ABI} (= ${binary:Version}),
libqgispython{QGIS_ABI} (= ${binary:Version}),
#sid buster bionic cosmic# libqgis-3d{QGIS_ABI} (= ${binary:Version}),
#sid buster bionic cosmic# libqscintilla2-qt5-dev,
# stretch xenial # libqt5scintilla2-dev,
#sid buster bionic cosmic disco# libqgis-3d{QGIS_ABI} (= ${binary:Version}),
#sid buster bionic cosmic disco# libqscintilla2-qt5-dev,
# stretch xenial # libqt5scintilla2-dev,
libqt5svg5-dev,
libqt5webkit5-dev,
libqwt-qt5-dev,
@@ -308,7 +308,7 @@ Architecture: any
Section: debug
Priority: extra
Depends:
#sid buster bionic cosmic# libqgis-3d{QGIS_ABI} (= ${binary:Version}),
#sid buster bionic cosmic disco# libqgis-3d{QGIS_ABI} (= ${binary:Version}),
libqgis-analysis{QGIS_ABI} (= ${binary:Version}),
libqgis-app{QGIS_ABI} (= ${binary:Version}),
libqgis-core{QGIS_ABI} (= ${binary:Version}),
@@ -1,5 +1,5 @@
usr/include/qgis/*
#sid buster bionic cosmic#usr/lib/libqgis_3d.so
#sid buster bionic cosmic disco#usr/lib/libqgis_3d.so
usr/lib/libqgis_analysis.so
usr/lib/libqgis_app.so
usr/lib/libqgis_core.so
@@ -1,5 +1,5 @@
#sid buster bionic cosmic#usr/lib/python*/*-packages/qgis/3d/__init__.py
#sid buster bionic cosmic#usr/lib/python*/*-packages/qgis/_3d.so
#sid buster bionic cosmic disco#usr/lib/python*/*-packages/qgis/3d/__init__.py
#sid buster bionic cosmic disco#usr/lib/python*/*-packages/qgis/_3d.so
usr/lib/python*/*-packages/qgis/_analysis.so
usr/lib/python*/*-packages/qgis/_core.so
usr/lib/python*/*-packages/qgis/_gui.so
@@ -40,7 +40,7 @@ endif

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

ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"stretch buster xenial bionic cosmic"))
ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"stretch buster xenial bionic cosmic disco"))
DISTRIBUTION := sid
endif

@@ -115,12 +115,12 @@ ifneq (,$(findstring $(DISTRIBUTION),"sid buster stretch"))
CMAKE_OPTS += -DPOSTGRES_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libpq.so
endif

ifneq (,$(findstring $(DISTRIBUTION),"sid buster bionic cosmic"))
ifneq (,$(findstring $(DISTRIBUTION),"sid buster bionic cosmic disco"))
CMAKE_OPTS += \
-DWITH_3D=TRUE \
-DGEOS_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libgeos_c.so

ifneq (,$(findstring $(DISTRIBUTION),"sid buster cosmic"))
ifneq (,$(findstring $(DISTRIBUTION),"sid buster cosmic disco"))
# Qt3DExtras intentionally removed from debian (#895386) and in turn ubuntu
CMAKE_OPTS += \
-DCMAKE_PREFIX_PATH=$(realpath external/qt3dextra-headers/cmake) \

0 comments on commit 96cc4eb

Please sign in to comment.
You can’t perform that action at this time.