FreeBSD Bugzilla – Attachment 204139 Details for
Bug 237685
graphics/qgis-ltr: Update to 3.4.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update graphics/qgis-ltr from 3.4.5 to 3.4.7
patch-qgis-ltr_3.4.5-3.4.7.diff (text/plain), 13.32 KB, created by
Rainer Hurling
on 2019-05-01 10:42:10 UTC
(
hide
)
Description:
Update graphics/qgis-ltr from 3.4.5 to 3.4.7
Filename:
MIME Type:
Creator:
Rainer Hurling
Created:
2019-05-01 10:42:10 UTC
Size:
13.32 KB
patch
obsolete
>diff -urN qgis-ltr.orig/Makefile qgis-ltr/Makefile >--- qgis-ltr.orig/Makefile 2019-03-17 07:56:58.549718000 +0100 >+++ qgis-ltr/Makefile 2019-05-01 12:27:53.325379000 +0200 >@@ -3,8 +3,7 @@ > > PORTNAME= qgis > DISTVERSIONPREFIX= final- >-DISTVERSION= 3_4_5 >-PORTREVISION= 4 >+DISTVERSION= 3_4_7 > CATEGORIES= graphics geography > PKGNAMESUFFIX= -ltr > >@@ -18,46 +17,46 @@ > ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}dateutil>=2.7.3:devel/py-dateutil@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}future>=0.17.1:devel/py-future@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}httplib2>=0.11.3:www/py-httplib2@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.12.1:www/py-httplib2@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=1.0:textproc/py-MarkupSafe@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1.2:math/py-matplotlib@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=1.1.1:textproc/py-MarkupSafe@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.4:math/py-matplotlib@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.17.0:graphics/py-OWSLib@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.17.1:graphics/py-OWSLib@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pip>=9.0.3:devel/py-pip@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}plotly>=3.0.2:graphics/py-plotly@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}pygments>=2.2.0:textproc/py-pygments@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}pyproj>=1.9.5.1:graphics/py-pyproj@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}pytz>=2018.7:devel/py-pytz@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}requests>=2.18.4:www/py-requests@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.15:databases/py-sqlite3@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}yaml>=3.13:devel/py-yaml@${PY_FLAVOR} >+ ${PYTHON_PKGNAMEPREFIX}pygments>=2.3.0:textproc/py-pygments@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pyproj>=1.9.6:graphics/py-pyproj@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytz>=2019.1:devel/py-pytz@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.6.8:databases/py-sqlite3@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} > RUN_DEPENDS= astyle:devel/astyle \ > ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}dateutil>=2.7.3:devel/py-dateutil@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}future>=0.17.1:devel/py-future@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}gdal>=2.2.4:graphics/py-gdal@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}httplib2>=0.11.3:www/py-httplib2@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.12.1:www/py-httplib2@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=1.0:textproc/py-MarkupSafe@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1.2:math/py-matplotlib@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=1.1.1:textproc/py-MarkupSafe@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.4:math/py-matplotlib@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}numpy>=1.11.2:math/py-numpy@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.17.0:graphics/py-OWSLib@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.17.1:graphics/py-OWSLib@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pip>=9.0.3:devel/py-pip@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}plotly>=3.0.2:graphics/py-plotly@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.7.6.1:databases/py-psycopg2@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}pygments>=2.2.0:textproc/py-pygments@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}pyproj>=1.9.5.1:graphics/py-pyproj@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}pytz>=2018.7:devel/py-pytz@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}requests>=2.18.4:www/py-requests@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.15:databases/py-sqlite3@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pygments>=2.3.0:textproc/py-pygments@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pyproj>=1.9.6:graphics/py-pyproj@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytz>=2019.1:devel/py-pytz@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.6.8:databases/py-sqlite3@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}yaml>=3.13:devel/py-yaml@${PY_FLAVOR} >+ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} > LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ > libexpat.so:textproc/expat2 \ > libgdal.so:graphics/gdal \ >@@ -73,19 +72,22 @@ > libqwt6.so:x11-toolkits/qwt6 \ > libspatialindex.so:devel/spatialindex \ > libspatialite.so:databases/spatialite \ >+ libsz.so:science/szip \ > libxerces-c.so:textproc/xerces-c3 \ > libzip.so:archivers/libzip > > ### Fortran is needed by numpy, GRASS, etc. > USES= bison cmake compiler:features cpe desktop-file-utils \ >- fortran gmake pgsql pyqt:5 python:3.6+ qt:5 shebangfix \ >- sqlite:3 >+ fortran gmake gnome pgsql pyqt:5 python:3.6+ qt:5 \ >+ shebangfix sqlite:3 >+USE_GNOME= libxml2 > USE_QT= 3d buildtools_build core concurrent dbus declarative \ >- designer doc gui linguist_build location network \ >- printsupport qmake_build script serialport \ >+ designer doc gamepad gui linguist_build location \ >+ network printsupport qmake_build script serialport \ > sql sql-pgsql sql-sqlite3 svg testlib uitools \ > webengine widgets webkit xml >-USE_PYQT= core gui network qml qscintilla2 sip sql svg xml webkit_run >+USE_PYQT= core gui network qml qscintilla2 sip sql svg xml \ >+ webkit_run webkitwidgets_run > USE_LDCONFIG= yes > > CONFLICTS_INSTALL= qgis >@@ -111,7 +113,7 @@ > SHEBANG_FILES= src/plugins/grass/scripts/*.py > > OPTIONS_DEFINE= GRASS SERVER >-OPTIONS_DEFAULT= GRASS >+OPTIONS_DEFAULT= GRASS SERVER > NO_OPTIONS_SORT= yes > > OPTIONS_SUB= yes >diff -urN qgis-ltr.orig/distinfo qgis-ltr/distinfo >--- qgis-ltr.orig/distinfo 2019-03-14 07:55:21.158728000 +0100 >+++ qgis-ltr/distinfo 2019-04-30 11:00:39.797301000 +0200 >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1552305246 >-SHA256 (qgis-QGIS-final-3_4_5_GH0.tar.gz) = 3183ebd2465ec44555e20dbb790ccff639a9da6eb4bce1e123ae030b1b42c57c >-SIZE (qgis-QGIS-final-3_4_5_GH0.tar.gz) = 89924291 >+TIMESTAMP = 1556614839 >+SHA256 (qgis-QGIS-final-3_4_7_GH0.tar.gz) = d070da42e842e59ce9a338b40784b9bc4582f3d48a19255fa8aef967cca653ba >+SIZE (qgis-QGIS-final-3_4_7_GH0.tar.gz) = 91022939 >diff -urN qgis-ltr.orig/files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py qgis-ltr/files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py >--- qgis-ltr.orig/files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py 2019-03-14 07:55:20.795755000 +0100 >+++ qgis-ltr/files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py 2019-04-08 19:03:31.656808000 +0200 >@@ -1,11 +1,20 @@ >---- python/plugins/processing/algs/saga/SagaAlgorithmProvider.py.orig 2018-11-23 12:08:36 UTC >+--- python/plugins/processing/algs/saga/SagaAlgorithmProvider.py.orig 2019-03-02 02:07:46 UTC > +++ python/plugins/processing/algs/saga/SagaAlgorithmProvider.py >+@@ -82,7 +82,7 @@ class SagaAlgorithmProvider(QgsProcessingProvider): >+ >+ def canBeActivated(self): >+ version = SagaUtils.getInstalledVersion(True) >+- if version is not None and version.startswith(REQUIRED_VERSION): >++ if version is not None and version >= REQUIRED_VERSION: >+ return True >+ return False >+ > @@ -93,7 +93,7 @@ class SagaAlgorithmProvider(QgsProcessingProvider): > self.tr('Processing'), Qgis.Critical) > return > > - if not version.startswith(REQUIRED_VERSION): >-+ if version < '2.3': >++ if version < REQUIRED_VERSION: > QgsMessageLog.logMessage(self.tr('Problem with SAGA installation: unsupported SAGA version (found: {}, required: {}).').format(version, REQUIRED_VERSION), > self.tr('Processing'), > Qgis.Critical) >diff -urN qgis-ltr.orig/files/patch-python_plugins_processing_algs_saga_SagaUtils.py qgis-ltr/files/patch-python_plugins_processing_algs_saga_SagaUtils.py >--- qgis-ltr.orig/files/patch-python_plugins_processing_algs_saga_SagaUtils.py 2019-03-14 07:55:20.796316000 +0100 >+++ qgis-ltr/files/patch-python_plugins_processing_algs_saga_SagaUtils.py 1970-01-01 01:00:00.000000000 +0100 >@@ -1,55 +0,0 @@ >---- python/plugins/processing/algs/saga/SagaUtils.py.orig 2018-11-23 12:08:36 UTC >-+++ python/plugins/processing/algs/saga/SagaUtils.py >-@@ -26,6 +26,7 @@ __copyright__ = '(C) 2012, Victor Olaya' >- __revision__ = '564579199220ae06abd248f0dc80b7ff57b80128' >- >- import os >-+import platform >- import stat >- import subprocess >- import time >-@@ -59,7 +60,7 @@ def sagaBatchJobFilename(): >- >- def findSagaFolder(): >- folder = None >-- if isMac(): >-+ if isMac() or platform.system() == 'FreeBSD': >- testfolder = os.path.join(QgsApplication.prefixPath(), 'bin') >- if os.path.exists(os.path.join(testfolder, 'saga_cmd')): >- folder = testfolder >-@@ -84,7 +85,7 @@ def findSagaFolder(): >- >- >- def sagaPath(): >-- if not isWindows() and not isMac(): >-+ if not isWindows() and not isMac() and not platform.system() == 'FreeBSD': >- return '' >- >- folder = findSagaFolder() >-@@ -102,7 +103,7 @@ def createSagaBatchJobFileFromSagaCommands(commands): >- fout.write('set SAGA=' + sagaPath() + '\n') >- fout.write('set SAGA_MLB=' + os.path.join(sagaPath(), 'modules') + '\n') >- fout.write('PATH=%PATH%;%SAGA%;%SAGA_MLB%\n') >-- elif isMac(): >-+ elif isMac() or platform.system() == 'FreeBSD': >- fout.write('export SAGA_MLB=' + os.path.join(sagaPath(), '../lib/saga') + '\n') >- fout.write('export PATH=' + sagaPath() + ':$PATH\n') >- else: >-@@ -129,7 +130,7 @@ def getInstalledVersion(runSaga=False): >- >- if isWindows(): >- commands = [os.path.join(sagaPath(), "saga_cmd.exe"), "-v"] >-- elif isMac(): >-+ elif isMac() or platform.system() == 'FreeBSD': >- commands = [os.path.join(sagaPath(), "saga_cmd -v")] >- else: >- # for Linux use just one string instead of separated parameters as the list >-@@ -145,7 +146,7 @@ def getInstalledVersion(runSaga=False): >- stderr=subprocess.STDOUT, >- universal_newlines=True, >- ) as proc: >-- if isMac(): # This trick avoids having an uninterrupted system call exception if SAGA is not installed >-+ if isMac() or platform.system() == 'FreeBSD': # This trick avoids having an uninterrupted system call exception if SAGA is not installed >- time.sleep(1) >- try: >- lines = proc.stdout.readlines() >diff -urN qgis-ltr.orig/files/patch-src_app_main.cpp qgis-ltr/files/patch-src_app_main.cpp >--- qgis-ltr.orig/files/patch-src_app_main.cpp 2019-03-14 07:55:20.796544000 +0100 >+++ qgis-ltr/files/patch-src_app_main.cpp 1970-01-01 01:00:00.000000000 +0100 >@@ -1,20 +0,0 @@ >---- src/app/main.cpp.orig 2018-11-23 12:08:36 UTC >-+++ src/app/main.cpp >-@@ -1025,7 +1025,7 @@ int main( int argc, char *argv[] ) >- QCoreApplication::addLibraryPath( QApplication::applicationDirPath() >- + QDir::separator() + "qtplugins" ); >- #endif >--#ifdef Q_OS_MAC >-+#if defined(Q_OS_MAC) || defined(Q_OS_UNIX) >- // Resulting libraryPaths has critical QGIS plugin paths first, then any Qt plugin paths, then >- // any dev-defined paths (in app's qt.conf) and/or user-defined paths (QT_PLUGIN_PATH env var). >- // >-@@ -1033,7 +1033,7 @@ int main( int argc, char *argv[] ) >- // built against a different Qt/QGIS, while still allowing custom C++ plugins to load. >- QStringList libPaths( QCoreApplication::libraryPaths() ); >- >-- QgsDebugMsgLevel( QStringLiteral( "Initial macOS QCoreApplication::libraryPaths: %1" ) >-+ QgsDebugMsgLevel( QStringLiteral( "Initial macOS or UNIX QCoreApplication::libraryPaths: %1" ) >- .arg( libPaths.join( " " ) ), 4 ); >- >- // Strip all critical paths that should always be prepended >diff -urN qgis-ltr.orig/pkg-plist qgis-ltr/pkg-plist >--- qgis-ltr.orig/pkg-plist 2019-03-14 07:55:21.340357000 +0100 >+++ qgis-ltr/pkg-plist 2019-04-30 11:49:48.353187000 +0200 >@@ -4945,7 +4945,6 @@ > %%DATADIR%%/resources/cpt-city-qgis-min/wkp/tubs/DESC.xml > %%DATADIR%%/resources/cpt-city-qgis-min/wkp/tubs/nrwc.svg > %%DATADIR%%/resources/customization.xml >-@mode 0666 > %%DATADIR%%/resources/data/contributors.json > %%DATADIR%%/resources/data/contributors.qml > %%DATADIR%%/resources/data/qgis-hackfests.json >@@ -4956,7 +4955,6 @@ > %%DATADIR%%/resources/data/world_map.qml > %%DATADIR%%/resources/data/world_map.shp > %%DATADIR%%/resources/data/world_map.shx >-@mode > %%DATADIR%%/resources/metadata-ISO/LinkPropertyLookupTable.csv > %%DATADIR%%/resources/metadata-ISO/country_code_ISO_3166.csv > %%DATADIR%%/resources/metadata-ISO/language_codes_ISO_639.csv
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
rhurlin
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 237685
:
204139
|
204219