Summary: | dev-util/netbeans .desktop file cleanup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Development Tools Team <dev-tools> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | betelgeuse, cm |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch over current ebuild
Enhanced patch over current ebuild |
Description
Diego Elio Pettenò (RETIRED)
2005-02-05 09:48:15 UTC
Created attachment 50454 [details, diff]
Patch over current ebuild
Created attachment 50543 [details, diff]
Enhanced patch over current ebuild
This enhanced patch should be better than the one before. It has some little
changes:
- The netbeans.png icon in ${FILESDIR} is needed no more. The icons inside
/opt/${P}/bin/icons are used, symlinking them into the /usr/share/icons/hicolor
structure.
- The .desktop uses "netbeans" as icon name, so that the WM known where to get
the icon from their own theme or from the default hicolor theme. fd.o specs
states that the extension of the icon should be omitted, as there can be
different icons of different formats. This also allows other icon themes
(Nuvola or others) to define a new icon for NetBeans, which will be
automatically used by it.
- The description is changed to something less redundant, making it possible to
use it without problems as Comment field on the .desktop file (yes this could
be opinable... I thought that if Description and Comment have the same meaning,
describe something with it's name is not so useful.
HTH
http://bugs.gentoo.org/show_bug.cgi?id=68734 I will add this to the 4.0 ebuild too. The icons are in different place in 4.0 but I can take care about that. 4.0 work version is here http://a.bo.cx/b/gentoo/netbeans/netbeans-4.0.ebuild It now has this type of icon handling. Check the previous link for using a for loop in installing the icons. It's more compact and easier to maintain. Just a question, how come the 3.6 ebuild have the gnome and kde flags, while the 4.0 have debug and doc? I'm trying a 4.0 install anyway. :') I removed gnome and kde flags as they was used to install the shortcut in the respective menus. The patch I sent uses the freedesktop.org XDG menu, which is used both by kde and gnome (and other guis too), so the two flags are needed no more. Ok, thanks for the info. One more question though: Where can I find the source tarballs, or do I have to use a binary install to try 4.0 right now? (Would like to try the new j2me features) There's an ebuild in https://gentooexperimental.org/svn/java/gentoo-java-experimental/dev-util/netbeans/netbeans-4.0.ebuild That fetches the tarball automaticly. It is a development version so please report any problems to me. Fixed with the 4.0 ebuild. |