First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 80877
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Development Tools Team <dev-tools@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
netbeans-desktop.patch Patch over current ebuild patch Diego E. 'Flameeyes' Pettenò 2005-02-05 09:48 0000 1.85 KB Details | Diff
netbeans.patch Enhanced patch over current ebuild patch Diego E. 'Flameeyes' Pettenò 2005-02-06 09:26 0000 2.63 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 80877 depends on: Show dependency tree
Bug 80877 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-02-05 09:48 0000
Currently dev-util/netbeans uses two non-standard .desktop file: one for gnome,
and one for kde.
The attached patch applied over current ebuild makes it use make_desktop_entry
function from eutils class (see bug #74999 for a similar bug for
dev-util/poseidonCE).

HTH, Diego

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2005-02-05 09:48:57 0000 -------
Created an attachment (id=50454) [edit]
Patch over current ebuild

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2005-02-06 09:26:42 0000 -------
Created an attachment (id=50543) [edit]
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

------- Comment #3 From Petteri Räty 2005-02-06 14:18:07 0000 -------
http://bugs.gentoo.org/show_bug.cgi?id=68734
I will add this to the 4.0 ebuild too. 

------- Comment #4 From Petteri Räty 2005-02-06 14:36:20 0000 -------
The icons are in different place in 4.0 but I can take care about that. 

------- Comment #5 From Petteri Räty 2005-02-06 15:14:46 0000 -------
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. 


------- Comment #6 From Petteri Räty 2005-02-07 09:53:44 0000 -------
Check the previous link for using a for loop in installing the icons. It's more
compact and easier to maintain. 

------- Comment #7 From Claes Mogren 2005-02-10 13:11:37 0000 -------
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. :')

------- Comment #8 From Diego E. 'Flameeyes' Pettenò 2005-02-11 06:45:07 0000 -------
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.

------- Comment #9 From Claes Mogren 2005-02-11 06:51:06 0000 -------
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)

------- Comment #10 From Petteri Räty 2005-03-13 11:11:10 0000 -------
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.

------- Comment #11 From Petteri Räty 2005-05-17 10:59:52 0000 -------
Fixed with the 4.0 ebuild.

First Last Prev Next    No search results available      Search page      Enter new bug