Package: sgt-puzzles Version: 20170606.272beef-1 Severity: wishlist Tags: patch
In gnome-shell, application icons by default have size 96x96. Upstream allows to create 96x96 icons since 43b9eb1472d2a82e5369815511a9ae6681a61a08. These patches - create the icons as part of the build and - install the bigger versions as well Thanks, Adrian
>From bfb76991febe4b03a2b07a48b3d55b964ca930a6 Mon Sep 17 00:00:00 2001 From: Adrian Heine <m...@adrianheine.de> Date: Sat, 20 Jan 2018 16:30:24 +0100 Subject: [PATCH 1/2] Build icons --- debian/control | 2 +- debian/rules | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 8a58891f..4319612e 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: sgt-puzzles Maintainer: Ben Hutchings <b...@decadent.org.uk> Section: games Priority: optional -Build-Depends: debhelper (>= 9), halibut, libgtk-3-dev, liblocale-po-perl, perl, po4a, autoconf, automake +Build-Depends: debhelper (>= 9), halibut, libgtk-3-dev, liblocale-po-perl, perl, po4a, autoconf, automake, xvfb, xauth, imagemagick Standards-Version: 4.0.1 Homepage: https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ Vcs-Git: https://git.decadent.org.uk/git/sgt-puzzles.git/ diff --git a/debian/rules b/debian/rules index c1d35c2c..b159fc77 100755 --- a/debian/rules +++ b/debian/rules @@ -29,6 +29,7 @@ override_dh_auto_configure: override_dh_auto_build: $(MAKE) $(MAKE) -f Makefile.doc BINPREFIX=sgt- + cd icons/ && xvfb-run $(MAKE) all # Disable running tests; upstream tarballs don't include the necessary files override_dh_auto_test: -- 2.15.1
>From 123228f3c322631a075935e70a2ff258380d4397 Mon Sep 17 00:00:00 2001 From: Adrian Heine <m...@adrianheine.de> Date: Sat, 20 Jan 2018 12:47:03 +0100 Subject: [PATCH 2/2] Create 96x96 icons for gnome-shell --- debian/rules | 5 ++++ debian/sgt-puzzles.dirs | 1 + 4 files changed, 70 insertions(+) create mode 100644 debian/patches/hires-icons.diff diff --git a/debian/rules b/debian/rules index b159fc77..577bb54c 100755 --- a/debian/rules +++ b/debian/rules @@ -56,6 +56,11 @@ override_dh_install: install -m644 $$icon debian/sgt-puzzles/usr/share/icons/hicolor/48x48/apps/sgt-$$base.png \ || exit; \ done + for icon in icons/*-96d24.png; do \ + base="$$(basename $$icon -96d24.png)" && \ + install -m644 $$icon debian/sgt-puzzles/usr/share/icons/hicolor/96x96/apps/sgt-$$base.png \ + || exit; \ + done override_dh_auto_clean: ! [ -f Makefile ] || $(MAKE) distclean diff --git a/debian/sgt-puzzles.dirs b/debian/sgt-puzzles.dirs index 9d39c992..325a1024 100644 --- a/debian/sgt-puzzles.dirs +++ b/debian/sgt-puzzles.dirs @@ -1,5 +1,6 @@ usr/games usr/share/applications usr/share/icons/hicolor/48x48/apps +usr/share/icons/hicolor/96x96/apps usr/share/sgt-puzzles/help usr/share/man/man6 -- 2.15.1