[game-data-packager] 15/17: Where SVG icons exist, strip Inkscape-specific code for the installed .svgz version
Simon McVittie
smcv at debian.org
Sun Jul 12 16:34:37 UTC 2015
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 7f412a9456812713aa2350b20950aedc3b9a4a1e
Author: Simon McVittie <smcv at debian.org>
Date: Sun Jul 12 17:18:57 2015 +0100
Where SVG icons exist, strip Inkscape-specific code for the installed .svgz version
---
Makefile | 5 ++++-
debian/changelog | 2 ++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index b3310b1..a98507c 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,9 @@ out/changelog.gz: debian/changelog
out/game-data-packager: run
install -m644 run out/game-data-packager
+out/%.svg: data/%.svg
+ inkscape --export-plain-svg=$@ $<
+
out/memento-mori.svg: data/memento-mori-2.svg
inkscape --export-plain-svg=$@ --export-id=layer1 --export-id-only $<
@@ -54,7 +57,7 @@ out/%.png: data/%.xpm
out/%.png: data/%.svg
inkscape --export-png=$@ -w96 -h96 $<
-out/%.svgz: data/%.svg
+out/%.svgz: out/%.svg
gzip -nc $< > $@
$(DIRS):
diff --git a/debian/changelog b/debian/changelog
index e5e8f2a..3cdbc7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -61,6 +61,8 @@ game-data-packager (42) UNRELEASED; urgency=medium
* Do not generate a .svgz icon from memento-mori-2.svg, which uses
relatively complex SVG features that librsvg cannot render
* Where SVG icons exist, generate PNGs from those, not XPM icons
+ * Where SVG icons exist, strip Inkscape-specific code for the
+ installed .svgz version
* chex.svg: make the icon square
-- Simon McVittie <smcv at debian.org> Sun, 03 May 2015 14:34:00 +0200
--
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