Package: frozen-bubble Version: 2.212-4+b1 Severity: minor Tags: patch The frozen-bubble icon looks quite blurry on desktops with larger icons (e.g. GNOME) because of its low resolution (only 32x32 pixels). I noticed that there are more icons in the source package, including a version with higher resolution. These icons seem to have been installed in the past but these parts were commented out in the rules file. I uncommented and fixed these parts of the maintainer scripts (see attached patch). The frozen-bubble icon now looks much better...
-- System Information: Debian Release: 8.1 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 4.1.0-trunk-686-pae (SMP w/5 CPU cores) Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages frozen-bubble depends on: ii frozen-bubble-data 2.212-4 ii libalien-sdl-perl 1.444-1 ii libc6 2.19-18 ii libcompress-bzip2-perl 2.18-2 ii libglib2.0-0 2.42.1-1 ii liblocale-gettext-perl 1.05-8+b1 ii libsdl-mixer1.2 1.2.12-11+b1 ii libsdl-pango1 0.1.2-6 ii libsdl-perl 2.542-1+b1 ii libsdl1.2debian 1.2.15-10+b1 ii perl 5.20.2-3+deb8u1 ii perl-base [perlapi-5.20.0] 5.20.2-3+deb8u1 frozen-bubble recommends no packages. frozen-bubble suggests no packages. -- no debconf information
diff --git a/debian/frozen-bubble.install b/debian/frozen-bubble.install index 482dd21..88d3b3e 100755 --- a/debian/frozen-bubble.install +++ b/debian/frozen-bubble.install @@ -12,6 +12,7 @@ print "debian/tmp/$vendorarch/auto/Games $vendorarch/auto/\n"; print <<EOF debian/tmp/usr/bin/frozen* usr/games debian/tmp/usr/bin/fb-server usr/lib/games/frozen-bubble/ +debian/tmp/usr/share/icons usr/share/ debian/tmp/usr/share/man debian/frozen-bubble.xpm usr/share/pixmaps debian/frozen-bubble.desktop usr/share/applications diff --git a/debian/rules b/debian/rules index f688242..07d250e 100755 --- a/debian/rules +++ b/debian/rules @@ -13,15 +13,16 @@ override_dh_install: for i in Net MDKCommon LevelEditor Stuff ; do \ rm $(DEST_DIR)/share/man/man3/Games::FrozenBubble::$$i.3pm* ; \ done + # copy icons to correct destinations + cd share/icons && \ + for i in frozen-bubble-icon-*.png; do \ + size=$${i%.png}; size=$${size#frozen-bubble-icon-}; \ + dirname=../../debian/tmp/usr/share/icons/hicolor/"$$size"/apps; \ + mkdir -p $$dirname; \ + cp "$$i" $$dirname/frozen-bubble.png; \ + done dh_install # #$(MAKE) install PREFIX=$(DEST_DIR) DATADIR=$(DEST_DIR)/share/games LOCALEDIR=$(DEST_DIR)/share/locale LIBDIR=$(DEST_DIR)/lib/games BINDIR=$(DEST_DIR)/games MANDIR=$(DEST_DIR)/share/man INSTALLDIRS=vendor # #cd $(DEST_DIR)/share/locale && chmod 644 */LC_MESSAGES/*.mo # mkdir $(DEST_DIR)/games # dh_install -# cd $(DEST_DIR)/share/icons && \ -# for i in frozen-bubble-icon-*.png; do \ -# size=$${i%.png}; size=$${size#frozen-bubble-icon-}; \ -# dirname=../../debian/frozen-bubble/usr/share/icons/hicolor/"$$size"/apps; \ -# mkdir -p $$dirname; \ -# cp "$$i" $$dirname/frozen-bubble.png; \ -# done \ No newline at end of file