Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74999 - dev-util/poseidonCE .desktop file cleanup
Summary: dev-util/poseidonCE .desktop file cleanup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-19 19:18 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2004-12-22 04:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
poseidonCE-3.0.1.ebuild (poseidonCE-3.0.1.ebuild,1.64 KB, text/plain)
2004-12-19 19:18 UTC, Diego Elio Pettenò (RETIRED)
Details
Patch over 3.0.1 ebuild. (poseidonCE.patch,1.88 KB, patch)
2004-12-19 19:19 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
poseidonCE-3.0.1.ebuild (poseidonCE-3.0.1.ebuild,1.64 KB, text/plain)
2004-12-19 20:07 UTC, Diego Elio Pettenò (RETIRED)
Details
Patch over 3.0.1 ebuild (updated) (poseidonCE.patch,1.88 KB, patch)
2004-12-19 20:07 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-19 19:18:15 UTC
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.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-19 19:18:49 UTC
Created attachment 46393 [details]
poseidonCE-3.0.1.ebuild
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-19 19:19:40 UTC
Created attachment 46394 [details, diff]
Patch over 3.0.1 ebuild.

Also attached the patch because it seems to be a pretty small change.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-19 20:07:06 UTC
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.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-19 20:07:52 UTC
Created attachment 46403 [details, diff]
Patch over 3.0.1 ebuild (updated)
Comment 5 Thomas Matthijs (RETIRED) gentoo-dev 2004-12-21 09:23:36 UTC
maybe it would be better to use make_desktop_entry from eutils.eclass?
Comment 6 Thomas Matthijs (RETIRED) gentoo-dev 2004-12-22 04:31:28 UTC
changed ebuild to use make_desktop_entry, let me know if it doesn't work right