head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2020.06.21.13.51.49; author gdt; state dead; branches; next 1.1; commitid 2c71tZfhHcsf46dC; 1.1 date 2020.06.21.00.30.04; author gdt; state Exp; branches; next ; commitid HT3y46keVYOVC1dC; desc @@ 1.2 log @geography/qgis: Update to 3.10.7 (LTS) This update is prompted by 3.8 not building with qt 5.15. (Builds, starts, and shows layers from a project on NetBSD 8/amd64.) Packaging changes: Drop patches cherrypicked from upstream. Upstream changes: 1. What's new in Version 3.10 'A Coruña'? ========================================= This release has following new features: - Map Tools: Show 3D length for LineStringZ features in identify derived attributes - Symbology: Customizable default resampling settings for newly-added raster layers - Symbology: Add "extract symbols" action to QGS/QGZ project file context menu in browser - Symbology: Improved copy/paste of symbols - Symbology: "Center of segment" placement mode for marker and hash line symbol layers - Symbology: Allow array values as a valid result for data defined offset - Labelling: Allow creation and editing of text formats and label settings through style manager dialog - Labelling: New text "background" setting for marker symbol backgrounds - Labelling: Callouts support - Labelling: Add multiline alignment property to the change label tool - Labelling: Allow display of unplaced labels - Labelling: Add "overrun distance" setting for line labels - Labelling: Allow data defined control over "label every part of multipart features" setting - Labelling: Expose "label all parts" option via label properties tool - Labelling: Support vertical text orientation - Labelling: Expose font kerning setting - Rendering: Allow rendering raster layers outside the reported extent - Rendering: Add option to georeference PDFs and TIFs to save map canvas as image/PDF - Rendering: new map canvas image decoration - Rendering: logarithmic scale method for graduated renderer - 3D Features: Measurement tool in 3D map view - 3D Features: Billboard Rendering for Points - 3D Features: 3D On-Screen Navigation - Print Layouts: Right-to-left arrangement for legends - Print Layouts: Control margin under legend group and subgroup headings - Print Layouts: Allow data defined settings in text formats - Print Layouts: @@scale_value variable - Print Layouts: Add above/below segments placement option for scalebar labels - Print Layouts: Horizontal placement option for scale bar labels - Print Layouts: Add option to simplify PDF or SVG exports - Print Layouts: Improved SVG layered exports - Print Layouts: Add an indicator in the status bar while a map redraw is occurring in the background - Print Layouts: GeoPDF Export - Print Layouts: Data defined control over grid properties - Print Layouts: "fit segment size" mode for map grid interval - Print Layouts: layout map item extent to an existing bookmark - Expressions: New expression functions - Digitising: GPS timestamp support - Data Management: Composite Foreign Keys - Data Management: Add circular data dependencies - Analysis Tools: Stored filter expressions - Analysis Tools: New operator for Raster Calculator - Processing: new algorithm point to layer - Processing: allow defining model parameters as advanced - Processing: All GDAL based algorithms now support free-form "additional parameters" - Processing: Add metatile size parameter to XYZ tiles algorithm - Processing: New parameter type for colors - Processing: New algorithm "Create style database from project" - Processing: Allow file filter and default value to be set for file/folder inputs in models - Processing: New algorithm "Combine style databases" - Processing: Generate XYZ tiles using multiple threads - Processing: New algorithms for exporting and importing to/from map layers - Processing: New algorithm "Split features by character" - Processing: New algorithm Climb Along Line - Processing: Port Create Grid algorithm to C++ - General: Show news items on welcome page - General: Add a separate unit choice for milliradians (SI definition) vs mil (NATO definition) - General: Enable widget filtering in Interface Customization dialog - General: Improved auto-fix broken layers - General: Bookmark Revamp - General: "Reselect Features" action in Edit -> Select menu - General: Parallelize snap index build - Data Providers: Handle read-write support for .shz and .shp.zip - Data Providers: oracle provider: add support for auth manager - Data Providers: Improved PostGIS raster support - Data Providers: Oracle - Database transaction support - Data Providers: Add support for z/m dimensions to delimited text layers - Data Providers: Static data providers - QGIS Server: Using SVG in QGIS Server - QGIS Server: WMS dimension - QGIS Server: Server OAPIF (aka WFS3) support - Programmability: New class QgsBookmarkManager - Programmability: New API for provider database connections @ text @$NetBSD: patch-python_core_conversions.sip,v 1.1 2020/06/21 00:30:04 gdt Exp $ Accomodate sip 4.19.23 and qt 5.15 From https://git.archlinux.org/svntogit/community.git/plain/trunk/qgis-pyqt-5.15.patch?h=packages/qgis&id=fef9f4c085355242e6455de901813e838cc24fd6 --- python/core/conversions.sip.orig 2019-09-13 12:11:09.000000000 +0000 +++ python/core/conversions.sip @@@@ -1435,79 +1435,6 @@@@ template %End }; -template -%MappedType QVector< TYPE* > -{ -%TypeHeaderCode -#include -%End - -%ConvertFromTypeCode - // Create the list - PyObject *l = PyList_New(sipCpp->size()); - - if (!l) - return NULL; - - // Set the dictionary elements. - for( int i = 0; i < sipCpp->size(); i++ ) - { - TYPE *t = sipCpp->at(i); - PyObject *tobj = sipConvertFromType(t, sipType_TYPE, sipTransferObj); - - if (tobj == NULL || PyList_SetItem(l, i, tobj) < 0) - { - Py_DECREF(tobj); - Py_DECREF(l); - return NULL; - } - } - - return l; -%End - -%ConvertToTypeCode - // Check the type if that is all that is required. - if (sipIsErr == NULL) - { - if (!PyList_Check(sipPy)) - return 0; - - for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) - { - if (!sipCanConvertToType(PyList_GET_ITEM(sipPy, i), sipType_TYPE, SIP_NOT_NONE)) - return 0; - } - - return 1; - } - - QVector *v = new QVector( PyList_GET_SIZE(sipPy) ); - - for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) - { - int state; - - TYPE *t = reinterpret_cast(sipConvertToType(PyList_GET_ITEM(sipPy, i), sipType_TYPE, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr)); - - if (*sipIsErr) - { - sipReleaseType(t, sipType_TYPE, state); - delete v; - return 0; - } - - v->replace( i, t ); - - sipReleaseType(t, sipType_TYPE, state); - } - - *sipCppPtr = v; - - return sipGetState(sipTransferObj); -%End -}; - %MappedType QMap { %TypeHeaderCode @ 1.1 log @geography/qgis: Work around a py-sip upgrade Patch from upstream. Does not yet build, but gets to the next error now. @ text @d1 1 a1 1 $NetBSD$ @