Community
Participate
Working Groups
icon.xpm is distributed in the x86 and x86_64 directories (for Linux-GTK) but isn't copied over during build/install for other architectures such as ppc. Since build machinery exists for these platforms, it'd be cool if the icon could also get copied over to the same place. I'll attach a patch of what I've done in the mean time for our non-x86{,_64} builds (untested so far .. it's building now). I know it's a hack, so any advice is appreciated. Thanks, Andrew
Created attachment 18365 [details] hacky patch to copy the icon over from x86
Moving to SWT since we would need to include this file in other subdirectories in the platform-launcher project to fix.
The icon.xpm is apparently useless on linux and should be removed. Other platforms like Solaris Sparc has 4 special icons (Eclipse.m.pm file etc). Andrew - do you have suggestions to be friendly with the linux desktop regarding the launcher icon? Otherwise we'll just remove the icon.xpm which does nothing at the moment.
This is what we currently do during our RPM build: # rh/freedesktop.org icons install -p -D -m0644 eclipse-48.gif \ /usr/share/icons/hicolor/48x48/apps/eclipse.png install -p -D -m0644 eclipse-32.gif \ /usr/share/icons/hicolor/32x32/apps/eclipse.png install -p -D -m0644 eclipse-16.gif \ /usr/share/icons/hicolor/16x16/apps/eclipse.png install -d -m0755 /usr/share/pixmaps ln -s ../icons/hicolor/48x48/apps/eclipse.png \ /usr/share/pixmaps Perhaps shipping icons in the same sizes in PNG format would work? I'm just getting some opinions from some of the people more in the know with this and will post more soon.
Sorry for taking so long on this. I spoke with some people who work on GNOME and they said that we should just ship PNGs. I'm in favour of removing icon.xpm and replacing it with icon.png (48x48).
Please provide icons to the releng team.
Created attachment 21106 [details] 48x48 PNG of the Eclipse icon
Created attachment 21114 [details] Freedesktop menu entry file While we're at it, it would be cool if we could also include a freedesktop.org menu entry file for Eclipse. I've attached the one that JPackage.org, Fedora and RH use.
Moving back to SWT since the files should be placed in the appropriate locations in the platform-launcher project.
Any news on this? It would be great to get this fixed before 3.2 final.
Andrew, could you precisely tell where in an eclipse tree these icons should be installed?
(In reply to comment #11) > Andrew, could you precisely tell where in an eclipse tree these icons should be > installed? It looks like they're already included: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.platform/eclipse32.png?cvsroot=Eclipse_Project As for the .desktop file, Ben remembers Billy saying something about it last week. Billy?
The problem with .desktop files is that they require an absolute path. Since we're not shipping an installer, it is a little awkward to provide a .desktop file since it will look like something you can just use when in reality it may require editing. Andrew, do you agree with that? Maybe you can try it out and verify?
(In reply to comment #13) > The problem with .desktop files is that they require an > absolute path. Since we're not shipping an installer, it is > a little awkward to provide a .desktop file since it will > look like something you can just use when in reality it > may require editing. > > Andrew, do you agree with that? I agree. Thanks.
Based on comment #12, I believe this can be closed.
(In reply to comment #15) > Based on comment #12, I believe this can be closed. Actually, comment #12 was about the .desktop file. Can we remove icon.xpm from the builds as per comment #3? I see that the PNG files are in the drops and that's all that is used for Linux-GTK.
Could the request in comment #16 be fixed for 3.3M5? Thanks.
Ping :) Any chance somebody can deal with this? Thanks, Ben
Created attachment 87062 [details] patch to remove icon.xpm from linux builds
Fixed in builds >= N20080116-0010.
Bogdan, this is the bug I mentioned on Friday.
*** Bug 227711 has been marked as a duplicate of this bug. ***
So, the PNG file's were not put in? Even if not automatically associated, I always "manually" associate these icons with what ever launcher I create on Linux, so seems useful to me.
I suggest to reopen this bug. Obviously, the .xpm file has been removed. But no .png files have been added. In other words, there is currently no possibility to add an Eclipse icon for a custom launcher on Linux.
Andrew, would you consider adding the icon.png in the second attachment to the linux directories in the org.eclipse.equinox.executable project (same directories as icon.xpm). I would then update the builder to include them.
Confirm that this is still a problem with Ganymede build for both x86_64 and i386 Linux.
I'm not sure why this bug is marked fixed when there's still no icon provided as noted by other notes on this bug?
reopening
*** Bug 258073 has been marked as a duplicate of this bug. ***
Is this blocking on me? A 48x48 PNG of the icon is attached: https://bugs.eclipse.org/bugs/attachment.cgi?id=21106 Is there more I can do, Kim?
*** Bug 259709 has been marked as a duplicate of this bug. ***
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
This has long been fixed.