Rename wingames.lst to gamedesc.txt, and add a couple of extra fields
to it giving each game's "internal" name (as seen in the source file,
.R etc) and also a brief description of the game. The idea of the
latter is that it should be usable as a comment field in .desktop
files and similar.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9858 cda61777-01e9-0310-a592-d414129be87e
Script to read the new gamedesc.txt and create .desktop files. My
immediate intention is to run this locally so that my XFCE main menu
acquires shortcuts for my locally compiled puzzle binaries, but I
expect the script could probably be adapted for systemwide
distribution use if any distribution hasn't already done this job in
their own way by now.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9859 cda61777-01e9-0310-a592-d414129be87e
Add comment to remind myself (and anyone else) how to refresh the XFCE
menu.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9860 cda61777-01e9-0310-a592-d414129be87e
Remove spurious "unfinished/" that appeared at the start of the
unfinished puzzles' gamedesc.txt lines due to a Perl error. Ahem.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9861 cda61777-01e9-0310-a592-d414129be87e
Remove stray bashisms from the NestedVM makefile.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9872 cda61777-01e9-0310-a592-d414129be87e
Adjust the build script to turn the NestedVM build into a delegation,
so that not every machine on which I want to run the full Puzzles
build will have to have a local NestedVM installation.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9882 cda61777-01e9-0310-a592-d414129be87e
Belated adjustment of svn:ignore to replace wingames.lst with
gamedesc.txt.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9885 cda61777-01e9-0310-a592-d414129be87e
Support building via autoconf and automake. mkfiles.pl now outputs a
Makefile.am, and there's a new mkauto.sh which builds a corresponding
configure script.

The old makefile has been renamed from 'Makefile' to 'Makefile.gtk',
indicating that the intended new _default_ approach is to use the
autoconf world. Makefile.gtk is provided as an emergency fallback in
case anything fails with the new stuff that used to work with it.

The new configure script does not support the same $(BINPREFIX) system
as the old Makefile did. However, as I understand it, it should be
possible to configure using --program-prefix="sgt-" (for example) and
then the binaries should all be renamed appropriately at install time.

The Makefile.am is quite painful. The Puzzles codebase relies heavily
on compiling individual object files multiple times with different the
cpp flags per build deliverable (program or library) and not per
source file. Solution: anything built with non-default compile options
has to go in its own little library. But that doesn't work either in
the general case, because as soon as you have more than one such
library linked into an application, Unix ld semantics bite you if the
objects in the libraries both refer to each other. So I ended up
building all those little libraries but not _using_ them - instead the
link commands for the programs needing those objects refer to the
objects directly, under the silly names that automake gives them.
(That's less fragile than it sounds, because it does _document_ the
names of the intermediate object files. But still, yuck.)


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9886 cda61777-01e9-0310-a592-d414129be87e
Add a mechanism to the automake system to allow 'make install' to only
install the actual games, not the auxiliary binaries or nullgame.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9887 cda61777-01e9-0310-a592-d414129be87e
Add a check in the new configure script to enable lots of gcc warning
flags if gcc is in use - but _only_ if they don't lead to problems in
a test compile which includes all the system and GTK headers I'm going
to want. Ubuntu 13.04 includes a version of Pango which breaks at
-Werror -pedantic, so I can't unconditionally enable all the warning
flags I might want without breaking the build in ways beyond my
control.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9888 cda61777-01e9-0310-a592-d414129be87e
Fix small bugs in the automake construction which were preventing the
revision number from being automatically baked into the automake-built
binaries.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9890 cda61777-01e9-0310-a592-d414129be87e
Make svn-based version identification still work in VPATH builds.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9891 cda61777-01e9-0310-a592-d414129be87e
Stop using a zero precision specifier with sprintf ("%.0d") to cause
zero to be generated as the empty string rather than "0". Instead, do
the job by the obvious approach of not calling sprintf at all if the
number is zero. Works around a bug in Emscripten's C library, whose
sprintf doesn't correctly handle that corner case.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9893 cda61777-01e9-0310-a592-d414129be87e
Fix a failure to warn about non-unique rows/columns in non-square Unruly grids, reported in Debian bug #718354.


git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9976 cda61777-01e9-0310-a592-d414129be87e
WIP: start to use new translator architecture
Merge branch 'master' of https://github.com/ahyangyi2/sgt-puzzles

Conflicts:
	mkfiles.pl