Gentoo Archives: gentoo-commits

From: Tomas Chvatal <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kdelibs/, kde-base/kdelibs/files/, kde-base/kdelibs/files/dist/
Date: Sun, 01 May 2011 22:06:42
Message-Id: cbe74f84eaecff78ffa169e7deda18ef76f2c9c8.scarabeus@gentoo
1 commit: cbe74f84eaecff78ffa169e7deda18ef76f2c9c8
2 Author: Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 1 22:05:41 2011 +0000
4 Commit: Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 22:05:41 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=cbe74f84
7
8 [kde-base/kdelibs] consolidate patches
9
10 ---
11 .../dist/02_gentoo_append_xdg_config_dirs.patch | 30 -----
12 .../files/dist/23_solid_no_double_build.patch | 19 ---
13 .../files/kdelibs-4.3.1-macos-unbundle.patch | 118 --------------------
14 .../files/kdelibs-4.3.2-solaris-fileunix.patch | 40 -------
15 .../files/kdelibs-4.3.2-solaris-getgrouplist.patch | 109 ------------------
16 .../files/kdelibs-4.3.2-solaris-ksyscoca.patch | 16 ---
17 .../files/kdelibs-4.3.3-klauncher_kdeinit.patch | 31 -----
18 .../files/kdelibs-4.3.3-klauncher_kioslave.patch | 77 -------------
19 .../files/kdelibs-4.3.3-klauncher_mac.patch | 33 ------
20 .../kdelibs-4.3.80-kdeui_util_kkeyserver_mac.patch | 46 --------
21 .../files/kdelibs-4.3.80-module-suffix.patch | 105 -----------------
22 .../files/kdelibs-4.4.80-icon-name-qt47.patch | 18 ---
23 .../files/kdelibs-4.4.90-icon-name-qt47.patch | 23 ----
24 .../files/kdelibs-4.5.0-kfilemetadatawidget.patch | 55 ---------
25 .../files/kdelibs-4.5.73-module-suffix.patch | 106 ------------------
26 .../files/kdelibs-4.5.74-klauncher_mac.patch | 26 -----
27 kde-base/kdelibs/kdelibs-4.6.3.ebuild | 5 +-
28 kde-base/kdelibs/kdelibs-4.6.9999.ebuild | 5 +-
29 kde-base/kdelibs/kdelibs-9999.ebuild | 5 +-
30 19 files changed, 3 insertions(+), 864 deletions(-)
31
32 diff --git a/kde-base/kdelibs/files/dist/02_gentoo_append_xdg_config_dirs.patch b/kde-base/kdelibs/files/dist/02_gentoo_append_xdg_config_dirs.patch
33 deleted file mode 100644
34 index 072f0ff..0000000
35 --- a/kde-base/kdelibs/files/dist/02_gentoo_append_xdg_config_dirs.patch
36 +++ /dev/null
37 @@ -1,30 +0,0 @@
38 -Set up XDG_CONFIG_DIRS lookup in order:
39 -1. custom XDG_CONFIG_DIRS from env
40 -2. kdeprefix xdg config dirs
41 -3. /etc/xdg
42 -
43 -Index: kdecore/kernel/kstandarddirs.cpp
44 -===================================================================
45 ---- kdecore/kernel/kstandarddirs.cpp (revision 1014759)
46 -+++ kdecore/kernel/kstandarddirs.cpp (working copy)
47 -@@ -1664,16 +1664,13 @@
48 - {
49 - tokenize(xdgdirList, xdgdirs, QString(QChar(KPATH_SEPARATOR)));
50 - }
51 -- else
52 -- {
53 -- xdgdirList.clear();
54 -- xdgdirList.append("/etc/xdg");
55 -+
56 - #ifdef Q_WS_WIN
57 -- xdgdirList.append(installPath("kdedir") + "etc/xdg");
58 -+ xdgdirList.append(installPath("kdedir") + "etc/xdg");
59 - #else
60 -- xdgdirList.append(KDESYSCONFDIR "/xdg");
61 -+ xdgdirList.append(KDESYSCONFDIR "/xdg");
62 - #endif
63 -- }
64 -+ xdgdirList.append("/etc/xdg");
65 -
66 - QString localXdgDir = readEnvPath("XDG_CONFIG_HOME");
67 - if (!localXdgDir.isEmpty())
68
69 diff --git a/kde-base/kdelibs/files/dist/23_solid_no_double_build.patch b/kde-base/kdelibs/files/dist/23_solid_no_double_build.patch
70 deleted file mode 100644
71 index fa71eb9..0000000
72 --- a/kde-base/kdelibs/files/dist/23_solid_no_double_build.patch
73 +++ /dev/null
74 @@ -1,19 +0,0 @@
75 -
76 ---- a/solid/solid/CMakeLists.txt
77 -+++ b/solid/solid/CMakeLists.txt
78 -@@ -194,7 +194,14 @@
79 - install(FILES org.freedesktop.PowerManagement.Inhibit.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR})
80 -
81 - ########### static lib for tests ###############
82 -+macro(AUTOMOC_COPY _from_target _to_target)
83 -+ set(_srcfile ${CMAKE_CURRENT_BINARY_DIR}/${_from_target}_automoc.cpp)
84 -+ set(_dstfile ${CMAKE_CURRENT_BINARY_DIR}/${_to_target}_automoc.cpp)
85 -+ add_custom_command(OUTPUT ${_dstfile} COMMAND ${CMAKE_COMMAND} -E copy
86 -+ ${_srcfile} ${_dstfile} MAIN_DEPENDENCY ${_srcfile})
87 -+endmacro(AUTOMOC_COPY _from_target _to_target)
88 -
89 -+automoc_copy(solid solid_static)
90 - kde4_add_library(solid_static STATIC ${solid_LIB_SRCS})
91 -
92 - target_link_libraries(solid_static ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTGUI_LIBRARY})
93 -
94
95 diff --git a/kde-base/kdelibs/files/kdelibs-4.3.1-macos-unbundle.patch b/kde-base/kdelibs/files/kdelibs-4.3.1-macos-unbundle.patch
96 deleted file mode 100644
97 index 4551e27..0000000
98 --- a/kde-base/kdelibs/files/kdelibs-4.3.1-macos-unbundle.patch
99 +++ /dev/null
100 @@ -1,118 +0,0 @@
101 -KDE is smart, too smart. We don't want application bundles. And since our Qt is
102 -configured to not build application bundles, since wouldn't even work. So this
103 -patch disables KDE's smartness regarding application bundles.
104 -
105 -Author: Heiko Przybyl <zuxez@××××××××××××.de>
106 -
107 ---- kdelibs-4.3.1/kdecore/kernel/kstandarddirs.cpp.orig 2009-09-28 02:05:37 +0200
108 -+++ kdelibs-4.3.1/kdecore/kernel/kstandarddirs.cpp 2009-09-28 02:22:20 +0200
109 -@@ -1207,32 +1207,8 @@ QStringList KStandardDirs::systemPaths(
110 - return exePaths;
111 - }
112 -
113 --#ifdef Q_WS_MAC
114 --static QString getBundle( const QString& path, bool ignore )
115 --{
116 -- kDebug(180) << "getBundle(" << path << ", " << ignore << ") called";
117 -- QFileInfo info;
118 -- QString bundle = path;
119 -- bundle += ".app/Contents/MacOS/" + bundle.section('/', -1);
120 -- info.setFile( bundle );
121 -- if ( info.exists() && ( ignore || info.isExecutable() )
122 -- && ( info.isFile() || info.isSymLink() ) ) {
123 -- kDebug(180) << "getBundle(): returning " << bundle;
124 -- return bundle;
125 -- }
126 -- return QString();
127 --}
128 --#endif
129 --
130 - static QString checkExecutable( const QString& path, bool ignoreExecBit )
131 - {
132 --#ifdef Q_WS_MAC
133 -- QString bundle = getBundle( path, ignoreExecBit );
134 -- if ( !bundle.isEmpty() ) {
135 -- //kDebug(180) << "findExe(): returning " << bundle;
136 -- return bundle;
137 -- }
138 --#endif
139 - QFileInfo info( path );
140 - QFileInfo orig = info;
141 - if( info.exists() && info.isSymLink() )
142 -@@ -1327,14 +1303,6 @@ int KStandardDirs::findAllExe( QStringLi
143 - p = (*it) + '/';
144 - p += real_appname;
145 -
146 --#ifdef Q_WS_MAC
147 -- QString bundle = getBundle( p, (options & IgnoreExecBit) );
148 -- if ( !bundle.isEmpty() ) {
149 -- //kDebug(180) << "findExe(): returning " << bundle;
150 -- list.append( bundle );
151 -- }
152 --#endif
153 --
154 - info.setFile( p );
155 -
156 - if( info.exists() && ( ( options & IgnoreExecBit ) || info.isExecutable())
157 -@@ -1636,18 +1604,6 @@ void KStandardDirs::addKDEDefaults()
158 - addPrefix(localKdeDir);
159 - }
160 -
161 --#ifdef Q_WS_MACX
162 -- // Adds the "Contents" directory of the current application bundle to
163 -- // the search path. This way bundled resources can be found.
164 -- QDir bundleDir(mac_app_filename());
165 -- if (bundleDir.dirName() == "MacOS") { // just to be sure we're in a bundle
166 -- bundleDir.cdUp();
167 -- // now dirName should be "Contents". In there we can find our normal
168 -- // dir-structure, beginning with "share"
169 -- addPrefix(bundleDir.absolutePath());
170 -- }
171 --#endif
172 --
173 - QStringList::ConstIterator end(kdedirList.end());
174 - for (QStringList::ConstIterator it = kdedirList.constBegin();
175 - it != kdedirList.constEnd(); ++it)
176 -@@ -1680,11 +1636,7 @@ void KStandardDirs::addKDEDefaults()
177 - }
178 - else
179 - {
180 --#ifdef Q_WS_MACX
181 -- localXdgDir = QDir::homePath() + "/Library/Preferences/XDG/";
182 --#else
183 - localXdgDir = QDir::homePath() + "/.config/";
184 --#endif
185 - }
186 -
187 - localXdgDir = KShell::tildeExpand(localXdgDir);
188 ---- ./kinit/kinit.cpp.orig 2009-09-28 12:38:02 +0200
189 -+++ ./kinit/kinit.cpp 2009-09-28 12:40:02 +0200
190 -@@ -551,14 +551,7 @@ static pid_t launch(int argc, const char
191 - QByteArray procTitle;
192 - d.argv = (char **) malloc(sizeof(char *) * (argc+1));
193 - d.argv[0] = (char *) _name;
194 --#ifdef Q_WS_MAC
195 -- QString argvexe = s_instance->dirs()->findExe(QString::fromLatin1(d.argv[0]));
196 -- if (!argvexe.isEmpty()) {
197 -- QByteArray cstr = argvexe.toLocal8Bit();
198 -- kDebug(7016) << "kdeinit4: launch() setting argv: " << cstr.data();
199 -- d.argv[0] = strdup(cstr.data());
200 -- }
201 --#endif
202 -+
203 - for (int i = 1; i < argc; i++)
204 - {
205 - d.argv[i] = (char *) args;
206 -@@ -627,12 +620,6 @@ static pid_t launch(int argc, const char
207 - setup_tty( tty );
208 -
209 - QByteArray executable = execpath;
210 --#ifdef Q_WS_MAC
211 -- QString bundlepath = s_instance->dirs()->findExe(QFile::decodeName(executable));
212 -- if (!bundlepath.isEmpty())
213 -- executable = QFile::encodeName(bundlepath);
214 --#endif
215 --
216 - if (!executable.isEmpty())
217 - execvp(executable, d.argv);
218 -
219
220 diff --git a/kde-base/kdelibs/files/kdelibs-4.3.2-solaris-fileunix.patch b/kde-base/kdelibs/files/kdelibs-4.3.2-solaris-fileunix.patch
221 deleted file mode 100644
222 index c036206..0000000
223 --- a/kde-base/kdelibs/files/kdelibs-4.3.2-solaris-fileunix.patch
224 +++ /dev/null
225 @@ -1,40 +0,0 @@
226 -Solaris has no d_type element in dir_ent.
227 -
228 -Please refer to
229 - https://solaris.bionicmutton.org/hg/kde4-specs-432/rev/be96f7fc958a
230 -
231 ---- kioslave/file/file_unix.cpp.orig 2009-03-10 13:26:04.000000000 +0100
232 -+++ kioslave/file/file_unix.cpp 2009-05-04 03:27:15.231305077 +0200
233 -@@ -42,7 +42,7 @@
234 - #include <grp.h>
235 - #include <utime.h>
236 - #include <pwd.h>
237 --
238 -+#include <sys/stat.h>
239 - #if defined(HAVE_LIMITS_H)
240 - #include <limits.h> // PATH_MAX
241 - #endif
242 -@@ -338,15 +338,20 @@
243 - // files where QFile::encodeName(QFile::decodeName(a)) != a.
244 - QList<QByteArray> entryNames;
245 - KDE_struct_dirent *ep;
246 -+ KDE_struct_stat hajmaep;
247 - if (details == 0) {
248 - // Fast path (for recursive deletion, mostly)
249 - // Simply emit the name and file type, nothing else.
250 - while ( ( ep = KDE_readdir( dp ) ) != 0 ) {
251 - entry.clear();
252 - entry.insert(KIO::UDSEntry::UDS_NAME, QFile::decodeName(ep->d_name));
253 -- entry.insert(KIO::UDSEntry::UDS_FILE_TYPE,
254 -- (ep->d_type & DT_DIR) ? S_IFDIR : S_IFREG );
255 -- if (ep->d_type & DT_LNK) {
256 -+// entry.insert(KIO::UDSEntry::UDS_FILE_TYPE,
257 -+// (ep->d_type & DT_DIR) ? S_IFDIR : S_IFREG );
258 -+KDE_lstat( ep->d_name, &hajmaep );
259 -+entry.insert(KIO::UDSEntry::UDS_FILE_TYPE,
260 -+(S_ISDIR(hajmaep.st_mode)) ? S_IFDIR : S_IFREG );
261 -+// if (ep->d_type & DT_LNK) {
262 -+if (S_ISLNK(hajmaep.st_mode)) {
263 - // for symlinks obey the UDSEntry contract and provide UDS_LINK_DEST
264 - // even if we don't know the link dest (and DeleteJob doesn't care...)
265 - entry.insert(KIO::UDSEntry::UDS_LINK_DEST, QLatin1String("Dummy Link Target"));
266
267 diff --git a/kde-base/kdelibs/files/kdelibs-4.3.2-solaris-getgrouplist.patch b/kde-base/kdelibs/files/kdelibs-4.3.2-solaris-getgrouplist.patch
268 deleted file mode 100644
269 index 59ab862..0000000
270 --- a/kde-base/kdelibs/files/kdelibs-4.3.2-solaris-getgrouplist.patch
271 +++ /dev/null
272 @@ -1,109 +0,0 @@
273 -Solaris does not provide getgrouplist().
274 -
275 -Please refer to
276 - https://solaris.bionicmutton.org/hg/kde4-specs-432/file/539d9ed6c7b5/specs/patches/kdelibs-getgrouplist.diff
277 -
278 ---- ./kio/kfile/kpropertiesdialog.cpp.orig Tue Apr 14 23:40:16 2009
279 -+++ ./kio/kfile/kpropertiesdialog.cpp Tue Apr 14 23:40:29 2009
280 -@@ -141,6 +141,101 @@
281 - #endif
282 - #endif
283 -
284 -+/*-
285 -+ * Copyright (c) 1991, 1993
286 -+ * The Regents of the University of California. All rights reserved.
287 -+ *
288 -+ * Redistribution and use in source and binary forms, with or without
289 -+ * modification, are permitted provided that the following conditions
290 -+ * are met:
291 -+ * 1. Redistributions of source code must retain the above copyright
292 -+ * notice, this list of conditions and the following disclaimer.
293 -+ * 2. Redistributions in binary form must reproduce the above copyright
294 -+ * notice, this list of conditions and the following disclaimer in the
295 -+ * documentation and/or other materials provided with the distribution.
296 -+ * 3. All advertising materials mentioning features or use of this software
297 -+ * must display the following acknowledgement:
298 -+ * This product includes software developed by the University of
299 -+ * California, Berkeley and its contributors.
300 -+ * 4. Neither the name of the University nor the names of its contributors
301 -+ * may be used to endorse or promote products derived from this software
302 -+ * without specific prior written permission.
303 -+ *
304 -+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
305 -+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
306 -+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
307 -+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
308 -+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
309 -+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
310 -+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
311 -+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
312 -+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
313 -+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
314 -+ * SUCH DAMAGE.
315 -+ */
316 -+
317 -+#if 0
318 -+#if defined(LIBC_SCCS) && !defined(lint)
319 -+static char sccsid[] = "@(#)getgrouplist.c 8.2 (Berkeley) 12/8/94";
320 -+#endif /* LIBC_SCCS and not lint */
321 -+#include <sys/cdefs.h>
322 -+__FBSDID("$FreeBSD: src/lib/libc/gen/getgrouplist.c,v 1.14 2005/05/03 16:20:03 delphij Exp $");
323 -+#endif
324 -+
325 -+/*
326 -+ * get credential
327 -+ */
328 -+#include <sys/types.h>
329 -+
330 -+#include <grp.h>
331 -+#include <string.h>
332 -+#include <unistd.h>
333 -+
334 -+int
335 -+getgrouplist(const char *uname, gid_t agroup, gid_t *groups, int *grpcnt)
336 -+{
337 -+ const struct group *grp;
338 -+ int i, maxgroups, ngroups, ret;
339 -+
340 -+ ret = 0;
341 -+ ngroups = 0;
342 -+ maxgroups = *grpcnt;
343 -+ /*
344 -+ * When installing primary group, duplicate it;
345 -+ * the first element of groups is the effective gid
346 -+ * and will be overwritten when a setgid file is executed.
347 -+ */
348 -+ groups ? groups[ngroups++] = agroup : ngroups++;
349 -+ if (maxgroups > 1)
350 -+ groups ? groups[ngroups++] = agroup : ngroups++;
351 -+ /*
352 -+ * Scan the group file to find additional groups.
353 -+ */
354 -+ setgrent();
355 -+ while ((grp = getgrent()) != NULL) {
356 -+ if (groups) {
357 -+ for (i = 0; i < ngroups; i++) {
358 -+ if (grp->gr_gid == groups[i])
359 -+ goto skip;
360 -+ }
361 -+ }
362 -+ for (i = 0; grp->gr_mem[i]; i++) {
363 -+ if (!strcmp(grp->gr_mem[i], uname)) {
364 -+ if (ngroups >= maxgroups) {
365 -+ ret = -1;
366 -+ break;
367 -+ }
368 -+ groups ? groups[ngroups++] = grp->gr_gid : ngroups++;
369 -+ break;
370 -+ }
371 -+ }
372 -+skip:
373 -+ ;
374 -+ }
375 -+ endgrent();
376 -+ *grpcnt = ngroups;
377 -+ return (ret);
378 -+}
379 - using namespace KDEPrivate;
380 -
381 - static QString nameFromFileName(QString nameStr)
382
383 diff --git a/kde-base/kdelibs/files/kdelibs-4.3.2-solaris-ksyscoca.patch b/kde-base/kdelibs/files/kdelibs-4.3.2-solaris-ksyscoca.patch
384 deleted file mode 100644
385 index 64da2e6..0000000
386 --- a/kde-base/kdelibs/files/kdelibs-4.3.2-solaris-ksyscoca.patch
387 +++ /dev/null
388 @@ -1,16 +0,0 @@
389 -Desc: Add needed include for mmap() on Solaris.
390 -Author: Daniel Vergien
391 -
392 ---- kdelibs-4.3.2/kdecore/sycoca/ksycoca.cpp.orig 2009-10-14 12:12:45.697358506 +0200
393 -+++ kdelibs-4.3.2/kdecore/sycoca/ksycoca.cpp 2009-10-14 12:13:16.082152232 +0200
394 -@@ -46,6 +46,10 @@
395 -
396 - #include "ksycocadevices_p.h"
397 -
398 -+/* needed on solaris 10 for mmap */
399 -+
400 -+#include <sys/mman.h>
401 -+
402 - // TODO: remove mmap() from kdewin32 and use QFile::mmap() when needed
403 - #ifdef Q_WS_WIN
404 - #undef HAVE_MMAP
405
406 diff --git a/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_kdeinit.patch b/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_kdeinit.patch
407 deleted file mode 100644
408 index 24d6f16..0000000
409 --- a/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_kdeinit.patch
410 +++ /dev/null
411 @@ -1,31 +0,0 @@
412 -Please refer to
413 - https://bugs.kde.org/show_bug.cgi?id=209903
414 -
415 - http://bugsfiles.kde.org/attachment.cgi?id=37552
416 -
417 -Index: kdelibs-4.3.2/kinit/kinit.cpp
418 -===================================================================
419 ---- kdelibs-4.3.2.orig/kinit/kinit.cpp 2009-10-13 07:31:16.000000000 +0200
420 -+++ kdelibs-4.3.2/kinit/kinit.cpp 2009-10-13 07:31:52.000000000 +0200
421 -@@ -489,6 +489,13 @@
422 - init_startup_info( startup_id, name, envc, envs );
423 - #endif
424 -
425 -+ // Don't run this inside the child process, it crashes on OS/X 10.6
426 -+ const QByteArray docPath = QFile::encodeName(KGlobalSettings::documentPath());
427 -+#ifdef Q_WS_MAC
428 -+ QString bundlepath = s_instance->dirs()->findExe(QFile::decodeName(execpath));
429 -+ QString argvexe = s_instance->dirs()->findExe(QString::fromLatin1(_name));
430 -+#endif
431 -+
432 - d.errorMsg = 0;
433 - d.fork = fork();
434 - switch(d.fork) {
435 -@@ -513,7 +520,6 @@
436 - if (cwd && *cwd) {
437 - (void)chdir(cwd);
438 - } else {
439 -- const QByteArray docPath = QFile::encodeName(KGlobalSettings::documentPath());
440 - (void)chdir(docPath.constData());
441 - }
442 -
443
444 diff --git a/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_kioslave.patch b/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_kioslave.patch
445 deleted file mode 100644
446 index 788e802..0000000
447 --- a/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_kioslave.patch
448 +++ /dev/null
449 @@ -1,77 +0,0 @@
450 -Please refer to
451 - https://bugs.kde.org/show_bug.cgi?id=209903
452 -
453 - http://www.davidfaure.fr/2009/klauncher_kioslave.diff
454 -
455 -Index: klauncher.cpp
456 -===================================================================
457 ---- kdelibs-4.3.3/kinit/klauncher.cpp (revision 1034932)
458 -+++ kdelibs-4.3.3/kinit/klauncher.cpp (working copy)
459 -@@ -621,7 +621,7 @@
460 - void
461 - KLauncher::requestStart(KLaunchRequest *request)
462 - {
463 --#ifdef Q_WS_WIN
464 -+#ifdef USE_KPROCESS_FOR_KIOSLAVES
465 - requestList.append( request );
466 - lastRequest = request;
467 -
468 -@@ -1126,12 +1126,15 @@
469 - }
470 -
471 - QStringList arg_list;
472 --#ifdef Q_WS_WIN
473 -+#ifdef USE_KPROCESS_FOR_KIOSLAVES
474 - arg_list << name;
475 - arg_list << protocol;
476 - arg_list << mConnectionServer.address();
477 - arg_list << app_socket;
478 - name = KStandardDirs::findExe(QLatin1String("kioslave"));
479 -+#ifdef Q_OS_UNIX
480 -+ QString arg1 = protocol;
481 -+#endif
482 - #else
483 - QString arg1 = protocol;
484 - QString arg2 = mConnectionServer.address();
485 -@@ -1268,7 +1268,7 @@
486 - slave->reparseConfiguration();
487 - }
488 -
489 --#ifdef Q_WS_WIN
490 -+#ifdef USE_KPROCESS_FOR_KIOSLAVES
491 - void
492 - KLauncher::slotGotOutput()
493 - {
494 -Index: klauncher.h
495 -===================================================================
496 ---- kdelibs-4.3.3/kinit/klauncher.h (revision 1034932)
497 -+++ kdelibs-4.3.3/kinit/klauncher.h (working copy)
498 -@@ -31,6 +31,10 @@
499 - #include <fixx11h.h>
500 - #endif
501 -
502 -+#if defined(Q_WS_WIN) || defined(Q_WS_MAC)
503 -+#define USE_KPROCESS_FOR_KIOSLAVES
504 -+#endif
505 -+
506 - #include <QtCore/QString>
507 - #include <QtCore/QSocketNotifier>
508 - #include <QtCore/QTimer>
509 -@@ -105,7 +105,7 @@ public:
510 - #endif
511 - QStringList envs; // env. variables to be app's environment
512 - QString cwd;
513 --#ifdef Q_WS_WIN
514 -+#ifdef USE_KPROCESS_FOR_KIOSLAVES
515 - protected:
516 - KProcess *process;
517 - friend class KLauncher;
518 -@@ -286,7 +290,7 @@
519 - void processRequestReturn(int status, const QByteArray &requestData);
520 -
521 - protected Q_SLOTS:
522 --#ifdef Q_WS_WIN
523 -+#ifdef USE_KPROCESS_FOR_KIOSLAVES
524 - void slotGotOutput();
525 - void slotFinished(int exitCode, QProcess::ExitStatus exitStatus);
526 - #endif
527
528 diff --git a/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_mac.patch b/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_mac.patch
529 deleted file mode 100644
530 index 83d4157..0000000
531 --- a/kde-base/kdelibs/files/kdelibs-4.3.3-klauncher_mac.patch
532 +++ /dev/null
533 @@ -1,33 +0,0 @@
534 -Please refer to
535 - https://bugs.kde.org/show_bug.cgi?id=209903
536 -
537 - http://www.davidfaure.fr/2009/klauncher_mac.diff
538 -
539 -Index: klauncher.cpp
540 -===================================================================
541 ---- kdelibs-4.3.3/kinit/klauncher.cpp (revision 1034932)
542 -+++ kdelibs-4.3.3/kinit/klauncher.cpp (working copy)
543 -@@ -1144,6 +1144,12 @@
544 - kDebug(7016) << "KLauncher: launching new slave " << name << " with protocol=" << protocol
545 - << " args=" << arg_list << endl;
546 -
547 -+#ifdef Q_WS_MAC
548 -+ arg_list.prepend(KLibLoader::findLibrary(name));
549 -+ name = KStandardDirs::locate("exe", QString::fromLatin1("kioslave"));
550 -+ arg_list.prepend(name);
551 -+#endif
552 -+
553 - #ifdef Q_OS_UNIX
554 - if (mSlaveDebug == arg1)
555 - {
556 -@@ -1154,8 +1160,10 @@
557 - }
558 - if (mSlaveValgrind == arg1)
559 - {
560 -+#ifndef Q_WS_MAC
561 - arg_list.prepend(KLibLoader::findLibrary(name));
562 - arg_list.prepend(KStandardDirs::locate("exe", QString::fromLatin1("kioslave")));
563 -+#endif
564 - name = QString::fromLatin1("valgrind");
565 - if (!mSlaveValgrindSkin.isEmpty()) {
566 - arg_list.prepend(QLatin1String("--tool=") + mSlaveValgrindSkin);
567
568 diff --git a/kde-base/kdelibs/files/kdelibs-4.3.80-kdeui_util_kkeyserver_mac.patch b/kde-base/kdelibs/files/kdelibs-4.3.80-kdeui_util_kkeyserver_mac.patch
569 deleted file mode 100644
570 index 22e6279..0000000
571 --- a/kde-base/kdelibs/files/kdelibs-4.3.80-kdeui_util_kkeyserver_mac.patch
572 +++ /dev/null
573 @@ -1,46 +0,0 @@
574 -diff -purN kdelibs-4.3.80.orig/kdeui/util/kkeyserver_mac.cpp kdelibs-4.3.80/kdeui/util/kkeyserver_mac.cpp
575 ---- kdelibs-4.3.80.orig/kdeui/util/kkeyserver_mac.cpp 2009-12-14 17:05:26.284881642 -0500
576 -+++ kdelibs-4.3.80/kdeui/util/kkeyserver_mac.cpp 2009-12-14 17:11:23.393094384 -0500
577 -@@ -68,7 +68,7 @@ namespace KKeyServer {
578 - #ifdef QT_MAC_USE_COCOA
579 - static TISInputSourceRef lastLayout = 0;
580 - #else
581 -- static KeyboardLayoutRef lastLayout = NULL;
582 -+ static TISInputSourceRef lastLayout = NULL;
583 - #endif
584 -
585 - void updateScancodes() {
586 -@@ -125,16 +125,27 @@ namespace KKeyServer {
587 - #endif
588 - lastLayout = layout;
589 - scancodes.clear();
590 -- void *kchr;
591 -- if (KLGetKeyboardLayoutProperty(layout, kKLKCHRData, const_cast<const void**>(&kchr)) != noErr) {
592 -+ UCKeyboardLayout *uchr = (UCKeyboardLayout *)TISGetInputSourceProperty(layout, kTISPropertyUnicodeKeyLayoutData);
593 -+ if (uchr == NULL) {
594 - kWarning() << "Couldn't load active keyboard layout";
595 - } else {
596 - for (int i = 0; i < 128; i++) {
597 - UInt32 tmpState = 0;
598 -- UInt32 chr = KeyTranslate(kchr, i, &tmpState);
599 -- if (chr && chr != kFunctionKeyCharCode) {
600 -- scancodes.insert(chr, i);
601 -- }
602 -+ UInt32 deadKeyState = 0;
603 -+ UInt32 flags = 0;
604 -+ UniCharCount maxStringLength = 255;
605 -+ UniCharCount actualStringLength = 0;
606 -+ UniChar unicodeString[maxStringLength];
607 -+
608 -+ UCKeyTranslate(uchr, i, kUCKeyActionDown,
609 -+ flags, LMGetKbdType(),
610 -+ 1, &deadKeyState, maxStringLength, &actualStringLength, unicodeString);
611 -+ fprintf(stderr, "Got key: %s\n", unicodeString);
612 -+ fflush(stderr);
613 -+ //UInt32 chr = KeyTranslate(kchr, i, &tmpState);
614 -+ //if (chr && chr != kFunctionKeyCharCode) {
615 -+ // scancodes.insert(chr, i);
616 -+ //}
617 - }
618 - }
619 - }
620
621 diff --git a/kde-base/kdelibs/files/kdelibs-4.3.80-module-suffix.patch b/kde-base/kdelibs/files/kdelibs-4.3.80-module-suffix.patch
622 deleted file mode 100644
623 index 395cacb..0000000
624 --- a/kde-base/kdelibs/files/kdelibs-4.3.80-module-suffix.patch
625 +++ /dev/null
626 @@ -1,105 +0,0 @@
627 -diff -purN kdelibs-4.3.80.orig/config.h.cmake kdelibs-4.3.80/config.h.cmake
628 ---- kdelibs-4.3.80.orig/config.h.cmake 2009-10-26 05:15:52.000000000 -0400
629 -+++ kdelibs-4.3.80/config.h.cmake 2009-12-14 16:56:15.667194286 -0500
630 -@@ -12,6 +12,7 @@
631 - #define kde_socklen_t socklen_t
632 -
633 - #define KDELIBSUFF "${KDELIBSUFF}"
634 -+#define KDE_MODULE_SUFFIX "${CMAKE_SHARED_MODULE_SUFFIX}"
635 -
636 - /****************************/
637 -
638 -diff -purN kdelibs-4.3.80.orig/kdecore/util/klibloader.cpp kdelibs-4.3.80/kdecore/util/klibloader.cpp
639 ---- kdelibs-4.3.80.orig/kdecore/util/klibloader.cpp 2008-05-21 07:09:15.000000000 -0400
640 -+++ kdelibs-4.3.80/kdecore/util/klibloader.cpp 2009-12-14 16:56:15.668194094 -0500
641 -@@ -57,7 +57,7 @@ KLibLoader::~KLibLoader()
642 - {
643 - }
644 -
645 --extern QString makeLibName( const QString &libname );
646 -+extern QString makeLibName( const QString &libname, const QString &type );
647 -
648 - extern QString findLibrary(const QString &name, const KComponentData &cData);
649 -
650 -diff -purN kdelibs-4.3.80.orig/kdecore/util/klibrary.cpp kdelibs-4.3.80/kdecore/util/klibrary.cpp
651 ---- kdelibs-4.3.80.orig/kdecore/util/klibrary.cpp 2009-10-02 10:55:11.000000000 -0400
652 -+++ kdelibs-4.3.80/kdecore/util/klibrary.cpp 2009-12-14 16:57:24.317056608 -0500
653 -@@ -27,7 +27,7 @@
654 - #include <kpluginfactory.h>
655 - #include <kdebug.h>
656 -
657 --extern QString makeLibName( const QString &libname );
658 -+extern QString makeLibName( const QString &libname, const QString &type );
659 - extern QString findLibraryInternal(const QString &name, const KComponentData &cData);
660 -
661 - int kLibraryDebugArea() {
662 -diff -purN kdelibs-4.3.80.orig/kdecore/util/kpluginloader.cpp kdelibs-4.3.80/kdecore/util/kpluginloader.cpp
663 ---- kdelibs-4.3.80.orig/kdecore/util/kpluginloader.cpp 2009-10-15 12:35:55.000000000 -0400
664 -+++ kdelibs-4.3.80/kdecore/util/kpluginloader.cpp 2009-12-14 16:57:58.533877037 -0500
665 -@@ -27,6 +27,8 @@
666 - #include "klibrary.h"
667 - #include <kdebug.h>
668 -
669 -+#include <config.h>
670 -+
671 - #include <QtCore/QLibrary>
672 - #include <QtCore/QDir>
673 - #include <QtCore/QFileInfo>
674 -@@ -54,25 +56,37 @@ protected:
675 - KLibrary *lib;
676 - };
677 -
678 --inline QString makeLibName( const QString &libname )
679 -+inline QString makeLibName( const QString &libname, const QString &type )
680 - {
681 - #if defined(Q_OS_WIN) || defined(Q_OS_CYGWIN)
682 - if (!libname.endsWith(".dll"))
683 - return libname + ".dll";
684 - return libname;
685 --#else
686 -+#else // Q_OS_WIN
687 - int pos = libname.lastIndexOf('/');
688 - if (pos < 0)
689 - pos = 0;
690 - if (libname.indexOf('.', pos) < 0) {
691 -- const char* const extList[] = { ".so", ".dylib", ".bundle", ".sl" };
692 -+#ifdef Q_OS_MAC
693 -+ // Libraries are always .dylib
694 -+ if (type.compare("lib") == 0) {
695 -+ return libname + ".dylib";
696 -+ }
697 -+ // Modules mostly go .bundle but we'll use CMake smartness
698 -+ else {
699 -+ return libname + KDE_MODULE_SUFFIX;
700 -+ }
701 -+#else // Q_OS_MAC
702 -+ // Prefer the value specified by cmake for the target, fall back to standard
703 -+ const char* const extList[] = { KDE_MODULE_SUFFIX, ".so", ".sl" };
704 - for (uint i = 0; i < sizeof(extList) / sizeof(*extList); ++i) {
705 - if (QLibrary::isLibrary(libname + extList[i]))
706 - return libname + extList[i];
707 - }
708 -+#endif // Q_OS_MAC
709 - }
710 - return libname;
711 --#endif
712 -+#endif // Q_OS_WIN
713 - }
714 -
715 - #ifdef Q_OS_WIN
716 -@@ -81,12 +95,13 @@ extern QString fixLibPrefix(const QStrin
717 -
718 - QString findLibraryInternal(const QString &name, const KComponentData &cData)
719 - {
720 -- // Convert name to a valid platform libname
721 -- QString libname = makeLibName(name);
722 - QFileInfo fileinfo(name);
723 - bool hasPrefix = fileinfo.fileName().startsWith("lib");
724 - bool kdeinit = fileinfo.fileName().startsWith("libkdeinit4_");
725 -
726 -+ // Convert name to a valid platform libname depending on requested type.
727 -+ QString libname = makeLibName(name, kdeinit ? "lib" : "module");
728 -+
729 - if (hasPrefix && !kdeinit)
730 - kDebug(kLibraryDebugArea()) << "plugins should not have a 'lib' prefix:" << libname;
731 - #ifdef Q_CC_MSVC
732
733 diff --git a/kde-base/kdelibs/files/kdelibs-4.4.80-icon-name-qt47.patch b/kde-base/kdelibs/files/kdelibs-4.4.80-icon-name-qt47.patch
734 deleted file mode 100644
735 index 697f36e..0000000
736 --- a/kde-base/kdelibs/files/kdelibs-4.4.80-icon-name-qt47.patch
737 +++ /dev/null
738 @@ -1,18 +0,0 @@
739 -diff -up kdelibs-4.4.80/kdeui/notifications/kstatusnotifieritem.cpp.icon-name-qt47 kdelibs-4.4.80/kdeui/notifications/kstatusnotifieritem.cpp
740 ---- kdelibs-4.4.80/kdeui/notifications/kstatusnotifieritem.cpp.icon-name-qt47 2010-05-16 22:04:05.000000000 +0200
741 -+++ kdelibs-4.4.80/kdeui/notifications/kstatusnotifieritem.cpp 2010-05-21 22:50:44.819211510 +0200
742 -@@ -65,14 +65,7 @@ protected:
743 - virtual QString iconNameForAction(QAction *action)
744 - {
745 - KIcon icon(action->icon());
746 --#if QT_VERSION >= 0x040700
747 -- // QIcon::name() is in the 4.7 git branch, but it is not in 4.7 TP.
748 -- // If you get a build error here, you need to update your pre-release
749 -- // of Qt 4.7.
750 -- return icon.isNull() ? QString() : icon.name();
751 --#else
752 - return QString();
753 --#endif
754 - }
755 - };
756 -
757
758 diff --git a/kde-base/kdelibs/files/kdelibs-4.4.90-icon-name-qt47.patch b/kde-base/kdelibs/files/kdelibs-4.4.90-icon-name-qt47.patch
759 deleted file mode 100644
760 index e2d3a3c..0000000
761 --- a/kde-base/kdelibs/files/kdelibs-4.4.90-icon-name-qt47.patch
762 +++ /dev/null
763 @@ -1,23 +0,0 @@
764 ---- kdelibs-4.4.90/work/kdelibs-4.4.90/kdeui/notifications/kstatusnotifieritem.cpp.orig 2010-06-25 02:58:37.000000000 +0400
765 -+++ kdelibs-4.4.90/work/kdelibs-4.4.90/kdeui/notifications/kstatusnotifieritem.cpp 2010-06-25 02:59:43.000000000 +0400
766 -@@ -65,12 +65,6 @@
767 - virtual QString iconNameForAction(QAction *action)
768 - {
769 - KIcon icon(action->icon());
770 --#if QT_VERSION >= 0x040700
771 -- // QIcon::name() is in the 4.7 git branch, but it is not in 4.7 TP.
772 -- // If you get a build error here, you need to update your pre-release
773 -- // of Qt 4.7.
774 -- return icon.isNull() ? QString() : icon.name();
775 --#else
776 - // Qt 4.6: If the icon was created by us, via our engine, serializing it
777 - // will let us get to the name.
778 - if (!icon.isNull()) {
779 -@@ -94,7 +88,6 @@
780 - }
781 -
782 - return QString();
783 --#endif
784 - }
785 - };
786 -
787
788 diff --git a/kde-base/kdelibs/files/kdelibs-4.5.0-kfilemetadatawidget.patch b/kde-base/kdelibs/files/kdelibs-4.5.0-kfilemetadatawidget.patch
789 deleted file mode 100644
790 index 7a64f62..0000000
791 --- a/kde-base/kdelibs/files/kdelibs-4.5.0-kfilemetadatawidget.patch
792 +++ /dev/null
793 @@ -1,55 +0,0 @@
794 -Index: kio/kfile/kfilemetadatawidget.h
795 -===================================================================
796 ---- kio/kfile/kfilemetadatawidget.h (revision 1158054)
797 -+++ kio/kfile/kfilemetadatawidget.h (revision 1158055)
798 -@@ -51,6 +51,8 @@
799 -
800 - /**
801 - * Sets the items for which the meta data should be shown.
802 -+ * The signal metaDataRequestFinished() will be emitted,
803 -+ * as soon as the meta data for the items has been received.
804 - */
805 - void setItems(const KFileItemList& items);
806 - KFileItemList items() const;
807 -@@ -72,6 +74,13 @@
808 - */
809 - void urlActivated(const KUrl& url);
810 -
811 -+ /**
812 -+ * Is emitted after the meta data has been received for the items
813 -+ * set by KFileMetaDataWidget::setItems().
814 -+ * @since 4.6
815 -+ */
816 -+ void metaDataRequestFinished();
817 -+
818 - protected:
819 - virtual bool event(QEvent* event);
820 -
821 -Index: kio/kfile/kfilemetadatawidget.cpp
822 -===================================================================
823 ---- kio/kfile/kfilemetadatawidget.cpp (revision 1158054)
824 -+++ kio/kfile/kfilemetadatawidget.cpp (revision 1158055)
825 -@@ -48,7 +48,6 @@
826 - #include <QThread>
827 - #endif
828 -
829 --
830 - // The default size hint of QLabel tries to return a square size.
831 - // This does not work well in combination with layouts that use
832 - // heightForWidth(): In this case it is possible that the content
833 -@@ -66,6 +65,7 @@
834 - QLabel(parent)
835 - {
836 - }
837 -+
838 - QSize ValueWidget::sizeHint() const
839 - {
840 - QFontMetrics metrics(font());
841 -@@ -425,6 +425,7 @@
842 - #endif
843 -
844 - q->updateGeometry();
845 -+ emit q->metaDataRequestFinished();
846 - }
847 -
848 - void KFileMetaDataWidget::Private::removeOutdatedRows()
849
850 diff --git a/kde-base/kdelibs/files/kdelibs-4.5.73-module-suffix.patch b/kde-base/kdelibs/files/kdelibs-4.5.73-module-suffix.patch
851 deleted file mode 100644
852 index 1b517d9..0000000
853 --- a/kde-base/kdelibs/files/kdelibs-4.5.73-module-suffix.patch
854 +++ /dev/null
855 @@ -1,106 +0,0 @@
856 -diff -purN kdelibs-4.3.80.orig/config.h.cmake kdelibs-4.3.80/config.h.cmake
857 ---- kdelibs-4.3.80.orig/config.h.cmake 2009-10-26 05:15:52.000000000 -0400
858 -+++ kdelibs-4.3.80/config.h.cmake 2009-12-14 16:56:15.667194286 -0500
859 -@@ -12,6 +12,7 @@
860 - #define kde_socklen_t socklen_t
861 -
862 - #define KDELIBSUFF "${KDELIBSUFF}"
863 -+#define KDE_MODULE_SUFFIX "${CMAKE_SHARED_MODULE_SUFFIX}"
864 -
865 - /****************************/
866 -
867 -diff -purN kdelibs-4.3.80.orig/kdecore/util/klibloader.cpp kdelibs-4.3.80/kdecore/util/klibloader.cpp
868 ---- kdelibs-4.3.80.orig/kdecore/util/klibloader.cpp 2008-05-21 07:09:15.000000000 -0400
869 -+++ kdelibs-4.3.80/kdecore/util/klibloader.cpp 2009-12-14 16:56:15.668194094 -0500
870 -@@ -57,7 +57,7 @@ KLibLoader::~KLibLoader()
871 - {
872 - }
873 -
874 --extern QString makeLibName( const QString &libname );
875 -+extern QString makeLibName( const QString &libname, const QString &type );
876 -
877 - extern QString findLibrary(const QString &name, const KComponentData &cData);
878 -
879 -diff -purN kdelibs-4.3.80.orig/kdecore/util/klibrary.cpp kdelibs-4.3.80/kdecore/util/klibrary.cpp
880 ---- kdelibs-4.3.80.orig/kdecore/util/klibrary.cpp 2009-10-02 10:55:11.000000000 -0400
881 -+++ kdelibs-4.3.80/kdecore/util/klibrary.cpp 2009-12-14 16:57:24.317056608 -0500
882 -@@ -27,7 +27,7 @@
883 - #include <kpluginfactory.h>
884 - #include <kdebug.h>
885 -
886 --extern QString makeLibName( const QString &libname );
887 -+extern QString makeLibName( const QString &libname, const QString &type );
888 - extern QString findLibraryInternal(const QString &name, const KComponentData &cData);
889 -
890 - int kLibraryDebugArea() {
891 -diff -purN kdelibs-4.3.80.orig/kdecore/util/kpluginloader.cpp kdelibs-4.3.80/kdecore/util/kpluginloader.cpp
892 ---- kdelibs-4.3.80.orig/kdecore/util/kpluginloader.cpp 2009-10-15 12:35:55.000000000 -0400
893 -+++ kdelibs-4.3.80/kdecore/util/kpluginloader.cpp 2009-12-14 16:57:58.533877037 -0500
894 -@@ -27,6 +27,8 @@
895 - #include "klibrary.h"
896 - #include <kdebug.h>
897 -
898 -+#include <config.h>
899 -+
900 - #include <QtCore/QLibrary>
901 - #include <QtCore/QDir>
902 - #include <QtCore/QFileInfo>
903 -@@ -54,26 +54,38 @@
904 - KLibrary *lib;
905 - };
906 -
907 --inline QString makeLibName( const QString &libname )
908 -+inline QString makeLibName( const QString &libname, const QString &type )
909 - {
910 - #if defined(Q_OS_WIN) || defined(Q_OS_CYGWIN)
911 - if (!libname.endsWith(".dll"))
912 - return libname + ".dll";
913 - return libname;
914 --#else
915 -+#else // Q_OS_WIN
916 - int pos = libname.lastIndexOf(QLatin1Char('/'));
917 - if (pos < 0)
918 - pos = 0;
919 - if (libname.indexOf(QLatin1Char('.'), pos) < 0) {
920 -- const char* const extList[] = { ".so", ".dylib", ".bundle", ".sl" };
921 -+#ifdef Q_OS_MAC
922 -+ // Libraries are always .dylib
923 -+ if (type.compare("lib") == 0) {
924 -+ return libname + ".dylib";
925 -+ }
926 -+ // Modules mostly go .bundle but we'll use CMake smartness
927 -+ else {
928 -+ return libname + KDE_MODULE_SUFFIX;
929 -+ }
930 -+#else // Q_OS_MAC
931 -+ // Prefer the value specified by cmake for the target, fall back to standard
932 -+ const char* const extList[] = { KDE_MODULE_SUFFIX, ".so", ".sl" };
933 - for (uint i = 0; i < sizeof(extList) / sizeof(*extList); ++i) {
934 - const QString lib = libname + QString::fromLatin1(extList[i]);
935 - if (QLibrary::isLibrary(lib))
936 - return lib;
937 - }
938 -+#endif // Q_OS_MAC
939 - }
940 - return libname;
941 --#endif
942 -+#endif // Q_OS_WIN
943 - }
944 -
945 - #ifdef Q_OS_WIN
946 -@@ -82,12 +94,13 @@
947 -
948 - QString findLibraryInternal(const QString &name, const KComponentData &cData)
949 - {
950 -- // Convert name to a valid platform libname
951 -- QString libname = makeLibName(name);
952 - QFileInfo fileinfo(name);
953 - bool hasPrefix = fileinfo.fileName().startsWith(QLatin1String("lib"));
954 - bool kdeinit = fileinfo.fileName().startsWith(QLatin1String("libkdeinit4_"));
955 -
956 -+ // Convert name to a valid platform libname depending on requested type.
957 -+ QString libname = makeLibName(name, kdeinit ? "lib" : "module");
958 -+
959 - if (hasPrefix && !kdeinit)
960 - kDebug(kLibraryDebugArea()) << "plugins should not have a 'lib' prefix:" << libname;
961 - #ifdef Q_CC_MSVC
962
963 diff --git a/kde-base/kdelibs/files/kdelibs-4.5.74-klauncher_mac.patch b/kde-base/kdelibs/files/kdelibs-4.5.74-klauncher_mac.patch
964 deleted file mode 100644
965 index b9869a8..0000000
966 --- a/kde-base/kdelibs/files/kdelibs-4.5.74-klauncher_mac.patch
967 +++ /dev/null
968 @@ -1,26 +0,0 @@
969 ---- kinit/klauncher.cpp.orig 2010-11-06 23:35:26.000000000 +0300
970 -+++ kinit/klauncher.cpp 2010-11-07 02:45:19.000000000 +0300
971 -@@ -1151,6 +1151,12 @@
972 - kDebug(7016) << "KLauncher: launching new slave " << name << " with protocol=" << protocol
973 - << " args=" << arg_list << endl;
974 -
975 -+#ifdef Q_WS_MAC
976 -+ arg_list.prepend(KLibLoader::findLibrary(name));
977 -+ name = KStandardDirs::locate("exe", QString::fromLatin1("kioslave"));
978 -+ arg_list.prepend(name);
979 -+#endif
980 -+
981 - #ifdef Q_OS_UNIX
982 - if (mSlaveDebug == arg1)
983 - {
984 -@@ -1161,8 +1167,10 @@
985 - }
986 - if (mSlaveValgrind == arg1)
987 - {
988 -+#ifdef Q_WS_MAC
989 - arg_list.prepend(::findLibrary(name, KGlobal::mainComponent()));
990 - arg_list.prepend(KStandardDirs::locate("exe", QString::fromLatin1("kioslave")));
991 -+#endif
992 - name = QString::fromLatin1("valgrind");
993 - if (!mSlaveValgrindSkin.isEmpty()) {
994 - arg_list.prepend(QLatin1String("--tool=") + mSlaveValgrindSkin);
995
996 diff --git a/kde-base/kdelibs/kdelibs-4.6.3.ebuild b/kde-base/kdelibs/kdelibs-4.6.3.ebuild
997 index 16068a3..e3922bd 100644
998 --- a/kde-base/kdelibs/kdelibs-4.6.3.ebuild
999 +++ b/kde-base/kdelibs/kdelibs-4.6.3.ebuild
1000 @@ -130,12 +130,9 @@ add_blocker plasma-workspace '<4.3.75'
1001 PATCHES=(
1002 "${FILESDIR}/dist/01_gentoo_set_xdg_menu_prefix.patch"
1003 "${FILESDIR}/dist/02_gentoo_append_xdg_config_dirs-1.patch"
1004 -# "${FILESDIR}/${PN}-4.5.73-module-suffix.patch" - FIXME what is this and why is it needed?
1005 -# "${FILESDIR}/${PN}-4.4.66-macos-unbundle.patch" - FIXME needs to be ported, also see above
1006 -# "${FILESDIR}/${PN}-4.3.3-klauncher_kioslave.patch" - FIXME is this really needed? if so, please upstream it
1007 -# "${FILESDIR}/${PN}-4.5.74-klauncher_mac.patch" - FIXME read above
1008 "${FILESDIR}/${PN}-4.5.90-mimetypes.patch"
1009 "${FILESDIR}/${PN}-4.4.90-xslt.patch"
1010 + "${FILESDIR}/${PN}-4.6.0-kateacc.patch"
1011 "${FILESDIR}/${PN}-4.6.2-nonepomuk.patch"
1012 )
1013
1014
1015 diff --git a/kde-base/kdelibs/kdelibs-4.6.9999.ebuild b/kde-base/kdelibs/kdelibs-4.6.9999.ebuild
1016 index 4eed990..124c5b3 100644
1017 --- a/kde-base/kdelibs/kdelibs-4.6.9999.ebuild
1018 +++ b/kde-base/kdelibs/kdelibs-4.6.9999.ebuild
1019 @@ -130,12 +130,9 @@ add_blocker plasma-workspace '<4.3.75'
1020 PATCHES=(
1021 "${FILESDIR}/dist/01_gentoo_set_xdg_menu_prefix.patch"
1022 "${FILESDIR}/dist/02_gentoo_append_xdg_config_dirs-1.patch"
1023 -# "${FILESDIR}/${PN}-4.5.73-module-suffix.patch" - FIXME what is this and why is it needed?
1024 -# "${FILESDIR}/${PN}-4.4.66-macos-unbundle.patch" - FIXME needs to be ported, also see above
1025 -# "${FILESDIR}/${PN}-4.3.3-klauncher_kioslave.patch" - FIXME is this really needed? if so, please upstream it
1026 -# "${FILESDIR}/${PN}-4.5.74-klauncher_mac.patch" - FIXME read above
1027 "${FILESDIR}/${PN}-4.5.90-mimetypes.patch"
1028 "${FILESDIR}/${PN}-4.4.90-xslt.patch"
1029 + "${FILESDIR}/${PN}-4.6.0-kateacc.patch"
1030 "${FILESDIR}/${PN}-4.6.2-nonepomuk.patch"
1031 )
1032
1033
1034 diff --git a/kde-base/kdelibs/kdelibs-9999.ebuild b/kde-base/kdelibs/kdelibs-9999.ebuild
1035 index 570f419..b531bea 100644
1036 --- a/kde-base/kdelibs/kdelibs-9999.ebuild
1037 +++ b/kde-base/kdelibs/kdelibs-9999.ebuild
1038 @@ -130,12 +130,9 @@ add_blocker plasma-workspace '<4.3.75'
1039 PATCHES=(
1040 "${FILESDIR}/dist/01_gentoo_set_xdg_menu_prefix.patch"
1041 "${FILESDIR}/dist/02_gentoo_append_xdg_config_dirs-1.patch"
1042 -# "${FILESDIR}/${PN}-4.5.73-module-suffix.patch" - FIXME what is this and why is it needed?
1043 -# "${FILESDIR}/${PN}-4.4.66-macos-unbundle.patch" - FIXME needs to be ported, also see above
1044 -# "${FILESDIR}/${PN}-4.3.3-klauncher_kioslave.patch" - FIXME is this really needed? if so, please upstream it
1045 -# "${FILESDIR}/${PN}-4.5.74-klauncher_mac.patch" - FIXME read above
1046 "${FILESDIR}/${PN}-4.5.90-mimetypes.patch"
1047 "${FILESDIR}/${PN}-4.4.90-xslt.patch"
1048 + "${FILESDIR}/${PN}-4.6.0-kateacc.patch"
1049 "${FILESDIR}/${PN}-4.6.2-nonepomuk.patch"
1050 )