On Wed, 20 Dec 2017, Christian Corti wrote:
Huh?
# wc -l tumble_pbm.c
231 tumble_pbm.c
This is the last known version (part of tumble 0.33 from 2003):
* $Id: tumble_pbm.c,v 1.1 2003/04/10 00:47:30 eric Exp $
Ok, I see, whoever changed tumble as found on github forgot to
change all version numbers, to update the README and many things more :-(
But anyway, it compiles happily with two modifications in tumble_pbm.c:
- add the following line in front of the first include statement:
#define HAVE_BOOL
- change the following line from
#include <netpbm/pbm.h>
to
#include <pbm.h>
# ./tumble
fatal error: either a control file or an output file (but not both) must
be specified
tumble version 0.35 - Copyright 2001-2003 Eric Smith <eric at brouhaha.com>
http://tumble.brouhaha.com/
usage:
./tumble [options] -c <control.tum>
./tumble [options] <input.tif>... -o <output.pdf>
./tumble -V
options:
-v verbose
-b <fmt> create bookmarks
-V print program version
bookmark format:
%F file name (sans suffix)
%p page number
# gcc --version
gcc (Debian 7.2.0-16) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Christian