[Bug 755890] Review Request: Snap A modular cross-platform system backup/restore utility

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 22 19:40:35 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=755890

--- Comment #3 from Richard Shaw <hobbes1069 at gmail.com> 2011-11-22 14:40:35 EST ---
I assume that the gsnap binary is a GUI[1]?

If so you should probably add a .desktop file and icon. The guidelines cover
what to do with the desktop file but where to place icons is a little more
fuzzy :)

I prefer to use /usr/share/icons/... For instance, if you had a 48x48 and
scalable (svg) icons named gsnap-48x48.png and gsnap.svg respectively you could
install them to the following locations (in your makefile or spec):

/usr/share/icons/hicolor/48x48/apps/gsnap.png (notice I rename the file without
the size) 
/usr/share/icons/hicolor/scalable/apps/gsnap.svg

Then grab them both in %files with:

%{_datadir}/icons/hicolor/*/apps/*

HTH,
Richard

[1] http://fedoraproject.org/wiki/Packaging:Guidelines#Desktop_files

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list