mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
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:
parent
d9416bc99a
commit
9769952933
|
@ -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
|
|
@ -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"
|
||||
'';
|
||||
}
|
|
@ -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--) {
|
3
pkgs/desktops/kde-5/frameworks-5.21/kservice/series
Normal file
3
pkgs/desktops/kde-5/frameworks-5.21/kservice/series
Normal 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
Loading…
Reference in a new issue