FS#35197 - [archlinux-xdg-menu] broken XDG_DATA_DIRS support

Attached to Project: Community Packages
Opened by ybsar (ybsar) - Saturday, 11 May 2013, 08:08 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 14 May 2013, 11:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

xdg_menu fails to find icons located in /usr/share/icons due to a broken XDG_DATA_DIRS support.

This broken implementation only recently bugged, since XDG_DATA_DIRS is not system-wide defined anymore.
https://mailman.archlinux.org/pipermail/arch-general/2013-February/032980.html
https://bugs.archlinux.org/task/31204

Attached is one-line patch to fix this issue.

Additional info:
* package version : 0.7.5.5-1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 14 May 2013, 11:59 GMT
Reason for closing:  Fixed
Comment by Matthias Dienstbier (fs4000) - Sunday, 12 May 2013, 13:08 GMT
Your patch is missing the trailing slashes.

see http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Comment by ybsar (ybsar) - Sunday, 12 May 2013, 14:15 GMT
They are missing at purpose, because xdg_menu add them later on.

It is just a quickfix to keep xdg_menu working, not to clean/rewrite it.

Loading...