[gcompris] Added an entry to transform this release from svg based to png.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gcompris] Added an entry to transform this release from svg based to png.
- Date: Wed, 19 Aug 2009 16:14:34 +0000 (UTC)
commit 0f852ca373f89821a5f836e1e8a5a09539a843b3
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Wed Aug 19 17:57:18 2009 +0200
Added an entry to transform this release from svg based to png.
Needed for windows until we have a good support of svg on this
platform.
Makefile.mingw.in | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.mingw.in b/Makefile.mingw.in
index 8a19f08..fbe36f9 100644
--- a/Makefile.mingw.in
+++ b/Makefile.mingw.in
@@ -153,3 +153,11 @@ prep: Makefile.mingw
find $(GCOMPRIS_INSTALL_DIR) -name "*.in" -exec rm -f {} \;
find $(GCOMPRIS_INSTALL_DIR) -name "*~" -exec rm -f {} \;
+svg2png:
+ sed -i "s:\(/[a-zA-Z_-]\+\\.\)svg:\1png:g" boards/*.xml.in
+ sed -i "s:\(/[a-zA-Z_-]\+\\.\)svg:\1png:g" src/*/*.c
+ sed -i "s:\(/[a-zA-Z_-]\+\\.\)svg:\1png:g" src/*/*/*.py
+ for f in `find boards -name '*.svg'`; \
+ do e=`echo $$f | sed s/.svg/.png/`; \
+ inkscape -z -f $$f -e $$e; \
+ done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]