FS#35869 - [archlinux-xdg-menu] 0.7.6.1-1 SVG Icons Fail in Openbox

Attached to Project: Community Packages
Opened by Dave (DaveCode) - Friday, 21 June 2013, 01:03 GMT
Last edited by Sergej Pupykin (sergej) - Sunday, 18 August 2013, 11:20 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Example, mp3splt-gtk on an xdg_menu in Openbox shows no icon, even though it ships two icon files. One is SVG, the other PNG. The .desktop file cites the SVG variant as it should. Openbox can't display SVG icons in its right-click menu.

The idea is a new option to xdg_menu for PNGs over SVGs where available, and possibly generating PNG from SVG if not.

For reference, here's the command we currently use.

xdg_menu --die-on-error --format openbox3-pipe --root-menu /etc/xdg/menus/arch-applications.menu > "${XDG_CONFIG_HOME}/openbox/menu-apps.xml"
This task depends upon

Closed by  Sergej Pupykin (sergej)
Sunday, 18 August 2013, 11:20 GMT
Reason for closing:  Not a bug
Comment by Fabrice Thiroux (mimas) - Sunday, 18 August 2013, 09:09 GMT
Openbox doesn't display SVG icons because librsvg is treated as an optional dependency. I rebuild the package (version 3.5.2-1) with librsvg in `depends` variable to make it displays SVG graphics.

Now Openbox is dynamically linked to libsrvg library.

$ ldd /usr/bin/openbox | grep svg
librsvg-2.so.2 => /usr/lib/librsvg-2.so.2 (0xb6fbe000)

Please, edit the PKGBUILD.

Loading...