FS#30113 - Order of paths in XDG_DATA_DIRS does not follow freedesktop.org standard

Attached to Project: Arch Linux
Opened by Douglas McFadzean (ninian) - Saturday, 02 June 2012, 17:11 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 02 June 2012, 21:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
The environment variable $XDG_DATA_DIRS is set by /etc/profile.d/xorg.sh (from the libx11 package), but it orders the paths thus:
export XDG_DATA_DIRS=/usr/share/:/usr/local/share/
which goes against the recommendation at http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html which states:
"If $XDG_DATA_DIRS is either not set or empty, a value equal to /usr/local/share/:/usr/share/ should be used."
Please reverse the path order if there is no good reason preventing Arch following the standard.

Additional info:
* libx11 1.4.99.902-1

Steps to reproduce:
Check the value of the environment variable $XDG_DATA_DIRS
Can affect packages such as mimeo which follow freedesktop.org standards
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 02 June 2012, 21:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 1.5.0-1

Loading...