1 |
commit: baee289d257bcef51f1bbabed871905ec32d79b3 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 1 16:10:13 2012 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 1 16:10:13 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=baee289d |
7 |
|
8 |
[kde-base/nepomuk] Drop patch, now included in re-packed tarball. |
9 |
|
10 |
(Portage version: 2.2.0_alpha108/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
.../files/nepomuk-4.8.80-file-collisions.patch | 989 -------------------- |
14 |
kde-base/nepomuk/nepomuk-4.8.80.ebuild | 2 - |
15 |
2 files changed, 0 insertions(+), 991 deletions(-) |
16 |
|
17 |
diff --git a/kde-base/nepomuk/files/nepomuk-4.8.80-file-collisions.patch b/kde-base/nepomuk/files/nepomuk-4.8.80-file-collisions.patch |
18 |
deleted file mode 100644 |
19 |
index d3f7922..0000000 |
20 |
--- a/kde-base/nepomuk/files/nepomuk-4.8.80-file-collisions.patch |
21 |
+++ /dev/null |
22 |
@@ -1,989 +0,0 @@ |
23 |
-commit 959412fdd7a3bbff6921474342d1209c212a410d |
24 |
-Author: Vishesh Handa <handa.vish@×××××.com> |
25 |
-Date: Fri May 25 23:20:49 2012 +0530 |
26 |
- |
27 |
- Remove the nepomukcommon shared library |
28 |
- |
29 |
- It turns out that only the kcm is using it. None of the kioslaves |
30 |
- or anyone else really need it. |
31 |
- |
32 |
- It is also being installed by nepomuk-core, and that causes clashes. |
33 |
- |
34 |
-diff --git a/nepomuk/CMakeLists.txt b/nepomuk/CMakeLists.txt |
35 |
-index 428f332..2918236 100644 |
36 |
---- a/nepomuk/CMakeLists.txt |
37 |
-+++ b/nepomuk/CMakeLists.txt |
38 |
-@@ -14,7 +14,6 @@ include_directories( |
39 |
- ${nepomuk_BINARY_DIR}/common |
40 |
- ) |
41 |
- |
42 |
--add_subdirectory(common) |
43 |
- add_subdirectory(kcm) |
44 |
- add_subdirectory(kioslaves) |
45 |
- add_subdirectory(controller) |
46 |
-diff --git a/nepomuk/common/CMakeLists.txt b/nepomuk/common/CMakeLists.txt |
47 |
-deleted file mode 100644 |
48 |
-index 957e6b0..0000000 |
49 |
---- a/nepomuk/common/CMakeLists.txt |
50 |
-+++ /dev/null |
51 |
-@@ -1,20 +0,0 @@ |
52 |
--project(nepomuk_common) |
53 |
-- |
54 |
--set(nepomukcommon_SRCS |
55 |
-- fileexcludefilters.cpp |
56 |
-- regexpcache.cpp |
57 |
-- removablemediacache.cpp |
58 |
--) |
59 |
-- |
60 |
--kde4_add_library(nepomukcommon SHARED ${nepomukcommon_SRCS}) |
61 |
-- |
62 |
--target_link_libraries(nepomukcommon |
63 |
-- ${QT_QTCORE_LIBRARY} |
64 |
-- ${KDE4_KDECORE_LIBRARY} |
65 |
-- ${KDE4_SOLID_LIBRARY} |
66 |
-- ${NEPOMUK_CORE_LIBRARY} |
67 |
-- ) |
68 |
-- |
69 |
--install(TARGETS nepomukcommon EXPORT ${INSTALL_TARGETS_DEFAULT_ARGS}) |
70 |
-- |
71 |
--# Note: no headers installed since this is a private shared lib |
72 |
-diff --git a/nepomuk/common/fileexcludefilters.cpp b/nepomuk/common/fileexcludefilters.cpp |
73 |
-deleted file mode 100644 |
74 |
-index 846e4bd..0000000 |
75 |
---- a/nepomuk/common/fileexcludefilters.cpp |
76 |
-+++ /dev/null |
77 |
-@@ -1,116 +0,0 @@ |
78 |
--/* This file is part of the KDE Project |
79 |
-- Copyright (c) 2008-2010 Sebastian Trueg <trueg@×××.org> |
80 |
-- |
81 |
-- This library is free software; you can redistribute it and/or |
82 |
-- modify it under the terms of the GNU Library General Public |
83 |
-- License version 2 as published by the Free Software Foundation. |
84 |
-- |
85 |
-- This library is distributed in the hope that it will be useful, |
86 |
-- but WITHOUT ANY WARRANTY; without even the implied warranty of |
87 |
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
88 |
-- Library General Public License for more details. |
89 |
-- |
90 |
-- You should have received a copy of the GNU Library General Public License |
91 |
-- along with this library; see the file COPYING.LIB. If not, write to |
92 |
-- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
93 |
-- Boston, MA 02110-1301, USA. |
94 |
--*/ |
95 |
-- |
96 |
--#include "fileexcludefilters.h" |
97 |
-- |
98 |
--namespace { |
99 |
-- const char* s_defaultFileExcludeFilters[] = { |
100 |
-- // tmp files |
101 |
-- "*~", |
102 |
-- "*.part", |
103 |
-- |
104 |
-- // temporary build files |
105 |
-- "*.o", |
106 |
-- "*.la", |
107 |
-- "*.lo", |
108 |
-- "*.loT", |
109 |
-- "*.moc", |
110 |
-- "moc_*.cpp", |
111 |
-- "cmake_install.cmake", |
112 |
-- "CMakeCache.txt", |
113 |
-- "CTestTestfile.cmake", |
114 |
-- "libtool", |
115 |
-- "config.status", |
116 |
-- "confdefs.h", |
117 |
-- "autom4te", |
118 |
-- "conftest", |
119 |
-- "confstat", |
120 |
-- "Makefile.am", |
121 |
-- |
122 |
-- // misc |
123 |
-- "*.csproj", |
124 |
-- "*.m4", |
125 |
-- "*.rej", |
126 |
-- "*.gmo", |
127 |
-- "*.pc", |
128 |
-- "*.omf", |
129 |
-- "*.aux", |
130 |
-- "*.tmp", |
131 |
-- "*.po", |
132 |
-- "*.vm*", |
133 |
-- "*.nvram", |
134 |
-- "*.rcore", |
135 |
-- "lzo", |
136 |
-- "litmain.sh", |
137 |
-- "*.orig", |
138 |
-- ".histfile.*", |
139 |
-- ".xsession-errors*", |
140 |
-- |
141 |
-- // Compiled files |
142 |
-- "*.class", // Java |
143 |
-- "*.pyc", // Python |
144 |
-- "*.elc", // Emacs Lisp |
145 |
-- |
146 |
-- // end of list |
147 |
-- 0 |
148 |
-- }; |
149 |
-- |
150 |
-- const int s_defaultFileExcludeFiltersVersion = 2; |
151 |
-- |
152 |
-- const char* s_defaultFolderExcludeFilters[] = { |
153 |
-- "po", |
154 |
-- |
155 |
-- // VCS |
156 |
-- "CVS", |
157 |
-- ".svn", |
158 |
-- ".git", |
159 |
-- "_darcs", |
160 |
-- ".bzr", |
161 |
-- ".hg", |
162 |
-- |
163 |
-- // development |
164 |
-- "CMakeFiles", |
165 |
-- "CMakeTmp", |
166 |
-- "CMakeTmpQmake", |
167 |
-- |
168 |
-- //misc |
169 |
-- "core-dumps", |
170 |
-- "lost+found", |
171 |
-- |
172 |
-- // end of list |
173 |
-- 0 |
174 |
-- }; |
175 |
-- |
176 |
-- const int s_defaultFolderExcludeFiltersVersion = 1; |
177 |
--} |
178 |
-- |
179 |
-- |
180 |
--QStringList Nepomuk2::defaultExcludeFilterList() |
181 |
--{ |
182 |
-- QStringList l; |
183 |
-- for ( int i = 0; s_defaultFileExcludeFilters[i]; ++i ) |
184 |
-- l << QLatin1String( s_defaultFileExcludeFilters[i] ); |
185 |
-- for ( int i = 0; s_defaultFolderExcludeFilters[i]; ++i ) |
186 |
-- l << QLatin1String( s_defaultFolderExcludeFilters[i] ); |
187 |
-- return l; |
188 |
--} |
189 |
-- |
190 |
--int Nepomuk2::defaultExcludeFilterListVersion() |
191 |
--{ |
192 |
-- return qMax(s_defaultFileExcludeFiltersVersion, s_defaultFolderExcludeFiltersVersion); |
193 |
--} |
194 |
-diff --git a/nepomuk/common/fileexcludefilters.h b/nepomuk/common/fileexcludefilters.h |
195 |
-deleted file mode 100644 |
196 |
-index 0f438f7..0000000 |
197 |
---- a/nepomuk/common/fileexcludefilters.h |
198 |
-+++ /dev/null |
199 |
-@@ -1,42 +0,0 @@ |
200 |
--/* This file is part of the KDE Project |
201 |
-- Copyright (c) 2008-2010 Sebastian Trueg <trueg@×××.org> |
202 |
-- |
203 |
-- This library is free software; you can redistribute it and/or |
204 |
-- modify it under the terms of the GNU Library General Public |
205 |
-- License version 2 as published by the Free Software Foundation. |
206 |
-- |
207 |
-- This library is distributed in the hope that it will be useful, |
208 |
-- but WITHOUT ANY WARRANTY; without even the implied warranty of |
209 |
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
210 |
-- Library General Public License for more details. |
211 |
-- |
212 |
-- You should have received a copy of the GNU Library General Public License |
213 |
-- along with this library; see the file COPYING.LIB. If not, write to |
214 |
-- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
215 |
-- Boston, MA 02110-1301, USA. |
216 |
--*/ |
217 |
-- |
218 |
--#ifndef _FILE_EXCLUDE_FILTERS_H_ |
219 |
--#define _FILE_EXCLUDE_FILTERS_H_ |
220 |
-- |
221 |
--#include <QtCore/QStringList> |
222 |
-- |
223 |
--#include "nepomukcommon_export.h" |
224 |
-- |
225 |
--namespace Nepomuk2 { |
226 |
-- /** |
227 |
-- * \return A list of default exclude filters to be used |
228 |
-- * in the filewatch service to ignore temporary files |
229 |
-- * and folders that change a lot and as a basis for the |
230 |
-- * user configurable exclude filters in the strigi service. |
231 |
-- */ |
232 |
-- NEPOMUKCOMMON_EXPORT QStringList defaultExcludeFilterList(); |
233 |
-- |
234 |
-- /** |
235 |
-- * \return The version of the default exclude filter list. |
236 |
-- * This is increased whenever the list changes. |
237 |
-- */ |
238 |
-- NEPOMUKCOMMON_EXPORT int defaultExcludeFilterListVersion(); |
239 |
--} |
240 |
-- |
241 |
--#endif |
242 |
-diff --git a/nepomuk/common/nepomukcommon_export.h b/nepomuk/common/nepomukcommon_export.h |
243 |
-deleted file mode 100644 |
244 |
-index e690000..0000000 |
245 |
---- a/nepomuk/common/nepomukcommon_export.h |
246 |
-+++ /dev/null |
247 |
-@@ -1,40 +0,0 @@ |
248 |
--/* This file is part of the KDE project |
249 |
-- Copyright (C) 2007 David Faure <faure@×××.org> |
250 |
-- |
251 |
-- This library is free software; you can redistribute it and/or |
252 |
-- modify it under the terms of the GNU Library General Public |
253 |
-- License as published by the Free Software Foundation; either |
254 |
-- version 2 of the License, or (at your option) any later version. |
255 |
-- |
256 |
-- This library is distributed in the hope that it will be useful, |
257 |
-- but WITHOUT ANY WARRANTY; without even the implied warranty of |
258 |
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
259 |
-- Library General Public License for more details. |
260 |
-- |
261 |
-- You should have received a copy of the GNU Library General Public License |
262 |
-- along with this library; see the file COPYING.LIB. If not, write to |
263 |
-- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
264 |
-- Boston, MA 02110-1301, USA. |
265 |
--*/ |
266 |
-- |
267 |
--#ifndef NEPOMUKCOMMON_EXPORT_H |
268 |
--#define NEPOMUKCOMMON_EXPORT_H |
269 |
-- |
270 |
--/* needed for KDE_EXPORT and KDE_IMPORT macros */ |
271 |
--#include <kdemacros.h> |
272 |
-- |
273 |
--#ifndef NEPOMUKCOMMON_EXPORT |
274 |
--# if defined(MAKE_NEPOMUKCOMMON_LIB) |
275 |
-- /* We are building this library */ |
276 |
--# define NEPOMUKCOMMON_EXPORT KDE_EXPORT |
277 |
--# else |
278 |
-- /* We are using this library */ |
279 |
--# define NEPOMUKCOMMON_EXPORT KDE_IMPORT |
280 |
--# endif |
281 |
--#endif |
282 |
-- |
283 |
--# ifndef NEPOMUKCOMMON_EXPORT_DEPRECATED |
284 |
--# define NEPOMUKCOMMON_EXPORT_DEPRECATED KDE_DEPRECATED NEPOMUKCOMMON_EXPORT |
285 |
--# endif |
286 |
-- |
287 |
--#endif |
288 |
-diff --git a/nepomuk/common/nepomuktools.h b/nepomuk/common/nepomuktools.h |
289 |
-deleted file mode 100644 |
290 |
-index 853f2ff..0000000 |
291 |
---- a/nepomuk/common/nepomuktools.h |
292 |
-+++ /dev/null |
293 |
-@@ -1,61 +0,0 @@ |
294 |
--/* |
295 |
-- This file is part of the Nepomuk KDE project. |
296 |
-- Copyright (C) 2011 Sebastian Trueg <trueg@×××.org> |
297 |
-- |
298 |
-- This library is free software; you can redistribute it and/or |
299 |
-- modify it under the terms of the GNU Lesser General Public |
300 |
-- License as published by the Free Software Foundation; either |
301 |
-- version 2.1 of the License, or (at your option) version 3, or any |
302 |
-- later version accepted by the membership of KDE e.V. (or its |
303 |
-- successor approved by the membership of KDE e.V.), which shall |
304 |
-- act as a proxy defined in Section 6 of version 3 of the license. |
305 |
-- |
306 |
-- This library is distributed in the hope that it will be useful, |
307 |
-- but WITHOUT ANY WARRANTY; without even the implied warranty of |
308 |
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
309 |
-- Lesser General Public License for more details. |
310 |
-- |
311 |
-- You should have received a copy of the GNU Lesser General Public |
312 |
-- License along with this library. If not, see <http://www.gnu.org/licenses/>. |
313 |
--*/ |
314 |
-- |
315 |
--#ifndef NEPOMUKTOOLS_H |
316 |
--#define NEPOMUKTOOLS_H |
317 |
-- |
318 |
--#include <KUrl> |
319 |
--#include <QtCore/QStringList> |
320 |
--#include <Soprano/Node> |
321 |
-- |
322 |
--namespace Nepomuk2 { |
323 |
--const int MAX_SPLIT_LIST_ITEMS = 20; |
324 |
-- |
325 |
--/** |
326 |
-- * Convert a list or set or QUrls into a list of N3 formatted strings. |
327 |
-- */ |
328 |
--template<typename T> QStringList resourcesToN3(const T& urls) { |
329 |
-- QStringList n3; |
330 |
-- Q_FOREACH(const QUrl& url, urls) { |
331 |
-- n3 << Soprano::Node::resourceToN3(url); |
332 |
-- } |
333 |
-- return n3; |
334 |
--} |
335 |
-- |
336 |
--/** |
337 |
-- * Split a list into several lists, each not containing more than \p max items |
338 |
-- */ |
339 |
--template<typename T> QList<QList<T> > splitList(const QList<T>& list, int max = MAX_SPLIT_LIST_ITEMS) { |
340 |
-- QList<QList<T> > splitted; |
341 |
-- int i = 0; |
342 |
-- QList<T> single; |
343 |
-- foreach(const T& item, list) { |
344 |
-- single.append(item); |
345 |
-- if(++i >= max) { |
346 |
-- splitted << single; |
347 |
-- single.clear(); |
348 |
-- } |
349 |
-- } |
350 |
-- return splitted; |
351 |
--} |
352 |
--} |
353 |
-- |
354 |
--#endif // NEPOMUKTOOLS_H |
355 |
-diff --git a/nepomuk/common/regexpcache.cpp b/nepomuk/common/regexpcache.cpp |
356 |
-deleted file mode 100644 |
357 |
-index df45277..0000000 |
358 |
---- a/nepomuk/common/regexpcache.cpp |
359 |
-+++ /dev/null |
360 |
-@@ -1,66 +0,0 @@ |
361 |
--/* |
362 |
-- This file is part of the Nepomuk KDE project. |
363 |
-- Copyright (C) 2010 Sebastian Trueg <trueg@×××.org> |
364 |
-- |
365 |
-- This library is free software; you can redistribute it and/or |
366 |
-- modify it under the terms of the GNU Lesser General Public |
367 |
-- License as published by the Free Software Foundation; either |
368 |
-- version 2.1 of the License, or (at your option) version 3, or any |
369 |
-- later version accepted by the membership of KDE e.V. (or its |
370 |
-- successor approved by the membership of KDE e.V.), which shall |
371 |
-- act as a proxy defined in Section 6 of version 3 of the license. |
372 |
-- |
373 |
-- This library is distributed in the hope that it will be useful, |
374 |
-- but WITHOUT ANY WARRANTY; without even the implied warranty of |
375 |
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
376 |
-- Lesser General Public License for more details. |
377 |
-- |
378 |
-- You should have received a copy of the GNU Lesser General Public |
379 |
-- License along with this library. If not, see <http://www.gnu.org/licenses/>. |
380 |
--*/ |
381 |
-- |
382 |
--#include "regexpcache.h" |
383 |
-- |
384 |
--#include <QtCore/QStringList> |
385 |
-- |
386 |
-- |
387 |
--RegExpCache::RegExpCache() |
388 |
--{ |
389 |
--} |
390 |
-- |
391 |
-- |
392 |
--RegExpCache::~RegExpCache() |
393 |
--{ |
394 |
--} |
395 |
-- |
396 |
-- |
397 |
--bool RegExpCache::exactMatch( const QString& s ) const |
398 |
--{ |
399 |
-- Q_FOREACH( const QRegExp& filter, m_regexpCache ) { |
400 |
-- if ( filter.exactMatch( s ) ) { |
401 |
-- return true; |
402 |
-- } |
403 |
-- } |
404 |
-- return false; |
405 |
--} |
406 |
-- |
407 |
-- |
408 |
--bool RegExpCache::filenameMatch( const QString& path ) const |
409 |
--{ |
410 |
-- QString name; |
411 |
-- int i = path.lastIndexOf( '/' ); |
412 |
-- if( i >= 0 ) |
413 |
-- name = path.mid(i+1); |
414 |
-- else |
415 |
-- name = path; |
416 |
-- return exactMatch( name ); |
417 |
--} |
418 |
-- |
419 |
-- |
420 |
--void RegExpCache::rebuildCacheFromFilterList( const QStringList& filters ) |
421 |
--{ |
422 |
-- m_regexpCache.clear(); |
423 |
-- Q_FOREACH( const QString& filter, filters ) { |
424 |
-- m_regexpCache.append( QRegExp( filter, Qt::CaseSensitive, QRegExp::Wildcard ) ); |
425 |
-- } |
426 |
--} |
427 |
-diff --git a/nepomuk/common/regexpcache.h b/nepomuk/common/regexpcache.h |
428 |
-deleted file mode 100644 |
429 |
-index d89f968..0000000 |
430 |
---- a/nepomuk/common/regexpcache.h |
431 |
-+++ /dev/null |
432 |
-@@ -1,48 +0,0 @@ |
433 |
--/* |
434 |
-- This file is part of the Nepomuk KDE project. |
435 |
-- Copyright (C) 2010 Sebastian Trueg <trueg@×××.org> |
436 |
-- |
437 |
-- This library is free software; you can redistribute it and/or |
438 |
-- modify it under the terms of the GNU Lesser General Public |
439 |
-- License as published by the Free Software Foundation; either |
440 |
-- version 2.1 of the License, or (at your option) version 3, or any |
441 |
-- later version accepted by the membership of KDE e.V. (or its |
442 |
-- successor approved by the membership of KDE e.V.), which shall |
443 |
-- act as a proxy defined in Section 6 of version 3 of the license. |
444 |
-- |
445 |
-- This library is distributed in the hope that it will be useful, |
446 |
-- but WITHOUT ANY WARRANTY; without even the implied warranty of |
447 |
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
448 |
-- Lesser General Public License for more details. |
449 |
-- |
450 |
-- You should have received a copy of the GNU Lesser General Public |
451 |
-- License along with this library. If not, see <http://www.gnu.org/licenses/>. |
452 |
--*/ |
453 |
-- |
454 |
--#ifndef _REGEXP_CACHE_H_ |
455 |
--#define _REGEXP_CACHE_H_ |
456 |
-- |
457 |
--#include <QtCore/QList> |
458 |
--#include <QtCore/QRegExp> |
459 |
-- |
460 |
--#include "nepomukcommon_export.h" |
461 |
-- |
462 |
--class NEPOMUKCOMMON_EXPORT RegExpCache |
463 |
--{ |
464 |
--public: |
465 |
-- RegExpCache(); |
466 |
-- ~RegExpCache(); |
467 |
-- |
468 |
-- bool exactMatch( const QString& s ) const; |
469 |
-- bool filenameMatch( const QString& path ) const; |
470 |
-- |
471 |
-- void rebuildCacheFromFilterList( const QStringList& filters ); |
472 |
-- |
473 |
-- QList<QRegExp> regExps() const { return m_regexpCache; } |
474 |
-- |
475 |
--private: |
476 |
-- QList<QRegExp> m_regexpCache; |
477 |
--}; |
478 |
-- |
479 |
--#endif |
480 |
-- |
481 |
-diff --git a/nepomuk/common/removablemediacache.cpp b/nepomuk/common/removablemediacache.cpp |
482 |
-deleted file mode 100644 |
483 |
-index 437c133..0000000 |
484 |
---- a/nepomuk/common/removablemediacache.cpp |
485 |
-+++ /dev/null |
486 |
-@@ -1,308 +0,0 @@ |
487 |
--/* |
488 |
-- This file is part of the Nepomuk KDE project. |
489 |
-- Copyright (C) 2011 Sebastian Trueg <trueg@×××.org> |
490 |
-- |
491 |
-- This library is free software; you can redistribute it and/or |
492 |
-- modify it under the terms of the GNU Lesser General Public |
493 |
-- License as published by the Free Software Foundation; either |
494 |
-- version 2.1 of the License, or (at your option) version 3, or any |
495 |
-- later version accepted by the membership of KDE e.V. (or its |
496 |
-- successor approved by the membership of KDE e.V.), which shall |
497 |
-- act as a proxy defined in Section 6 of version 3 of the license. |
498 |
-- |
499 |
-- This library is distributed in the hope that it will be useful, |
500 |
-- but WITHOUT ANY WARRANTY; without even the implied warranty of |
501 |
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
502 |
-- Lesser General Public License for more details. |
503 |
-- |
504 |
-- You should have received a copy of the GNU Lesser General Public |
505 |
-- License along with this library. If not, see <http://www.gnu.org/licenses/>. |
506 |
--*/ |
507 |
-- |
508 |
--#include "removablemediacache.h" |
509 |
-- |
510 |
--#include <Solid/DeviceNotifier> |
511 |
--#include <Solid/DeviceInterface> |
512 |
--#include <Solid/Block> |
513 |
--#include <Solid/Device> |
514 |
--#include <Solid/StorageDrive> |
515 |
--#include <Solid/StorageVolume> |
516 |
--#include <Solid/StorageAccess> |
517 |
--#include <Solid/NetworkShare> |
518 |
--#include <Solid/OpticalDisc> |
519 |
--#include <Solid/Predicate> |
520 |
-- |
521 |
--#include <KDebug> |
522 |
-- |
523 |
--#include <QtCore/QMutexLocker> |
524 |
-- |
525 |
-- |
526 |
--namespace { |
527 |
-- bool isUsableVolume( const Solid::Device& dev ) { |
528 |
-- if ( dev.is<Solid::StorageAccess>() ) { |
529 |
-- if( dev.is<Solid::StorageVolume>() && |
530 |
-- dev.parent().is<Solid::StorageDrive>() && |
531 |
-- ( dev.parent().as<Solid::StorageDrive>()->isRemovable() || |
532 |
-- dev.parent().as<Solid::StorageDrive>()->isHotpluggable() ) ) { |
533 |
-- const Solid::StorageVolume* volume = dev.as<Solid::StorageVolume>(); |
534 |
-- if ( !volume->isIgnored() && volume->usage() == Solid::StorageVolume::FileSystem ) |
535 |
-- return true; |
536 |
-- } |
537 |
-- else if(dev.is<Solid::NetworkShare>()) { |
538 |
-- return !dev.as<Solid::NetworkShare>()->url().isEmpty(); |
539 |
-- } |
540 |
-- } |
541 |
-- |
542 |
-- // fallback |
543 |
-- return false; |
544 |
-- } |
545 |
-- |
546 |
-- bool isUsableVolume( const QString& udi ) { |
547 |
-- Solid::Device dev( udi ); |
548 |
-- return isUsableVolume( dev ); |
549 |
-- } |
550 |
--} |
551 |
-- |
552 |
-- |
553 |
--Nepomuk2::RemovableMediaCache::RemovableMediaCache(QObject *parent) |
554 |
-- : QObject(parent) |
555 |
--{ |
556 |
-- initCacheEntries(); |
557 |
-- |
558 |
-- connect( Solid::DeviceNotifier::instance(), SIGNAL( deviceAdded( const QString& ) ), |
559 |
-- this, SLOT( slotSolidDeviceAdded( const QString& ) ) ); |
560 |
-- connect( Solid::DeviceNotifier::instance(), SIGNAL( deviceRemoved( const QString& ) ), |
561 |
-- this, SLOT( slotSolidDeviceRemoved( const QString& ) ) ); |
562 |
--} |
563 |
-- |
564 |
-- |
565 |
--Nepomuk2::RemovableMediaCache::~RemovableMediaCache() |
566 |
--{ |
567 |
--} |
568 |
-- |
569 |
-- |
570 |
--void Nepomuk2::RemovableMediaCache::initCacheEntries() |
571 |
--{ |
572 |
-- QList<Solid::Device> devices |
573 |
-- = Solid::Device::listFromQuery(QLatin1String("StorageVolume.usage=='FileSystem'")) |
574 |
-- + Solid::Device::listFromType(Solid::DeviceInterface::NetworkShare); |
575 |
-- foreach( const Solid::Device& dev, devices ) { |
576 |
-- if ( isUsableVolume( dev ) ) { |
577 |
-- if(Entry* entry = createCacheEntry( dev )) { |
578 |
-- const Solid::StorageAccess* storage = entry->device().as<Solid::StorageAccess>(); |
579 |
-- if ( storage && storage->isAccessible() ) |
580 |
-- slotAccessibilityChanged( true, dev.udi() ); |
581 |
-- } |
582 |
-- } |
583 |
-- } |
584 |
--} |
585 |
-- |
586 |
--QList<const Nepomuk2::RemovableMediaCache::Entry *> Nepomuk2::RemovableMediaCache::allMedia() const |
587 |
--{ |
588 |
-- QList<const Entry*> media; |
589 |
-- for(QHash<QString, Entry>::const_iterator it = m_metadataCache.begin(); it != m_metadataCache.end(); ++it) |
590 |
-- media.append(&(*it)); |
591 |
-- return media; |
592 |
--} |
593 |
-- |
594 |
--Nepomuk2::RemovableMediaCache::Entry* Nepomuk2::RemovableMediaCache::createCacheEntry( const Solid::Device& dev ) |
595 |
--{ |
596 |
-- QMutexLocker lock(&m_entryCacheMutex); |
597 |
-- |
598 |
-- Entry entry(dev); |
599 |
-- if(!entry.url().isEmpty()) { |
600 |
-- kDebug() << "Usable" << dev.udi(); |
601 |
-- |
602 |
-- // we only add to this set and never remove. This is no problem as this is a small set |
603 |
-- m_usedSchemas.insert(KUrl(entry.url()).scheme()); |
604 |
-- |
605 |
-- connect( dev.as<Solid::StorageAccess>(), SIGNAL(accessibilityChanged(bool, QString)), |
606 |
-- this, SLOT(slotAccessibilityChanged(bool, QString)) ); |
607 |
-- |
608 |
-- m_metadataCache.insert( dev.udi(), entry ); |
609 |
-- |
610 |
-- emit deviceAdded(&m_metadataCache[dev.udi()]); |
611 |
-- |
612 |
-- return &m_metadataCache[dev.udi()]; |
613 |
-- } |
614 |
-- else { |
615 |
-- kDebug() << "Cannot use device due to empty identifier:" << dev.udi(); |
616 |
-- return 0; |
617 |
-- } |
618 |
--} |
619 |
-- |
620 |
-- |
621 |
--const Nepomuk2::RemovableMediaCache::Entry* Nepomuk2::RemovableMediaCache::findEntryByFilePath( const QString& path ) const |
622 |
--{ |
623 |
-- QMutexLocker lock(&m_entryCacheMutex); |
624 |
-- |
625 |
-- for( QHash<QString, Entry>::const_iterator it = m_metadataCache.begin(); |
626 |
-- it != m_metadataCache.end(); ++it ) { |
627 |
-- const Entry& entry = *it; |
628 |
-- const Solid::StorageAccess* storage = entry.device().as<Solid::StorageAccess>(); |
629 |
-- if ( storage && |
630 |
-- storage->isAccessible() && |
631 |
-- path.startsWith( storage->filePath() ) ) |
632 |
-- return &entry; |
633 |
-- } |
634 |
-- |
635 |
-- return 0; |
636 |
--} |
637 |
-- |
638 |
-- |
639 |
--const Nepomuk2::RemovableMediaCache::Entry* Nepomuk2::RemovableMediaCache::findEntryByUrl(const KUrl &url) const |
640 |
--{ |
641 |
-- QMutexLocker lock(&m_entryCacheMutex); |
642 |
-- |
643 |
-- const QString encodedUrl = QString::fromAscii(url.toEncoded()); |
644 |
-- for( QHash<QString, Entry>::const_iterator it = m_metadataCache.constBegin(); |
645 |
-- it != m_metadataCache.constEnd(); ++it ) { |
646 |
-- const Entry& entry = *it; |
647 |
-- if(encodedUrl.startsWith(entry.url())) { |
648 |
-- return &entry; |
649 |
-- } |
650 |
-- } |
651 |
-- |
652 |
-- return 0; |
653 |
--} |
654 |
-- |
655 |
-- |
656 |
--QList<const Nepomuk2::RemovableMediaCache::Entry*> Nepomuk2::RemovableMediaCache::findEntriesByMountPath(const QString &path) const |
657 |
--{ |
658 |
-- QList<const Entry*> entries; |
659 |
-- for( QHash<QString, Entry>::const_iterator it = m_metadataCache.constBegin(); |
660 |
-- it != m_metadataCache.constEnd(); ++it ) { |
661 |
-- const Entry& entry = *it; |
662 |
-- if(entry.isMounted() && |
663 |
-- entry.mountPath().startsWith(path)) { |
664 |
-- entries.append(&entry); |
665 |
-- } |
666 |
-- } |
667 |
-- return entries; |
668 |
--} |
669 |
-- |
670 |
-- |
671 |
--bool Nepomuk2::RemovableMediaCache::hasRemovableSchema(const KUrl &url) const |
672 |
--{ |
673 |
-- return m_usedSchemas.contains(url.scheme()); |
674 |
--} |
675 |
-- |
676 |
-- |
677 |
--void Nepomuk2::RemovableMediaCache::slotSolidDeviceAdded( const QString& udi ) |
678 |
--{ |
679 |
-- kDebug() << udi; |
680 |
-- |
681 |
-- if ( isUsableVolume( udi ) ) { |
682 |
-- createCacheEntry( Solid::Device( udi ) ); |
683 |
-- } |
684 |
--} |
685 |
-- |
686 |
-- |
687 |
--void Nepomuk2::RemovableMediaCache::slotSolidDeviceRemoved( const QString& udi ) |
688 |
--{ |
689 |
-- kDebug() << udi; |
690 |
-- if ( m_metadataCache.contains( udi ) ) { |
691 |
-- kDebug() << "Found removable storage volume for Nepomuk undocking:" << udi; |
692 |
-- m_metadataCache.remove( udi ); |
693 |
-- } |
694 |
--} |
695 |
-- |
696 |
-- |
697 |
--void Nepomuk2::RemovableMediaCache::slotAccessibilityChanged( bool accessible, const QString& udi ) |
698 |
--{ |
699 |
-- kDebug() << accessible << udi; |
700 |
-- |
701 |
-- // |
702 |
-- // cache new mount path |
703 |
-- // |
704 |
-- if ( accessible ) { |
705 |
-- QMutexLocker lock(&m_entryCacheMutex); |
706 |
-- Entry* entry = &m_metadataCache[udi]; |
707 |
-- kDebug() << udi << "accessible at" << entry->device().as<Solid::StorageAccess>()->filePath() << "with identifier" << entry->url(); |
708 |
-- emit deviceMounted(entry); |
709 |
-- } |
710 |
--} |
711 |
-- |
712 |
-- |
713 |
--Nepomuk2::RemovableMediaCache::Entry::Entry() |
714 |
--{ |
715 |
--} |
716 |
-- |
717 |
-- |
718 |
--Nepomuk2::RemovableMediaCache::Entry::Entry(const Solid::Device& device) |
719 |
-- : m_device(device) |
720 |
--{ |
721 |
-- if(device.is<Solid::StorageVolume>()) { |
722 |
-- const Solid::StorageVolume* volume = m_device.as<Solid::StorageVolume>(); |
723 |
-- if(device.is<Solid::OpticalDisc>() && |
724 |
-- !volume->label().isEmpty()) { |
725 |
-- // we use the label as is - it is not even close to unique but |
726 |
-- // so far we have nothing better |
727 |
-- |
728 |
-- // QUrl does convert the host to lower case |
729 |
-- QString label = volume->label().toLower(); |
730 |
-- // QUrl does not allow spaces in the host |
731 |
-- label.replace(' ', '_'); |
732 |
-- |
733 |
-- m_urlPrefix = QLatin1String("optical://") + label; |
734 |
-- } |
735 |
-- else if(!volume->uuid().isEmpty()) { |
736 |
-- // we always use lower-case uuids |
737 |
-- m_urlPrefix = QLatin1String("filex://") + volume->uuid().toLower(); |
738 |
-- } |
739 |
-- } |
740 |
-- else if(device.is<Solid::NetworkShare>()) { |
741 |
-- m_urlPrefix = device.as<Solid::NetworkShare>()->url().toString(); |
742 |
-- } |
743 |
--} |
744 |
-- |
745 |
--KUrl Nepomuk2::RemovableMediaCache::Entry::constructRelativeUrl( const QString& path ) const |
746 |
--{ |
747 |
-- if(const Solid::StorageAccess* sa = m_device.as<Solid::StorageAccess>()) { |
748 |
-- if(sa->isAccessible()) { |
749 |
-- const QString relativePath = path.mid( sa->filePath().count() ); |
750 |
-- return KUrl( m_urlPrefix + relativePath ); |
751 |
-- } |
752 |
-- } |
753 |
-- |
754 |
-- // fallback |
755 |
-- return KUrl(); |
756 |
--} |
757 |
-- |
758 |
-- |
759 |
--KUrl Nepomuk2::RemovableMediaCache::Entry::constructLocalFileUrl( const KUrl& filexUrl ) const |
760 |
--{ |
761 |
-- if(const Solid::StorageAccess* sa = m_device.as<Solid::StorageAccess>()) { |
762 |
-- if(sa->isAccessible()) { |
763 |
-- // the base of the path: the mount path |
764 |
-- KUrl fileUrl( sa->filePath() ); |
765 |
-- fileUrl.addPath(QUrl::fromEncoded(filexUrl.toEncoded().mid(m_urlPrefix.count())).toString()); |
766 |
-- return fileUrl; |
767 |
-- } |
768 |
-- } |
769 |
-- |
770 |
-- // fallback |
771 |
-- return QString(); |
772 |
--} |
773 |
-- |
774 |
--QString Nepomuk2::RemovableMediaCache::Entry::mountPath() const |
775 |
--{ |
776 |
-- if(const Solid::StorageAccess* sa = m_device.as<Solid::StorageAccess>()) { |
777 |
-- return sa->filePath(); |
778 |
-- } |
779 |
-- else { |
780 |
-- return QString(); |
781 |
-- } |
782 |
--} |
783 |
-- |
784 |
--bool Nepomuk2::RemovableMediaCache::Entry::isMounted() const |
785 |
--{ |
786 |
-- if(const Solid::StorageAccess* sa = m_device.as<Solid::StorageAccess>()) { |
787 |
-- return sa->isAccessible(); |
788 |
-- } |
789 |
-- else { |
790 |
-- return false; |
791 |
-- } |
792 |
--} |
793 |
-- |
794 |
--#include "removablemediacache.moc" |
795 |
-diff --git a/nepomuk/common/removablemediacache.h b/nepomuk/common/removablemediacache.h |
796 |
-deleted file mode 100644 |
797 |
-index 4da7ab5..0000000 |
798 |
---- a/nepomuk/common/removablemediacache.h |
799 |
-+++ /dev/null |
800 |
-@@ -1,122 +0,0 @@ |
801 |
--/* |
802 |
-- This file is part of the Nepomuk KDE project. |
803 |
-- Copyright (C) 2011 Sebastian Trueg <trueg@×××.org> |
804 |
-- |
805 |
-- This library is free software; you can redistribute it and/or |
806 |
-- modify it under the terms of the GNU Lesser General Public |
807 |
-- License as published by the Free Software Foundation; either |
808 |
-- version 2.1 of the License, or (at your option) version 3, or any |
809 |
-- later version accepted by the membership of KDE e.V. (or its |
810 |
-- successor approved by the membership of KDE e.V.), which shall |
811 |
-- act as a proxy defined in Section 6 of version 3 of the license. |
812 |
-- |
813 |
-- This library is distributed in the hope that it will be useful, |
814 |
-- but WITHOUT ANY WARRANTY; without even the implied warranty of |
815 |
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
816 |
-- Lesser General Public License for more details. |
817 |
-- |
818 |
-- You should have received a copy of the GNU Lesser General Public |
819 |
-- License along with this library. If not, see <http://www.gnu.org/licenses/>. |
820 |
--*/ |
821 |
-- |
822 |
--#ifndef NEPOMUK_REMOVABLEMEDIACACHE_H |
823 |
--#define NEPOMUK_REMOVABLEMEDIACACHE_H |
824 |
-- |
825 |
--#include "nepomukcommon_export.h" |
826 |
-- |
827 |
--#include <QtCore/QObject> |
828 |
--#include <QtCore/QMutex> |
829 |
--#include <QtCore/QSet> |
830 |
-- |
831 |
--#include <Solid/Device> |
832 |
-- |
833 |
--#include <KUrl> |
834 |
-- |
835 |
-- |
836 |
--namespace Nepomuk2 { |
837 |
-- |
838 |
--/** |
839 |
-- * The removable media cache provides access to all removable |
840 |
-- * media that are supported by Nepomuk. It allows to convert |
841 |
-- * URLs the way RemovableMediaModel requires it and provides |
842 |
-- * more or less unique URIs for each device allowing to store |
843 |
-- * device-specific configuration. |
844 |
-- */ |
845 |
--class NEPOMUKCOMMON_EXPORT RemovableMediaCache : public QObject |
846 |
--{ |
847 |
-- Q_OBJECT |
848 |
-- |
849 |
--public: |
850 |
-- RemovableMediaCache(QObject *parent = 0); |
851 |
-- ~RemovableMediaCache(); |
852 |
-- |
853 |
-- class NEPOMUKCOMMON_EXPORT Entry { |
854 |
-- public: |
855 |
-- Entry(); |
856 |
-- Entry(const Solid::Device& device); |
857 |
-- |
858 |
-- KUrl constructRelativeUrl( const QString& path ) const; |
859 |
-- KUrl constructLocalFileUrl( const KUrl& filexUrl ) const; |
860 |
-- |
861 |
-- Solid::Device device() const { return m_device; } |
862 |
-- QString url() const { return m_urlPrefix; } |
863 |
-- |
864 |
-- bool isMounted() const; |
865 |
-- QString mountPath() const; |
866 |
-- |
867 |
-- private: |
868 |
-- Solid::Device m_device; |
869 |
-- |
870 |
-- /// The prefix to be used for URLs |
871 |
-- QString m_urlPrefix; |
872 |
-- }; |
873 |
-- |
874 |
-- const Entry* findEntryByFilePath( const QString& path ) const; |
875 |
-- const Entry* findEntryByUrl(const KUrl& url) const; |
876 |
-- |
877 |
-- /** |
878 |
-- * Searches for entries which are mounted at a path which starts with |
879 |
-- * the given one. Example: a \p path \p /media will result in all |
880 |
-- * entries which are mounted under \p /media like \p /media/disk1 or |
881 |
-- * \p /media/cdrom. |
882 |
-- */ |
883 |
-- QList<const Entry*> findEntriesByMountPath(const QString& path) const; |
884 |
-- |
885 |
-- QList<const Entry*> allMedia() const; |
886 |
-- |
887 |
-- /** |
888 |
-- * Returns true if the URL might be pointing to a file on a |
889 |
-- * removable device as handled by this class, ie. a non-local |
890 |
-- * URL which can be converted to a local one. |
891 |
-- * This method is primarily used for performance gain. |
892 |
-- */ |
893 |
-- bool hasRemovableSchema(const KUrl& url) const; |
894 |
-- |
895 |
--signals: |
896 |
-- void deviceAdded(const Nepomuk2::RemovableMediaCache::Entry* entry); |
897 |
-- void deviceMounted(const Nepomuk2::RemovableMediaCache::Entry* entry); |
898 |
-- |
899 |
--private slots: |
900 |
-- void slotSolidDeviceAdded(const QString &udi); |
901 |
-- void slotSolidDeviceRemoved(const QString &udi); |
902 |
-- void slotAccessibilityChanged(bool accessible, const QString &udi); |
903 |
-- |
904 |
--private: |
905 |
-- void initCacheEntries(); |
906 |
-- |
907 |
-- Entry* createCacheEntry( const Solid::Device& dev ); |
908 |
-- |
909 |
-- /// maps Solid UDI to Entry |
910 |
-- QHash<QString, Entry> m_metadataCache; |
911 |
-- |
912 |
-- /// contains all schemas that are used as url prefixes in m_metadataCache |
913 |
-- /// this is used to avoid trying to convert each and every resource in |
914 |
-- /// convertFilexUrl |
915 |
-- QSet<QString> m_usedSchemas; |
916 |
-- |
917 |
-- mutable QMutex m_entryCacheMutex; |
918 |
--}; |
919 |
-- |
920 |
--} // namespace Nepomuk2 |
921 |
-- |
922 |
--#endif // NEPOMUK_REMOVABLEMEDIACACHE_H |
923 |
-diff --git a/nepomuk/kcm/CMakeLists.txt b/nepomuk/kcm/CMakeLists.txt |
924 |
-index 1578704..9d94650 100644 |
925 |
---- a/nepomuk/kcm/CMakeLists.txt |
926 |
-+++ b/nepomuk/kcm/CMakeLists.txt |
927 |
-@@ -28,7 +28,6 @@ kde4_add_ui_files(kcmnepomuk_SRCS |
928 |
- kde4_add_plugin(kcm_nepomuk ${kcmnepomuk_SRCS}) |
929 |
- |
930 |
- target_link_libraries(kcm_nepomuk |
931 |
-- nepomukcommon |
932 |
- ${KDE4_KDEUI_LIBS} |
933 |
- ${KDE4_KIO_LIBS} |
934 |
- ${NEPOMUK_CORE_LIBRARY} |
935 |
-diff --git a/nepomuk/kcm/fileexcludefilters.h b/nepomuk/kcm/fileexcludefilters.h |
936 |
-index 0f438f7..52d75a2 100644 |
937 |
---- a/nepomuk/kcm/fileexcludefilters.h |
938 |
-+++ b/nepomuk/kcm/fileexcludefilters.h |
939 |
-@@ -21,8 +21,6 @@ |
940 |
- |
941 |
- #include <QtCore/QStringList> |
942 |
- |
943 |
--#include "nepomukcommon_export.h" |
944 |
-- |
945 |
- namespace Nepomuk2 { |
946 |
- /** |
947 |
- * \return A list of default exclude filters to be used |
948 |
-@@ -30,13 +28,13 @@ namespace Nepomuk2 { |
949 |
- * and folders that change a lot and as a basis for the |
950 |
- * user configurable exclude filters in the strigi service. |
951 |
- */ |
952 |
-- NEPOMUKCOMMON_EXPORT QStringList defaultExcludeFilterList(); |
953 |
-+ QStringList defaultExcludeFilterList(); |
954 |
- |
955 |
- /** |
956 |
- * \return The version of the default exclude filter list. |
957 |
- * This is increased whenever the list changes. |
958 |
- */ |
959 |
-- NEPOMUKCOMMON_EXPORT int defaultExcludeFilterListVersion(); |
960 |
-+ int defaultExcludeFilterListVersion(); |
961 |
- } |
962 |
- |
963 |
- #endif |
964 |
-diff --git a/nepomuk/kioslaves/nepomuk/CMakeLists.txt b/nepomuk/kioslaves/nepomuk/CMakeLists.txt |
965 |
-index c78fd58..4ad9812 100644 |
966 |
---- a/nepomuk/kioslaves/nepomuk/CMakeLists.txt |
967 |
-+++ b/nepomuk/kioslaves/nepomuk/CMakeLists.txt |
968 |
-@@ -13,7 +13,6 @@ set(kio_nepomuk_PART_SRCS |
969 |
- kde4_add_plugin(kio_nepomuk ${kio_nepomuk_PART_SRCS}) |
970 |
- |
971 |
- target_link_libraries(kio_nepomuk |
972 |
-- nepomukcommon |
973 |
- ${KDE4_KIO_LIBS} |
974 |
- ${KDE4_SOLID_LIBS} |
975 |
- ${NEPOMUK_CORE_LIBRARY} |
976 |
-diff --git a/nepomuk/kioslaves/search/CMakeLists.txt b/nepomuk/kioslaves/search/CMakeLists.txt |
977 |
-index d7bf1e0..9321791 100644 |
978 |
---- a/nepomuk/kioslaves/search/CMakeLists.txt |
979 |
-+++ b/nepomuk/kioslaves/search/CMakeLists.txt |
980 |
-@@ -28,7 +28,6 @@ kde4_add_plugin(kio_nepomuksearch |
981 |
- ${kio_nepomuksearch_PART_SRCS}) |
982 |
- |
983 |
- target_link_libraries(kio_nepomuksearch |
984 |
-- nepomukcommon |
985 |
- ${KDE4_KIO_LIBS} |
986 |
- ${KDE4_SOLID_LIBS} |
987 |
- ${NEPOMUK_CORE_LIBRARY} |
988 |
-diff --git a/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt b/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt |
989 |
-index 2f82c6b..fff309d 100644 |
990 |
---- a/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt |
991 |
-+++ b/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt |
992 |
-@@ -34,7 +34,6 @@ qt4_add_dbus_interface(nepomuksearchmodule_SRCS |
993 |
- kde4_add_plugin(kded_nepomuksearchmodule ${nepomuksearchmodule_SRCS}) |
994 |
- |
995 |
- target_link_libraries(kded_nepomuksearchmodule |
996 |
-- nepomukcommon |
997 |
- ${KDE4_KDECORE_LIBS} |
998 |
- ${KDE4_KIO_LIBS} |
999 |
- ${NEPOMUK_CORE_LIBRARY} |
1000 |
-diff --git a/nepomuk/kioslaves/timeline/CMakeLists.txt b/nepomuk/kioslaves/timeline/CMakeLists.txt |
1001 |
-index d914436..b465110 100644 |
1002 |
---- a/nepomuk/kioslaves/timeline/CMakeLists.txt |
1003 |
-+++ b/nepomuk/kioslaves/timeline/CMakeLists.txt |
1004 |
-@@ -20,7 +20,6 @@ qt4_add_dbus_interface(kio_timeline_PART_SRCS ${NEPOMUK_CORE_DBUS_INTERFACES_DIR |
1005 |
- kde4_add_plugin(kio_timeline ${kio_timeline_PART_SRCS}) |
1006 |
- |
1007 |
- target_link_libraries(kio_timeline |
1008 |
-- nepomukcommon |
1009 |
- ${KDE4_KIO_LIBS} |
1010 |
- ${NEPOMUK_CORE_LIBRARY} |
1011 |
- ${SOPRANO_LIBRARIES} |
1012 |
|
1013 |
diff --git a/kde-base/nepomuk/nepomuk-4.8.80.ebuild b/kde-base/nepomuk/nepomuk-4.8.80.ebuild |
1014 |
index 656b151..79d2225 100644 |
1015 |
--- a/kde-base/nepomuk/nepomuk-4.8.80.ebuild |
1016 |
+++ b/kde-base/nepomuk/nepomuk-4.8.80.ebuild |
1017 |
@@ -23,5 +23,3 @@ RDEPEND="${DEPEND}" |
1018 |
|
1019 |
RESTRICT="test" |
1020 |
# bug 392989 |
1021 |
- |
1022 |
-PATCHES=( "${FILESDIR}/${P}-file-collisions.patch" ) |