summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-02-21 14:03:04 +0000
committerJohannes Huber <johu@gentoo.org>2012-02-21 14:03:04 +0000
commitee7a8645ce6b3b6d30dbb27a7d9d35497d4ff290 (patch)
treeab64fc4c78e1d7b8181cccb4d1c9910bdd77d97f /kde-base
parent1.7.1 now blocks php[threads] as compilation fails. Bug 368595 (diff)
downloadhistorical-ee7a8645ce6b3b6d30dbb27a7d9d35497d4ff290.tar.gz
historical-ee7a8645ce6b3b6d30dbb27a7d9d35497d4ff290.tar.bz2
historical-ee7a8645ce6b3b6d30dbb27a7d9d35497d4ff290.zip
Remove old.
Package-Manager: portage-2.2.0_alpha86/cvs/Linux x86_64
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kdelibs/ChangeLog10
-rw-r--r--kde-base/kdelibs/Manifest24
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.6.2-nonepomuk.patch15
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.6.3-doublepost.patch27
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.6.3-use_QWeakPointer.patch115
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.6.5-cardinality.patch323
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.6.5-qlabel-1.patch15
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.6.5-qlabel-2.patch50
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.7.1-libpng15.patch11
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.7.3-customcont.patch36
10 files changed, 17 insertions, 609 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog
index 9655029c3750..552e91f52951 100644
--- a/kde-base/kdelibs/ChangeLog
+++ b/kde-base/kdelibs/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for kde-base/kdelibs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.826 2012/02/21 12:52:30 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.827 2012/02/21 14:03:03 johu Exp $
+
+ 21 Feb 2012; Johannes Huber <johu@gentoo.org>
+ -files/kdelibs-4.6.2-nonepomuk.patch, -files/kdelibs-4.6.3-doublepost.patch,
+ -files/kdelibs-4.6.3-use_QWeakPointer.patch,
+ -files/kdelibs-4.6.5-cardinality.patch, -files/kdelibs-4.6.5-qlabel-1.patch,
+ -files/kdelibs-4.6.5-qlabel-2.patch, -files/kdelibs-4.7.1-libpng15.patch,
+ -files/kdelibs-4.7.3-customcont.patch:
+ Remove old.
20 Feb 2012; Johannes Huber <johu@gentoo.org> -kdelibs-4.6.3-r3.ebuild:
Remove KDE SC 4.6.3
diff --git a/kde-base/kdelibs/Manifest b/kde-base/kdelibs/Manifest
index 26ae046f6938..5235922afd00 100644
--- a/kde-base/kdelibs/Manifest
+++ b/kde-base/kdelibs/Manifest
@@ -11,16 +11,8 @@ AUX kdelibs-4.3.80-kdeui_util_kkeyserver_mac.patch 2210 RMD160 c7f53343cb8713bb2
AUX kdelibs-4.4.90-xslt.patch 553 RMD160 b667c3330a2721ab0de237f50af81ec830954c0f SHA1 24faa51f5d3645858ca55c744b9b76952eb383c6 SHA256 ffb7b7f44d3e840d1fe5e3b1d859db74f6bf534d44160f48e0f91993200ab55b
AUX kdelibs-4.5.90-mimetypes.patch 1629 RMD160 46289674dd977b2b2289ba935d88c1b0c9de5916 SHA1 78c70127486231e24f464f5cce978e06293510e5 SHA256 0276732204ba9b7a9f119ce26a2b992b1d23c321606efc1a6957914329f33109
AUX kdelibs-4.6.2-armlinking.patch 1129 RMD160 48174cfa4af1a871f4d05a880beded4a16b0408e SHA1 6fa4163e94990ed574caf3b9f0026b18b30c86df SHA256 9b076d1587bb02b85353f3a155199fd6dace7d1c76f189667787bca89192dee6
-AUX kdelibs-4.6.2-nonepomuk.patch 736 RMD160 3f6ab4acd649d47f045e2445544df3b84e7a700e SHA1 1f5af0271c6a5135bf0bc0acbd6f11abf256c81b SHA256 f27ec69f92e197bff33ecd6f25e3e47303e7599cdc28302477bca52ebe94b2a4
AUX kdelibs-4.6.3-bytecode.patch 3511 RMD160 a91034b19ad7eef7bf37aebdd0149371f9d32d8d SHA1 b46a1868837c2e9452ddef41338401ca6253cf45 SHA256 d7c06948ce564177f703e9216bd9be40d0f68fe305e0965305926cad5bf31a4c
-AUX kdelibs-4.6.3-doublepost.patch 1212 RMD160 eca05c22984e2e39ed3ecd59bb313a070d249f89 SHA1 c8ef05943e71a28c4604217d31fc6ca83e48476c SHA256 54f2cfbce01f4c82679b2d44c4e064edba799721adcc67073c2d632ebe43c3a8
AUX kdelibs-4.6.3-no_suid_kdeinit.patch 963 RMD160 d1570291799f3b87963da05ddaa949ad19b67814 SHA1 8536664b5d46f2dfd32828a4a0523f280ebe6bdf SHA256 2d0ab01c1e495e77f911a073310615d1f57b2d6981a23c9349d45be5e133d8bb
-AUX kdelibs-4.6.3-use_QWeakPointer.patch 3884 RMD160 c23d4f6a2eea9a16e89720a5b3a4562097ee0366 SHA1 10fbbac1cb70e6032d918302824e6ceff98e9ff5 SHA256 dabf4e8e8b451783f0f3b474141ffae7557d28dbfe9276a5e148ff0e0117c6b6
-AUX kdelibs-4.6.5-cardinality.patch 11947 RMD160 2712fadedc0504d622a54a72cf3e35cd655ca3c9 SHA1 3159edd0252436ab755a3e4970116af6fa69a2e4 SHA256 aae50b729cfc116654d01313062bc5a6a02a1f8c475eceef723ff99d3f395282
-AUX kdelibs-4.6.5-qlabel-1.patch 488 RMD160 c91170ec890055118f8aad3b984b12374a870c4c SHA1 bb9e09fc527893cae7bb31998703596d26b56028 SHA256 7ad57bbf72688a47d67d77d40ff3bcd19ea2bcf7416ceb923f1d57d767b05ca8
-AUX kdelibs-4.6.5-qlabel-2.patch 2412 RMD160 c66da201738b10ec3507206efebcf4b14380ec9a SHA1 5f389b92c33103aa8f4f3fb1191a009312b4ba38 SHA256 5f2da4bc7f0175f143ec75ccb4a7678177d785c20067fbcc8e6a232ed1532431
-AUX kdelibs-4.7.1-libpng15.patch 498 RMD160 cbb61db267bb80b89de2963f6d73c2a79de637e5 SHA1 8343944314614f6aa21320c7de3289c9eda6e335 SHA256 4e102b98b30987a8a860b57436637c27ed32533a5bb7df76cc359e083a93c181
-AUX kdelibs-4.7.3-customcont.patch 1673 RMD160 13de4a1b2026326ef91e27cea278fbab41b61b33 SHA1 0810ce778314ec89566ef290bb31ff016cecee78 SHA256 9821678b7422a6184e2a08bf01d37cab95affb32a1589571825bf10442577875
AUX kdelibs-4.7.4-klocale.patch 5760 RMD160 aaa289c2cc7bff38cc85eda4846d713ae56b0645 SHA1 a6958b7eb95d48117f68946d52163189ec686cbc SHA256 59f51299bc3b836ca8c98db3e249aa5cc51e8c962c20e915cd0faf9c1584b5e4
AUX kdelibs-4.7.4-xinelib12x.patch 1292 RMD160 99422bd8f4204b6743ed8c662991d5bd7c207654 SHA1 9cb83cb7f6394549354c6837977f9e9529127041 SHA256 25d47c260d674cdbd8354c21bc449fb8c116c9594c04d1db8709abbe59ca8cdd
AUX kdelibs-4.7.96-mimetypes.patch 1195 RMD160 205abc5f4c62f83658c666e887ab628aa0900e46 SHA1 0a6fe5d4ebb0c6de17a713387626b2b3784b8ef5 SHA256 7d8ea698c29c6de0dbf61ef7c24bf6bf69dfc7f758994edd2cef5b1f660195aa
@@ -32,17 +24,17 @@ EBUILD kdelibs-4.7.4-r11.ebuild 9312 RMD160 4d0c447a6fb90ae44fbce3441e5898175ecc
EBUILD kdelibs-4.7.4-r12.ebuild 9353 RMD160 e8d4f7292d55ef7c253a6fedba23097e170a4317 SHA1 4e6320c338f3081c152a26113a5c4f8701062d0b SHA256 7372c5d291caeda64263e5d98616e3e3c040b0c51f5abf19fe2be6e8f5e1bbb5
EBUILD kdelibs-4.7.4.ebuild 9251 RMD160 4090b0f59660a3c6bed16b49ff65eccea793207e SHA1 eac79b8341e532baf45cb241f005c4e20ecb4be5 SHA256 eeaf9811346adfb7beb182b65f83eb0719539dd20eee32befef8b3a876db8c10
EBUILD kdelibs-4.8.0-r1.ebuild 9360 RMD160 ab8b82117a64f33640d2f0beff3cac4f32110452 SHA1 6a41b7e6ad4513e0d205bdec2e09ddde54245a11 SHA256 1b53ff7b3e5e871da02c6626b991e1f9ffc2d742f4f790ee4738aff5685fcaf3
-MISC ChangeLog 28022 RMD160 088536a78a2191b2c45c2411ba177bc8f9b86fb5 SHA1 dda7146e229596d2375426210990dbe8932db523 SHA256 750072399d4576a1aa1e131805ee52ca11847eb7a6b4228e7375c5d2242e2f3c
+MISC ChangeLog 28407 RMD160 af8dc266adba28a08713fb6ab031160780a0a0da SHA1 f5130e5a23db4a463057a2105252323f7488c35f SHA256 d5d8924eaff470baeea388dead78a1fab923626e158719289e8bb4483ad39637
MISC ChangeLog-2009 110608 RMD160 9dfb93acebe4df4b7bbbca589c1bacd7033ec36c SHA1 c5fbfedfb78a157dd182606b0056b376bd3353d6 SHA256 845ba7764dc9cabd4753d146e82cc0347a0dbbe21a76a4aab453106e7d70ba1f
MISC metadata.xml 443 RMD160 765aa5080e9ecee24e26f5b8a5168e674db2ffd2 SHA1 82f77d1dc84732dbedcdebbac460896bd6b5484b SHA256 79624eb4920e9849ea5ce593a5adc8c7e45cd9670f9f63a64cf00a637de2d701
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBCgAGBQJPQ5OsAAoJEO+t9ga+3I3awZIIAKQhEJvi2Jg9lrbAN3ZLBO+R
-c5XMGLmtEmfQ6ESBamomsHoCkCZ98Tt+NlA3/hXNd8R8vG81pQvdJwl66lSC5HEC
-py3rLSgVuMMMlEGnndxp6tGCT74FVPeKZgmYjbPMVMh07pPWpSUZZhBhXKa+xcya
-yknz0Im3DV8nzAYajN6GAVGigXtcH7zREBgb2HBytXRjHUqZO2HwGNDePEC6OMbl
-ChqiJZT/vfei/tfunUoHznjbUz8j03nYQY5i7wlweGKye5muq5Abe05o8wrS2IZ6
-9ZfmGRG1CjaGsuiw2oJIQWF9uQ4admPwide/lQxbhmf6vIIergD+50Ijx3AZswU=
-=MY9d
+iQEcBAEBCgAGBQJPQ6QaAAoJEO+t9ga+3I3aPRUIAM1D9yQJ/t/CU/RWxPBYaS9T
+z7oUZdKW/AB/wU4srk73+5Rdfq+YO1D1wuR5TKwqJREJMew3LI8ahfKwi2Dad4kG
+1degV+aGE7JaMu2T4KUXtfH9BLVBYkdeRa/hk1TO8VtBfhizAnDSpTzH6RQNsXGM
+Q9KUnXxkR7A7rmKmOBx0tFhTrkZpx3pZppAVLhiwt56qXJhEn9muwpQh+IRQlGk7
+dYAvT+AyNUlAoyF2PH3QccgKiT02g8Uc+TEBdvSCW0ikau0tVvteybziDqTsmtF6
+conSbnmTbR7NvrCeX2kNTpFk2YngnPzt1aACQ1XFIq9Eahqq/SRg61tFdO1aPgQ=
+=PeUQ
-----END PGP SIGNATURE-----
diff --git a/kde-base/kdelibs/files/kdelibs-4.6.2-nonepomuk.patch b/kde-base/kdelibs/files/kdelibs-4.6.2-nonepomuk.patch
deleted file mode 100644
index 2e34050b1413..000000000000
--- a/kde-base/kdelibs/files/kdelibs-4.6.2-nonepomuk.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -urNp kdelibs-4.6.1.org/kparts/CMakeLists.txt kdelibs-4.6.1/kparts/CMakeLists.txt
---- kdelibs-4.6.1.org/kparts/CMakeLists.txt 2011-02-25 23:53:31.000000000 +0200
-+++ kdelibs-4.6.1/kparts/CMakeLists.txt 2011-04-02 00:41:54.884508059 +0300
-@@ -2,7 +2,10 @@ project(kparts)
-
- add_subdirectory( tests )
-
--include_directories(${KDE4_KIO_INCLUDES} ${kparts_BINARY_DIR} ${nepomuk_SOURCE_DIR} ${nepomuk_SOURCE_DIR}/core ${nepomuk_SOURCE_DIR}/types)
-+include_directories(${KDE4_KIO_INCLUDES} ${kparts_BINARY_DIR})
-+if(HAVE_NEPOMUK)
-+include_directories(${nepomuk_SOURCE_DIR} ${nepomuk_SOURCE_DIR}/core ${nepomuk_SOURCE_DIR}/types)
-+endif(HAVE_NEPOMUK)
- if(Soprano_FOUND)
- include_directories(${SOPRANO_INCLUDE_DIR})
- endif(Soprano_FOUND)
diff --git a/kde-base/kdelibs/files/kdelibs-4.6.3-doublepost.patch b/kde-base/kdelibs/files/kdelibs-4.6.3-doublepost.patch
deleted file mode 100644
index 2672d65db138..000000000000
--- a/kde-base/kdelibs/files/kdelibs-4.6.3-doublepost.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-commit 92db24adfa941003db1d885df01157056617f30b
-Author: Maks Orlovich <maksim@kde.org>
-Date: Sun May 8 14:39:03 2011 -0400
-
- Fix the job-on-hold reuse logic, which caused the double-POST problem)
-
- adawit, could you please at least READ what you're backporting if you are
- going to be this aggressive? Or better yet, please don't backport anything
- that's not fixing a critical bug or is trivial, as per:
- http://techbase.kde.org/Policies/Minor_Point_Release_Policy
-
- CCMAIL: adawit@kde.org
- BUG: 272466
-
-diff --git a/kio/kio/scheduler.cpp b/kio/kio/scheduler.cpp
-index 55da053..9f5607e 100644
---- a/kio/kio/scheduler.cpp
-+++ b/kio/kio/scheduler.cpp
-@@ -1151,7 +1151,7 @@ Slave *SchedulerPrivate::heldSlaveForJob(SimpleJob *job)
- bool canJobReuse = (cmd == CMD_GET || cmd == CMD_MULTI_GET);
-
- if (KIO::TransferJob *tJob = qobject_cast<KIO::TransferJob *>(job)) {
-- canJobReuse = cmd == (canJobReuse || cmd == CMD_SPECIAL);
-+ canJobReuse = (canJobReuse || cmd == CMD_SPECIAL);
- if (canJobReuse) {
- KIO::MetaData outgoing = tJob->outgoingMetaData();
- const QString resume = outgoing.value("resume");
diff --git a/kde-base/kdelibs/files/kdelibs-4.6.3-use_QWeakPointer.patch b/kde-base/kdelibs/files/kdelibs-4.6.3-use_QWeakPointer.patch
deleted file mode 100644
index 718c466bb48c..000000000000
--- a/kde-base/kdelibs/files/kdelibs-4.6.3-use_QWeakPointer.patch
+++ /dev/null
@@ -1,115 +0,0 @@
-From: Aaron Seigo <aseigo@kde.org>
-Date: Fri, 06 May 2011 13:19:09 +0000
-Subject: use a QWeakPointer on the KIconLoader passed in as there are no lifetime guarantees
-X-Git-Url: http://quickgit.kde.org/?p=kdelibs.git&amp;a=commitdiff&amp;h=a8d16682c31ef523ffebba6e19283a19cd5f5627
----
-use a QWeakPointer on the KIconLoader passed in as there are no lifetime guarantees
-
-usually KGlobal::iconLoader() is used, so this isn't an issue seen very often.
-however, when a local KIconLoader is created, it is easy to get QIcons with a
-KIconEngine that has a bad KIconLoader pointer in them. particularly as QIcon
-is implicitly shared and easily passed around. the StatusNotifier Plasma DataEngine
-was triggering this, though it would be trivial to run into this problem again
-anytime a KIconLoader is created locally
-
-thankfully, QWeakPointer does the job and is very fast and light. (confirmed
-both with my own testing and confirmation from Thiago).
-
-massive thanks to Michael Pyne for detecting the cause of the problem via Valgrind.
-
-BUG:258706
----
-
-
---- a/kdeui/icons/kiconengine.cpp
-+++ b/kdeui/icons/kiconengine.cpp
-@@ -27,16 +27,16 @@
-
-
- KIconEngine::KIconEngine(const QString& iconName, KIconLoader* iconLoader, const QStringList& overlays)
-+ : mIconName(iconName),
-+ mIconLoader(iconLoader),
-+ mOverlays(overlays)
- {
-- mIconName = iconName;
-- mIconLoader = iconLoader;
-- mOverlays = overlays;
- }
-
- KIconEngine::KIconEngine(const QString& iconName, KIconLoader* iconLoader)
-+ : mIconName(iconName),
-+ mIconLoader(iconLoader)
- {
-- mIconName = iconName;
-- mIconLoader = iconLoader;
- }
-
- static inline int qIconModeToKIconState( QIcon::Mode mode )
-@@ -65,8 +65,12 @@ QSize KIconEngine::actualSize( const QSi
- return QSize(iconSize, iconSize);
- }
-
--void KIconEngine::paint( QPainter * painter, const QRect & rect, QIcon::Mode mode, QIcon::State state )
-+void KIconEngine::paint(QPainter * painter, const QRect & rect, QIcon::Mode mode, QIcon::State state)
- {
-+ if (!mIconLoader) {
-+ return;
-+ }
-+
- Q_UNUSED(state)
-
- const int kstate = qIconModeToKIconState(mode);
-@@ -80,20 +84,27 @@ void KIconEngine::paint( QPainter * pain
- }
-
- const int iconSize = qMin(rect.width(), rect.height());
-- const QPixmap pix = mIconLoader->loadIcon(mIconName, group, iconSize, kstate, mOverlays);
-+ const QPixmap pix = mIconLoader.data()->loadIcon(mIconName, group, iconSize, kstate, mOverlays);
- painter->drawPixmap(rect, pix);
- }
-
--QPixmap KIconEngine::pixmap( const QSize & size, QIcon::Mode mode, QIcon::State state )
-+QPixmap KIconEngine::pixmap(const QSize & size, QIcon::Mode mode, QIcon::State state)
- {
- Q_UNUSED(state)
-
-+ if (!mIconLoader) {
-+ QPixmap pm(size);
-+ pm.fill(Qt::transparent);
-+ return pm;
-+ }
-+
- const int kstate = qIconModeToKIconState(mode);
- const int iconSize = qMin(size.width(), size.height());
-- QPixmap pix = mIconLoader->loadIcon(mIconName, KIconLoader::Desktop, iconSize, kstate, mOverlays);
-+ QPixmap pix = mIconLoader.data()->loadIcon(mIconName, KIconLoader::Desktop, iconSize, kstate, mOverlays);
-
-- if(pix.size() == size)
-+ if (pix.size() == size) {
- return pix;
-+ }
-
- QPixmap pix2(size);
- pix2.fill(QColor(0,0,0,0));
-@@ -111,7 +122,7 @@ QString KIconEngine::key() const
-
- QIconEngineV2 *KIconEngine::clone() const
- {
-- return new KIconEngine(mIconName, mIconLoader, mOverlays);
-+ return new KIconEngine(mIconName, mIconLoader.data(), mOverlays);
- }
-
- bool KIconEngine::read(QDataStream &in)
-
---- a/kdeui/icons/kiconengine_p.h
-+++ b/kdeui/icons/kiconengine_p.h
-@@ -75,7 +75,7 @@ class KIconEngine : public QIconEngineV2
- private:
- QString mIconName;
- QStringList mOverlays;
-- KIconLoader* mIconLoader;
-+ QWeakPointer<KIconLoader> mIconLoader;
- };
-
- inline KIconEngine::~KIconEngine()
-
diff --git a/kde-base/kdelibs/files/kdelibs-4.6.5-cardinality.patch b/kde-base/kdelibs/files/kdelibs-4.6.5-cardinality.patch
deleted file mode 100644
index cb892aec6a87..000000000000
--- a/kde-base/kdelibs/files/kdelibs-4.6.5-cardinality.patch
+++ /dev/null
@@ -1,323 +0,0 @@
-commit 1f796983aa8385da77f30813041b40e208c17391
-Author: Vishesh Handa <handa.vish@gmail.com>
-Date: Thu May 19 20:52:30 2011 +0530
-
- Make KDEPIM 4.6 compile with master
-
- This makes the rcgen produce add/setProperty( QList<T> ) functions for
- properties with nrl:maxCardinality and nrl:cardinality = 1. This was
- required because with SDO 0.7 the cardinalities of many properties
- have been set.
-
- BUG: 268595
-
-diff --git a/nepomuk/rcgen/codegenerator.cpp b/nepomuk/rcgen/codegenerator.cpp
-index bc670e6..1bb2736 100644
---- a/nepomuk/rcgen/codegenerator.cpp
-+++ b/nepomuk/rcgen/codegenerator.cpp
-@@ -194,33 +194,28 @@ bool CodeGenerator::writeHeader( const ResourceClass *resourceClass, QTextStream
- while( it.hasNext() ) {
- const Property* p = it.next();
-
-- if( p->literalRange().isEmpty() &&
-- !p->range() ) {
-- if ( !quiet )
-- qDebug() << "(CodeGenerator::writeSource) type not defined for property: " << p->name() << endl;
-- continue;
-- }
--
-- if ( m_mode == SafeMode ) {
-- ms << writeComment( QString("Get property '%1'. ").arg(p->name()) + p->comment(), 2*4 ) << endl;
-- ms << " " << m_code->propertyGetterDeclaration( p, resourceClass ) << ";" << endl;
-- ms << endl;
-+ if( p->maxCardinality() == 1 || p->cardinality() == 1 ) {
-+ Property * prop = const_cast<Property *>(p);
-+ bool isList = prop->isList();
-+
-+ prop->setIsList( true );
-+ if( !writePropertyHeader( prop, resourceClass, ms ) )
-+ continue;
-+
-+ prop->setIsList( false );
-+ if( !writePropertyHeader( prop, resourceClass, ms ) )
-+ continue;
-+
-+ writePropertyUriHeader( prop, ms );
-+
-+ prop->setIsList( isList );
- }
--
-- ms << writeComment( QString("Set property '%1'. ").arg(p->name()) + p->comment(), 2*4 ) << endl;
-- ms << " " << m_code->propertySetterDeclaration( p, resourceClass ) << ";" << endl;
-- ms << endl;
--
-- if( p->isList() ) {
-- ms << writeComment( QString("Add a value to property '%1'. ").arg(p->name()) + p->comment(), 2*4 ) << endl;
-- ms << " " << m_code->propertyAdderDeclaration( p, resourceClass ) << ";" << endl;
-- ms << endl;
-+ else {
-+ if( !writePropertyHeader( p, resourceClass, ms ) )
-+ continue;
-+ writePropertyUriHeader( p, ms );
- }
--
-- ms << writeComment( QString( "\\return The URI of the property '%1'." ).arg( p->name() ), 2*4 ) << endl;
-- ms << " " << "static QUrl " << p->name()[0].toLower() << p->name().mid(1) << "Uri();" << endl;
-- ms << endl;
--
-+
- if( !p->hasSimpleType() )
- includes.insert( p->typeString( true ) );
- }
-@@ -299,6 +294,42 @@ bool CodeGenerator::writeHeader( const ResourceClass *resourceClass, QTextStream
- return true;
- }
-
-+bool CodeGenerator::writePropertyHeader(const Property* p, const ResourceClass* resourceClass, QTextStream& ms) const
-+{
-+ if( p->literalRange().isEmpty() &&
-+ !p->range() ) {
-+ if ( !quiet )
-+ qDebug() << "(CodeGenerator::writeSource) type not defined for property: " << p->name() << endl;
-+ return false;
-+ }
-+
-+ if ( m_mode == SafeMode ) {
-+ ms << writeComment( QString("Get property '%1'. ").arg(p->name()) + p->comment(), 2*4 ) << endl;
-+ ms << " " << m_code->propertyGetterDeclaration( p, resourceClass ) << ";" << endl;
-+ ms << endl;
-+ }
-+
-+ ms << writeComment( QString("Set property '%1'. ").arg(p->name()) + p->comment(), 2*4 ) << endl;
-+ ms << " " << m_code->propertySetterDeclaration( p, resourceClass ) << ";" << endl;
-+ ms << endl;
-+
-+ if( p->isList() ) {
-+ ms << writeComment( QString("Add a value to property '%1'. ").arg(p->name()) + p->comment(), 2*4 ) << endl;
-+ ms << " " << m_code->propertyAdderDeclaration( p, resourceClass ) << ";" << endl;
-+ ms << endl;
-+ }
-+
-+ return true;
-+}
-+
-+void CodeGenerator::writePropertyUriHeader(const Property* p, QTextStream& ts) const
-+{
-+ ts << writeComment( QString( "\\return The URI of the property '%1'." ).arg( p->name() ), 2*4 ) << endl;
-+ ts << " " << "static QUrl " << p->name()[0].toLower() << p->name().mid(1) << "Uri();" << endl;
-+ ts << endl;
-+}
-+
-+
- bool CodeGenerator::writeSource( const ResourceClass* resourceClass, QTextStream& stream ) const
- {
- QString s = sourceTemplate( m_mode );
-@@ -318,29 +349,31 @@ bool CodeGenerator::writeSource( const ResourceClass* resourceClass, QTextStream
- while( it.hasNext() ) {
- const Property* p = it.next();
-
-- if( p->literalRange().isEmpty() &&
-- !p->range() ) {
-- if ( !quiet )
-- qDebug() << "(CodeGenerator::writeSource) type not defined for property: " << p->name() << endl;
-- continue;
-+ if( p->maxCardinality() == 1 || p->cardinality() == 1 ) {
-+ Property * prop = const_cast<Property *>(p);
-+ bool isList = prop->isList();
-+
-+ prop->setIsList( true );
-+ if( !writePropertySource( prop, resourceClass, ms ) )
-+ continue;
-+
-+ prop->setIsList( false );
-+ if( !writePropertySource( prop, resourceClass, ms ) )
-+ continue;
-+
-+ writePropertyUriSource( prop, resourceClass, ms );
-+
-+ prop->setIsList( isList );
- }
--
-+ else {
-+ if( !writePropertySource( p, resourceClass, ms ) )
-+ continue;
-+ writePropertyUriSource( p, resourceClass, ms );
-+ }
-+
- if ( !p->hasSimpleType() ) {
- includes.append( QString( "#include \"%1.h\"" ).arg( p->typeString( true ).toLower() ) );
- }
--
-- if ( m_mode == SafeMode )
-- ms << m_code->propertyGetterDefinition( p, resourceClass ) << endl;
--
-- ms << m_code->propertySetterDefinition( p, resourceClass ) << endl;
-- if( p->isList() )
-- ms << m_code->propertyAdderDefinition( p, resourceClass ) << endl;
--
-- // write the static method that returns the property's Uri
-- ms << "QUrl " << resourceClass->name( m_nameSpace ) << "::" << p->name()[0].toLower() << p->name().mid(1) << "Uri()" << endl
-- << "{" << endl
-- << " return QUrl::fromEncoded(\"" << p->uri().toString() << "\");" << endl
-- << "}" << endl << endl;
- }
-
- it = resourceClass->allReverseProperties();
-@@ -395,6 +428,32 @@ bool CodeGenerator::writeSource( const ResourceClass* resourceClass, QTextStream
- return true;
- }
-
-+bool CodeGenerator::writePropertySource(const Property* p, const ResourceClass* resourceClass, QTextStream& ms) const
-+{
-+ if( p->literalRange().isEmpty() && !p->range() ) {
-+ if ( !quiet )
-+ qDebug() << "(CodeGenerator::writeSource) type not defined for property: " << p->name() << endl;
-+ return false;
-+ }
-+
-+ if ( m_mode == SafeMode )
-+ ms << m_code->propertyGetterDefinition( p, resourceClass ) << endl;
-+
-+ ms << m_code->propertySetterDefinition( p, resourceClass ) << endl;
-+ if( p->isList() )
-+ ms << m_code->propertyAdderDefinition( p, resourceClass ) << endl;
-+
-+ return true;
-+}
-+
-+void CodeGenerator::writePropertyUriSource(const Property* p, const ResourceClass* resourceClass, QTextStream& ts) const
-+{
-+ // write the static method that returns the property's Uri
-+ ts << "QUrl " << resourceClass->name( m_nameSpace ) << "::" << p->name()[0].toLower() << p->name().mid(1) << "Uri()" << endl
-+ << "{" << endl
-+ << " return QUrl::fromEncoded(\"" << p->uri().toString() << "\");" << endl
-+ << "}" << endl << endl;
-+}
-
- bool CodeGenerator::writeSources( const QString& dir )
- {
-diff --git a/nepomuk/rcgen/codegenerator.h b/nepomuk/rcgen/codegenerator.h
-index dc786a4..f26a875 100644
---- a/nepomuk/rcgen/codegenerator.h
-+++ b/nepomuk/rcgen/codegenerator.h
-@@ -22,6 +22,7 @@ class AbstractCode;
- class ResourceClass;
- class QString;
- class QTextStream;
-+class Property;
-
- class CodeGenerator
- {
-@@ -47,7 +48,13 @@ private:
- bool writeHeader( const ResourceClass* resourceClass, QTextStream& ) const;
- bool writeSource( const ResourceClass* resourceClass, QTextStream& ) const;
- bool writeDummyClasses( const QString &folder ) const;
-+
-+ bool writePropertyHeader( const Property* p, const ResourceClass* resourceClass, QTextStream& ms ) const;
-+ bool writePropertySource( const Property* p, const ResourceClass* resourceClass, QTextStream& ms ) const;
-
-+ void writePropertyUriHeader( const Property* p, QTextStream& ts ) const;
-+ void writePropertyUriSource( const Property* p, const ResourceClass* resourceClass, QTextStream& ts ) const;
-+
- QString visibilityHeader() const;
- QString visibilityExportMacro() const;
-
-diff --git a/nepomuk/rcgen/ontologyparser.cpp b/nepomuk/rcgen/ontologyparser.cpp
-index 50e3397..f9f8673 100644
---- a/nepomuk/rcgen/ontologyparser.cpp
-+++ b/nepomuk/rcgen/ontologyparser.cpp
-@@ -164,7 +164,14 @@ bool OntologyParser::parse( const QString& filename, const QString& serializatio
- }
- else if( s.predicate().uri() == Soprano::Vocabulary::NRL::maxCardinality() ||
- s.predicate().uri() == Soprano::Vocabulary::NRL::cardinality() ) {
-- d->getProperty(s.subject().uri())->setIsList( s.object().literal().toInt() > 1 );
-+ Property * p = d->getProperty(s.subject().uri());
-+ int cValue = s.object().literal().toInt();
-+
-+ p->setIsList( cValue > 1 );
-+ if( s.predicate().uri() == Soprano::Vocabulary::NRL::maxCardinality() )
-+ p->setMaxCardinality( cValue );
-+ else
-+ p->setCardinality( cValue );
- }
- else if( s.predicate().uri() == Soprano::Vocabulary::RDFS::comment() ) {
- d->comments[s.subject().uri()] = s.object().literal().toString();
-diff --git a/nepomuk/rcgen/property.cpp b/nepomuk/rcgen/property.cpp
-index 1baa04c..51d9c07 100644
---- a/nepomuk/rcgen/property.cpp
-+++ b/nepomuk/rcgen/property.cpp
-@@ -27,7 +27,9 @@ Property::Property()
- : m_range( 0 ),
- m_isList( true ),
- m_domain( 0 ),
-- m_inverseProperty( 0 )
-+ m_inverseProperty( 0 ),
-+ m_maxCardinality( -1 ),
-+ m_cardinality( -1 )
- {
- }
-
-@@ -204,3 +206,24 @@ QString Property::literalTypeConversionMethod() const
-
- return QString();
- }
-+
-+void Property::setMaxCardinality(int value)
-+{
-+ m_maxCardinality = value;
-+}
-+
-+int Property::maxCardinality() const
-+{
-+ return m_maxCardinality;
-+}
-+
-+int Property::cardinality() const
-+{
-+ return m_cardinality;
-+}
-+
-+void Property::setCardinality(int value)
-+{
-+ m_cardinality = value;
-+}
-+
-diff --git a/nepomuk/rcgen/property.h b/nepomuk/rcgen/property.h
-index a72ab5d..a09006d 100644
---- a/nepomuk/rcgen/property.h
-+++ b/nepomuk/rcgen/property.h
-@@ -139,6 +139,25 @@ public:
- */
- bool hasSimpleType() const;
-
-+ /**
-+ * Sets the max cardinality of the property
-+ */
-+ void setMaxCardinality( int value );
-+
-+ /**
-+ * Returns the max cardinality of the property
-+ */
-+ int maxCardinality() const;
-+
-+ /**
-+ * Sets the cardinality of the property
-+ */
-+ void setCardinality( int value );
-+
-+ /**
-+ * Returns the cardinality of the property
-+ */
-+ int cardinality() const;
- private:
- QUrl m_uri;
- ResourceClass* m_range;
-@@ -147,6 +166,8 @@ private:
- bool m_isList;
- ResourceClass* m_domain;
- Property* m_inverseProperty;
-+ int m_maxCardinality;
-+ int m_cardinality;
- };
-
- #endif
diff --git a/kde-base/kdelibs/files/kdelibs-4.6.5-qlabel-1.patch b/kde-base/kdelibs/files/kdelibs-4.6.5-qlabel-1.patch
deleted file mode 100644
index 6d45bfb75b51..000000000000
--- a/kde-base/kdelibs/files/kdelibs-4.6.5-qlabel-1.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/kio/kssl/ksslcertificatebox.cpp b/kio/kssl/ksslcertificatebox.cpp
-index 4ffc613..094787a 100644
---- a/kio/kssl/ksslcertificatebox.cpp
-+++ b/kio/kssl/ksslcertificatebox.cpp
-@@ -36,6 +36,10 @@ KSslCertificateBox::KSslCertificateBox(QWidget *parent)
- d(new KSslCertificateBoxPrivate())
- {
- d->ui.setupUi(this);
-+ // No fooling us with html tags
-+ Q_FOREACH(QLabel* label, qFindChildren<QLabel *>(this)) {
-+ label->setTextFormat(Qt::PlainText);
-+ }
- }
-
-
diff --git a/kde-base/kdelibs/files/kdelibs-4.6.5-qlabel-2.patch b/kde-base/kdelibs/files/kdelibs-4.6.5-qlabel-2.patch
deleted file mode 100644
index f0d5ac9ea371..000000000000
--- a/kde-base/kdelibs/files/kdelibs-4.6.5-qlabel-2.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff --git a/kioslave/http/http.cpp b/kioslave/http/http.cpp
-index 33f4cb1..6447a02 100644
---- a/kioslave/http/http.cpp
-+++ b/kioslave/http/http.cpp
-@@ -99,6 +99,27 @@
- //authentication handlers
- #include "httpauthentication.cpp"
-
-+// KDE5 TODO (QT5) : use QString::htmlEscape or whatever https://qt.gitorious.org/qt/qtbase/merge_requests/56
-+// ends up with.
-+static QString htmlEscape(const QString &plain)
-+{
-+ QString rich;
-+ rich.reserve(int(plain.length() * 1.1));
-+ for (int i = 0; i < plain.length(); ++i) {
-+ if (plain.at(i) == QLatin1Char('<'))
-+ rich += QLatin1String("&lt;");
-+ else if (plain.at(i) == QLatin1Char('>'))
-+ rich += QLatin1String("&gt;");
-+ else if (plain.at(i) == QLatin1Char('&'))
-+ rich += QLatin1String("&amp;");
-+ else if (plain.at(i) == QLatin1Char('"'))
-+ rich += QLatin1String("&quot;");
-+ else
-+ rich += plain.at(i);
-+ }
-+ rich.squeeze();
-+ return rich;
-+}
-
- // see filenameFromUrl(): a sha1 hash is 160 bits
- static const int s_hashedUrlBits = 160; // this number should always be divisible by eight
-@@ -3410,7 +3431,7 @@ endParsing:
- authinfo.url = reqUrl;
- authinfo.keepPassword = true;
- authinfo.comment = i18n("<b>%1</b> at <b>%2</b>",
-- authinfo.realmValue, authinfo.url.host());
-+ htmlEscape(authinfo.realmValue), authinfo.url.host());
-
- if (!openPasswordDialog(authinfo, errorMsg)) {
- if (sendErrorPageNotification()) {
-@@ -5122,7 +5143,7 @@ void HTTPProtocol::proxyAuthenticationForSocket(const QNetworkProxy &proxy, QAut
- "to access any sites.");
- info.keepPassword = true;
- info.commentLabel = i18n("Proxy:");
-- info.comment = i18n("<b>%1</b> at <b>%2</b>", info.realmValue, m_request.proxyUrl.host());
-+ info.comment = i18n("<b>%1</b> at <b>%2</b>", htmlEscape(info.realmValue), m_request.proxyUrl.host());
- const bool dataEntered = openPasswordDialog(info, i18n("Proxy Authentication Failed."));
- if (!dataEntered) {
- kDebug(7103) << "looks like the user canceled proxy authentication.";
diff --git a/kde-base/kdelibs/files/kdelibs-4.7.1-libpng15.patch b/kde-base/kdelibs/files/kdelibs-4.7.1-libpng15.patch
deleted file mode 100644
index 7fd52d9cc321..000000000000
--- a/kde-base/kdelibs/files/kdelibs-4.7.1-libpng15.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- kdelibs-4.7.1/khtml/imload/decoders/pngloader.cpp
-+++ kdelibs-4.7.1/khtml/imload/decoders/pngloader.cpp
-@@ -198,7 +198,7 @@
- {
- if (interlaced)
- {
-- Q_ASSERT(pngReadStruct->row_info.pixel_depth <= depth * 8);
-+ //Q_ASSERT(pngReadStruct->row_info.pixel_depth <= depth * 8);
- requestScanline(rowNum, scanlineBuf);
- png_progressive_combine_row(pngReadStruct, scanlineBuf, data);
- notifyScanline(pass + 1, scanlineBuf);
diff --git a/kde-base/kdelibs/files/kdelibs-4.7.3-customcont.patch b/kde-base/kdelibs/files/kdelibs-4.7.3-customcont.patch
deleted file mode 100644
index 74a1a93c6b48..000000000000
--- a/kde-base/kdelibs/files/kdelibs-4.7.3-customcont.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-commit 5aad39dbb324aad4cac3f44967ee1fc1b3d2a168
-Author: Aaron Seigo <aseigo@kde.org>
-Date: Sun Nov 20 18:50:41 2011 +0100
-
- don't count custom panel contaiments (e.g. the grouping desktop) the same as a desktop containment
-
- from the "useful things missing from bug reports" and "wondering wtf is wrong with people
- while trying to get the useful bits out of a bug report" files ...
-
- BUG:260360
-
-diff --git a/plasma/containment.cpp b/plasma/containment.cpp
-index 00a8a77..9e3a505 100644
---- a/plasma/containment.cpp
-+++ b/plasma/containment.cpp
-@@ -987,7 +987,9 @@ void ContainmentPrivate::setScreen(int newScreen, int newDesktop, bool preventIn
- //kDebug() << activity() << "setting screen to " << newScreen << newDesktop << "and type is" << type;
-
- Containment *swapScreensWith(0);
-- if (type == Containment::DesktopContainment || type >= Containment::CustomContainment) {
-+ const bool isDesktopContainment = type == Containment::DesktopContainment ||
-+ type == Containment::CustomContainment;
-+ if (isDesktopContainment) {
- // we want to listen to changes in work area if our screen changes
- if (toolBox) {
- if (screen < 0 && newScreen > -1) {
-@@ -1011,8 +1013,7 @@ void ContainmentPrivate::setScreen(int newScreen, int newDesktop, bool preventIn
- }
- }
-
-- if (newScreen < numScreens && newScreen > -1 &&
-- (type == Containment::DesktopContainment || type >= Containment::CustomContainment)) {
-+ if (newScreen < numScreens && newScreen > -1 && isDesktopContainment) {
- q->resize(corona->screenGeometry(newScreen).size());
- }
-