chore, fix up all comparison warnings in truffle

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
chore, fix up all warnings about integer conversions with different sizes, ...

in particular, don't expose signatures with fixed-sized integers and use
unsigned ints there instead.

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, use type alias trym_t for year+month type (instead of uint32_t)

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
chore, follow alignment advice

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
Merge branch 'bld/dist' into next

* bld/dist:
  chore, follow alignment advice
  minor, use type alias trym_t for year+month type (instead of uint32_t)
  chore, fix up all warnings about integer conversions with different sizes, ...
  chore, fix up all comparison warnings in truffle
minor, explode truffle tool into schema.[ch], dt-strpf.[ch] and cut.[ch]

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, also include the notion of cuts in truffle.h

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, support both cut types, the 0-1 edge and the lever cut

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, adapt truffle's main() to new print_cut() signature

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
fix, PEBKAC, don't add 2 \t in print_cut() in LEVER mode

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
chore, check for RANLIB to be able to create lib archives

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
chore, refactor cut.[ch], schema.[ch] and dt-strpf funs into libtruffle

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
Merge branch 'feat/libtruffle' into next

* feat/libtruffle:
  chore, refactor cut.[ch], schema.[ch] and dt-strpf funs into libtruffle
  chore, check for RANLIB to be able to create lib archives
  fix, PEBKAC, don't add 2 \t in print_cut() in LEVER mode
  minor, adapt truffle's main() to new print_cut() signature
  minor, support both cut types, the 0-1 edge and the lever cut
  minor, also include the notion of cuts in truffle.h
  minor, explode truffle tool into schema.[ch], dt-strpf.[ch] and cut.[ch]