summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-03-21 18:24:27 +0000
committerMichael Palimaka <kensington@gentoo.org>2015-03-21 18:24:27 +0000
commit79a9c4988bbe80507c951f8757cbe4c1ee3b4eb9 (patch)
tree44f735d12d9f086bb3c1a2c03f1768288885947a /kde-base
parentAdd arcload-0.50-r1 back until Bug #543978 can be resolved. (diff)
downloadhistorical-79a9c4988bbe80507c951f8757cbe4c1ee3b4eb9.tar.gz
historical-79a9c4988bbe80507c951f8757cbe4c1ee3b4eb9.tar.bz2
historical-79a9c4988bbe80507c951f8757cbe4c1ee3b4eb9.zip
Version bump.
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0x06B1F38DCA45A1EC!
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kdelibs/ChangeLog10
-rw-r--r--kde-base/kdelibs/Manifest33
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.14.5-fatalwarnings.patch16
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.14.5-mimetypes.patch27
-rw-r--r--kde-base/kdelibs/files/kdelibs-4.15.6-fix-bic.patch47
-rw-r--r--kde-base/kdelibs/kdelibs-4.14.6-r1.ebuild307
6 files changed, 425 insertions, 15 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog
index 2c6a81843009..218ef26abbe4 100644
--- a/kde-base/kdelibs/ChangeLog
+++ b/kde-base/kdelibs/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for kde-base/kdelibs
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.1049 2015/02/19 07:01:08 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.1050 2015/03/21 18:24:15 kensington Exp $
+
+*kdelibs-4.14.6-r1 (21 Mar 2015)
+
+ 21 Mar 2015; Michael Palimaka <kensington@gentoo.org>
+ +files/kdelibs-4.14.5-fatalwarnings.patch,
+ +files/kdelibs-4.14.5-mimetypes.patch, +files/kdelibs-4.15.6-fix-bic.patch,
+ +kdelibs-4.14.6-r1.ebuild:
+ Version bump.
19 Feb 2015; Michael Palimaka <kensington@gentoo.org>
-files/kdelibs-4.13.1-kio-diskfree.patch,
diff --git a/kde-base/kdelibs/Manifest b/kde-base/kdelibs/Manifest
index 88e69c4b45b0..e07573f4b6af 100644
--- a/kde-base/kdelibs/Manifest
+++ b/kde-base/kdelibs/Manifest
@@ -6,6 +6,9 @@ AUX dist/02_gentoo_append_xdg_config_dirs-1.patch 1041 SHA256 849e8cf1ca67eeae9d
AUX kdelibs-4.10.0-udisks.patch 2012 SHA256 a856a103831162da416ea07ab9f18db5d5eb4732ee9203c9d6799a4616e53f25 SHA512 b22d2f70f17618d5f2d11e9037c4d198a1fa11252d59098f120cc77cc12bcb3d90f1a69c63f33abb01217f396f3eb51ea8285e5ff5306eb41e63cc15654ced33 WHIRLPOOL 6c6b33afdb29fda62798f9b7121711bf8f8de44bd4839523316abb9a2a05e6e9f773e700b1e43fc75564aa82d18490aeec5ca04c51418d37d2f9b3c8924daf9f
AUX kdelibs-4.14.0-mimetypes.patch 1187 SHA256 40cbbf358f11504abfa494508d8d83a4b47ee3cffe30d7076e03ad6f7e0e354c SHA512 fcdb9d5d03782cec401d95fe5ec9f4addda0d586de9ebbf6bad7bb8b402b248e3d24dc5a73f41456474fa2d65f33473d9d1d7d77557bec4da3805e0c31d42541 WHIRLPOOL b39ec794a32b114d4d268fc5849c65e2295921ae34cf608690a06ce5a6d403ddb61c539cc5bd4c17faa29fc2077162ef2a519e1710153a34a4268f3413f36cd6
AUX kdelibs-4.14.3-trim-crash.patch 28725 SHA256 070fd14403c797d18360f6c5bd9a0b36d8b50c7a41cc28d1d220a7a6c66f0233 SHA512 3b72c021aa5a4c10799296e1858f03adcdfac34f9f83bdee4c7357502314b2bc92fd5f137021657c157723da894a362e818d875fee95f965e7d82a3fbbc1bdb8 WHIRLPOOL 3f0f3a84cf320c9b5f7be2e1bbcea4e3d1d9942f0b9e1ebd277eab310f1e539b5c9ea19e6554ffc70fc2f1d279cbb3e939d617661e250027f3364726a9a78a57
+AUX kdelibs-4.14.5-fatalwarnings.patch 1066 SHA256 480fb7374bb00e6ff3b97a4082cf5ab90fd9384c8a5b3b49f0d73ad12ae103e5 SHA512 4758f504752a3ff5e1f315626eb58a796b8320a088b4821c2111723ae8ac63eeb368f7d9307e6e88dfa88e52611e80ae068ac15302265ae44b7bb55b98530f41 WHIRLPOOL 9c487d26a6ec2f6749bcf162b311ab3c441ed062182653a4dd322e78fa3d2049bd0edee677e99687e368b57a6d821f351804747c91432cb36318bc68dc300746
+AUX kdelibs-4.14.5-mimetypes.patch 801 SHA256 4506dcac847d7fd407b249135c849dcd4992f56a06970a7c5985e9249554e69b SHA512 bd39c356fc88ad09c31c33fc91a35827846f30056a05e4ca6a5483e422709d28e887dbf1c5f9ce229331ee534553bf43ae88e9e51a6e5d759896ebe3e336c2e0 WHIRLPOOL 2c53dde672d2b417745ee63a5e2b91ebfd74dab5861e19d8236060ec0502094190af1cf3d2dc86efb7090dc637481d938b17d2254ec86ec9ff591d3b3dbdd5e0
+AUX kdelibs-4.15.6-fix-bic.patch 1304 SHA256 73a7b4e7843b179ef220fc591bd19f998174a17761c7b0cea458847b343f4127 SHA512 5948d2941e3de1c982a433aaee7069c4792105e8f4368819be1663ab919686f91094459e27d0dfd51d49209674b2236069a60eb04e0f70034871ce67f15b694b WHIRLPOOL 4cbf32794ac03df3c4b787c0572765f37a30bd611c3227329fdbdb95c0878f994149cc8bc16a186b89a72b3150446384272365cc27377d58147cc0182ca80dae
AUX kdelibs-4.3.80-kdeui_util_kkeyserver_mac.patch 2210 SHA256 3602e079a4788feceff27f7f6bcaeff33828c259a81d0357f7df092000f98a6a SHA512 9207f2ab33e757d3d8ed3279350ea4326339129f232bb67bcce7b3806480fe551c9ba03a93d289df311e913055c343c925f957eb0b0b24bec6a7ef59017090a2 WHIRLPOOL f63b26fc0657f7e72856b493fc469af1cfaa68bb18b1dd4078f9dae44c37a3bdec9114c6a2c92c55b2cdde4d7cbc2ea072df1157b26e43f844dccf16ec8b1f8d
AUX kdelibs-4.4.90-xslt.patch 553 SHA256 ffb7b7f44d3e840d1fe5e3b1d859db74f6bf534d44160f48e0f91993200ab55b SHA512 0016a0cb2f4a93cc2a9638a74c8aa42759830304abf97b608393099093a35205bcdfbd0a8a6d501f6628119de34d39c7a40cac9ed99bff7081c651f678533dea WHIRLPOOL 8fd53eb3a5bb083b12f1ff1e68f5ba9208a5badd0210944bf62297899a7416d61cbd29d24adc02024b70789bad289abafcfa24b02370e5ea5929b39022dc6f46
AUX kdelibs-4.6.2-armlinking.patch 1129 SHA256 9b076d1587bb02b85353f3a155199fd6dace7d1c76f189667787bca89192dee6 SHA512 d0208e095e751d4064e3f9b7d836135bce8c7f1cb7b4f1a20ef4d86d2fd5a08523c563c72ab86a871929000f26e4d50fa58fd81f7996edc57066984ce508ff1d WHIRLPOOL 81535f48c1ab14e37fd0dae7751317e72c53f4c55d4c28be67db8c6782af9a0a5e1ee3aba48680b8d367c9b6dda4d0e481392826b5eb597e1965bfbff70aaf38
@@ -13,25 +16,27 @@ AUX kdelibs-4.6.3-no_suid_kdeinit.patch 963 SHA256 2d0ab01c1e495e77f911a07331061
AUX kdelibs-4.8.1-norpath.patch 788 SHA256 813acf8e0b23eeac94d6f504ca53a3a5cc2fb8c33fa93b0398c99bb862a8cead SHA512 6c8b3bfb9e468ec05508919ef7aca04421334c99dac0b8f1550efc2fb04554b8af97b3da52050102417db3d46884f5f4e677fd42ecb3b768b3b7a77d413c3d89 WHIRLPOOL 9861fe4b4b61c6d659c31c102938f9b0377bfff90744a852f8d0251c6c66e1df29dacb4059610d9ec78e706ad36f66b3cb6179550de47270d759acb4004c46e8
AUX kdelibs-4.9.3-werror.patch 1521 SHA256 0dbcfe622041387fddac550c37b30bfd5cf369fab24d08de566e1a64849e2e79 SHA512 79777b19e8ab56a855540c89d0f2d8a00fa40143efa5bded05be71b9ef45045f533128ccef691dd6667f3934c076968abf7fcf5aa311af56c63ba201efe4e3d5 WHIRLPOOL 428f477ccfcf0e4bec3b80d073d4f18d18e520afb24780a5682d146395bbb4067b3fbcb5aabc2f2304de435a8e316433fb32c9d1fc84380fcf17a4d428f521f7
DIST kdelibs-4.14.3.tar.xz 11600500 SHA256 f8206da1106184ef0bd031b82701c4910b8dade331c4cdaf1cd9c6c5208cfd9e SHA512 7713cec4851fd4d7d5376afd905515902395ca469cefe1924c05ac0cd4499c28ab6a3c3e7bee10c4cfb3584f2fe93cfb6129d5b550d56d18217866f5fde748cf WHIRLPOOL 9b6d525136cee8e43b832dbbe7451494cc30e15cc58cc34eeab8c9040a9cbe893dc8ba794be50cdb3462e20279bfb41bee22385d3d106a353ef738da510f5c04
+DIST kdelibs-4.14.6.tar.xz 11642796 SHA256 b313419f4ecd759155862532713763904f405a5307897a2479420eb097b0bd98 SHA512 0a2db7fe63b5a3bf2bcc85d7573f778f593b362adab1d1a9193ed04cae53615a67643e53b487a0776df0bcf55e8f956ebdf9a909bb863c6d1b8e0a70e94247ed WHIRLPOOL 420ca0b1369e30b8da05363117c094c0cf63c59eb28bbaae317b95829ca59f14296e294c32d58028f7ec6690dd0ef01f5b734fa22615a778a6de4b50cd4d7085
EBUILD kdelibs-4.14.3-r1.ebuild 8856 SHA256 f62f327619222bcdb01cab5fe4b41320ade5478b78df3dad21690f9e6e8ae5be SHA512 6d2a73feae66e0e01b3b39b6c36b8a5cf05772dffb1f8d9178f83bbc57a6a4a4d2509b417a8bff82899102478a56bf2ce256438ed0c80e7a1c020f733cba7bef WHIRLPOOL 8a32af6786501a732334803a05f64b5e7afee0113e9b28abd99465260377f44d8e8f57f096433b74442d0e5650d6f4e801f83b78db56acaa30a79377eecc98d5
-MISC ChangeLog 62033 SHA256 689eedc7f592738f24cc7192b4bfdeeebd396207eb1c88a692a6f8d01c55d5c4 SHA512 bd6d1cd3f8154e191531ec197550196e9d3706f003db91a67e284a1608fa00d4099e5bf8e36cd0324cb9bb730ba254ba9113788f47332298b510e82146dbfd9e WHIRLPOOL e60dbe9c6d43af7f2db279d4889d012fcf69abce87d4583437b751c295499fa918bfc3184373d86bce35bce620c530c1ff1e5071b96980d1704083533cc79e2e
+EBUILD kdelibs-4.14.6-r1.ebuild 8929 SHA256 906995c191adc3b7c2c201f44088997e886fc4a3baa5ef3554adad6db26e8bc4 SHA512 b292f1a20b30442076e7f1ff408b7a5c109608f3485a52c3679690ea738c9e35679373346b90872290674cc1cc13469f90729e309e68be4325001717ae0cd8c3 WHIRLPOOL a8409b9c690736a967a77f0908a7c2dd55c276be6152d671a2c6f6fd874771564011e302961e77f8b3d58b9dc2834b54ce6741e7fb6dfa74b55c729da018afe2
+MISC ChangeLog 62292 SHA256 73be456d6e2007cacbf9cde3605687494470f37108dbc9bfdf58379b564ed36d SHA512 5ca895ea25072fefd08e5a0071d5770e97522a7c50ae08ec4848f41d125221cb7421643ddf93d4d4b38ad6ef697183b81124601847d3066d03104ffb7f4a2b73 WHIRLPOOL 05d269ba96067e035d1c6cb059929b6bb6b2a46d87c6644c5264fa1f8b2702092f66cfa08967104ab9eb9e6c86b7001b535f34ba506f121b77a47768fd774031
MISC ChangeLog-2009 110608 SHA256 845ba7764dc9cabd4753d146e82cc0347a0dbbe21a76a4aab453106e7d70ba1f SHA512 c643c3bd742f1c2c4322217b4d9f2992310e9bf86f585ef687cf68f54ed2a86d2950f7f3c3fc5021a2dd472b6db39e17415ca6cde478e4ef4f91317a116889b5 WHIRLPOOL 8dd58bffc294a811176bc3f9882a0fa8a12c02fcdd692bacfccfc9745646d5062d3980553388fcdc835bbbecefd0783f029d07a5999e7208ceece5a93fa36893
MISC metadata.xml 335 SHA256 ce5c36bcfe52e7bc12d4c7fb83f64b01fd52f5b329365cadd44bd9d59b1e3a3a SHA512 efc588b15e3096574a9ecf0d0edf99f979197cc0e33b2710fd7babb16f2dcaf3cff22197e9fb429ef97590a1288410f77cd987e5c03b3dac8c85236b9af751e6 WHIRLPOOL 6f8cba5c16126a196fb424944b9c12322579ccbe8165821e5cb11611f941a664dee1a31f52927a346da165c25cd829c1f0187e40d209e5ef7c0af7e1afac3347
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0
-iQJiBAEBCABMBQJU5Yo2RRSAAAAAABQAKGlzc3Vlci1mcHJAbm90YXRpb25zOTc5
+iQJiBAEBCABMBQJVDbdPRRSAAAAAABQAKGlzc3Vlci1mcHJAbm90YXRpb25zOTc5
MTY5NkQ3RDM3NkRBN0U5QjZGMTUwMDZCMUYzOERDQTQ1QTFFQwAKCRAGsfONykWh
-7FfvEACs1ZKnZafYY/4LlfsKORkVCEuW0wKMc7oAdRnwViliqv2bbrQnK8v8kjIG
-xsNa5Kk6TeitSb6AvTrkVMG8Kv2EAuDozZuvlWG0p0ky9UoO9iyjwVOCFG1NAezz
-ouu/dG4YzJkkZSjlHV0W9ERKvKkQe9bgtR/JkyWzg5UH6+xkqDxPkPIQ4Zxk8cSu
-aVzlK/HkUhcYfekl5e01nje9cIi3BUnEgMjyFIjxVKYzouV4LH3kEW61RfaMBZoS
-/eOx1mVLJ+clBpJhZH50IE4eATq8FjG1ZEw+HlyJIUai9CGL1/r6+D1YngBdHD/b
-fp6gGwJVQ/EHFulHhf92o5o33r//KjSg4DjWjvdbArdm6LgWDF+x8X+wviS3Elwr
-zZcqnHKu6iprwwfPBkUpzWl5002yG2XO7VKOeHqJaNq1T28DYFBjDho1blHg5WF5
-zAV7l/pE6y4yCkq2SxerhVpYqt4DxcwQpaET5SVFrNAkn9ZcsW5mCgOIc0w5ilo3
-xhddVokXb2N3SaqS/DjpzviHDPMiULB94IVtQ7/ff23aXSelAnIT+3Mt4snH/D8F
-Vly0/Q0ZS/MoQ42KO2RYEwN9jm5eil6oNrfO9ywDxCTiYQSb1STvT7vcl4tOawcZ
-JvDZPrBfHQkE+MMRfr+vKzzA7qj+HflwiDFAbl7xmu0Pk0A6xg==
-=DIgA
+7Im0D/9C089nYiNb0Q2vr1UlbyJv1K5Oo3EJGgKJB19rjvrs681qJrGmAHxN9hNW
+HGv0wijmNZvK4GLUtj4Uw5MJWKpQPy3vehzKlDpuBHpB4oj70uRaFYCuYJnZfWv2
+WrOhqjzRhrT9v4C/9qU6T1pp8naWB8NgIrWGGXOMJZcBbyrpK5gqtxDMvhWjCyu9
+C+Qo9ho/yhQvqMXZnBPZcB8SzX1ovpLJT9BJCHXdM64BYkmwzIAClFxMQ64e/d7Q
+XF/ffcosj+6e9ZODRMpTj10pO516qL2V2NbVFGCJ0upIyBuHdeihkINiDI7xoCGm
+//P08WvTypQisWwpnS96DyMF9W6YiqLpCBjN6QxiMnMGT8dIW5HGecvO5j2bzx0v
+lxO7oclYlxkCLEJVV6S6JJENCTXJs7XrofRU2raDM7V5JLNp3ieAOQP2Z36vZQn5
+JXqj46Wp9a7NjOihL9A5DYr83YCyyBt7ntAvOWy4yiAuBieBobloyJgSJN/1Vk5A
+vEBF3e4y/MDv4qfzOW9jrnjU4/ZvHVYnvE26o3Y6aTm550+SHO0qEvsO27wr3da4
+OOSyT0wtChOi3RqQI7r0RuQr8vSVRGW5V7yZFTIOk9f7GrZ2itfrARSswQI/rhzM
+5GuHJajIm4iE53yOv9VSoDWL8k+30rR41neR8DQ+yTJ20tRBAQ==
+=Er5k
-----END PGP SIGNATURE-----
diff --git a/kde-base/kdelibs/files/kdelibs-4.14.5-fatalwarnings.patch b/kde-base/kdelibs/files/kdelibs-4.14.5-fatalwarnings.patch
new file mode 100644
index 000000000000..78c1ac77dcbe
--- /dev/null
+++ b/kde-base/kdelibs/files/kdelibs-4.14.5-fatalwarnings.patch
@@ -0,0 +1,16 @@
+Avoid build failure due to harmless warnings on some platforms (eg. ARM) being
+forced fatal.
+
+--- cmake/modules/FindKDE4Internal.cmake
++++ cmake/modules/FindKDE4Internal.cmake
+@@ -1100,8 +1100,8 @@
+ if (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU)
+ if (CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+ set ( _KDE4_PLATFORM_DEFINITIONS -D_XOPEN_SOURCE=500 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE)
+- set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}")
+- set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_MODULE_LINKER_FLAGS}")
++ set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}")
++ set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined -lc ${CMAKE_MODULE_LINKER_FLAGS}")
+
+ set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--enable-new-dtags ${CMAKE_SHARED_LINKER_FLAGS}")
+ set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--enable-new-dtags ${CMAKE_MODULE_LINKER_FLAGS}")
diff --git a/kde-base/kdelibs/files/kdelibs-4.14.5-mimetypes.patch b/kde-base/kdelibs/files/kdelibs-4.14.5-mimetypes.patch
new file mode 100644
index 000000000000..dc8f87e678ea
--- /dev/null
+++ b/kde-base/kdelibs/files/kdelibs-4.14.5-mimetypes.patch
@@ -0,0 +1,27 @@
+Remove fake MIME types that cause warnings.
+
+The offending MIME types are commented out rather than
+physically removed because doing so would cause the patch
+to be too large.
+
+--- mimetypes/kde.xml
++++ mimetypes/kde.xml
+@@ -1784,7 +1784,8 @@
+ <glob pattern="*.abc"/>
+ </mime-type>
+
+- <!-- all/ fake mime types -->
++ <!--
++ all/ fake mime types
+ <mime-type type="all/all">
+ <comment>all files and folders</comment>
+ <comment xml:lang="ar">كل الملفات و المجلدات</comment>
+@@ -1901,7 +1902,7 @@
+ <comment xml:lang="zh_CN">全部文件</comment>
+ <comment xml:lang="zh_TW">所有檔案</comment>
+ </mime-type>
+-
++ -->
+ <mime-type type="application/vnd.kde.fontspackage">
+ <sub-class-of type="application/zip"/>
+ <comment>fonts package</comment>
diff --git a/kde-base/kdelibs/files/kdelibs-4.15.6-fix-bic.patch b/kde-base/kdelibs/files/kdelibs-4.15.6-fix-bic.patch
new file mode 100644
index 000000000000..585ce51274f9
--- /dev/null
+++ b/kde-base/kdelibs/files/kdelibs-4.15.6-fix-bic.patch
@@ -0,0 +1,47 @@
+diff --git a/khtml/dom/dom_string.h b/khtml/dom/dom_string.h
+index 087f697..b269213 100644
+--- a/khtml/dom/dom_string.h
++++ b/khtml/dom/dom_string.h
+@@ -124,10 +124,23 @@ public:
+ bool endsWith(const DOMString& str) const;
+ bool startsWith(const DOMString& str) const;
+
+- // http://www.w3.org/TR/html/infrastructure.html#urls
++ /**
++ * Return a parsed url.
++ * Used to parse SRC url attribute,
++ * see http://www.w3.org/TR/html/infrastructure.html#urls
++ *
++ * @since 4.14.6
++ */
+ DOMString parsedUrl() const;
+
+ /**
++ * @deprecated, use parsedUrl()
++ */
++#ifndef KDE_NO_DEPRECATED
++ KDE_DEPRECATED DOMString trimSpaces() const;
++#endif
++
++ /**
+ * @internal get a handle to the imlementation of the DOMString
+ * Use at own risk!!!
+ */
+diff --git a/khtml/dom/dom_string.cpp b/khtml/dom/dom_string.cpp
+index a3c4abd..4da676b 100644
+--- a/khtml/dom/dom_string.cpp
++++ b/khtml/dom/dom_string.cpp
+@@ -336,6 +336,13 @@ DOMString DOMString::parsedUrl() const
+ return out;
+ }
+
++#ifndef KDE_NO_DEPRECATED
++DOMString DOMString::trimSpaces() const
++{
++ return parsedUrl();
++}
++#endif
++
+ // ------------------------------------------------------------------------
+
+ bool DOM::strcasecmp( const DOMString &as, const DOMString &bs )
diff --git a/kde-base/kdelibs/kdelibs-4.14.6-r1.ebuild b/kde-base/kdelibs/kdelibs-4.14.6-r1.ebuild
new file mode 100644
index 000000000000..344d236116fa
--- /dev/null
+++ b/kde-base/kdelibs/kdelibs-4.14.6-r1.ebuild
@@ -0,0 +1,307 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-4.14.6-r1.ebuild,v 1.1 2015/03/21 18:24:15 kensington Exp $
+
+EAPI=5
+
+CPPUNIT_REQUIRED="optional"
+DECLARATIVE_REQUIRED="always"
+OPENGL_REQUIRED="optional"
+KDE_HANDBOOK="optional"
+inherit kde4-base fdo-mime multilib toolchain-funcs flag-o-matic
+
+EGIT_BRANCH="KDE/4.14"
+
+DESCRIPTION="KDE libraries needed by all KDE programs"
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+LICENSE="LGPL-2.1"
+IUSE="cpu_flags_x86_3dnow acl alsa altivec +bzip2 +crypt debug doc fam jpeg2k
+kerberos lzma cpu_flags_x86_mmx nepomuk nls openexr +policykit spell
+cpu_flags_x86_sse cpu_flags_x86_sse2 ssl +udev +udisks +upower zeroconf"
+
+REQUIRED_USE="
+ udisks? ( udev )
+ upower? ( udev )
+"
+
+# needs the kate regression testsuite from svn
+RESTRICT="test"
+
+COMMONDEPEND="
+ >=app-misc/strigi-0.7.7
+ app-text/docbook-xml-dtd:4.2
+ app-text/docbook-xsl-stylesheets
+ >=dev-libs/libattica-0.4.2
+ >=dev-libs/libdbusmenu-qt-0.3.2[qt4(+)]
+ dev-libs/libpcre[unicode]
+ dev-libs/libxml2
+ dev-libs/libxslt
+ media-libs/fontconfig
+ media-libs/freetype:2
+ media-libs/giflib
+ media-libs/libpng:0=
+ media-libs/phonon[qt4]
+ sys-libs/zlib
+ virtual/jpeg:0
+ >=x11-misc/shared-mime-info-0.60
+ acl? ( virtual/acl )
+ alsa? ( media-libs/alsa-lib )
+ !aqua? (
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXcursor
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXft
+ x11-libs/libXpm
+ x11-libs/libXrender
+ x11-libs/libXScrnSaver
+ x11-libs/libXtst
+ !kernel_SunOS? (
+ || (
+ sys-libs/libutempter
+ >=sys-freebsd/freebsd-lib-9.0
+ )
+ )
+ )
+ bzip2? ( app-arch/bzip2 )
+ crypt? ( app-crypt/qca:2[qt4(+)] )
+ fam? ( virtual/fam )
+ jpeg2k? ( media-libs/jasper )
+ kerberos? ( virtual/krb5 )
+ nepomuk? (
+ >=dev-libs/shared-desktop-ontologies-0.11.0
+ >=dev-libs/soprano-2.9.0[dbus,raptor,redland]
+ )
+ openexr? (
+ media-libs/openexr:=
+ media-libs/ilmbase:=
+ )
+ policykit? ( >=sys-auth/polkit-qt-0.103.0 )
+ spell? ( app-text/enchant )
+ ssl? ( dev-libs/openssl:0 )
+ udev? ( virtual/udev )
+ zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
+"
+DEPEND="${COMMONDEPEND}
+ doc? ( app-doc/doxygen )
+ nls? ( virtual/libintl )
+"
+RDEPEND="${COMMONDEPEND}
+ !dev-qt/qtphonon
+ !<=kde-base/plasma-workspace-4.7.1:4
+ !<=kde-base/kcontrol-4.4.50:4
+ >=app-crypt/gnupg-2.0.11
+ app-misc/ca-certificates
+ $(add_kdebase_dep kde-env '' 4.14.3)
+ sys-apps/dbus[X]
+ !aqua? (
+ udisks? ( sys-fs/udisks:2 )
+ x11-apps/iceauth
+ x11-apps/rgb
+ >=x11-misc/xdg-utils-1.0.2-r3
+ upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )
+ )
+ udev? ( app-misc/media-player-info )
+"
+PDEPEND="
+ $(add_kdebase_dep katepart '' 4.14.3)
+ || (
+ $(add_kdebase_dep kfmclient '' 4.14.3)
+ x11-misc/xdg-utils
+ )
+ handbook? (
+ || (
+ $(add_kdebase_dep khelpcenter '' 4.14.3)
+ kde-plasma/khelpcenter:5[compat(+)]
+ )
+ )
+ nepomuk? (
+ $(add_kdebase_dep nepomuk-core '' 4.14.3)
+ $(add_kdebase_dep nepomuk-widgets '' 4.14.3)
+ )
+ policykit? ( || (
+ >=sys-auth/polkit-kde-agent-0.99
+ kde-plasma/polkit-kde-agent
+ ) )
+"
+
+PATCHES=(
+ "${FILESDIR}/dist/01_gentoo_set_xdg_menu_prefix-1.patch"
+ "${FILESDIR}/dist/02_gentoo_append_xdg_config_dirs-1.patch"
+ "${FILESDIR}/${PN}-4.14.5-fatalwarnings.patch"
+ "${FILESDIR}/${PN}-4.14.5-mimetypes.patch"
+ "${FILESDIR}/${PN}-4.4.90-xslt.patch"
+ "${FILESDIR}/${PN}-4.6.3-no_suid_kdeinit.patch"
+ "${FILESDIR}/${PN}-4.8.1-norpath.patch"
+ "${FILESDIR}/${PN}-4.9.3-werror.patch"
+ "${FILESDIR}/${PN}-4.10.0-udisks.patch"
+ "${FILESDIR}/${PN}-4.15.6-fix-bic.patch"
+)
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ [[ $(gcc-major-version) -lt 4 ]] || \
+ ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \
+ && die "Sorry, but gcc-4.3 and earlier won't work for KDE SC 4.6 (see bug #354837)."
+ fi
+}
+
+src_prepare() {
+ kde4-base_src_prepare
+
+ # Rename applications.menu (needs 01_gentoo_set_xdg_menu_prefix-1.patch to work)
+ sed -e 's|FILES[[:space:]]applications.menu|FILES applications.menu RENAME kde-4-applications.menu|g' \
+ -i kded/CMakeLists.txt || die "Sed on CMakeLists.txt for applications.menu failed."
+
+ if use aqua; then
+ sed -i -e \
+ "s:BUNDLE_INSTALL_DIR \"/Applications:BUNDLE_INSTALL_DIR \"${EPREFIX}/${APP_BUNDLE_DIR}:g" \
+ cmake/modules/FindKDE4Internal.cmake || die "failed to sed FindKDE4Internal.cmake"
+
+ #if [[ ${CHOST} == *-darwin8 ]]; then
+ sed -i -e \
+ "s:set(_add_executable_param MACOSX_BUNDLE):remove(_add_executable_param MACOSX_BUNDLE):g" \
+ cmake/modules/KDE4Macros.cmake || die "failed to sed KDE4Macros.cmake"
+ #fi
+
+ # solid/solid/backends/iokit doesn't properly link, so disable it.
+ sed -e "s|\(APPLE\)|(FALSE)|g" -i solid/solid/CMakeLists.txt \
+ || die "disabling solid/solid/backends/iokit failed"
+ sed -e "s|m_backend = .*Backends::IOKit.*;|m_backend = 0;|g" -i solid/solid/managerbase.cpp \
+ || die "disabling solid/solid/backends/iokit failed"
+
+ # There's no fdatasync on OSX and the check fails to detect that.
+ sed -e "/HAVE_FDATASYNC/ d" -i config.h.cmake \
+ || die "disabling fdatasync failed"
+
+ # Fix nameser include to nameser8_compat
+ sed -e "s|nameser8_compat.h|nameser_compat.h|g" -i kio/misc/kpac/discovery.cpp \
+ || die "fixing nameser include failed"
+ append-flags -DHAVE_ARPA_NAMESER8_COMPAT_H=1
+
+ # Try to fix kkeyserver_mac
+ epatch "${FILESDIR}"/${PN}-4.3.80-kdeui_util_kkeyserver_mac.patch
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_HSPELL=OFF
+ -DWITH_ASPELL=OFF
+ -DWITH_DNSSD=OFF
+ -DKDE_DEFAULT_HOME=.kde4
+ -DKAUTH_BACKEND=POLKITQT-1
+ -DBUILD_libkactivities=OFF
+ $(cmake-utils_use_build handbook doc)
+ $(cmake-utils_use_has cpu_flags_x86_3dnow X86_3DNOW)
+ $(cmake-utils_use_has altivec PPC_ALTIVEC)
+ $(cmake-utils_use_has cpu_flags_x86_mmx X86_MMX)
+ $(cmake-utils_use_has cpu_flags_x86_sse X86_SSE)
+ $(cmake-utils_use_has cpu_flags_x86_sse2 X86_SSE2)
+ $(cmake-utils_use_with acl)
+ $(cmake-utils_use_with alsa)
+ $(cmake-utils_use_with bzip2 BZip2)
+ $(cmake-utils_use_with crypt QCA2)
+ $(cmake-utils_use_with fam)
+ $(cmake-utils_use_with jpeg2k Jasper)
+ $(cmake-utils_use_with kerberos GSSAPI)
+ $(cmake-utils_use_with lzma LibLZMA)
+ $(cmake-utils_use_with nepomuk Soprano)
+ $(cmake-utils_use_with nepomuk SharedDesktopOntologies)
+ $(cmake-utils_use_with nls Libintl)
+ $(cmake-utils_use_with openexr OpenEXR)
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with policykit PolkitQt-1)
+ $(cmake-utils_use_with spell ENCHANT)
+ $(cmake-utils_use_with ssl OpenSSL)
+ $(cmake-utils_use_with udev UDev)
+ $(cmake-utils_use_with udisks SOLID_UDISKS2)
+ $(cmake-utils_use_with zeroconf Avahi)
+ )
+ kde4-base_src_configure
+}
+
+src_compile() {
+ kde4-base_src_compile
+
+ # The building of apidox is not managed anymore by the build system
+ if use doc; then
+ einfo "Building API documentation"
+ cd "${S}"/doc/api/
+ ./doxygen.sh "${S}" || die "APIDOX generation failed"
+ fi
+}
+
+src_install() {
+ kde4-base_src_install
+
+ # use system certificates
+ rm -f "${ED}"/usr/share/apps/kssl/ca-bundle.crt || die
+ dosym /etc/ssl/certs/ca-certificates.crt /usr/share/apps/kssl/ca-bundle.crt
+
+ if use doc; then
+ einfo "Installing API documentation. This could take a bit of time."
+ cd "${S}"/doc/api/
+ docinto /HTML/en/kdelibs-apidox
+ dohtml -r ${P}-apidocs/*
+ fi
+
+ if use aqua; then
+ einfo "fixing ${PN} plugins"
+
+ local _PV=${PV:0:3}.0
+ local _dir=${EPREFIX}/usr/$(get_libdir)/kde4/plugins/script
+
+ install_name_tool -id \
+ "${_dir}/libkrossqtsplugin.${_PV}.dylib" \
+ "${D}/${_dir}/libkrossqtsplugin.${_PV}.dylib" \
+ || die "failed fixing libkrossqtsplugin.${_PV}.dylib"
+
+ einfo "fixing ${PN} cmake detection files"
+ #sed -i -e \
+ # "s:if (HAVE_XKB):if (HAVE_XKB AND NOT APPLE):g" \
+ echo -e "set(XKB_FOUND FALSE)\nset(HAVE_XKB FALSE)" > \
+ "${ED}"/usr/share/apps/cmake/modules/FindXKB.cmake \
+ || die "failed fixing FindXKB.cmake"
+ fi
+
+ einfo Installing environment file.
+ # Since 44qt4 is sourced earlier QT_PLUGIN_PATH is defined.
+ echo "COLON_SEPARATED=QT_PLUGIN_PATH" > "${T}/77kde"
+ echo "QT_PLUGIN_PATH=${EPREFIX}/usr/$(get_libdir)/kde4/plugins" >> "${T}/77kde"
+ doenvd "${T}/77kde"
+}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+
+ if use zeroconf; then
+ echo
+ elog "To make zeroconf support available in KDE make sure that the avahi daemon"
+ elog "is running."
+ echo
+ einfo "If you also want to use zeroconf for hostname resolution, emerge sys-auth/nss-mdns"
+ einfo "and enable multicast dns lookups by editing the 'hosts:' line in /etc/nsswitch.conf"
+ einfo "to include 'mdns', e.g.:"
+ einfo " hosts: files mdns dns"
+ echo
+ fi
+
+ kde4-base_pkg_postinst
+}
+
+pkg_prerm() {
+ # Remove ksycoca4 global database
+ rm -f "${EROOT}${PREFIX}"/share/kde4/services/ksycoca4
+}
+
+pkg_postrm() {
+ fdo-mime_mime_database_update
+
+ kde4-base_pkg_postrm
+}