shithub: puzzles

Download patch

ref: d2369aab621c80449db7c589f0c65c722802b8b4
parent: 202e023f59c56e8300eb99e2454b17bd4eb96def
author: Simon Tatham <anakin@pobox.com>
date: Thu Mar 20 05:18:26 EDT 2008

Hmm. Telling xvfb to default to a TrueColor visual did help, in that
it got rid of the bogus backgrounds on all the text; but on the
other hand it mysteriously caused all the images to become black and
white! Serves me right for testing with Bridges which was B&W to
start with. Instead, we'll just tell xvfb to use a 24-bit display
and let it sort out the visuals for itself; that seems to work better.

[originally from svn r7932]

--- a/Buildscr
+++ b/Buildscr
@@ -8,7 +8,7 @@
 in puzzles do make
 
 # Now build the screenshots and icons.
-in puzzles/icons do xvfb-run -s "-cc TrueColor" make web winicons gtkicons
+in puzzles/icons do xvfb-run -s "-screen 0 1024x768x24" make web winicons gtkicons
 
 # Re-run mkfiles.pl now that it knows the icons are there.
 in puzzles do perl mkfiles.pl