Nick Bowler [Wed, 9 Mar 2022 02:03:48 +0000 (21:03 -0500)]
Generate and distribute some icon files.
Since we now have code that generates nifty icons in various sizes,
we can fairly easily make use of it to generate and install icon
files. These files need to be distributed because the application
cannot be run in the cross-compilation case, which will also avoid
the distribution depending on external image conversion utilities.
Nick Bowler [Tue, 8 Mar 2022 06:08:29 +0000 (01:08 -0500)]
Use XPM as icon test output format.
The output of this test program is very close to XPM format.
So why not make it actually produce XPM format. This gives
us a good way to have it output actual colour icons too.
Nick Bowler [Tue, 8 Mar 2022 04:35:22 +0000 (23:35 -0500)]
Allow compilation without X11.
At the moment this means nothing useful gets installed, but "make check"
is possible. The icon functions being tested don't _really_ depend on
X11, just the XColor structure for which we can supply a suitable
definition.
Nick Bowler [Sat, 5 Mar 2022 21:32:48 +0000 (16:32 -0500)]
Fix boardmove testcase typo.
Comparing "if (argv > 0)" is an obvious typo, totally invalid and bogus.
Weirdly GCC fails to complain without "-pedantic", but HP-UX cc is happy
to inform us about the error.