From 284e095fe026fa0846d48105c7f9b2238d57ee3a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 19 Jun 2012 16:44:07 -0300 Subject: kdelibs-libre: updating pkgrel due attica dependencies --- libre/kdelibs-libre/fix-application-crashes.patch | 49 +++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 libre/kdelibs-libre/fix-application-crashes.patch (limited to 'libre/kdelibs-libre/fix-application-crashes.patch') diff --git a/libre/kdelibs-libre/fix-application-crashes.patch b/libre/kdelibs-libre/fix-application-crashes.patch new file mode 100644 index 000000000..8ac385483 --- /dev/null +++ b/libre/kdelibs-libre/fix-application-crashes.patch @@ -0,0 +1,49 @@ +From: Vishesh Handa +Date: Wed, 13 Jun 2012 21:26:31 +0000 +Subject: Revert "Always rec-connect if forced (ie. when Nepomuk server restarts)" +X-Git-Url: http://quickgit.kde.org/?p=kdelibs.git&a=commitdiff&h=bde5aad1e9f7bfb6f8d5c60197797de4a315158d +--- +Revert "Always rec-connect if forced (ie. when Nepomuk server restarts)" + +This reverts commit a43824a200ed76cef48a90bd3aee8547698b7c91. + +This is done so that 4.8.x works with Soprano 2.7.6 +--- + + +--- a/nepomuk/core/nepomukmainmodel.cpp ++++ b/nepomuk/core/nepomukmainmodel.cpp +@@ -94,7 +94,7 @@ public: + + // we may get disconnected from the server but we don't want to try + // to connect every time the model is requested +- if ( forced || (!m_socketConnectFailed && !localSocketClient.isConnected()) ) { ++ if ( !m_socketConnectFailed && !localSocketClient.isConnected() ) { + delete localSocketModel; + localSocketModel = 0; + QString socketName = KGlobal::dirs()->locateLocal( "socket", "nepomuk-socket" ); + +From: Vishesh Handa +Date: Wed, 13 Jun 2012 21:25:32 +0000 +Subject: Revert "Disconnect before re-connecting. Soprano does not do that for us." +X-Git-Url: http://quickgit.kde.org/?p=kdelibs.git&a=commitdiff&h=76e0376d7582cfe5b898c56bf3779ca2279dace8 +--- +Revert "Disconnect before re-connecting. Soprano does not do that for us." + +This reverts commit 3708be2d09700b21f934c2129218e1c7ea44efdf. + +This is being done so that KDE 4.8.x works with Soprano 2.7.6 +--- + + +--- a/nepomuk/core/nepomukmainmodel.cpp ++++ b/nepomuk/core/nepomukmainmodel.cpp +@@ -97,7 +97,6 @@ public: + if ( forced || (!m_socketConnectFailed && !localSocketClient.isConnected()) ) { + delete localSocketModel; + localSocketModel = 0; +- localSocketClient.disconnect(); + QString socketName = KGlobal::dirs()->locateLocal( "socket", "nepomuk-socket" ); + kDebug() << "Connecting to local socket" << socketName; + if ( localSocketClient.connect( socketName ) ) { + -- cgit v1.2.3-54-g00ecf