Revert "kde5.frameworks: 5.21 -> 5.22"

This reverts commit 112d4c71b2.

This upgrade causes a serious Plasma performance degradation and causes
incorrect font rendering. Reverting until the cause is known.
This commit is contained in:
Thomas Tuegel 2016-06-05 12:00:27 -05:00
parent d9416bc99a
commit 9769952933
107 changed files with 604 additions and 585 deletions

View file

@ -4,7 +4,7 @@
set -x
# The trailing slash at the end is necessary!
RELEASE_URL="http://download.kde.org/stable/frameworks/5.22/"
RELEASE_URL="http://download.kde.org/stable/frameworks/5.21/"
EXTRA_WGET_ARGS='-A *.tar.xz'
mkdir tmp; cd tmp

View file

@ -22,6 +22,7 @@ kdeFramework {
wrapQtProgram "$out/bin/kcookiejar5"
wrapQtProgram "$out/bin/ktelnetservice5"
wrapQtProgram "$out/bin/ktrash5"
wrapQtProgram "$out/bin/kmailservice5"
wrapQtProgram "$out/bin/protocoltojson"
'';
}

View file

@ -0,0 +1,25 @@
Index: kservice-5.21.0/src/sycoca/ksycocautils.cpp
===================================================================
--- kservice-5.21.0.orig/src/sycoca/ksycocautils.cpp
+++ kservice-5.21.0/src/sycoca/ksycocautils.cpp
@@ -24,9 +24,10 @@
void KSycocaUtilsPrivate::read(QDataStream &s, QString &str)
{
+ const qint32 bufferSize = 65528;
quint32 bytes;
s >> bytes; // read size of string
- if (bytes > 8192) { // null string or too big
+ if (bytes > bufferSize) { // null string or too big
if (bytes != 0xffffffff) {
KSycoca::flagError();
}
@@ -35,7 +36,7 @@ void KSycocaUtilsPrivate::read(QDataStre
int bt = bytes / 2;
str.resize(bt);
QChar *ch = str.data();
- char t[8192];
+ char t[bufferSize];
char *b = t;
s.readRawData(b, bytes);
while (bt--) {

View file

@ -0,0 +1,3 @@
qdiriterator-follow-symlinks.patch
no-canonicalize-path.patch
ksycoca-buffer-size.patch

Some files were not shown because too many files have changed in this diff Show more