Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/qgis/, sci-geosciences/qgis/files/
Date: Sun, 28 Apr 2019 15:27:15
Message-Id: 1556465203.3df8529de826d43e13d5966131e3d918bc5604d0.asturm@gentoo
1 commit: 3df8529de826d43e13d5966131e3d918bc5604d0
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 27 22:21:16 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 28 15:26:43 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3df8529d
7
8 sci-geosciences/qgis: Rebased FeatureSummary patch
9
10 Package-Manager: Portage-2.3.65, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 .../qgis/files/qgis-3.4.7-featuresummary.patch | 31 ++++++++++++++++++++++
14 sci-geosciences/qgis/qgis-9999.ebuild | 2 ++
15 2 files changed, 33 insertions(+)
16
17 diff --git a/sci-geosciences/qgis/files/qgis-3.4.7-featuresummary.patch b/sci-geosciences/qgis/files/qgis-3.4.7-featuresummary.patch
18 new file mode 100644
19 index 00000000000..ec971cef779
20 --- /dev/null
21 +++ b/sci-geosciences/qgis/files/qgis-3.4.7-featuresummary.patch
22 @@ -0,0 +1,31 @@
23 +From 0744b51784b779eab4bb2e78ed084d31258b5b4d Mon Sep 17 00:00:00 2001
24 +From: Andreas Sturmlechner <andreas.sturmlechner@×××××.com>
25 +Date: Sun, 28 Apr 2019 00:10:21 +0200
26 +Subject: [PATCH] cmake: Use FeatureSummary
27 +
28 +---
29 + CMakeLists.txt | 4 ++++
30 + 1 file changed, 4 insertions(+)
31 +
32 +diff --git a/CMakeLists.txt b/CMakeLists.txt
33 +index 4dff8ea0f4..4626042ca4 100644
34 +--- a/CMakeLists.txt
35 ++++ b/CMakeLists.txt
36 +@@ -71,6 +71,8 @@ IF(NOT MSVC)
37 + endif(USE_CCACHE)
38 + endif(NOT MSVC)
39 +
40 ++include(FeatureSummary)
41 ++
42 + # in generated makefiles use relative paths so the project dir is moveable
43 + # Note commented out since it cause problems but it would be nice to resolve these and enable
44 + #
45 +@@ -937,3 +939,5 @@ ENDIF (WITH_CORE)
46 + IF (UNIX AND NOT APPLE)
47 + ADD_SUBDIRECTORY(linux)
48 + ENDIF (UNIX AND NOT APPLE)
49 ++
50 ++FEATURE_SUMMARY(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
51 +--
52 +2.21.0
53 +
54
55 diff --git a/sci-geosciences/qgis/qgis-9999.ebuild b/sci-geosciences/qgis/qgis-9999.ebuild
56 index a1d962905d6..e52d6bd4802 100644
57 --- a/sci-geosciences/qgis/qgis-9999.ebuild
58 +++ b/sci-geosciences/qgis/qgis-9999.ebuild
59 @@ -102,6 +102,8 @@ RESTRICT="test"
60 PATCHES=(
61 # git master
62 "${FILESDIR}/${PN}-2.18.12-cmake-lib-suffix.patch"
63 + # TODO upstream
64 + "${FILESDIR}/${PN}-3.4.7-featuresummary.patch"
65 )
66
67 pkg_setup() {