* Sat Mar 20 2010 Rex Dieter <rdieter@fedoraproject.org> 6:4.4.1-7

- KDE default in noisy debug mode to stdout/stderr (kde#227089)
- backport trunk/ fix building against qt-4.7
This commit is contained in:
Rex Dieter 2010-03-20 13:17:07 +00:00
parent 0e89607838
commit 19266b2a3c
3 changed files with 55 additions and 4 deletions

View File

@ -0,0 +1,11 @@
--- kdelibs-4.4.1/kde3support/kdeui/k3passworddialog.cpp.qt47 2008-05-21 06:06:15.000000000 -0500
+++ kdelibs-4.4.1/kde3support/kdeui/k3passworddialog.cpp 2010-03-20 08:13:23.892254206 -0500
@@ -83,7 +83,7 @@ class K3PasswordDialog::K3PasswordDialog
{
public:
K3PasswordDialogPrivate()
- : m_MatchLabel( 0 ), iconName( 0 ), allowEmptyPasswords( false ),
+ : m_MatchLabel( 0 ), allowEmptyPasswords( false ),
minimumPasswordLength(0), maximumPasswordLength(K3PasswordEdit::PassLen - 1),
passwordStrengthWarningLevel(1), m_strengthBar(0),
reasonablePasswordLength(8)

View File

@ -0,0 +1,29 @@
--- branches/KDE/4.4/kdelibs/kdecore/io/kdebug.cpp 2010/01/06 22:46:33 1070858
+++ branches/KDE/4.4/kdelibs/kdecore/io/kdebug.cpp 2010/03/20 01:43:08 1105396
@@ -317,7 +317,7 @@
return groupName;
}
- OutputMode areaOutputMode(QtMsgType type, unsigned int area)
+ OutputMode areaOutputMode(QtMsgType type, unsigned int area, bool enableByDefault)
{
if (!config)
return QtOutput;
@@ -343,7 +343,7 @@
}
const KConfigGroup cg(config, groupNameForArea(area));
- const int mode = cg.readEntry(key, int(DefaultOutput));
+ const int mode = cg.readEntry(key, int(enableByDefault ? DefaultOutput : NoOutput));
return OutputMode(mode);
}
@@ -418,7 +418,7 @@
const int lev = level(type);
//qDebug() << "in cache for" << num << ":" << it->mode[lev];
if (it->mode[lev] == Unknown)
- it->mode[lev] = areaOutputMode(type, num);
+ it->mode[lev] = areaOutputMode(type, num, enableByDefault);
if (it->mode[lev] == FileOutput && it->logFileName[lev].isEmpty())
it->logFileName[lev] = logFileName(type, num);

View File

@ -8,7 +8,7 @@
Summary: KDE Libraries
Version: 4.4.1
Release: 6%{?dist}
Release: 7%{?dist}
Name: kdelibs
Epoch: 6
@ -88,10 +88,15 @@ Patch28: kdelibs-4.4.2-kpixmapcache.patch
# upstreamable
# 4.4 upstream
## 4.4 upstream
# https://bugs.kde.org/show_bug.cgi?id=227089
Patch100: kdelibs-4.4.2-kdebug.patch
# security fix
## Not Upstreamed? why not ? -- Rex
## trunk upstream
Patch110: kdelibs-4.4.1-k3passworddialog_qt47.patch
## security fix
# Not Upstreamed? why not ? -- Rex
Patch200: kdelibs-4.3.1-CVE-2009-2702.patch
%if 0%{?fedora} && 0%{?fedora} < 13
@ -238,6 +243,8 @@ format for easy browsing.
# upstreamable patches
# upstream patches
%patch100 -p4 -b .kdebug
%{?_qt47:%patch110 -p1 -b .k3passworddialog_qt47}
# security fix
%patch200 -p1 -b .CVE-2009-2702
@ -429,6 +436,10 @@ rm -rf %{buildroot}
%changelog
* Sat Mar 20 2010 Rex Dieter <rdieter@fedoraproject.org> 6:4.4.1-7
- KDE default in noisy debug mode to stdout/stderr (kde#227089)
- backport trunk/ fix building against qt-4.7
* Wed Mar 17 2010 Lukas Tinkl <ltinkl@redhat.com> - 6:4.4.1-6
- fix crash in KPixmapCache (bug#568389)