David Faure faure at kde.org
Wed Jun 4 09:16:17 BST 2008

On Thursday 29 May 2008, Sune Vuorela wrote:
> Hi1
> kstanddarddirs seems to be looking in the following places for <stuff>
> with $suffix, for example being share/apps - and SPECIFIC_INSTALL_DIR for 
> example being DATA_INSTALL_DIR.
> And that is the current priority order.
> If CMAKE_INSTALL_PREFIX is set to /usr and DATA_INSTALL_DIR is set to 
> /usr/share/kde4, we have the following situation:
> apps looks for data first in users homedir, then in /usr/share/apps and then 
> finally in /usr/share/kde4/apps  until it finds something that *looks* like 
> what the app needs.  If a similar kde3 app (or lib) has its data in 
> /usr/share/apps, the kde3 version is currently being preferred by kde4 apps.
> (debian and fedora is at least hit by this)
> I have tried to patch kstandarddirs in a way that makes the following 
> priorities:
> users home
> installdir
> prefix/path
> which fixes it.

OK, that makes sense.

> I don't fully know if my patch have any unwanted side effects though.

We'll see soon enough... :)

I hope you ran the kstandarddirs unit test at least :)

David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

More information about the kde-core-devel mailing list