Accepting request 747520 from home:LPechacek:branches:Application:Geo
Update QGIS to 3.10.0. This submissions works around the build issue reported at https://github.com/qgis/QGIS/issues/32764 by limiting number of parallel build jobs. OBS-URL: https://build.opensuse.org/request/show/747520 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=276
This commit is contained in:
parent
c2afbc6f68
commit
1d1d45a126
@ -1,22 +0,0 @@
|
|||||||
From ef8f06330f57882f740cfe7f8f3659b54b1bb1fb Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matthias Kuhn <matthias@opengis.ch>
|
|
||||||
Date: Sat, 22 Jun 2019 10:11:31 +0200
|
|
||||||
Subject: [PATCH] Add missing include
|
|
||||||
|
|
||||||
Fix https://github.com/qgis/QGIS/issues/30316
|
|
||||||
---
|
|
||||||
src/analysis/interpolation/qgsinterpolator.h | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/src/analysis/interpolation/qgsinterpolator.h b/src/analysis/interpolation/qgsinterpolator.h
|
|
||||||
index 35343ccdf7f..5d694418299 100644
|
|
||||||
--- a/src/analysis/interpolation/qgsinterpolator.h
|
|
||||||
+++ b/src/analysis/interpolation/qgsinterpolator.h
|
|
||||||
@@ -19,6 +19,7 @@
|
|
||||||
#define QGSINTERPOLATOR_H
|
|
||||||
|
|
||||||
#include <QVector>
|
|
||||||
+#include <QList>
|
|
||||||
#include "qgis_sip.h"
|
|
||||||
#include "qgis_analysis.h"
|
|
||||||
|
|
39
fix_wms_provider_build_deps.patch
Normal file
39
fix_wms_provider_build_deps.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
Fix WMS provide build failure
|
||||||
|
|
||||||
|
Heavily multithreaded QGIS build fails due to missing dependency between WMS
|
||||||
|
code and the Qt form code. This patch makes the dependency explicit.
|
||||||
|
|
||||||
|
Signed-off: Libor Pechacek <lpechacek@gmx.com>
|
||||||
|
---
|
||||||
|
src/providers/wms/CMakeLists.txt | 6 +++++-
|
||||||
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- a/src/providers/wms/CMakeLists.txt
|
||||||
|
+++ b/src/providers/wms/CMakeLists.txt
|
||||||
|
@@ -12,6 +12,9 @@ SET (WMS_MOC_HDRS
|
||||||
|
)
|
||||||
|
|
||||||
|
IF (WITH_GUI)
|
||||||
|
+ SET(WMS_GUI_UIS
|
||||||
|
+ ../../ui/qgswmssourceselectbase.ui
|
||||||
|
+ )
|
||||||
|
SET(WMS_GUI_SRCS
|
||||||
|
qgswmsprovidergui.cpp
|
||||||
|
qgswmssourceselect.cpp
|
||||||
|
@@ -29,6 +32,7 @@ IF (WITH_GUI)
|
||||||
|
)
|
||||||
|
ENDIF ()
|
||||||
|
|
||||||
|
+QT5_WRAP_UI (WMS_GUI_UIS_H ${WMS_GUI_UIS})
|
||||||
|
QT5_WRAP_CPP (WMS_MOC_SRCS ${WMS_MOC_HDRS})
|
||||||
|
QT5_WRAP_CPP (WMS_GUI_MOC_SRCS ${WMS_GUI_MOC_HDRS})
|
||||||
|
|
||||||
|
@@ -57,7 +61,7 @@ INCLUDE_DIRECTORIES(SYSTEM
|
||||||
|
)
|
||||||
|
|
||||||
|
# static library
|
||||||
|
-ADD_LIBRARY(wmsprovider_a STATIC ${WMS_SRCS} ${WMS_MOC_SRCS})
|
||||||
|
+ADD_LIBRARY(wmsprovider_a STATIC ${WMS_GUI_UIS_H} ${WMS_SRCS} ${WMS_MOC_SRCS})
|
||||||
|
TARGET_LINK_LIBRARIES(wmsprovider_a
|
||||||
|
${Qt5Xml_LIBRARIES}
|
||||||
|
${Qt5Core_LIBRARIES}
|
3
qgis-3.10.0.tar.bz2
Normal file
3
qgis-3.10.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:25eb1c41d9fb922ffa337a720dfdceee43cf2d38409923f087c2010c9742f012
|
||||||
|
size 101075584
|
1
qgis-3.10.0.tar.bz2.sha256
Normal file
1
qgis-3.10.0.tar.bz2.sha256
Normal file
@ -0,0 +1 @@
|
|||||||
|
25eb1c41d9fb922ffa337a720dfdceee43cf2d38409923f087c2010c9742f012 qgis-3.10.0.tar.bz2
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3cca3e8483bc158cb8e972eb819a55a5734ba70f2c7da28ebc485864aafb17bd
|
|
||||||
size 82720462
|
|
@ -1 +0,0 @@
|
|||||||
b7b4b5fba56b6b67e7de3fbe0c39f588 qgis-3.8.3.tar.bz2
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 7 18:35:16 UTC 2019 - Libor Pechacek <lpechacek@gmx.com>
|
||||||
|
|
||||||
|
- Update to 3.10.0, changes are documented at
|
||||||
|
http://changelog.qgis.org/en/qgis/version/3.10/
|
||||||
|
- Removed patches:
|
||||||
|
ef8f06330f57882f740cfe7f8f3659b54b1bb1fb.patch (merged upstream)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 16 06:15:34 UTC 2019 - Antoine Belvire <antoine.belvire@opensuse.org>
|
Wed Oct 16 06:15:34 UTC 2019 - Antoine Belvire <antoine.belvire@opensuse.org>
|
||||||
|
|
||||||
|
18
qgis.spec
18
qgis.spec
@ -15,24 +15,23 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_without grass
|
%bcond_without grass
|
||||||
%bcond_with otb
|
%bcond_with otb
|
||||||
|
|
||||||
Name: qgis
|
Name: qgis
|
||||||
Version: 3.8.3
|
Version: 3.10.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Geographic Information System (GIS)
|
Summary: A Geographic Information System (GIS)
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
Group: Productivity/Graphics/Visualization/Other
|
Group: Productivity/Graphics/Visualization/Other
|
||||||
URL: https://qgis.org/
|
URL: https://qgis.org/
|
||||||
Source: https://qgis.org/downloads/%{name}-%{version}.tar.bz2
|
Source: https://qgis.org/downloads/%{name}-%{version}.tar.bz2
|
||||||
Source1: https://qgis.org/downloads/%{name}-%{version}.tar.bz2.md5
|
Source1: https://qgis.org/downloads/%{name}-%{version}.tar.bz2.sha256
|
||||||
Source2: %{name}.rpmlintrc
|
Source2: %{name}.rpmlintrc
|
||||||
Source3: qgis_sample_data.zip
|
Source3: qgis_sample_data.zip
|
||||||
# Headers in Qt5.11 were cleaned up to no longer include unneeded other headers.
|
# Headers in Qt5.11 were cleaned up to no longer include unneeded other headers.
|
||||||
Patch0: fix_grass_qt511.patch
|
Patch0: fix_grass_qt511.patch
|
||||||
# PATCH-FIX-UPSTREAM Missing include https://github.com/qgis/QGIS/issues/30316
|
|
||||||
Patch1: ef8f06330f57882f740cfe7f8f3659b54b1bb1fb.patch
|
|
||||||
# PATCH-FIX-UPSTREAM fix randomness in desktop file translations
|
# PATCH-FIX-UPSTREAM fix randomness in desktop file translations
|
||||||
Patch2: qgis-3.8.3-reproducible.patch
|
Patch2: qgis-3.8.3-reproducible.patch
|
||||||
BuildRequires: FastCGI-devel
|
BuildRequires: FastCGI-devel
|
||||||
@ -45,10 +44,10 @@ BuildRequires: geos-devel >= 3.4
|
|||||||
%if %{with grass}
|
%if %{with grass}
|
||||||
BuildRequires: grass-devel >= 7.2
|
BuildRequires: grass-devel >= 7.2
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libexiv2-devel
|
|
||||||
BuildRequires: libQt5Sql-private-headers-devel
|
BuildRequires: libQt5Sql-private-headers-devel
|
||||||
BuildRequires: libQt5Sql5-mysql
|
BuildRequires: libQt5Sql5-mysql
|
||||||
BuildRequires: libQt5Sql5-postgresql
|
BuildRequires: libQt5Sql5-postgresql
|
||||||
|
BuildRequires: libexiv2-devel
|
||||||
# Add the 3 main db we should access
|
# Add the 3 main db we should access
|
||||||
# also have them in requires
|
# also have them in requires
|
||||||
BuildRequires: libQt5Sql5-sqlite
|
BuildRequires: libQt5Sql5-sqlite
|
||||||
@ -62,11 +61,11 @@ BuildRequires: otb-devel
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: poppler-tools
|
BuildRequires: poppler-tools
|
||||||
BuildRequires: python-qscintilla-qt5-sip
|
BuildRequires: python-qscintilla-qt5-sip
|
||||||
|
BuildRequires: python3-GDAL
|
||||||
BuildRequires: python3-Jinja2
|
BuildRequires: python3-Jinja2
|
||||||
BuildRequires: python3-OWSLib
|
BuildRequires: python3-OWSLib
|
||||||
BuildRequires: python3-PyYAML
|
BuildRequires: python3-PyYAML
|
||||||
BuildRequires: python3-future
|
BuildRequires: python3-future
|
||||||
BuildRequires: python3-GDAL
|
|
||||||
BuildRequires: python3-psycopg2
|
BuildRequires: python3-psycopg2
|
||||||
BuildRequires: python3-pygments
|
BuildRequires: python3-pygments
|
||||||
BuildRequires: python3-qscintilla-qt5
|
BuildRequires: python3-qscintilla-qt5
|
||||||
@ -127,12 +126,12 @@ Requires: libQt5Sql5-mysql
|
|||||||
Requires: libQt5Sql5-postgresql
|
Requires: libQt5Sql5-postgresql
|
||||||
# Force requires of those 3 main component.
|
# Force requires of those 3 main component.
|
||||||
Requires: libQt5Sql5-sqlite
|
Requires: libQt5Sql5-sqlite
|
||||||
|
Requires: python3-GDAL
|
||||||
Requires: python3-Jinja2
|
Requires: python3-Jinja2
|
||||||
Requires: python3-OWSLib
|
Requires: python3-OWSLib
|
||||||
Requires: python3-PyYAML
|
Requires: python3-PyYAML
|
||||||
Requires: python3-Pygments
|
Requires: python3-Pygments
|
||||||
Requires: python3-future
|
Requires: python3-future
|
||||||
Requires: python3-GDAL
|
|
||||||
Requires: python3-psycopg2
|
Requires: python3-psycopg2
|
||||||
# Those are not picked by obs
|
# Those are not picked by obs
|
||||||
Requires: python3-qscintilla-qt5
|
Requires: python3-qscintilla-qt5
|
||||||
@ -187,7 +186,6 @@ QGIS sample data with raster, vector, gps files and a GRASS location from the Al
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
# Remove bad env and python version in grass plugin
|
# Remove bad env and python version in grass plugin
|
||||||
sed -i 's,^#!%{_bindir}/env python$,#!%{_bindir}/python3,g' src/plugins/grass/scripts/*.py
|
sed -i 's,^#!%{_bindir}/env python$,#!%{_bindir}/python3,g' src/plugins/grass/scripts/*.py
|
||||||
@ -231,7 +229,9 @@ export PATH=$PATH:$QTDIR/bin
|
|||||||
|
|
||||||
export QTDIR=%{_prefix}
|
export QTDIR=%{_prefix}
|
||||||
export PATH=$PATH:$QTDIR/bin
|
export PATH=$PATH:$QTDIR/bin
|
||||||
%make_jobs
|
# Limit number of build jobs to work around https://github.com/qgis/QGIS/issues/32764
|
||||||
|
# VVV - remove once the fix is in place
|
||||||
|
%make_jobs -j3
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
Loading…
Reference in New Issue
Block a user