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

Vishesh Handa me at vhanda.in
Mon Mar 25 11:07:53 GMT 2013


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


Seems like a good idea to me. I cannot have a "Ship it" as I'm not familiar with the code.

Btw, I just checked and I have a `prepend XDG_DATA_DIRS $KDEDIR/share` in my KDE environment variables, that is probably why I never encountered this.

- Vishesh Handa


On March 24, 2013, 4:31 p.m., Andreas Hartmetz wrote:
> 
> -----------------------------------------------------------
> 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.
> 
> 
> 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
> -----
> 
>   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/20130325/f3f5b537/attachment.htm>


More information about the kde-core-devel mailing list