[game-data-packager] 11/17: Build-depend on Inkscape and use it to generate Memento Mori icons with/without the "II" part
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 1d15756443a9d74c3d5a2375ab6b2855df2c36f8
Author: Simon McVittie <smcv at debian.org>
Date: Sun Jul 12 17:11:31 2015 +0100
Build-depend on Inkscape and use it to generate Memento Mori icons with/without the "II" part
---
Makefile | 8 ++++++++
debian/changelog | 2 ++
debian/control | 1 +
3 files changed, 11 insertions(+)
diff --git a/Makefile b/Makefile
index 1558948..07ba767 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ TEST_SUITE += rott spear-of-destiny wolf3d heretic
png := $(patsubst ./data/%.xpm,./out/%.png,$(wildcard ./data/*.xpm))
svgz := $(patsubst ./data/%.svg,./out/%.svgz,$(wildcard ./data/*.svg))
+png += out/memento-mori.png
in_yaml := $(wildcard ./data/*.yaml)
json := $(patsubst ./data/%.yaml,./out/%.json,$(in_yaml))
copyright := $(patsubst ./data/%,./out/%,$(wildcard ./data/*.copyright))
@@ -40,6 +41,12 @@ out/changelog.gz: debian/changelog
out/game-data-packager: run
install -m644 run out/game-data-packager
+out/memento-mori.svg: data/memento-mori-2.svg
+ inkscape --export-plain-svg=$@ --export-id=layer1 --export-id-only $<
+
+out/memento-mori.png: out/memento-mori.svg
+ inkscape --export-png=$@ -w96 -h96 $<
+
out/%.png: data/%.xpm
convert $< $@
@@ -61,6 +68,7 @@ clean:
rm -f ./out/*.preinst.in
rm -f ./out/*.png
rm -f ./out/*.svgz
+ rm -f ./out/*.svg
rm -f ./out/*.json
rm -rf game_data_packager/__pycache__
for d in $(DIRS); do [ ! -d "$$d" ] || rmdir "$$d"; done
diff --git a/debian/changelog b/debian/changelog
index a963fc2..3e732e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -56,6 +56,8 @@ game-data-packager (42) UNRELEASED; urgency=medium
distinguish between that and the other CC-BY-3.0 flavours
* debian/copyright: document provenance of Tango-derived PD icons
* Move the "m" and "II" of the Memento Mori (II) logo SVG into layers
+ * Build-depend on Inkscape and use it to generate Memento Mori icons
+ with/without the "II" part
-- Simon McVittie <smcv at debian.org> Sun, 03 May 2015 14:34:00 +0200
diff --git a/debian/control b/debian/control
index 374345c..cd042bf 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends:
dh-python,
fakeroot,
imagemagick,
+ inkscape,
pyflakes,
python3,
python3-debian,
--
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