1 |
commit: 981b12fae7c0375ce4a9225db8b566e69f7e7f4a |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Feb 14 20:32:49 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 14:23:56 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=981b12fa |
7 |
|
8 |
kde-apps/calendarjanitor: Split out of kdepim |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
.../calendarjanitor-15.12.49.9999.ebuild | 62 ++++++++++++++++++++++ |
13 |
.../calendarjanitor/calendarjanitor-9999.ebuild | 59 ++++++++++++++++++++ |
14 |
.../calendarjanitor/files/kdepim-console.patch | 46 ++++++++++++++++ |
15 |
3 files changed, 167 insertions(+) |
16 |
|
17 |
diff --git a/kde-apps/calendarjanitor/calendarjanitor-15.12.49.9999.ebuild b/kde-apps/calendarjanitor/calendarjanitor-15.12.49.9999.ebuild |
18 |
new file mode 100644 |
19 |
index 0000000..bf5397d |
20 |
--- /dev/null |
21 |
+++ b/kde-apps/calendarjanitor/calendarjanitor-15.12.49.9999.ebuild |
22 |
@@ -0,0 +1,62 @@ |
23 |
+# Copyright 1999-2016 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Id$ |
26 |
+ |
27 |
+EAPI=6 |
28 |
+ |
29 |
+KDE_PUNT_BOGUS_DEPS="true" |
30 |
+KDE_TEST="false" |
31 |
+KMNAME="kdepim" |
32 |
+inherit kde5 |
33 |
+ |
34 |
+DESCRIPTION="A tool to scan calendar data for buggy instances" |
35 |
+HOMEPAGE="https://www.kde.org/" |
36 |
+KEYWORDS="" |
37 |
+ |
38 |
+IUSE="" |
39 |
+ |
40 |
+DEPEND=" |
41 |
+ $(add_frameworks_dep kcoreaddons) |
42 |
+ $(add_frameworks_dep kdelibs4support) |
43 |
+ $(add_frameworks_dep ki18n) |
44 |
+ $(add_kdeapps_dep akonadi) |
45 |
+ $(add_kdeapps_dep akonadi-calendar) |
46 |
+ $(add_kdeapps_dep calendarsupport) |
47 |
+ $(add_kdeapps_dep kcalcore) |
48 |
+ $(add_qt_dep qtwidgets) |
49 |
+ dev-libs/libxslt |
50 |
+" |
51 |
+RDEPEND="${DEPEND} |
52 |
+ !<kde-apps/kdepim-15.12.2:5 |
53 |
+" |
54 |
+ |
55 |
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then |
56 |
+ S="${WORKDIR}/${P}" |
57 |
+else |
58 |
+ S="${WORKDIR}/${KMNAME}-${PV}" |
59 |
+fi |
60 |
+ |
61 |
+PATCHES=( "${FILESDIR}/kdepim-console.patch" ) |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ |
65 |
+ sed -e '/^include.*kleopatra\/ConfigureChecks/ s/^/#DONT/' \ |
66 |
+ -i CMakeLists.txt || die |
67 |
+ |
68 |
+ mv console/calendarjanitor calendarjanitor || die "Failed to move calendarjanitor" |
69 |
+ mv console/konsolekalendar konsolekalendar || die "Failed to move konsolekalendar" |
70 |
+ |
71 |
+ kde5_src_prepare |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local mycmakeargs=( |
76 |
+ -DKDEPIM_BUILD_WITH_INSTALLED_LIB=TRUE |
77 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5GAPI=ON |
78 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5Prison=ON |
79 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=ON |
80 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt5X11Extras=ON |
81 |
+ ) |
82 |
+ |
83 |
+ kde5_src_configure |
84 |
+} |
85 |
|
86 |
diff --git a/kde-apps/calendarjanitor/calendarjanitor-9999.ebuild b/kde-apps/calendarjanitor/calendarjanitor-9999.ebuild |
87 |
new file mode 100644 |
88 |
index 0000000..70d9ac5 |
89 |
--- /dev/null |
90 |
+++ b/kde-apps/calendarjanitor/calendarjanitor-9999.ebuild |
91 |
@@ -0,0 +1,59 @@ |
92 |
+# Copyright 1999-2016 Gentoo Foundation |
93 |
+# Distributed under the terms of the GNU General Public License v2 |
94 |
+# $Id$ |
95 |
+ |
96 |
+EAPI=6 |
97 |
+ |
98 |
+KDE_PUNT_BOGUS_DEPS="true" |
99 |
+KDE_TEST="false" |
100 |
+KMNAME="kdepim" |
101 |
+inherit kde5 |
102 |
+ |
103 |
+DESCRIPTION="A tool to scan calendar data for buggy instances" |
104 |
+HOMEPAGE="https://www.kde.org/" |
105 |
+KEYWORDS="" |
106 |
+ |
107 |
+IUSE="" |
108 |
+ |
109 |
+DEPEND=" |
110 |
+ $(add_frameworks_dep kcoreaddons) |
111 |
+ $(add_frameworks_dep kdelibs4support) |
112 |
+ $(add_frameworks_dep ki18n) |
113 |
+ $(add_kdeapps_dep akonadi) |
114 |
+ $(add_kdeapps_dep akonadi-calendar) |
115 |
+ $(add_kdeapps_dep calendarsupport) |
116 |
+ $(add_kdeapps_dep kcalcore) |
117 |
+ $(add_qt_dep qtwidgets) |
118 |
+ dev-libs/libxslt |
119 |
+" |
120 |
+RDEPEND="${DEPEND} |
121 |
+ !<kde-apps/kdepim-15.12.2:5 |
122 |
+" |
123 |
+ |
124 |
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then |
125 |
+ S="${WORKDIR}/${P}" |
126 |
+else |
127 |
+ S="${WORKDIR}/${KMNAME}-${PV}" |
128 |
+fi |
129 |
+ |
130 |
+PATCHES=( "${FILESDIR}/kdepim-console.patch" ) |
131 |
+ |
132 |
+src_prepare() { |
133 |
+ |
134 |
+ mv console/calendarjanitor calendarjanitor || die "Failed to move calendarjanitor" |
135 |
+ mv console/konsolekalendar konsolekalendar || die "Failed to move konsolekalendar" |
136 |
+ |
137 |
+ kde5_src_prepare |
138 |
+} |
139 |
+ |
140 |
+src_configure() { |
141 |
+ local mycmakeargs=( |
142 |
+ -DKDEPIM_BUILD_WITH_INSTALLED_LIB=TRUE |
143 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5GAPI=ON |
144 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5Prison=ON |
145 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=ON |
146 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt5X11Extras=ON |
147 |
+ ) |
148 |
+ |
149 |
+ kde5_src_configure |
150 |
+} |
151 |
|
152 |
diff --git a/kde-apps/calendarjanitor/files/kdepim-console.patch b/kde-apps/calendarjanitor/files/kdepim-console.patch |
153 |
new file mode 100644 |
154 |
index 0000000..1c67199 |
155 |
--- /dev/null |
156 |
+++ b/kde-apps/calendarjanitor/files/kdepim-console.patch |
157 |
@@ -0,0 +1,46 @@ |
158 |
+commit d29d2ad26bb15be0c229267e196c398e389358cb |
159 |
+Author: Andreas Sturmlechner <andreas.sturmlechner@×××××.com> |
160 |
+Date: Sun Feb 14 14:57:54 2016 +0100 |
161 |
+ |
162 |
+ [console] Build console applications independently |
163 |
+ |
164 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
165 |
+index 6fd1994..b137a56 100644 |
166 |
+--- a/CMakeLists.txt |
167 |
++++ b/CMakeLists.txt |
168 |
+@@ -261,7 +261,8 @@ add_subdirectory(blogilo) |
169 |
+ add_subdirectory(kontact) |
170 |
+ |
171 |
+ add_subdirectory(akonadiconsole) |
172 |
+-add_subdirectory(console) |
173 |
++add_subdirectory(calendarjanitor) |
174 |
++add_subdirectory(konsolekalendar) |
175 |
+ |
176 |
+ add_subdirectory(plugins) # Must be after KMail |
177 |
+ |
178 |
+diff --git a/calendarjanitor/CMakeLists.txt b/calendarjanitor/CMakeLists.txt |
179 |
+index 36d322a..511a12f 100644 |
180 |
+--- a/calendarjanitor/CMakeLists.txt |
181 |
++++ b/calendarjanitor/CMakeLists.txt |
182 |
+@@ -1,5 +1,8 @@ |
183 |
+ project(calendarjanitor) |
184 |
+ |
185 |
++add_definitions( -DQT_NO_CAST_FROM_ASCII ) |
186 |
++add_definitions( -DQT_NO_CAST_TO_ASCII ) |
187 |
++ |
188 |
+ ########### next target ############### |
189 |
+ |
190 |
+ set(calendarjanitor_SRCS |
191 |
+diff --git a/konsolekalendar/CMakeLists.txt b/konsolekalendar/CMakeLists.txt |
192 |
+index 7b0c6e0..f1b045a 100644 |
193 |
+--- a/konsolekalendar/CMakeLists.txt |
194 |
++++ b/konsolekalendar/CMakeLists.txt |
195 |
+@@ -1,5 +1,8 @@ |
196 |
+ project(konsolekalendar) |
197 |
+ |
198 |
++add_definitions( -DQT_NO_CAST_FROM_ASCII ) |
199 |
++add_definitions( -DQT_NO_CAST_TO_ASCII ) |
200 |
++ |
201 |
+ add_subdirectory(pics) |
202 |
+ |
203 |
+ ########### next target ############### |