Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75900 - sci-misc/qcad doesn't add a desktop file
Summary: sci-misc/qcad doesn't add a desktop file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 04:14 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-03-16 18:41 UTC (History)
0 users

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


Attachments
Patch over current ebuild (qcad-entry.patch,295 bytes, patch)
2004-12-28 04:15 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-28 04:14:44 UTC
Currently, qcad doesn't add a desktop entry so it doesn't appear in menus.
The attached patch calls make_desktop_entry to add one.
Note: no icons are shipped with qcad, so I simply set the icon to 'qcad', so that icon themes can add an apps/qcad icon, and it will automatically be used. The default value for make_desktop_entry's icon parameter is, imho, wrong: ${PN}.png requires that the icon is in png format, but fd.o standards states that it could be everything, a png or an xpm, or also a svg, so only the name should be used.
Desktop environments takes care of find the right icon for the name, or to show a default icon if missing.

HTH,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-28 04:15:01 UTC
Created attachment 47023 [details, diff]
Patch over current ebuild
Comment 2 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-03-16 18:41:47 UTC
This is fixed in CVS now, version 2.0.4.0-r1. Thanks for the tip.