pkgsrc/graphics/leptonica/Makefile
fhajny b47cd997b2 Update graphics/leptonice to 1.73.
1.73
- All lept_* functions have been rewritten to avoid path rewrites
  for
  output to temp files, which were introduced in 1.72.
- Naming changes (to avoid collisions):
  #defines MALLOC --> LEPT_MALLOC, CALLOC --> LEPT_CALLOC, etc.
  ByteBuffer --> L_ByteBuffer
- Added grayscale histogram functions that can be used to compare
  images.
- Added functions to determine if an image region has horizontal
  text lines.
- Added functions to compare photo regions of images to determine
  if they're essentially the same.
- Added red-black tree utility functions to implement maps and
  sets.
- The keys for maps and sets can be 64-bit entities (signed and
  unsigned integers and doubles).
- Implemented hashsets and hashmaps, using 64 bit keys.
- Replaced the numaHash by l_dnaHash; removed numa2d
- Improved security of tiff and gif reading, to prevent memory
  corruption
  when reading bad data.
- Removed src files: bootnumgen.c
- Added src files: rbtree.c, rbtree.h, map.c, bootnumgen1.c,
  bootnumgen2.c
- Added prog files: rbtreetest.c, maptest.c, settest.c,
  hashtest.c,
  recog_bootnum.c, percolatetest.c
- Added files for building using cmake (Egor Pugin)

1.72
- Better handling of 1 bpp colormap read/write with png so that
  they are losseless.
- Fixed overflow bug in pixCorrelationBinary().
- Fixed orientation flags and handling of 16 bit RGB in tiff.
- Also new wrappers to TIFFClientOpen(), so we no longer go
  through
  the file descriptor for memory operations.
- Improvements in the dewarp functions.
- New box sequence smoothings.
- New antialiased painting through mask; previously it was only
  implemented for connected components in a mask.
- Better error handling and debug output with jpeg2000 read/write.
- Implemented base64 encoding.  This allows binary data to be
  represented
  as a C string that can be compiled.  Used this in bmf utility.
- Implemented automatic code generation for deserialization from
  compiled strings (stringcode.*)
- Regression tests write to leptonica subdir of  in windows; in
  unix it is optional.  This avoids spamming the  directory.
- Added new colorspace conversions (XYZ, LAB).
- New source files: encoding.c, bmfdata.h, stringcode.c,
  stringcode.h,
  bootnumgen.c.
- Removed source files: convolvelow.c, graymorphlow.c
- New programs: genfonts_reg, colorize_reg, texturefill_reg,
  autogentest1, autogentest2.
- alltests_reg now has 66 tests.
2016-03-17 12:44:58 +00:00

33 lines
977 B
Makefile

# $NetBSD: Makefile,v 1.6 2016/03/17 12:44:58 fhajny Exp $
DISTNAME= leptonica-1.73
CATEGORIES= graphics
MASTER_SITES= http://www.leptonica.org/source/
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.leptonica.org/
COMMENT= Software for image processing and image analysis applications
LICENSE= 2-clause-bsd
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
# The presence of fmemopen() assumes open_memstream() is also available,
# which is wrong on platforms other than Linux.
.if ${OPSYS} != "Linux"
CONFIGURE_ENV+= ac_cv_func_fmemopen=no
.endif
# Pass a SunOS that the build relies on
CPPFLAGS.SunOS+= -D__SOLARIS__=1
.include "../../graphics/giflib/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../graphics/openjpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"