Hello community,

here is the log from the commit of package kdelibs4 for openSUSE:Factory
checked in at Thu Oct 13 16:18:55 CEST 2011.



--------
--- openSUSE:Factory/kdelibs4/kdelibs4-apidocs.changes  2011-10-07 
15:22:22.000000000 +0200
+++ kdelibs4/kdelibs4-apidocs.changes   2011-10-13 11:49:13.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Oct 13 09:48:29 UTC 2011 - [email protected]
+
+- fix first time login - patch pushed to 4.7 branch too
+
+-------------------------------------------------------------------
kdelibs4.changes: same change

calling whatdependson for head-i586


New:
----
  82c463cf8e66850417ea4f8b7ff801cff860871e.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdelibs4.spec ++++++
--- /var/tmp/diff_new_pack.La7Upc/_old  2011-10-13 16:18:41.000000000 +0200
+++ /var/tmp/diff_new_pack.La7Upc/_new  2011-10-13 16:18:41.000000000 +0200
@@ -89,6 +89,7 @@
 Patch18:        plasma-libs.diff
 Patch20:        ignore-inline-menu.diff
 Patch24:        ksuseinstall.diff
+Patch25:        82c463cf8e66850417ea4f8b7ff801cff860871e.diff
 PreReq:         permissions
 Requires:       soprano >= %( echo `rpm -q --queryformat '%{VERSION}' 
libsoprano-devel`)
 Recommends:     strigi >= %( echo `rpm -q --queryformat '%{VERSION}' 
strigi-devel`)
@@ -148,6 +149,7 @@
 %patch18 -p1
 %patch20
 %patch24
+%patch25 -p1
 #
 # define KDE version exactly
 #

++++++ 82c463cf8e66850417ea4f8b7ff801cff860871e.diff ++++++
commit 82c463cf8e66850417ea4f8b7ff801cff860871e
Author: Stephan Kulow <[email protected]>
Date:   Thu Oct 13 11:08:56 2011 +0200

    Call mkdir before relying on directories
    
    If you need a file in a local directory, you need to call mkdir first.
    This bug has been around for a while, both openSUSE and kubuntu have
    patches applied to ignore the error. But fixing it instead sounds much
    more appealing - it's easy to ignore though as it will go away once
    some other code creates ~/.local/share for Trash.

diff --git a/kfile/kfileplacessharedbookmarks.cpp 
b/kfile/kfileplacessharedbookmarks.cpp
index d9efe89..9cbdcf4 100644
--- a/kfile/kfileplacessharedbookmarks.cpp
+++ b/kfile/kfileplacessharedbookmarks.cpp
@@ -113,7 +113,9 @@ 
KFilePlacesSharedBookmarks::KFilePlacesSharedBookmarks(KBookmarkManager * mgr)
 {
     m_placesBookmarkManager = mgr;
     
-    const QString file = KStandardDirs().localxdgdatadir() + 
"/user-places.xbel";
+    // we check later if the directory exists 
+    KStandardDirs::makeDir(KStandardDirs().localxdgdatadir());
+    const QString file = KStandardDirs().localxdgdatadir() + 
"user-places.xbel";
     m_sharedBookmarkManager = KBookmarkManager::managerForExternalFile(file); 
     
     connect(m_sharedBookmarkManager, SIGNAL(changed(const QString&, const 
QString&)),

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to