Currently poseidonCE ebuild install a non-valid .desktop file when the kde use flag is set. This make it not appear on kde's menu. Also it installs it into the kde-dir (which depends on the slot) instead than in the /usr/share directory (as other applications do). Also, it installs icon and desktop file if one of gnome or kde support is requested (so it request to select a support). The attached ebuild creates a single standard desktop file without GNOME or KDE extensions, and places it into /usr/share/applications, where both KDE and GNOME (and also desktop environments afaik) can look at it. This removes the need of having the gnome and kde use-flags, installing always the icon and the desktop entry.
Created attachment 46393 [details] poseidonCE-3.0.1.ebuild
Created attachment 46394 [details, diff] Patch over 3.0.1 ebuild. Also attached the patch because it seems to be a pretty small change.
Created attachment 46402 [details] poseidonCE-3.0.1.ebuild I was hacking around with desktop-file-utils from fd.o and I found that there was a little omission on the .desktop file categories. Now the desktop file is fd.o compliant. Also, seems like azureus make the .desktop file in the files/ subdir, now I'm wondering which of the two is the better solution. If someone tells me to do the .desktop directly I can do it immediatly (seems to me like a cleaner solution). Patch over current ebuild follow.
Created attachment 46403 [details, diff] Patch over 3.0.1 ebuild (updated)
maybe it would be better to use make_desktop_entry from eutils.eclass?
changed ebuild to use make_desktop_entry, let me know if it doesn't work right