Bug#680078: zsnes: Please install high-res PNG icons provided with the sources

Etienne Millon etienne.millon at gmail.com
Tue Jul 3 12:52:39 UTC 2012


* Fabian Greffrath <fabian at greffrath.com> [120703 14:41]:
> Hi,
> 
> I was excited to see that there are four beautiful icons (well, at least in
> comparison with debian/zsnes.xpm) in different resolutions shipped in the
> src/icons/ directory of the ZSNES sources. Please find attached a patch against
> debian/rules to install these icons in the appropriate place so they are picked
> up as icons for the zsnes.desktop file.

Hello,

Thanks for the good suggestions to zsnes, this helps. Would you be
interested in co-maintaining this package with us ?

Regarding this particular patch :

> +override_dh_install:
> +	dh_install
> +	for res in 16 32 48 64; do \
> +		mkdir -p debian/zsnes/usr/share/icons/hicolor/$${res}x$${res}/apps; \
> +		cp -f src/icons/$${res}x$${res}x32.png \
> +			debian/zsnes/usr/share/icons/hicolor/$${res}x$${res}/apps/zsnes.png; \
> +	done

I believe that adding

  src/icons/16x16.png   usr/share/icons/hicolor/16x16/apps/zsnes.png

and similar other lines to debian/zsnes.install would be more readable.

-- 
Etienne Millon





More information about the Pkg-games-devel mailing list