Review Request 109675: Make sure that the KDE prefix comes first in XDG_DATA_DIRS

Andreas Hartmetz ahartmetz at gmail.com
Sun Mar 24 16:31:33 GMT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109675/
-----------------------------------------------------------

(Updated March 24, 2013, 4:31 p.m.)


Review request for kdelibs and Vishesh Handa.


Changes
-------

Now using @SHARE_INSTALL_PREFIX at .


Description
-------

Planned commit message:

Make sure that the KDE prefix comes first in XDG_DATA_DIRS.
    
I tracked down a Nepomuk problem to this. Nepomuk file indexing didn't
work because the ontologies were too old. Nepomuk loaded ontologies
from /usr/share instead of my KDE prefix /opt/kde4/share, because
/opt/kde4 was the very last entry in the respective search list in
KStandardDirs. The first entries in that search list all came from
XDG_DATA_DIRS, which in my case (Kubuntu) is set by the X session
initialization scripts. That is before startkde runs, so startkde
never touched XDG_DATA_DIRS. But it should, and now it does.


Diffs (updated)
-----

  startkde.cmake 8361fe0 

Diff: http://git.reviewboard.kde.org/r/109675/diff/


Testing
-------


Thanks,

Andreas Hartmetz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130324/fd19f4f2/attachment.htm>


More information about the kde-core-devel mailing list