1 |
commit: 11cf916d0190e629a28df0872174a336de462274 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 25 21:49:13 2016 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 26 07:28:00 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11cf916d |
7 |
|
8 |
kde-apps: Cleanup KDE Applications 4.14.3 |
9 |
|
10 |
Package-Manager: portage-2.3.0_rc1 |
11 |
|
12 |
kde-apps/ark/files/ark-4.14.3-crash.patch | 81 --------- |
13 |
.../files/kdebase-data-4.14.3-lithuania-euro.patch | 40 ----- |
14 |
.../files/kdebase-kioslaves-CVE-2014-8600.patch | 29 ---- |
15 |
kde-apps/kmix/kmix-4.14.3.ebuild | 30 ---- |
16 |
kde-apps/krdc/files/krdc-4.13.1-freerdp.patch | 184 --------------------- |
17 |
....14.0-CVE-2014-4607-unbundle-libvncserver.patch | 133 --------------- |
18 |
.../kstars/files/kstars-4.14.3-indilib100.patch | 26 --- |
19 |
.../files/libkdcraw-4.14.3-libraw-0.16.1.patch | 18 -- |
20 |
8 files changed, 541 deletions(-) |
21 |
|
22 |
diff --git a/kde-apps/ark/files/ark-4.14.3-crash.patch b/kde-apps/ark/files/ark-4.14.3-crash.patch |
23 |
deleted file mode 100644 |
24 |
index 5eccf82..0000000 |
25 |
--- a/kde-apps/ark/files/ark-4.14.3-crash.patch |
26 |
+++ /dev/null |
27 |
@@ -1,81 +0,0 @@ |
28 |
-From cd8ad2761d41d1ec0a18cff7f4d166b53c899fc2 Mon Sep 17 00:00:00 2001 |
29 |
-From: Raphael Kubo da Costa <rakuco@×××××××.org> |
30 |
-Date: Mon, 24 Nov 2014 01:37:06 +0200 |
31 |
-Subject: [PATCH] Stop crashing on exit when being used solely as a KPart. |
32 |
- |
33 |
-This change fixes a crash introduced by commit 3b981ca ("Remove Part |
34 |
-from KXMLGUIFactory on exit"). |
35 |
- |
36 |
-Part::~Part() is the wrong place to call KXMLGUIFactory::removeClient(), |
37 |
-as it assumes addClient() had been called in the first place. |
38 |
- |
39 |
-This is only true if Ark is called as a standalone program, since that |
40 |
-is done in MainWindow::loadPart()'s call to KXMLGuiWindow::createGUI(). |
41 |
- |
42 |
-Conversely, if the Ark KPart is being used as an embedded viewer in, |
43 |
-say, Konqueror or to preview an archive inside an archive (ie. Ark |
44 |
-inside Ark) that does not hold true and we try to access a |
45 |
-KXMLGUIFactory that does not exist. |
46 |
- |
47 |
-Instead, call KXMLGuiWindow::removeClient() in MainWindow's destructor, |
48 |
-since in this case we are certain that addClient() was been called |
49 |
-before. |
50 |
- |
51 |
-CCBUG: 341187 |
52 |
- |
53 |
-(cherry picked from commit 9c30f30b38c36a31e6fcb3aa047a0247ac5a22fb) |
54 |
-This was committed for completeness, as there will be no additional |
55 |
-releases from the KDE/4.14 branch. |
56 |
- |
57 |
-Conflicts: |
58 |
- part/part.cpp |
59 |
---- |
60 |
- app/mainwindow.cpp | 3 +++ |
61 |
- part/part.cpp | 3 --- |
62 |
- 2 files changed, 3 insertions(+), 3 deletions(-) |
63 |
- |
64 |
-diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp |
65 |
-index aee8231..181fe76 100644 |
66 |
---- a/app/mainwindow.cpp |
67 |
-+++ b/app/mainwindow.cpp |
68 |
-@@ -38,6 +38,7 @@ |
69 |
- #include <KDebug> |
70 |
- #include <KEditToolBar> |
71 |
- #include <KShortcutsDialog> |
72 |
-+#include <KXMLGUIFactory> |
73 |
- |
74 |
- #include <QDragEnterEvent> |
75 |
- #include <QDragMoveEvent> |
76 |
-@@ -69,6 +70,8 @@ MainWindow::~MainWindow() |
77 |
- if (m_recentFilesAction) { |
78 |
- m_recentFilesAction->saveEntries(KGlobal::config()->group("Recent Files")); |
79 |
- } |
80 |
-+ |
81 |
-+ guiFactory()->removeClient(m_part); |
82 |
- delete m_part; |
83 |
- m_part = 0; |
84 |
- } |
85 |
-diff --git a/part/part.cpp b/part/part.cpp |
86 |
-index bae4882..09fe1cb 100644 |
87 |
---- a/part/part.cpp |
88 |
-+++ b/part/part.cpp |
89 |
-@@ -53,7 +53,6 @@ |
90 |
- #include <KStandardGuiItem> |
91 |
- #include <KTempDir> |
92 |
- #include <KToggleAction> |
93 |
--#include <KXMLGUIFactory> |
94 |
- |
95 |
- #include <QAction> |
96 |
- #include <QCursor> |
97 |
-@@ -138,8 +137,6 @@ Part::Part(QWidget *parentWidget, QObject *parent, const QVariantList& args) |
98 |
- |
99 |
- Part::~Part() |
100 |
- { |
101 |
-- factory()->removeClient(this); |
102 |
-- |
103 |
- saveSplitterSizes(); |
104 |
- |
105 |
- m_extractFilesAction->menu()->deleteLater(); |
106 |
--- |
107 |
-2.0.5 |
108 |
- |
109 |
|
110 |
diff --git a/kde-apps/kdebase-data/files/kdebase-data-4.14.3-lithuania-euro.patch b/kde-apps/kdebase-data/files/kdebase-data-4.14.3-lithuania-euro.patch |
111 |
deleted file mode 100644 |
112 |
index 503ed91..0000000 |
113 |
--- a/kde-apps/kdebase-data/files/kdebase-data-4.14.3-lithuania-euro.patch |
114 |
+++ /dev/null |
115 |
@@ -1,40 +0,0 @@ |
116 |
-commit 9236eedec44b58434fdcc7d398e32909a80207ff |
117 |
-Author: Albert Astals Cid <aacid@×××.org> |
118 |
-Date: Thu Jan 1 15:41:24 2015 +0100 |
119 |
- |
120 |
- Welcome Lithuania to the euro users |
121 |
- |
122 |
-diff --git a/localization/currency/eur.desktop b/localization/currency/eur.desktop |
123 |
-index 2ffb763..09ed064 100644 |
124 |
---- a/localization/currency/eur.desktop |
125 |
-+++ b/localization/currency/eur.desktop |
126 |
-@@ -91,4 +91,4 @@ CurrencyIntroducedDate=1999,01,01 |
127 |
- #CurrencySubunitsInCirculation=true |
128 |
- #CurrencySubunitsPerUnit=100 |
129 |
- #CurrencyDecimalPlacesDisplay=2 |
130 |
--CurrencyCountriesInUse=AT,BE,CY,FI,FR,DE,EE,GR,IE,IT,LU,LV,MT,NL,PT,SK,SI,ES,MC,SM,VA,AD,ME,ZW |
131 |
-+CurrencyCountriesInUse=AT,BE,CY,FI,FR,DE,EE,GR,IE,IT,LT,LU,LV,MT,NL,PT,SK,SI,ES,MC,SM,VA,AD,ME,ZW |
132 |
- |
133 |
-commit d8e2b2cecaf5fed5e965534eacff35324bebd4fa |
134 |
-Author: Albert Astals Cid <aacid@×××.org> |
135 |
-Date: Thu Jan 1 15:59:17 2015 +0100 |
136 |
- |
137 |
- Lats cirulation ended on 14 Jan 2014 |
138 |
- |
139 |
-diff --git a/localization/currency/lvl.desktop b/localization/currency/lvl.desktop |
140 |
-index 076bb8e..158c68c 100644 |
141 |
---- a/localization/currency/lvl.desktop |
142 |
-+++ b/localization/currency/lvl.desktop |
143 |
-@@ -83,9 +83,9 @@ CurrencySubunitSingular=santims |
144 |
- CurrencySubunitPlural=santimi |
145 |
- CurrencyIntroducedDate=1993,01,01 |
146 |
- #CurrencySuspendedDate= |
147 |
--#CurrencyWithdrawnDate= |
148 |
-+CurrencyWithdrawnDate=2014,01,14 |
149 |
- #CurrencySubunits=1 |
150 |
- #CurrencySubunitsInCirculation=true |
151 |
- #CurrencySubunitsPerUnit=100 |
152 |
- #CurrencyDecimalPlacesDisplay=2 |
153 |
--CurrencyCountriesInUse=LV |
154 |
-+CurrencyCountriesInUse= |
155 |
- |
156 |
|
157 |
diff --git a/kde-apps/kdebase-kioslaves/files/kdebase-kioslaves-CVE-2014-8600.patch b/kde-apps/kdebase-kioslaves/files/kdebase-kioslaves-CVE-2014-8600.patch |
158 |
deleted file mode 100644 |
159 |
index dcb20f8..0000000 |
160 |
--- a/kde-apps/kdebase-kioslaves/files/kdebase-kioslaves-CVE-2014-8600.patch |
161 |
+++ /dev/null |
162 |
@@ -1,29 +0,0 @@ |
163 |
-From: Martin Sandsmark <martin.sandsmark@×××.org> |
164 |
-Date: Thu, 13 Nov 2014 12:29:01 +0000 |
165 |
-Subject: Sanitize path |
166 |
-X-Git-Url: http://quickgit.kde.org/?p=kde-runtime.git&a=commitdiff&h=d68703900edc8416fbcd2550cd336cbbb76decb9 |
167 |
---- |
168 |
-Sanitize path |
169 |
---- |
170 |
- |
171 |
- |
172 |
---- a/kioslave/bookmarks/kio_bookmarks.cpp |
173 |
-+++ b/kioslave/bookmarks/kio_bookmarks.cpp |
174 |
-@@ -22,6 +22,7 @@ |
175 |
- #include <stdlib.h> |
176 |
- |
177 |
- #include <qregexp.h> |
178 |
-+#include <qtextdocument.h> |
179 |
- |
180 |
- #include <kapplication.h> |
181 |
- #include <kcmdlineargs.h> |
182 |
-@@ -197,7 +198,7 @@ |
183 |
- echoImage(regexp.cap(1), regexp.cap(2), url.queryItem("size")); |
184 |
- } else { |
185 |
- echoHead(); |
186 |
-- echo("<p class=\"message\">" + i18n("Wrong request: %1",path) + "</p>"); |
187 |
-+ echo("<p class=\"message\">" + i18n("Bad request: %1", Qt::escape(Qt::escape(url.prettyUrl()))) + "</p>"); |
188 |
- } |
189 |
- finished(); |
190 |
- } |
191 |
- |
192 |
|
193 |
diff --git a/kde-apps/kmix/kmix-4.14.3.ebuild b/kde-apps/kmix/kmix-4.14.3.ebuild |
194 |
deleted file mode 100644 |
195 |
index 92f73d6..0000000 |
196 |
--- a/kde-apps/kmix/kmix-4.14.3.ebuild |
197 |
+++ /dev/null |
198 |
@@ -1,30 +0,0 @@ |
199 |
-# Copyright 1999-2015 Gentoo Foundation |
200 |
-# Distributed under the terms of the GNU General Public License v2 |
201 |
-# $Id$ |
202 |
- |
203 |
-EAPI=5 |
204 |
- |
205 |
-KDE_HANDBOOK="optional" |
206 |
-inherit kde4-base |
207 |
- |
208 |
-DESCRIPTION="KDE mixer gui" |
209 |
-HOMEPAGE="https://www.kde.org/applications/multimedia/kmix/" |
210 |
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" |
211 |
-IUSE="alsa debug canberra pulseaudio" |
212 |
- |
213 |
-DEPEND=" |
214 |
- alsa? ( >=media-libs/alsa-lib-1.0.14a ) |
215 |
- canberra? ( media-libs/libcanberra ) |
216 |
- pulseaudio? ( >=media-sound/pulseaudio-0.9.12 ) |
217 |
-" |
218 |
-RDEPEND="${DEPEND}" |
219 |
- |
220 |
-src_configure() { |
221 |
- local mycmakeargs=( |
222 |
- $(cmake-utils_use_with alsa) |
223 |
- $(cmake-utils_use_with canberra) |
224 |
- $(cmake-utils_use_with pulseaudio PulseAudio) |
225 |
- ) |
226 |
- |
227 |
- kde4-base_src_configure |
228 |
-} |
229 |
|
230 |
diff --git a/kde-apps/krdc/files/krdc-4.13.1-freerdp.patch b/kde-apps/krdc/files/krdc-4.13.1-freerdp.patch |
231 |
deleted file mode 100644 |
232 |
index 75b5146..0000000 |
233 |
--- a/kde-apps/krdc/files/krdc-4.13.1-freerdp.patch |
234 |
+++ /dev/null |
235 |
@@ -1,184 +0,0 @@ |
236 |
-Support >=free-rdp-1.1.0. |
237 |
- |
238 |
-https://git.reviewboard.kde.org/r/115059/ |
239 |
- |
240 |
-diff --git a/rdp/rdpview.cpp b/rdp/rdpview.cpp |
241 |
-index 0d14e04691549e084b58501cd10ca2382ef25c63..9062ba5fa060284a679f0c9bc211ab7dd6972c0a 100644 |
242 |
---- a/rdp/rdpview.cpp |
243 |
-+++ b/rdp/rdpview.cpp |
244 |
-@@ -158,71 +158,58 @@ bool RdpView::start() |
245 |
- width = this->parentWidget()->size().width(); |
246 |
- height = this->parentWidget()->size().height(); |
247 |
- } |
248 |
-- arguments << "-g" << QString::number(width) + 'x' + QString::number(height); |
249 |
-+ arguments << "-decorations"; // put this option first so we can detect xfreerdp < 1.1 |
250 |
-+ arguments << "/w:" + QString::number(width); |
251 |
-+ arguments << "/h:" + QString::number(height); |
252 |
- |
253 |
-- arguments << "-k" << keymapToXfreerdp(m_hostPreferences->keyboardLayout()); |
254 |
-+ arguments << "/kbd:" + keymapToXfreerdp(m_hostPreferences->keyboardLayout()); |
255 |
- |
256 |
- if (!m_url.userName().isEmpty()) { |
257 |
- // if username contains a domain, it needs to be set with another parameter |
258 |
- if (m_url.userName().contains('\\')) { |
259 |
- const QStringList splittedName = m_url.userName().split('\\'); |
260 |
-- arguments << "-d" << splittedName.at(0); |
261 |
-- arguments << "-u" << splittedName.at(1); |
262 |
-+ arguments << "/d:" + splittedName.at(0); |
263 |
-+ arguments << "/u:" + splittedName.at(1); |
264 |
- } else { |
265 |
-- arguments << "-u" << m_url.userName(); |
266 |
-+ arguments << "/u:" + m_url.userName(); |
267 |
- } |
268 |
- } else { |
269 |
-- arguments << "-u" << ""; |
270 |
-+ arguments << "-u:"; |
271 |
- } |
272 |
- |
273 |
-- if (!m_url.password().isNull()) |
274 |
-- arguments << "-p" << m_url.password(); |
275 |
-- |
276 |
-- arguments << "-D"; // request the window has no decorations |
277 |
-- arguments << "-X" << QString::number(m_container->winId()); |
278 |
-- arguments << "-a" << QString::number((m_hostPreferences->colorDepth() + 1) * 8); |
279 |
-- |
280 |
-- switch (m_hostPreferences->sound()) { |
281 |
-- case 1: |
282 |
-- arguments << "-o"; |
283 |
-- break; |
284 |
-- case 0: |
285 |
-- arguments << "--plugin" << "rdpsnd"; |
286 |
-- break; |
287 |
-- case 2: |
288 |
-- default: |
289 |
-- break; |
290 |
-- } |
291 |
-+ arguments << "/parent-window:" + QString::number(m_container->winId()); |
292 |
-+ arguments << "/bpp:" + QString::number((m_hostPreferences->colorDepth() + 1) * 8); |
293 |
-+ arguments << "/audio-mode:" + m_hostPreferences->sound(); |
294 |
- |
295 |
- if (!m_hostPreferences->shareMedia().isEmpty()) { |
296 |
- QStringList shareMedia; |
297 |
-- shareMedia << "--plugin" << "rdpdr" << "--data" << "disk:media:" + m_hostPreferences->shareMedia() << "--"; |
298 |
-+ shareMedia << "/drive:media," + m_hostPreferences->shareMedia(); |
299 |
- arguments += shareMedia; |
300 |
- } |
301 |
- |
302 |
- QString performance; |
303 |
- switch (m_hostPreferences->performance()) { |
304 |
- case 0: |
305 |
-- performance = 'm'; |
306 |
-+ performance = "modem"; |
307 |
- break; |
308 |
- case 1: |
309 |
-- performance = 'b'; |
310 |
-+ performance = "broadband"; |
311 |
- break; |
312 |
- case 2: |
313 |
-- performance = 'l'; |
314 |
-+ performance = "lan"; |
315 |
- break; |
316 |
- default: |
317 |
- break; |
318 |
- } |
319 |
- |
320 |
-- arguments << "-x" << performance; |
321 |
-+ arguments << "/network:" + performance; |
322 |
- |
323 |
- if (m_hostPreferences->console()) { |
324 |
-- arguments << "-0"; |
325 |
-+ arguments << "/admin"; |
326 |
- } |
327 |
- |
328 |
- if (m_hostPreferences->remoteFX()) { |
329 |
-- arguments << "--rfx"; |
330 |
-+ arguments << "/rfx"; |
331 |
- } |
332 |
- |
333 |
- if (!m_hostPreferences->extraOptions().isEmpty()) { |
334 |
-@@ -233,16 +220,21 @@ bool RdpView::start() |
335 |
- // krdc has no support for certificate management yet; it would not be possbile to connect to any host: |
336 |
- // "The host key for example.com has changed" ... |
337 |
- // "Add correct host key in ~/.freerdp/known_hosts to get rid of this message." |
338 |
-- arguments << "--ignore-certificate"; |
339 |
-+ arguments << "/cert-ignore"; |
340 |
- |
341 |
- // clipboard sharing is activated in KRDC; user can disable it at runtime |
342 |
-- arguments << "--plugin" << "cliprdr"; |
343 |
-+ arguments << "/clipboard"; |
344 |
- |
345 |
-- arguments << "-t" << QString::number(m_port); |
346 |
-- arguments << m_host; |
347 |
-+ arguments << "/port:" + QString::number(m_port); |
348 |
-+ arguments << "/v:" + m_host; |
349 |
- |
350 |
- kDebug(5012) << "Starting xfreerdp with arguments:" << arguments; |
351 |
- |
352 |
-+ //avoid printing the password in debug |
353 |
-+ if (!m_url.password().isNull()) { |
354 |
-+ arguments << "/p:" + m_url.password(); |
355 |
-+ } |
356 |
-+ |
357 |
- setStatus(Connecting); |
358 |
- |
359 |
- connect(m_process, SIGNAL(error(QProcess::ProcessError)), SLOT(processError(QProcess::ProcessError))); |
360 |
-@@ -302,7 +294,7 @@ void RdpView::connectionError() |
361 |
- |
362 |
- void RdpView::processError(QProcess::ProcessError error) |
363 |
- { |
364 |
-- kDebug(5012) << "processError:" << error; |
365 |
-+ kDebug(5012) << error; |
366 |
- if (m_quitFlag) // do not try to show error messages while quitting (prevent crashes) |
367 |
- return; |
368 |
- |
369 |
-@@ -319,33 +311,13 @@ void RdpView::processError(QProcess::ProcessError error) |
370 |
- void RdpView::receivedStandardError() |
371 |
- { |
372 |
- const QString output(m_process->readAllStandardError()); |
373 |
-- kDebug(5012) << "receivedStandardError:" << output; |
374 |
-- QString line; |
375 |
-- int i = 0; |
376 |
-- while (!(line = output.section('\n', i, i)).isEmpty()) { |
377 |
-- |
378 |
-- // the following error is issued by freerdp because of a bug in freerdp 1.0.1 and below; |
379 |
-- // see: https://github.com/FreeRDP/FreeRDP/pull/576 |
380 |
-- //"X Error of failed request: BadWindow (invalid Window parameter) |
381 |
-- // Major opcode of failed request: 7 (X_ReparentWindow) |
382 |
-- // Resource id in failed request: 0x71303348 |
383 |
-- // Serial number of failed request: 36 |
384 |
-- // Current serial number in output stream: 36" |
385 |
-- if (line.contains(QLatin1String("X_ReparentWindow"))) { |
386 |
-- KMessageBox::error(0, i18n("The version of \"xfreerdp\" you are using is too old.\n" |
387 |
-- "xfreerdp 1.0.2 or greater is required."), |
388 |
-- i18n("RDP Failure")); |
389 |
-- connectionError(); |
390 |
-- return; |
391 |
-- } |
392 |
-- i++; |
393 |
-- } |
394 |
-+ kDebug(5012) << output; |
395 |
- } |
396 |
- |
397 |
- void RdpView::receivedStandardOutput() |
398 |
- { |
399 |
- const QString output(m_process->readAllStandardOutput()); |
400 |
-- kDebug(5012) << "receivedStandardOutput:" << output; |
401 |
-+ kDebug(5012) << output; |
402 |
- QString line; |
403 |
- int i = 0; |
404 |
- while (!(line = output.section('\n', i, i)).isEmpty()) { |
405 |
-@@ -373,6 +345,14 @@ void RdpView::receivedStandardOutput() |
406 |
- return; |
407 |
- } |
408 |
- |
409 |
-+ // we no longer support freerdp < 1.1, we only support versions with the new interface |
410 |
-+ if (line.contains(QLatin1String("invalid option: -decorations"))) { |
411 |
-+ KMessageBox::error(0, i18n("The version of \"xfreerdp\" you are using is too old.\n" |
412 |
-+ "xfreerdp 1.1 or greater is required."), |
413 |
-+ i18n("RDP Failure")); |
414 |
-+ connectionError(); |
415 |
-+ return; |
416 |
-+ } |
417 |
- i++; |
418 |
- } |
419 |
- } |
420 |
|
421 |
diff --git a/kde-apps/krfb/files/krfb-4.14.0-CVE-2014-4607-unbundle-libvncserver.patch b/kde-apps/krfb/files/krfb-4.14.0-CVE-2014-4607-unbundle-libvncserver.patch |
422 |
deleted file mode 100644 |
423 |
index 202519b..0000000 |
424 |
--- a/kde-apps/krfb/files/krfb-4.14.0-CVE-2014-4607-unbundle-libvncserver.patch |
425 |
+++ /dev/null |
426 |
@@ -1,133 +0,0 @@ |
427 |
-From 766fc7694a58b7e01c003356db94276f07b791b5 Mon Sep 17 00:00:00 2001 |
428 |
-From: Johannes Huber <johu@g.o> |
429 |
-Date: Thu, 31 Jul 2014 19:41:01 +0200 |
430 |
-Subject: [PATCH] CVE-2014-4607: Unbundle libvncserver |
431 |
- |
432 |
-http://seclists.org/oss-sec/2014/q2/676 |
433 |
- |
434 |
-REVIEW: 119548 |
435 |
---- |
436 |
- CMakeLists.txt | 7 +++--- |
437 |
- cmake/modules/FindLibVNCServer.cmake | 41 ++++++++++++++++++++++++++++++++++++ |
438 |
- krfb/CMakeLists.txt | 2 ++ |
439 |
- krfb/rfb.h | 2 +- |
440 |
- 4 files changed, 47 insertions(+), 5 deletions(-) |
441 |
- create mode 100644 cmake/modules/FindLibVNCServer.cmake |
442 |
- |
443 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
444 |
-index 4aa24dd..0b29da0 100644 |
445 |
---- a/CMakeLists.txt |
446 |
-+++ b/CMakeLists.txt |
447 |
-@@ -32,6 +32,8 @@ set(CMAKE_MODULE_PATH |
448 |
- ${CMAKE_MODULE_PATH} |
449 |
- ) |
450 |
- |
451 |
-+find_package(LibVNCServer REQUIRED) |
452 |
-+ |
453 |
- macro_optional_find_package(TelepathyQt4) |
454 |
- macro_log_feature(TelepathyQt4_FOUND "telepathy-qt" "Telepathy Qt Bindings" "http://telepathy.freedesktop.org" FALSE "0.9" "Needed to build Telepathy Tubes support.") |
455 |
- |
456 |
-@@ -44,8 +46,6 @@ macro_bool_to_01(X11_XShm_FOUND HAVE_XSHM) |
457 |
- include_directories ("${CMAKE_CURRENT_BINARY_DIR}/krfb" |
458 |
- "${CMAKE_CURRENT_SOURCE_DIR}/krfb" |
459 |
- "${CMAKE_CURRENT_SOURCE_DIR}/krfb/ui" |
460 |
-- "${CMAKE_CURRENT_SOURCE_DIR}/libvncserver/" |
461 |
-- "${CMAKE_CURRENT_BINARY_DIR}/libvncserver/" |
462 |
- ) |
463 |
- |
464 |
- if(Q_WS_X11) |
465 |
-@@ -54,9 +54,8 @@ if(Q_WS_X11) |
466 |
- endif(NOT X11_XTest_FOUND) |
467 |
- endif(Q_WS_X11) |
468 |
- |
469 |
--add_subdirectory(libvncserver) |
470 |
- add_subdirectory(krfb) |
471 |
--add_subdirectory (framebuffers) |
472 |
-+add_subdirectory(framebuffers) |
473 |
- add_subdirectory(doc) |
474 |
- |
475 |
- if (NOT INSIDE_KDENETWORK) |
476 |
-diff --git a/cmake/modules/FindLibVNCServer.cmake b/cmake/modules/FindLibVNCServer.cmake |
477 |
-new file mode 100644 |
478 |
-index 0000000..5927ab2 |
479 |
---- /dev/null |
480 |
-+++ b/cmake/modules/FindLibVNCServer.cmake |
481 |
-@@ -0,0 +1,41 @@ |
482 |
-+# cmake macro to test LIBVNCSERVER LIB |
483 |
-+ |
484 |
-+# Copyright (c) 2006, Alessandro Praduroux <pradu@×××××.it> |
485 |
-+# Copyright (c) 2007, Urs Wolfer <uwolfer @ kde.org> |
486 |
-+# |
487 |
-+# Redistribution and use is allowed according to the terms of the BSD license. |
488 |
-+# For details see the accompanying COPYING-CMAKE-SCRIPTS file. |
489 |
-+ |
490 |
-+INCLUDE(CheckPointerMember) |
491 |
-+ |
492 |
-+IF (LIBVNCSERVER_INCLUDE_DIR AND LIBVNCSERVER_LIBRARIES) |
493 |
-+ # Already in cache, be silent |
494 |
-+ SET(LIBVNCSERVER_FIND_QUIETLY TRUE) |
495 |
-+ENDIF (LIBVNCSERVER_INCLUDE_DIR AND LIBVNCSERVER_LIBRARIES) |
496 |
-+ |
497 |
-+FIND_PATH(LIBVNCSERVER_INCLUDE_DIR rfb/rfb.h) |
498 |
-+ |
499 |
-+FIND_LIBRARY(LIBVNCSERVER_LIBRARIES NAMES vncserver libvncserver) |
500 |
-+ |
501 |
-+# libvncserver and libvncclient are in the same package, so it does |
502 |
-+# not make sense to add a new cmake script for finding libvncclient. |
503 |
-+# instead just find the libvncclient also in this file. |
504 |
-+FIND_PATH(LIBVNCCLIENT_INCLUDE_DIR rfb/rfbclient.h) |
505 |
-+FIND_LIBRARY(LIBVNCCLIENT_LIBRARIES NAMES vncclient libvncclient) |
506 |
-+ |
507 |
-+IF (LIBVNCSERVER_INCLUDE_DIR AND LIBVNCSERVER_LIBRARIES) |
508 |
-+ SET(CMAKE_REQUIRED_INCLUDES "${LIBVNCSERVER_INCLUDE_DIR}" "${CMAKE_REQUIRED_INCLUDES}") |
509 |
-+ CHECK_POINTER_MEMBER(rfbClient* GotXCutText rfb/rfbclient.h LIBVNCSERVER_FOUND) |
510 |
-+ENDIF (LIBVNCSERVER_INCLUDE_DIR AND LIBVNCSERVER_LIBRARIES) |
511 |
-+ |
512 |
-+IF (LIBVNCSERVER_FOUND) |
513 |
-+ IF (NOT LIBVNCSERVER_FIND_QUIETLY) |
514 |
-+ MESSAGE(STATUS "Found LibVNCServer: ${LIBVNCSERVER_LIBRARIES}") |
515 |
-+ ENDIF (NOT LIBVNCSERVER_FIND_QUIETLY) |
516 |
-+ELSE (LIBVNCSERVER_FOUND) |
517 |
-+ IF (LIBVNCSERVER_FIND_REQUIRED) |
518 |
-+ MESSAGE(FATAL_ERROR "Could NOT find acceptable version of LibVNCServer (version 0.9 or later required).") |
519 |
-+ ENDIF (LIBVNCSERVER_FIND_REQUIRED) |
520 |
-+ENDIF (LIBVNCSERVER_FOUND) |
521 |
-+ |
522 |
-+MARK_AS_ADVANCED(LIBVNCSERVER_INCLUDE_DIR LIBVNCSERVER_LIBRARIES) |
523 |
-\ No newline at end of file |
524 |
-diff --git a/krfb/CMakeLists.txt b/krfb/CMakeLists.txt |
525 |
-index a65eea8..100b49b 100644 |
526 |
---- a/krfb/CMakeLists.txt |
527 |
-+++ b/krfb/CMakeLists.txt |
528 |
-@@ -20,6 +20,7 @@ target_link_libraries (krfbprivate |
529 |
- ${QT_QTCORE_LIBRARY} |
530 |
- ${QT_QTGUI_LIBRARY} |
531 |
- ${X11_X11_LIB} |
532 |
-+ ${LIBVNCSERVER_LIBRARIES} |
533 |
- ) |
534 |
- |
535 |
- set_target_properties (krfbprivate PROPERTIES |
536 |
-@@ -103,6 +104,7 @@ target_link_libraries (krfb |
537 |
- ${QT_QTNETWORK_LIBRARY} |
538 |
- ${KDE4_KDNSSD_LIBS} |
539 |
- ${KDE4_KDEUI_LIBS} |
540 |
-+ ${LIBVNCSERVER_LIBRARIES} |
541 |
- ) |
542 |
- |
543 |
- if(TelepathyQt4_FOUND) |
544 |
-diff --git a/krfb/rfb.h b/krfb/rfb.h |
545 |
-index 40308a2..fa94eda 100644 |
546 |
---- a/krfb/rfb.h |
547 |
-+++ b/krfb/rfb.h |
548 |
-@@ -6,7 +6,7 @@ |
549 |
- #ifndef KRFB_RFB_H |
550 |
- #define KRFB_RFB_H |
551 |
- |
552 |
--#include "../libvncserver/rfb/rfb.h" |
553 |
-+#include "rfb/rfb.h" |
554 |
- |
555 |
- #undef TRUE |
556 |
- #undef FALSE |
557 |
--- |
558 |
-2.0.2 |
559 |
- |
560 |
|
561 |
diff --git a/kde-apps/kstars/files/kstars-4.14.3-indilib100.patch b/kde-apps/kstars/files/kstars-4.14.3-indilib100.patch |
562 |
deleted file mode 100644 |
563 |
index 9b26cec..0000000 |
564 |
--- a/kde-apps/kstars/files/kstars-4.14.3-indilib100.patch |
565 |
+++ /dev/null |
566 |
@@ -1,26 +0,0 @@ |
567 |
-From 97c3d53af2998420f7646b3a482417d00c291ec8 Mon Sep 17 00:00:00 2001 |
568 |
-From: Jasem Mutlaq <mutlaqja@××××××××××.com> |
569 |
-Date: Mon, 1 Dec 2014 00:50:27 +0300 |
570 |
-Subject: [PATCH] use std::string from libindi |
571 |
- |
572 |
---- |
573 |
- kstars/indi/indidevice.cpp | 3 ++- |
574 |
- 1 file changed, 2 insertions(+), 1 deletion(-) |
575 |
- |
576 |
-diff --git a/kstars/indi/indidevice.cpp b/kstars/indi/indidevice.cpp |
577 |
-index f52decc..2a05ca6 100644 |
578 |
---- a/kstars/indi/indidevice.cpp |
579 |
-+++ b/kstars/indi/indidevice.cpp |
580 |
-@@ -268,7 +268,8 @@ void INDI_D::updateMessageLog(INDI::BaseDevice *idv, int messageID) |
581 |
- return; |
582 |
- |
583 |
- msgST_w->ensureCursorVisible(); |
584 |
-- msgST_w->insertPlainText(dv->messageQueue(messageID) + QString("\n")); |
585 |
-+ msgST_w->insertPlainText(QString::fromStdString(dv->messageQueue(messageID))); |
586 |
-+ msgST_w->insertPlainText("\n"); |
587 |
- QTextCursor c = msgST_w->textCursor(); |
588 |
- c.movePosition(QTextCursor::Start); |
589 |
- msgST_w->setTextCursor(c); |
590 |
--- |
591 |
-2.0.5 |
592 |
- |
593 |
|
594 |
diff --git a/kde-apps/libkdcraw/files/libkdcraw-4.14.3-libraw-0.16.1.patch b/kde-apps/libkdcraw/files/libkdcraw-4.14.3-libraw-0.16.1.patch |
595 |
deleted file mode 100644 |
596 |
index a55ef87..0000000 |
597 |
--- a/kde-apps/libkdcraw/files/libkdcraw-4.14.3-libraw-0.16.1.patch |
598 |
+++ /dev/null |
599 |
@@ -1,18 +0,0 @@ |
600 |
-commit 46898ec97a0462eb08a5b6d09999450a86b27aae |
601 |
-Author: Gilles Caulier <caulier.gilles@×××××.com> |
602 |
-Date: Thu May 14 22:54:16 2015 +0200 |
603 |
- |
604 |
-libraw 0.16.1 needs C++ exceptions rules while compilation |
605 |
-BUGS: 347728 |
606 |
-FIXED-IN: 4.11.0 |
607 |
---- libkdcraw/CMakeLists.txt |
608 |
-+++ libkdcraw/CMakeLists.txt |
609 |
-@@ -22,6 +22,8 @@ |
610 |
- # |
611 |
- # ============================================================ |
612 |
- |
613 |
-+add_definitions (${KDE4_ENABLE_EXCEPTIONS}) |
614 |
-+ |
615 |
- CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/version.h) |
616 |
- |
617 |
- SET(kdcraw_LIB_SRCS kdcraw.cpp |