By default, epdfview will not have an icon show up in the menu; this is due to an older call-out in the .desktop entry. Epdfview does ship its own icons, though not installed by default. With a few lines added to the ebuild, these can be installed and force the .desktop entry to use them. That way, the icon should work out of the box for users: While I still do not quite understand ebuilds, this is basically how it could be done: # Add icons: install -d $PKG/usr/share/icons/hicolor/{24x24,32x32,48x48}/apps install -m644 data/icon_epdfview-24.png "$PKG/usr/share/icons/hicolor/24x24/apps/epdfview.png" install -m644 data/icon_epdfview-32.png "$PKG/usr/share/icons/hicolor/32x32/apps/epdfview.png" install -m644 data/icon_epdfview-48.png "$PKG/usr/share/icons/hicolor/48x48/apps/epdfview.png" # Fix path to icons in .desktop file sed -i 's#Icon=postscript-viewer.png#Icon=epdfview#' $PKG/usr/share/applications/epdfview.desktop Reproducible: Always Steps to Reproduce: 1. emerge epdfview 2. view menu stock menu entry 3.
Created attachment 177966 [details] put this file into /usr/share/pixmaps/ and to get an icon
+*epdfview-0.1.7 (19 Mar 2009) + + 19 Mar 2009; Peter Alfredsen <loki_val@gentoo.org> +epdfview-0.1.7.ebuild: + Bump, bug 261123. Fix icons, bug 253993. Bump also presumably fixes bug + 188980, since it was fixed in SVN at the time. +