update to upstream version 5.15.2

This commit is contained in:
pei-jiankang 2021-10-13 17:51:33 +08:00
parent 3d72f4c44f
commit 157c009212
5 changed files with 24 additions and 28 deletions

View File

@ -1,15 +1,17 @@
%global __provides_exclude_from ^(%{_qt5_archdatadir}/qml/.*\\.so|%{_qt5_plugindir}/.*\\.so)$ %global __provides_exclude_from ^(%{_qt5_archdatadir}/qml/.*\\.so|%{_qt5_plugindir}/.*\\.so)$
Name: qt5-qtlocation Name: qt5-qtlocation
Version: 5.11.1 Version: 5.15.2
Release: 7 Release: 1
Summary: Qt5 module for Location framework Summary: Qt5 module for Location framework
License: LGPLv2 with exceptions or GPLv3 with exceptions License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io Url: http://www.qt.io
Source0: https://download.qt.io/new_archive/qt/5.11/5.11.1/submodules/qtlocation-everywhere-src-5.11.1.tar.xz %global majmin %(echo %{version} | cut -d. -f1-2)
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/qtlocation-everywhere-src-%{version}.tar.xz
Patch0: qtlocation-gcc10.patch Patch0: qtlocation-gcc10.patch
BuildRequires: make
BuildRequires: qt5-qtbase-devel >= 5.9.0 qt5-qtbase-private-devel pkgconfig(zlib) BuildRequires: qt5-qtbase-devel >= 5.9.0 qt5-qtbase-private-devel pkgconfig(zlib)
BuildRequires: pkgconfig(icu-i18n) pkgconfig(libssl) pkgconfig(libcrypto) qt5-qtdeclarative-devel >= 5.9.0 BuildRequires: pkgconfig(icu-i18n) pkgconfig(libssl) pkgconfig(libcrypto) qt5-qtdeclarative-devel >= 5.9.0
%{?_qt5:Requires: %{_qt5} = %{_qt5_version}} %{?_qt5:Requires: %{_qt5} = %{_qt5_version}}
@ -85,6 +87,9 @@ cd -
%{_qt5_examplesdir}/ %{_qt5_examplesdir}/
%changelog %changelog
* Wed Oct 13 2021 peijiankang <peijiankang@kylinos.cn> - 5.15.2-1
- update to upstream version 5.15.2
* Sat Jul 31 2021 wangyong<wangyong187@huawei.com> - 5.11.1-7 * Sat Jul 31 2021 wangyong<wangyong187@huawei.com> - 5.11.1-7
- Patch for GCC-10 - Patch for GCC-10

View File

@ -1,4 +1,4 @@
version_control: git version_control: git
src_repo: https://code.qt.io/qt/qtlocation.git src_repo: https://code.qt.io/qt/qtlocation.git
tag_prefix: ^v tag_prefix: "^v"
seperator: . separator: "."

Binary file not shown.

View File

@ -1,31 +1,22 @@
diff -Nrup a/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp b/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp diff --git a/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp b/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp
--- a/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp 2018-08-10 05:35:38.000000000 -0600 index b75d038..b367ee6 100644
+++ b/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp 2019-09-23 12:51:14.960857485 -0600 --- a/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp
@@ -5,6 +5,7 @@ +++ b/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp
#include <unicode/ushape.h>
#include <memory>
+#include <stdexcept>
namespace mbgl {
diff -Nrup a/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp b/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp
--- a/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp 2018-08-10 05:35:38.000000000 -0600
+++ b/src/3rdparty/mapbox-gl-native/platform/qt/src/bidi.cpp 2019-09-23 12:46:08.054689805 -0600
@@ -3,6 +3,7 @@ @@ -3,6 +3,7 @@
#include <mbgl/text/bidi.hpp> #include <mbgl/text/bidi.hpp>
#include <QString> #include <QString>
+#include <stdexcept> +#include <stdexcept>
namespace mbgl { namespace mbgl {
diff -Nrup a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp diff --git a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
--- a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp 2018-08-10 05:35:38.000000000 -0600 index 510ff23..d5e0a92 100644
+++ b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp 2019-09-23 15:55:06.750723673 -0600 --- a/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
+++ b/src/3rdparty/mapbox-gl-native/src/mbgl/util/convert.cpp
@@ -1,4 +1,5 @@ @@ -1,4 +1,5 @@
#include <mbgl/util/convert.hpp> #include <mbgl/util/convert.hpp>
+#include <cstdint> +#include <cstdint>
namespace mbgl { #include <cstdint>
namespace util {