1 |
commit: b6eb841a21cd2b4e491d69d6d08e6cfadb4dbb2b |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Dec 13 18:54:59 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 14 13:12:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6eb841a |
7 |
|
8 |
kde-base: Add >=cmake-3.4 configure fix for KDE PIM |
9 |
|
10 |
See also: https://bugs.gentoo.org/show_bug.cgi?id=566058 |
11 |
Tested-by: Vadim |
12 |
|
13 |
Package-Manager: portage-2.2.24 |
14 |
|
15 |
.../kmail/files/kdepim-4.14.10-fix-cmake-3.4.patch | 23 ++++++++++++++++++++++ |
16 |
kde-base/kmail/kmail-4.14.10.ebuild | 2 ++ |
17 |
.../files/kdepim-4.14.10-fix-cmake-3.4.patch | 23 ++++++++++++++++++++++ |
18 |
.../konsolekalendar/konsolekalendar-4.14.10.ebuild | 2 ++ |
19 |
.../files/kdepim-4.14.10-fix-cmake-3.4.patch | 23 ++++++++++++++++++++++ |
20 |
kde-base/korganizer/korganizer-4.14.10.ebuild | 6 ++++-- |
21 |
6 files changed, 77 insertions(+), 2 deletions(-) |
22 |
|
23 |
diff --git a/kde-base/kmail/files/kdepim-4.14.10-fix-cmake-3.4.patch b/kde-base/kmail/files/kdepim-4.14.10-fix-cmake-3.4.patch |
24 |
new file mode 100644 |
25 |
index 0000000..4039cbf |
26 |
--- /dev/null |
27 |
+++ b/kde-base/kmail/files/kdepim-4.14.10-fix-cmake-3.4.patch |
28 |
@@ -0,0 +1,23 @@ |
29 |
+From: Andreas Sturmlechner <andreas.sturmlechner@×××××.com> |
30 |
+Date: Sun, 13 Dec 2015 09:20:24 +0000 |
31 |
+Subject: Fix configure with >=cmake-3.4 |
32 |
+X-Git-Url: http://quickgit.kde.org/?p=kdepim.git&a=commitdiff&h=91275a772e51a4031b8f34bc83652b5e60478624 |
33 |
+--- |
34 |
+Fix configure with >=cmake-3.4 |
35 |
+ |
36 |
+REVIEW: 126334 |
37 |
+--- |
38 |
+ |
39 |
+ |
40 |
+--- a/CMakeLists.txt |
41 |
++++ b/CMakeLists.txt |
42 |
+@@ -3,6 +3,8 @@ |
43 |
+ |
44 |
+ # where to look first for cmake modules. This line must be the first one or cmake will use the system's FindFoo.cmake |
45 |
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules") |
46 |
++ |
47 |
++include(CheckIncludeFiles) |
48 |
+ |
49 |
+ ############### Build Options ############### |
50 |
+ |
51 |
+ |
52 |
|
53 |
diff --git a/kde-base/kmail/kmail-4.14.10.ebuild b/kde-base/kmail/kmail-4.14.10.ebuild |
54 |
index 490a793..df4cbe3 100644 |
55 |
--- a/kde-base/kmail/kmail-4.14.10.ebuild |
56 |
+++ b/kde-base/kmail/kmail-4.14.10.ebuild |
57 |
@@ -74,6 +74,8 @@ KMEXTRA=" |
58 |
|
59 |
KMLOADLIBS="kdepim-common-libs" |
60 |
|
61 |
+PATCHES=( "${FILESDIR}/kdepim-4.14.10-fix-cmake-3.4.patch" ) |
62 |
+ |
63 |
src_configure() { |
64 |
# Bug 308903 |
65 |
use ppc64 && append-flags -mminimal-toc |
66 |
|
67 |
diff --git a/kde-base/konsolekalendar/files/kdepim-4.14.10-fix-cmake-3.4.patch b/kde-base/konsolekalendar/files/kdepim-4.14.10-fix-cmake-3.4.patch |
68 |
new file mode 100644 |
69 |
index 0000000..4039cbf |
70 |
--- /dev/null |
71 |
+++ b/kde-base/konsolekalendar/files/kdepim-4.14.10-fix-cmake-3.4.patch |
72 |
@@ -0,0 +1,23 @@ |
73 |
+From: Andreas Sturmlechner <andreas.sturmlechner@×××××.com> |
74 |
+Date: Sun, 13 Dec 2015 09:20:24 +0000 |
75 |
+Subject: Fix configure with >=cmake-3.4 |
76 |
+X-Git-Url: http://quickgit.kde.org/?p=kdepim.git&a=commitdiff&h=91275a772e51a4031b8f34bc83652b5e60478624 |
77 |
+--- |
78 |
+Fix configure with >=cmake-3.4 |
79 |
+ |
80 |
+REVIEW: 126334 |
81 |
+--- |
82 |
+ |
83 |
+ |
84 |
+--- a/CMakeLists.txt |
85 |
++++ b/CMakeLists.txt |
86 |
+@@ -3,6 +3,8 @@ |
87 |
+ |
88 |
+ # where to look first for cmake modules. This line must be the first one or cmake will use the system's FindFoo.cmake |
89 |
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules") |
90 |
++ |
91 |
++include(CheckIncludeFiles) |
92 |
+ |
93 |
+ ############### Build Options ############### |
94 |
+ |
95 |
+ |
96 |
|
97 |
diff --git a/kde-base/konsolekalendar/konsolekalendar-4.14.10.ebuild b/kde-base/konsolekalendar/konsolekalendar-4.14.10.ebuild |
98 |
index 8484f8b..bd67439 100644 |
99 |
--- a/kde-base/konsolekalendar/konsolekalendar-4.14.10.ebuild |
100 |
+++ b/kde-base/konsolekalendar/konsolekalendar-4.14.10.ebuild |
101 |
@@ -46,3 +46,5 @@ KMEXTRACTONLY=" |
102 |
" |
103 |
|
104 |
KMLOADLIBS="kdepim-common-libs" |
105 |
+ |
106 |
+PATCHES=( "${FILESDIR}/kdepim-4.14.10-fix-cmake-3.4.patch" ) |
107 |
|
108 |
diff --git a/kde-base/korganizer/files/kdepim-4.14.10-fix-cmake-3.4.patch b/kde-base/korganizer/files/kdepim-4.14.10-fix-cmake-3.4.patch |
109 |
new file mode 100644 |
110 |
index 0000000..4039cbf |
111 |
--- /dev/null |
112 |
+++ b/kde-base/korganizer/files/kdepim-4.14.10-fix-cmake-3.4.patch |
113 |
@@ -0,0 +1,23 @@ |
114 |
+From: Andreas Sturmlechner <andreas.sturmlechner@×××××.com> |
115 |
+Date: Sun, 13 Dec 2015 09:20:24 +0000 |
116 |
+Subject: Fix configure with >=cmake-3.4 |
117 |
+X-Git-Url: http://quickgit.kde.org/?p=kdepim.git&a=commitdiff&h=91275a772e51a4031b8f34bc83652b5e60478624 |
118 |
+--- |
119 |
+Fix configure with >=cmake-3.4 |
120 |
+ |
121 |
+REVIEW: 126334 |
122 |
+--- |
123 |
+ |
124 |
+ |
125 |
+--- a/CMakeLists.txt |
126 |
++++ b/CMakeLists.txt |
127 |
+@@ -3,6 +3,8 @@ |
128 |
+ |
129 |
+ # where to look first for cmake modules. This line must be the first one or cmake will use the system's FindFoo.cmake |
130 |
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules") |
131 |
++ |
132 |
++include(CheckIncludeFiles) |
133 |
+ |
134 |
+ ############### Build Options ############### |
135 |
+ |
136 |
+ |
137 |
|
138 |
diff --git a/kde-base/korganizer/korganizer-4.14.10.ebuild b/kde-base/korganizer/korganizer-4.14.10.ebuild |
139 |
index d15bdb9..1f45e35 100644 |
140 |
--- a/kde-base/korganizer/korganizer-4.14.10.ebuild |
141 |
+++ b/kde-base/korganizer/korganizer-4.14.10.ebuild |
142 |
@@ -68,6 +68,8 @@ src_unpack() { |
143 |
} |
144 |
|
145 |
src_prepare() { |
146 |
+ epatch "${FILESDIR}/kdepim-4.14.10-fix-cmake-3.4.patch" |
147 |
+ |
148 |
use handbook && epatch "${FILESDIR}/${PN}-4.14.10-handbook.patch" |
149 |
|
150 |
kde4-meta_src_prepare |
151 |
@@ -76,8 +78,8 @@ src_prepare() { |
152 |
src_install() { |
153 |
kde4-meta_src_install |
154 |
# colliding with kdepim-common-libs |
155 |
- rm -rf "${ED}"/usr/share/kde4/servicetypes/calendarplugin.desktop |
156 |
- rm -rf "${ED}"/usr/share/kde4/servicetypes/calendardecoration.desktop |
157 |
+ rm -rf "${ED}"usr/share/kde4/servicetypes/calendarplugin.desktop || die |
158 |
+ rm -rf "${ED}"usr/share/kde4/servicetypes/calendardecoration.desktop || die |
159 |
} |
160 |
|
161 |
pkg_postinst() { |