Bug#624613: Icons in hicolor have wrong names (texmakerNxN.png instead of texmaker.png)

Maia Kozheva sikon at ubuntu.com
Sat Apr 30 06:17:59 UTC 2011


Package: texmaker
Version: 3.0-1
Severity: minor

In the texmaker-data package, the icons in /usr/share/icons/hicolor are named texmakerNxN.png instead of texmaker.png. 
This causes XDG-compliant software to think that texmaker has no 128x128 icon, causing it to display the 32x32-one - 
stretched and blurry if it's used at higher resolutions.

I have solved this problem in Ubuntu by adding this chunk to debian/rules:

override_dh_install:
	dh_install
	# Rename all hicolor icons to texmaker.png
	for i in 16 22 32 48 64 128 ; do \
		mv $(CURDIR)/debian/$(data)/usr/share/icons/hicolor/$${i}x$${i}/apps/$(pkg)$${i}x$${i}.png \
                $(CURDIR)/debian/$(data)/usr/share/icons/hicolor/$${i}x$${i}/apps/$(pkg).png ; \
        done
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20110430/5cae5d6e/attachment.pgp>


More information about the debian-science-maintainers mailing list