[game-data-packager] 02/02: Revert "also include 2 .svg icons in .deb"

Simon McVittie smcv at debian.org
Fri Jul 29 10:00:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository game-data-packager.

commit a222bd05f0bdca493bf1bee63f2d21ae5b09cc01
Author: Simon McVittie <smcv at debian.org>
Date:   Fri Jul 29 10:52:57 2016 +0100

    Revert "also include 2 .svg icons in .deb"
    
    If we wanted the Memento Mori icons, we should compress them and install
    them as .svgz. However, they use SVG features that librsvg cannot
    render, so they'd look wrong on all GTK-based desktops; we render them
    to bitmaps and ship those instead. See commit 64f159a, in v42.
    
    This reverts commit 6dabef06e5ab0d641e1163dae58b65a7cb11ec6a.
---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 3e9d5e7..3b20eb5 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,9 @@ TEST_SUITE += rott spear-of-destiny wolf3d heretic
 png       := $(patsubst ./data/%.xpm,./out/%.png,$(wildcard ./data/*.xpm))
 png       += $(patsubst ./data/%.svg,./out/%.png,$(wildcard ./data/*.svg))
 png       += out/memento-mori.png
+# We deliberately don't compress and install memento-mori{,-2}.svg because
+# they use features that aren't supported by librsvg, so they'd look wrong
+# in all GTK-based environments.
 svgz      := $(patsubst ./data/%.svg,./out/%.svgz,$(filter-out ./data/memento-mori-2.svg,$(wildcard ./data/*.svg)))
 in_yaml   := $(wildcard ./data/*.yaml)
 json      := $(patsubst ./data/%.yaml,./out/vfs/%.json,$(in_yaml))
@@ -138,7 +141,6 @@ install:
 	install -m0644 out/*.copyright                         $(DESTDIR)$(datadir)/game-data-packager/
 	install -m0644 out/*.png                               $(DESTDIR)$(datadir)/game-data-packager/
 	install -m0644 out/*.svgz                              $(DESTDIR)$(datadir)/game-data-packager/
-	install -m0644 out/*.svg                               $(DESTDIR)$(datadir)/game-data-packager/
 	install -m0644 out/bash_completion                     $(DESTDIR)$(datadir)/game-data-packager/
 	install -m0644 out/changelog.gz                        $(DESTDIR)$(datadir)/game-data-packager/
 	install -m0644 out/copyright                           $(DESTDIR)$(datadir)/game-data-packager/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list