Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 75900

Summary: sci-misc/qcad doesn't add a desktop file
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch over current ebuild

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.