build: create .png files from the master .xcf
authorDamyan Ivanov <dmn@debian.org>
Fri, 20 Jan 2012 20:26:58 +0000 (22:26 +0200)
committerDamyan Ivanov <dmn@debian.org>
Fri, 20 Jan 2012 20:26:58 +0000 (22:26 +0200)
build
chrome/content/icedeb-bts.png
chrome/content/icedeb-buildd.png
chrome/content/icedeb-ddpo.png
chrome/content/icedeb-deb.png
chrome/content/icedeb-ml.png
chrome/content/icedeb-pts.png

diff --git a/build b/build
index b993202..2e8bcff 100644 (file)
--- a/build
+++ b/build
@@ -5,6 +5,21 @@ set -u
 
 export PKG=icedeb
 
+btn2png() {
+    local tag="$1"
+    local btn="${2:-$tag}"
+
+    xcf2png -o "chrome/content/$PKG-$btn.png" res/button-bts.xcf "base" "$tag small" "$tag big"
+}
+
+btn2png bts
+btn2png pts
+btn2png deb
+btn2png ML ml
+btn2png DD ddpo
+btn2png buildd
+btn2png security
+
 [ ! -e $PKG.xpi ] || rm $PKG.xpi
 
 zip -r $PKG.xpi chrome install* chrome.manifest README res
index 5f4b36f..c691b25 100644 (file)
Binary files a/chrome/content/icedeb-bts.png and b/chrome/content/icedeb-bts.png differ
index c464f9d..977755f 100644 (file)
Binary files a/chrome/content/icedeb-buildd.png and b/chrome/content/icedeb-buildd.png differ
index 17b81ac..2bd850e 100644 (file)
Binary files a/chrome/content/icedeb-ddpo.png and b/chrome/content/icedeb-ddpo.png differ
index e349c6e..3718c76 100644 (file)
Binary files a/chrome/content/icedeb-deb.png and b/chrome/content/icedeb-deb.png differ
index c24ef17..90eaee8 100644 (file)
Binary files a/chrome/content/icedeb-ml.png and b/chrome/content/icedeb-ml.png differ
index c24902f..d13f38e 100644 (file)
Binary files a/chrome/content/icedeb-pts.png and b/chrome/content/icedeb-pts.png differ