Bug 237685 - graphics/qgis-ltr: Update to 3.4.7
Summary: graphics/qgis-ltr: Update to 3.4.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-01 10:42 UTC by Rainer Hurling
Modified: 2019-05-05 05:57 UTC (History)
2 users (show)

See Also:


Attachments
Update graphics/qgis-ltr from 3.4.5 to 3.4.7 (13.32 KB, patch)
2019-05-01 10:42 UTC, Rainer Hurling
rhurlin: maintainer-approval+
Details | Diff
patch to update graphics/qgis-ltr with corrected pkg-plist (13.70 KB, patch)
2019-05-04 20:42 UTC, Rainer Hurling
rhurlin: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2019-05-01 10:42:10 UTC
Created attachment 204139 [details]
Update graphics/qgis-ltr from 3.4.5 to 3.4.7

This is a minor update for the QGIS LTR version 3.4.5 to 3.4.7. The port itself gets some corrections and additions.


Changes of the port:
- Update to 3.4.7
- Update several Python dependencies
- Add USE_PYQT=webkitwidgets for plugins like 'OpenLayers Plugin'
- Add USES=gnome, USE_GNOME=libxml2, USE_QT=gamepad, and
  LIB_DEPENDS=libsz.so:science/szip to pet 'make DEVELOPER=yes'
- Add OPTIONS_DEFAULT=SERVER
- Change files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py
  to work with REQUIRED_VERSION
- Remove files/patch-python_plugins_processing_algs_saga_SagaUtils.py
  and files/patch-src_app_main.cpp, after they are upstream now
- Remove 'world writeable rights' in pkg-plist (not necessary)
- Update pkg-plist


The patch is tested on Poudriere (11.2i/a, 12.0i/a, and HEADi/a),
'portlint -AC' seems happy.
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2019-05-03 16:34:53 UTC
testbuilds@work
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2019-05-04 16:22:00 UTC
Fails to build on 13:

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%DATADIR%%/python/qsci_apis/Python-3.6.api
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%DATADIR%%/python/qsci_apis/Python-%%PYTHON_VER%%.api
===> Error: Plist issues found.
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2019-05-04 20:25:48 UTC
Turns out: The file in question is always 3.6, it does not change with PYTHON_VER.

Thanks to tobik for the hint!
Comment 4 Rainer Hurling freebsd_committer freebsd_triage 2019-05-04 20:42:44 UTC
Created attachment 204219 [details]
patch to update graphics/qgis-ltr with corrected pkg-plist

After some investigation of pi@ and me, tobik@ found the real reason for the breakage of pkg-plist. Many thanks!

qsciapis/Python-3.6.api has its own version, it is not the one of Python3.

The new patch is almost the same as the first one, but corrects pkg-plist.
Comment 5 Kurt Jaeger freebsd_committer freebsd_triage 2019-05-05 05:57:34 UTC
Committed, thanks!
Comment 6 commit-hook freebsd_committer freebsd_triage 2019-05-05 05:57:39 UTC
A commit references this bug:

Author: pi
Date: Sun May  5 05:57:19 UTC 2019
New revision: 500848
URL: https://svnweb.freebsd.org/changeset/ports/500848

Log:
  graphics/qgis-ltr: upgrade 3.4.5 -> 3.4.7

  - Update several Python dependencies
  - Add USE_PYQT=webkitwidgets for plugins like 'OpenLayers Plugin'
  - Add USES=gnome, USE_GNOME=libxml2, USE_QT=gamepad, and
    LIB_DEPENDS=libsz.so:science/szip to pet 'make DEVELOPER=yes'
  - Add OPTIONS_DEFAULT=SERVER
  - Change
    files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py
    to work with REQUIRED_VERSION
  - Remove files/patch-python_plugins_processing_algs_saga_SagaUtils.py
    and files/patch-src_app_main.cpp, after they are upstream now
  - Remove 'world writeable rights' in pkg-plist (not necessary)
  - Update pkg-plist

  PR:		237685
  Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)

Changes:
  head/graphics/qgis-ltr/Makefile
  head/graphics/qgis-ltr/distinfo
  head/graphics/qgis-ltr/files/patch-python_plugins_processing_algs_saga_SagaAlgorithmProvider.py
  head/graphics/qgis-ltr/files/patch-python_plugins_processing_algs_saga_SagaUtils.py
  head/graphics/qgis-ltr/files/patch-src_app_main.cpp
  head/graphics/qgis-ltr/pkg-plist