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

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

commit e73bcd777de5b86fdd092753c165f8cf84f51125
Author: Simon McVittie <s...@debian.org>
Date:   Sat Jul 9 16:31:09 2011 +0100

    Build and install a scalable Quake icon
---
 .gitignore           |  1 +
 Makefile             | 13 +++++++++++--
 debian/quake.install |  1 +
 3 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 301e44a..62bb444 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /256/
 /quake
 /quake.xpm
+/quake.svg
diff --git a/Makefile b/Makefile
index c29c2af..df55eef 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,8 @@ obj = \
        24/quake.png \
        32/quake.png \
        48/quake.png \
-       256/quake.png
+       256/quake.png \
+       quake.svg
 
 all: $(obj)
 
@@ -35,5 +36,13 @@ quake.xpm: 32/quake.png
        convert $< $@
 
 clean: 
-       rm -f $(obj)
+       rm -f $(obj) tmp.svg
        rm -rf 16 22 24 32 48 256
+
+quake.svg: quake1+2.svg Makefile
+       xmlstarlet ed -d "//*[local-name() = 'g' and @id != 'layer-quake-256']" 
< $< > tmp.svg
+       inkscape \
+               --export-area-page \
+               --export-plain-svg=$@ \
+               tmp.svg
+       rm -f tmp.svg
diff --git a/debian/quake.install b/debian/quake.install
index 2e162a4..fb15b48 100644
--- a/debian/quake.install
+++ b/debian/quake.install
@@ -8,3 +8,4 @@ quake.xpm      /usr/share/pixmaps
 24/quake.png   /usr/share/icons/hicolor/24x24/apps
 22/quake.png   /usr/share/icons/hicolor/22x22/apps
 16/quake.png   /usr/share/icons/hicolor/16x16/apps
+quake.svg      /usr/share/icons/hicolor/scalable/apps

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

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to