diff options
author | Rainer Hurling <rhurlin@FreeBSD.org> | 2020-11-28 15:06:31 +0000 |
---|---|---|
committer | Rainer Hurling <rhurlin@FreeBSD.org> | 2020-11-28 15:06:31 +0000 |
commit | 9e874729741f45afbf0bf0d992ea300a04f90b82 (patch) | |
tree | 0b8af37c682ae4198d5b2dbb5224d6164162dce4 /graphics/qgis/files | |
parent | 3afb36ebace63b5d91b434b018f29e261096d071 (diff) | |
download | ports-9e874729741f45afbf0bf0d992ea300a04f90b82.tar.gz ports-9e874729741f45afbf0bf0d992ea300a04f90b82.zip |
graphics/qgis: Update to 3.16.1
Bugfix release [1][2].
[1] https://qgis.org/en/site/forusers/visualchangelog316/index.html
[2] https://github.com/qgis/QGIS/compare/final-3_16_0...final-3_16_1
If you miss features in QGIS that are actually built
into QGIS, you may need to enable additional options
in graphics/gdal, see pkg-message.
Approved by: arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D27374
Notes
Notes:
svn path=/head/; revision=556508
Diffstat (limited to 'graphics/qgis/files')
-rw-r--r-- | graphics/qgis/files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py | 15 | ||||
-rw-r--r-- | graphics/qgis/files/pkg-message.in | 18 |
2 files changed, 29 insertions, 4 deletions
diff --git a/graphics/qgis/files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py b/graphics/qgis/files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py index a074fa5c8042..75c99683608f 100644 --- a/graphics/qgis/files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py +++ b/graphics/qgis/files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py @@ -1,20 +1,27 @@ ---- python/plugins/processing/algs/saga/SagaAlgorithmProvider.py.orig 2020-03-27 05:50:09 UTC +--- python/plugins/processing/algs/saga/SagaAlgorithmProvider.py.orig 2019-12-07 13:18:21 UTC +++ python/plugins/processing/algs/saga/SagaAlgorithmProvider.py -@@ -79,7 +79,7 @@ class SagaAlgorithmProvider(QgsProcessingProvider): +@@ -79,13 +79,13 @@ class SagaAlgorithmProvider(QgsProcessingProvider): def canBeActivated(self): version = SagaUtils.getInstalledVersion(True) - if version is not None and (version.startswith(REQUIRED_VERSION) or version.startswith(BETA_SUPPORT_VERSION)): -+ if version is not None and version >= REQUIRED_VERSION: ++ if version is not None and (version.startswith(REQUIRED_VERSION) or version >= BETA_SUPPORT_VERSION): return True return False + def warningMessage(self): + version = SagaUtils.getInstalledVersion(True) +- if version is not None and version.startswith(BETA_SUPPORT_VERSION): ++ if version is not None and version >= BETA_SUPPORT_VERSION: + return self.tr('SAGA version {} is not officially supported - algorithms may encounter issues').format(version) + return '' + @@ -96,7 +96,7 @@ class SagaAlgorithmProvider(QgsProcessingProvider): self.tr('Processing'), Qgis.Critical) return - if not version.startswith(REQUIRED_VERSION) and not version.startswith(BETA_SUPPORT_VERSION): -+ if version < REQUIRED_VERSION: ++ if not version.startswith(REQUIRED_VERSION) and not version >= BETA_SUPPORT_VERSION: QgsMessageLog.logMessage(self.tr('Problem with SAGA installation: unsupported SAGA version (found: {}, required: {}).').format(version, REQUIRED_VERSION), self.tr('Processing'), Qgis.Critical) diff --git a/graphics/qgis/files/pkg-message.in b/graphics/qgis/files/pkg-message.in new file mode 100644 index 000000000000..68debd28f108 --- /dev/null +++ b/graphics/qgis/files/pkg-message.in @@ -0,0 +1,18 @@ +[ +{ type: install + message: <<EOM +The QGIS port contains many dependencies on other ports. +In GDAL, one of the most important dependencies, very important +additional dependencies are not enabled by default. + +To get the most complete functionality in QGIS, it is strongly +recommended that you build and install the graphics/gdal port +with at least the following options enabled before compiling QGIS: + +CURL EXPAT FREEXL GEOS HDF5 JASPER KML LIBXML2 NETCDF OPENJPEG +PCRE PGSQL SFCGAL SPATIALITE SQLITE WEBP XERCES ZSTD POPPLER + +EOM +} +] + |