HomeFreeBSD

Update to 3.10.1.

Description

Update to 3.10.1.

For some months now, the build process of graphics/qgis 3.8.2 had problems
while using the QT5 QMap() function with large list like for proj6[1].
Compiling such long QMap() list with clang takes several hours instead of
some seconds or minutes[2], often it breaks the build.

It turns out that building that QMap() code with clang takes exhaustive
memory[3], for which a nice patch already exists on OpenBSD[4]. While this
OpenBSD patch builds fine on amd64, it needs another patch on i386 (usage of
'-O1' instead the clang specific patch '-mllvm -inline-threshold=128').

After we found a solution for the QMap problem, it was necessary to wait for
the release of QGIS 3.10.1 because of some tricky problems with proj6 / gdal
combinations[5] that should be avoided.

[1] https://github.com/qgis/QGIS/blob/master/src/core/qgscoordinatereferencesystem_legacy.h#L23
[2] http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-QGIS-3-8-0-on-FreeBSD-build-takes-several-hours-td5408676.html
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241687
[4] https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/geo/qgis/patches/patch-src_core_CMakeLists_txt?rev=1.22&content-type=text/x-cvsweb-markup&hideattic=1
[5] https://www.mail-archive.com/qgis-developer@lists.osgeo.org/msg48670.html

Changes in the port:

  • Update from 3.8.2 to 3.10.1
  • Allow using default clang again
  • Update several Python dependencies
  • Add textproc/py-nltk, math/py-pandas, sysutils/py-psutil, graphics/py-pyrsgis, x11-toolkits/py-qt5-quick for Python extensions
  • Add USES=gl and USE_GL=gl
  • Add USE_PYQT=quickwidgets
  • Add several CMAKE ARGS
  • Add files/patch-src_core_CMakeLists.txt for QMap problem
  • Change above patch into '-O1' for i386
  • Update pkg-plist

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

Details

Provenance
rakucoAuthored on
Parents
rP520518: multimedia/ffmpeg: backport VP9 decode to VDPAU
Branches
Unknown
Tags
Unknown