pngcp: tool to copy PNG files
This adds pngcp to the build together with a pngcp.dfa configuration test; the
test revealed some configuration bugs which are fixed by corrections to the
_SUPPORTED macros.
pngcp builds on all tested configurations and a number of bugs have been fixed
to make this happen relative to the version in libpng 1.7 contrib/examples.
pngcp.dfa will have to be different for 1.7 but pngcp.c should work fine (not
yet tested). pngcp itself is still missing a usage message; this is a
preliminary version, although since it behaves the same way as 'cp' most unoids
shouldn't have a problem using it correctly.
Signed-off-by:
John Bowler <jbowler@acm.org>
Showing
- Makefile.am 5 additions, 1 deletionMakefile.am
- contrib/conftest/pngcp.dfa 46 additions, 0 deletionscontrib/conftest/pngcp.dfa
- contrib/libtests/pngimage.c 5 additions, 0 deletionscontrib/libtests/pngimage.c
- contrib/tools/pngcp.c 2279 additions, 0 deletionscontrib/tools/pngcp.c
- png.h 3 additions, 1 deletionpng.h
- pngset.c 5 additions, 1 deletionpngset.c
- scripts/pnglibconf.dfa 1 addition, 0 deletionsscripts/pnglibconf.dfa
Loading
Please register or sign in to comment