FS#11436 - eclipse 3.4-3 no icon in menu
Attached to Project:
Arch Linux
Opened by Ionut Biru (wonder) - Wednesday, 10 September 2008, 18:59 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 21 March 2009, 21:41 GMT
Opened by Ionut Biru (wonder) - Wednesday, 10 September 2008, 18:59 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 21 March 2009, 21:41 GMT
|
Details
Description:
eclipse.desktop has defined a path to an icon but isn't exist anymore. Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: install eclipse and look in Applications->Programming. |
This task depends upon
Closed by Eric Belanger (Snowman)
Saturday, 21 March 2009, 21:41 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in svn
Saturday, 21 March 2009, 21:41 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in svn
eclipse 3.4-3
eclipse 3.4-3
pacman -Ql eclipse | grep "/eclipse[0-9]*.png" reveals where the icons have been moved. Moreover the icons for 3.3 and 3.4 are identical.
I would like to propose the following:
Instead of pointing the icon variable in the .desktop file to one of those icons, we should make symlinks of them to /usr/share/icons/hicolor/{16x16,32x32,48x48}/apps/eclipse.png as proposed by the freedesktop standard. That way, each WM/DE/application can choose for itself which icon to use in which situation. A simple "Icon=eclipse" in the .desktop-file will then be sufficient and return optimal results.
I've also had the pleasure to find an unofficial SVG logo [1][2]. The logo has no concrete license, but the blog states the following:
"Feel free to use this icon as you would the official eclipse icon. I place no additional restrictions on its use that are not on the original."
Which IMHO means we have no problem.
This file should then be placed in /usr/share/icons/hicolor/scalable/apps/eclipse.svg
[1] http://bearfruit.org/blog/2007/08/09/eclipse-svg-icons
[2] http://www.bearfruit.org/files/eclipse-icon-clean.svg
cp /usr/share/eclipse/plugins/org.eclipse.sdk_3.4.1.v200809111700/eclipse.png /usr/share/pixmaps/
or edit /usr/share/applications/eclipse.desktop...
It seems to me that all that has to be done is to add a line to PKGBUILD, isn't it like that?
I'd really like to see this one in action. ^^
[1] http://bearfruit.org/blog/2007/08/09/eclipse-svg-icons#comment-801