1 |
I am writing an ebuild and wishing to use make_desktop_entry |
2 |
|
3 |
I have two problems with it: |
4 |
|
5 |
1. the resulting desktop file is called laby-laby.desktop rather than |
6 |
just laby.desktop |
7 |
|
8 |
2. the "Comment" in the desktop file says "Comment=Based on the eutils eclass" |
9 |
|
10 |
1. I am unable to work out at all, except to say that my frozen-bubble |
11 |
entry is named similarly (ie frozen-bubble-frozen-bubble.desktop) and is |
12 |
also created by make_desktop_entry |
13 |
|
14 |
2. seems to arise from this in /usr/portage/eclass/eutils.eclass |
15 |
|
16 |
[snip] |
17 |
DESCRIPTION="Based on the ${ECLASS} eclass" |
18 |
[snip] |
19 |
echo "[Desktop Entry] |
20 |
Encoding=UTF-8 |
21 |
Version=0.9.2 |
22 |
Name=${name} |
23 |
Type=Application |
24 |
Comment=${DESCRIPTION} |
25 |
Exec=${exec} |
26 |
Path=${path} |
27 |
Icon=${icon} |
28 |
Categories=Application;${type};" > "${desktop}" |
29 |
|
30 |
I would have thought perhaps that DESCRIPTION would have been the same |
31 |
as the line in the ebuild. |
32 |
|
33 |
DESCRIPTION="Lost Labyrinth, a rogue like game" |
34 |
|
35 |
is this a bug? |
36 |
|
37 |
The line in my ebuild is: |
38 |
|
39 |
make_desktop_entry laby "Lost Labyrinth" ${PN}.xpm "Game;RolePlaying;" |
40 |
|
41 |
Thanks for any suggestions. this line appears in /usr/portage/eclass/eutils.eclass |
42 |
|
43 |
# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.194 2005/08/09 22:40:39 vapier Exp $ |
44 |
|
45 |
|
46 |
-- |
47 |
Nick Rout <nick@×××××××.nz> |
48 |
|
49 |
-- |
50 |
gentoo-dev@g.o mailing list |