[packages/kde4-kdelibs] - up to 4.11.3

arekm arekm at pld-linux.org
Fri Nov 1 21:11:32 CET 2013


commit 25d03c17b54a63c18bbe6a3223ab4effc6a31706
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 1 21:11:28 2013 +0100

    - up to 4.11.3

 kde4-kdelibs.spec        |  8 ++---
 kdelibs-bug-254198.patch | 83 ------------------------------------------------
 2 files changed, 3 insertions(+), 88 deletions(-)
---
diff --git a/kde4-kdelibs.spec b/kde4-kdelibs.spec
index 22ee3e2..1c9ee43 100644
--- a/kde4-kdelibs.spec
+++ b/kde4-kdelibs.spec
@@ -16,12 +16,12 @@ Summary(pt_BR.UTF-8):	Bibliotecas de fundação do KDE
 Summary(ru.UTF-8):	K Desktop Environment - Библиотеки
 Summary(uk.UTF-8):	K Desktop Environment - Бібліотеки
 Name:		kde4-kdelibs
-Version:	4.11.1
-Release:	2
+Version:	4.11.3
+Release:	1
 License:	LGPL
 Group:		X11/Libraries
 Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
-# Source0-md5:	94673d3c379a673f7ee89527c7514bea
+# Source0-md5:	766f3ed50e07794c298c3597e70d0817
 Source1:	%{name}-pld_box.png
 Patch100:	%{name}-branch.diff
 Patch0:		%{name}-branding.patch
@@ -30,7 +30,6 @@ Patch2:		%{name}-findlzmafix.patch
 Patch3:		%{name}-aboutPLD.patch
 Patch4:		%{name}-devicemanager_remove.patch
 Patch5:		kde4-kdelibs-sync.patch
-Patch6:		kdelibs-bug-254198.patch
 URL:		http://www.kde.org/
 BuildRequires:	OpenEXR-devel >= 1.2.2
 BuildRequires:	Qt3Support-devel >= %{qtver}
@@ -243,7 +242,6 @@ KDE.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%patch6 -p1
 
 %if "%{pld_release}" == "ti"
 sed -i -e 's#PLDLINUX_VERSION#PLD/Titanium#g' kio/kio/kprotocolmanager.cpp
diff --git a/kdelibs-bug-254198.patch b/kdelibs-bug-254198.patch
deleted file mode 100644
index 144062a..0000000
--- a/kdelibs-bug-254198.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-From: Valentin Rusu <kde at rusu.info>
-Date: Sat, 31 Aug 2013 23:16:28 +0000
-Subject: Fix the synchronous-mode wallet open logic
-X-Git-Url: http://quickgit.kde.org/?p=kdelibs.git&a=commitdiff&h=f8fea3f01c85eb0d6d479647ac27fe431846a1ae
----
-Fix the synchronous-mode wallet open logic
-
-BUG: 254198
-
-The wallet opening logic, for the synchronous mode, had a nested
-event loops problem, leading to frozen kwalletd. That was because
-kwalletd wasn't using qdbus delayed replies. kdelibs used
-asynchronous open methods even for the synchronous mode, coupled
-with an internal event loop to simulate synchronous mode.
-This commit removes that internal event loop, as the kwalletd now
-blocks on synchronous wallet open requests.
----
-
-
---- a/kdeui/util/kwallet.cpp
-+++ b/kdeui/util/kwallet.cpp
-@@ -221,7 +221,6 @@
-     QString folder;
-     int handle;
-     int transactionId;
--    QPointer<QEventLoop> loop;
- };
- 
- #ifdef HAVE_KSECRETSSERVICE
-@@ -477,18 +476,18 @@
-         connect(&walletLauncher->getInterface(), SIGNAL(walletAsyncOpened(int,int)),
-                 wallet, SLOT(walletAsyncOpened(int,int)));
- 
--        // Use an eventloop for synchronous calls
--        QEventLoop loop;
--        if (ot == Synchronous || ot == Path) {
--            connect(wallet, SIGNAL(walletOpened(bool)), &loop, SLOT(quit()));
--        }
--
-         // Make sure the password prompt window will be visible and activated
-         KWindowSystem::allowExternalProcessWindowActivation();
- 
-         // do the call
-         QDBusReply<int> r;
--        if (ot == Synchronous || ot == Asynchronous) {
-+        if (ot == Synchronous) {
-+            r = walletLauncher->getInterface().open(name, (qlonglong)w, appid());
-+            // after this call, r would contain a transaction id >0 if OK or -1 if NOK
-+            // if OK, the slot walletAsyncOpened should have been received, but the transaction id
-+            // will not match. We'll get that handle from the reply - see below
-+        }
-+        else if (ot == Asynchronous) {
-             r = walletLauncher->getInterface().openAsync(name, (qlonglong)w, appid(), true);
-         } else if (ot == Path) {
-             r = walletLauncher->getInterface().openPathAsync(name, (qlonglong)w, appid(), true);
-@@ -510,14 +509,7 @@
-                 delete wallet;
-                 wallet = 0;
-             } else {
--                // wait for the daemon's reply
--                // store a pointer to the event loop so it can be quit in error case
--                wallet->d->loop = &loop;
--                loop.exec();
--                if (wallet->d->handle < 0) {
--                    delete wallet;
--                    return 0;
--                }
-+                wallet->d->handle = r.value();
-             }
-         } else if (ot == Asynchronous) {
-             if (wallet->d->transactionId < 0) {
-@@ -1517,10 +1509,6 @@
- 
- void Wallet::WalletPrivate::walletServiceUnregistered()
- {
--    if (loop) {
--        loop->quit();
--    }
--
-     if (handle >= 0) {
-         q->slotWalletClosed(handle);
-     }
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdelibs.git/commitdiff/25d03c17b54a63c18bbe6a3223ab4effc6a31706



More information about the pld-cvs-commit mailing list