Skip to content

Commit

Permalink
debian packaging: add ubuntu cosmic
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 4, 2018
1 parent 47f6faa commit a80890c
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 54 deletions.
23 changes: 12 additions & 11 deletions INSTALL

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Build-Depends:
libexpat1-dev,
libfcgi-dev,
libgdal-dev (>= 1.11),
#sid buster stretch xenial yakkety zesty artful bionic# libgsl-dev,
#sid buster stretch xenial yakkety zesty artful bionic cosmic# libgsl-dev,
libgeos-dev (>= 3.0.0),
libpq-dev,
libproj-dev,
Expand All @@ -38,13 +38,13 @@ Build-Depends:
graphviz,
xvfb, xauth,
xfonts-base, xfonts-100dpi, xfonts-75dpi, xfonts-scalable,
#sid buster artful bionic# libosgearth-dev,
#artful bionic# qt3d5-dev, qt3d-assimpsceneimport-plugin, qt3d-defaultgeometryloader-plugin, qt3d-gltfsceneio-plugin, qt3d-scene2d-plugin,
#sid buster artful bionic cosmic# libosgearth-dev,
#artful bionic cosmic# qt3d5-dev, qt3d-assimpsceneimport-plugin, qt3d-defaultgeometryloader-plugin, qt3d-gltfsceneio-plugin, qt3d-scene2d-plugin,
#oracle# oracle-instantclient12.1-devel, oracle-instantclient12.1-basiclite, qtbase5-private-dev,
locales, ca-certificates, ninja-build
Build-Conflicts: libqgis-dev, qgis-dev
#sid buster stretch xenial yakkety zesty artful bionic#Standards-Version: 3.9.7
# xenial yakkety zesty artful bionic#XS-Python-Version: current
#sid buster stretch xenial yakkety zesty artful bionic cosmic#Standards-Version: 3.9.7
# xenial yakkety zesty artful bionic cosmic#XS-Python-Version: current
Vcs-Browser: https://github.com/qgis/QGIS/
Vcs-Git: https://github.com/qgis/QGIS.git
Homepage: http://qgis.org/
Expand Down Expand Up @@ -146,19 +146,19 @@ Description: QGIS - shared native gui library
.
This package contains the shared native gui library.

#artful bionic#Package: libqgis-3d{QGIS_ABI}
#artful bionic#Architecture: any
#artful bionic#Section: libs
#artful bionic#Depends:
#artful bionic# qt3d-assimpsceneimport-plugin, qt3d-defaultgeometryloader-plugin, qt3d-gltfsceneio-plugin, qt3d-scene2d-plugin,
#artful bionic# ${shlibs:Depends},
#artful bionic# ${misc:Depends}
#artful bionic#Description: QGIS - shared 3d library
#artful bionic# QGIS is a Geographic Information System (GIS) which manages, analyzes and
#artful bionic# display databases of geographic information.
#artful bionic# .
#artful bionic# This package contains the shared 3d library.
#artful bionic#
#artful bionic cosmic#Package: libqgis-3d{QGIS_ABI}
#artful bionic cosmic#Architecture: any
#artful bionic cosmic#Section: libs
#artful bionic cosmic#Depends:
#artful bionic cosmic# qt3d-assimpsceneimport-plugin, qt3d-defaultgeometryloader-plugin, qt3d-gltfsceneio-plugin, qt3d-scene2d-plugin,
#artful bionic cosmic# ${shlibs:Depends},
#artful bionic cosmic# ${misc:Depends}
#artful bionic cosmic#Description: QGIS - shared 3d library
#artful bionic cosmic# QGIS is a Geographic Information System (GIS) which manages, analyzes and
#artful bionic cosmic# display databases of geographic information.
#artful bionic cosmic# .
#artful bionic cosmic# This package contains the shared 3d library.
#artful bionic cosmic#
Package: libqgisgrass{GRASSVER}-{QGIS_ABI}
Architecture: any
Section: libs
Expand Down Expand Up @@ -215,7 +215,7 @@ Depends:
libexpat1-dev,
libgdal-dev (>= 1.11),
libgeos-dev (>= 3.0.0),
#sid buster stretch xenial yakkety zesty artful bionic# libgsl-dev,
#sid buster stretch xenial yakkety zesty artful bionic cosmic# libgsl-dev,
libpq-dev,
libproj-dev,
libqgis-app{QGIS_ABI} (= ${binary:Version}),
Expand Down
2 changes: 1 addition & 1 deletion debian/libqgis-dev.install.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ usr/lib/libqgis_server.so
usr/lib/libqgisgrass{GRASSVER}.so
usr/lib/libqgispython.so
usr/share/qgis/FindQGIS.cmake
#artful bionic#usr/lib/libqgis_3d.so
#artful bionic cosmic#usr/lib/libqgis_3d.so
5 changes: 3 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ endif

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

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

Expand Down Expand Up @@ -102,7 +102,8 @@ ifneq (,$(findstring $(DISTRIBUTION),"sid buster stretch"))
CMAKE_OPTS += -DPOSTGRES_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libpq.so
endif

ifneq (,$(findstring $(DISTRIBUTION),"artful bionic"))
ifneq (,$(findstring $(DISTRIBUTION),"artful bionic cosmic"))
# Only on ubuntu - Qt3DExtras intentionally removed from debian (#895386)
CMAKE_OPTS += \
-DWITH_3D=TRUE \
-DGEOS_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libgeos_c.so
Expand Down
Loading

0 comments on commit a80890c

Please sign in to comment.