Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117158 - media-video/vlc-0.8.1-r1 missing Gnome icon
Summary: media-video/vlc-0.8.1-r1 missing Gnome icon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-29 23:33 UTC by Hugo
Modified: 2006-06-25 22:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo 2005-12-29 23:33:41 UTC
Emerged the following package:

[ebuild   R   ] media-video/vlc-0.8.1-r1  -3dfx +X +a52 +aac -aalib +alsa (-altivec) +arts +bidi +cdda -cddb +cdio -debug +dts -dvb +dvd +esd -fbcon +ffmpeg +flac +freetype -ggi +gnutls +gtk2 +httpd -joystick -libcaca -lirc +live +mad +matroska +mpeg +nls +ogg +opengl +oss +sdl +ssl +stream -svg +svga +theora -unicode +v4l +vcd +vlm +vorbis +wxwindows -xosd +xv 0 kB

No icon in the Gnome menu (Applications -> Sound & Video -> VLC Media Player)
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-30 02:24:57 UTC
The .desktop is installed in the right place, the icon too, Gnome team, can you give a look what's up with that?
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-01-01 17:59:05 UTC
The icon appears to need to go in /usr/share/pixmaps, not in /usr/share/icons/hicolor/48x48 for it to be picked up by the menu.  When I copy it there, it works.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-01 23:16:02 UTC
Okay so tell me why it does _not_ respect fdo specs, because that's, at least, silly.
It used to work the current way, by the way.
Comment 4 Leonardo Boshell (RETIRED) gentoo-dev 2006-01-02 23:59:02 UTC
GNOME follows the fdo specs regarding icon themes. What's probably going on here is that /usr/share/icons/hicolor already has a binary cache file, and it's not being updated after installing the image under that folder.

Running "gtk-update-icon-cache -f $ROOT/usr/share/icons/hicolor" from pkg_postinst() or something similar should do the trick. You can take a look at gnome2_icon_cache_update() in gnome2.eclass to see an example.

On a side note, while testing this, I noticed that the .desktop file has "Exec=wxvlc", but 'wxvlc' is not available in my system (I guess that's because I installed vlc with USE="-wxwindows") so the menu entry simply fails. You might want to take a loot at that too while you're at it. Thanks :)
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-03 00:05:03 UTC
Yep the .desktop file should be conditional to wxwindows useflag, I'll fix that.

Leonardo, can you provide a patch for the gtk-update-icon-cache thing? I don't have gnome installed here so I can just assume, and it's not so good to assume :|
Also, is this going to be needed for everything that install icons in hicolor? In which case, I think we should really find time to write something in /proj/en/desktop, like a guide on how to install "fdo compliant" .desktop and icon files, and what is needed to be done (like this update thing) so that we can push for respecting the specs from ebuild as it's possible.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-01 22:40:41 UTC
Assigning to GNOME herd to find a solution (that won't clutter the ebuild hopefully).
Comment 7 foser (RETIRED) gentoo-dev 2006-04-27 07:50:19 UTC
just inherit the gnome2 eclass, it's postinst should do the the trick.
Comment 8 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-06-25 22:59:51 UTC
added inherit gnome2 to >=0.8.4-r1