[kde] [Bug 315452] put /usr/local/share in front of /usr/share in XDG_DATA_DIRS
Woodsman
darrella at hushmail.com
Thu Mar 14 16:51:40 GMT 2013
https://bugs.kde.org/show_bug.cgi?id=315452
--- Comment #1 from Woodsman <darrella at hushmail.com> ---
Created attachment 78072
--> https://bugs.kde.org/attachment.cgi?id=78072&action=edit
Patch to update startkde in accordance with XDG and KDEDIRS specifications
I agree with the original report. The XDG_DATA_DIRS specification says the same
thing:
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables
In startkde the XDG_DATA_DIRS variable should be explicitly set only when KDE
is installed in a non standard location, such as /opt. When KDE is installed in
/usr then startkde should not be explicitly setting XDG_DATA_DIRS.
I discovered the same basic problem as the OP when I modified my $KDEDIRS
variable with an additional directory. Most of the files in that additional
directory were not being recognized. Everything work as expected when I
commented out the current XDG_DATA_DIRS snippet in startkde. The current
startkde snippet works for most use cases only because many people never expand
the $KDEDIRS variable and many distros are designed with XDG_DATA_DIRS already
set. In the former case there is no damage and in the latter case the snippet
never executes.
I am attaching a patch for startkde.cmake in the kde-workspaces sources. The
patch contains verbose comments about when to set XDG_DATA_DIRS so future
developers are careful about changes.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list