]> git.ktnx.net Git - icedeb.git/commitdiff
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 b993202bc0b151cd2d6793028b4676f67b955e9a..2e8bcff13345bd5bb91ef0a7811931f000c43b74 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 5f4b36f27eb5453fb1e06fc882e878235e7ef5f4..c691b25dba5c1a34e6b07f4584273ded619fcabc 100644 (file)
Binary files a/chrome/content/icedeb-bts.png and b/chrome/content/icedeb-bts.png differ
index c464f9d356ae503610f88f72b3e9dff421dc11c7..977755f7c36d44e2437a13bd204cbe0ab8956565 100644 (file)
Binary files a/chrome/content/icedeb-buildd.png and b/chrome/content/icedeb-buildd.png differ
index 17b81acaade6b9685405fc83099223dea101c7a3..2bd850e0947ee61a75fc1afd3cb15be90dc6d80c 100644 (file)
Binary files a/chrome/content/icedeb-ddpo.png and b/chrome/content/icedeb-ddpo.png differ
index e349c6e3dfc9fc514ce0e6425266d21e6b489ce6..3718c76f5eddea9af73ab2ff563282e7e9f52418 100644 (file)
Binary files a/chrome/content/icedeb-deb.png and b/chrome/content/icedeb-deb.png differ
index c24ef17fdf73a36bafbe3752017b1ad5bc4d96b7..90eaee8c9d771f0cf1bef7fe0ebb92a433f64fdb 100644 (file)
Binary files a/chrome/content/icedeb-ml.png and b/chrome/content/icedeb-ml.png differ
index c24902f8d93a853c66b2934fd0a99e57f1d34444..d13f38ede8a5f0d19c057bbf73dff8da5cd42d29 100644 (file)
Binary files a/chrome/content/icedeb-pts.png and b/chrome/content/icedeb-pts.png differ