[Pkg-wmaker-commits] [wmbiff] 22/77: derive wmbiff-master-contrast.xpm from wmbiff-master-led.xpm

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:01:06 UTC 2015


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

dtorrance-guest pushed a commit to tag wmbiff_0_4_0
in repository wmbiff.

commit 118da396c5dcffac64d38a9958f59f8af7a70f7f
Author: bluehal <bluehal>
Date:   Mon Apr 15 01:24:58 2002 +0000

    derive wmbiff-master-contrast.xpm from wmbiff-master-led.xpm
---
 wmbiff/Makefile.am | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/wmbiff/Makefile.am b/wmbiff/Makefile.am
index 862c780..7c01817 100644
--- a/wmbiff/Makefile.am
+++ b/wmbiff/Makefile.am
@@ -6,7 +6,7 @@ wmbiff_LDADD = -L../wmgeneral -lwmgeneral
 wmbiff_DEPENDENCIES = ../wmgeneral/libwmgeneral.a
 man_MANS = wmbiff.1 wmbiffrc.5
 skindir = $(datadir)/wmbiff/skins
-skin_DATA = wmbiff-master-led.xpm wmbiff-master-contrast.xpm
+skin_DATA = wmbiff-master-led.xpm wmbiff-master-contrast.xpm 
 
 EXTRA_DIST = $(man_MANS) sample.wmbiffrc $(skin_DATA)
 
@@ -33,3 +33,11 @@ indent:
 dist-hook-local: indent
 dist-clean-local:
 	test -L wmbiff-master.xpm && rm wmbiff-master.xpm
+
+# remove colors, then substitute old colors, then repalletize
+wmbiff-master-contrast.xpm:  wmbiff-master-led.xpm Makefile
+	egrep -v '^"[:%][[:space:]]c #' < $< | \
+	sed -e 's/:/./g' -e 's/%/$$/g' -e 's/ 15 / 13 /' | \
+	sed -e 's/#\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}\([0-9A-F]\{2\}\)[0-9A-F]\{2\}/#\1\2\3/'\
+	> $@ || rm $@
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git



More information about the Pkg-wmaker-commits mailing list