summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2014-10-02 07:23:56 +0000
committeradam <adam@pkgsrc.org>2014-10-02 07:23:56 +0000
commit02795ec19a89fde84e1c9142ff45912937bd9e24 (patch)
tree2d4a42bb7c31867c907cc341c05e2f1b987442cb /graphics
parentcc507d572b6f596bd90ffd814aba70d5dee437f1 (diff)
downloadpkgsrc-02795ec19a89fde84e1c9142ff45912937bd9e24.tar.gz
This package contains well-tested C code for some basic image processing
operations, along with a description of the functions and some design methods. A full set of affine transformations (translation, shear, rotation, scaling) on images of all depths is included, with the exception that some of the scaling methods do not work at all depths. There are also implementations of binary morphology, grayscale morphology, convolution and rank order filters, and applications such as jbig2 image processing and color quantization.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/leptonica/DESCR7
-rw-r--r--graphics/leptonica/Makefile23
-rw-r--r--graphics/leptonica/PLIST44
-rw-r--r--graphics/leptonica/buildlink3.mk18
-rw-r--r--graphics/leptonica/distinfo5
5 files changed, 97 insertions, 0 deletions
diff --git a/graphics/leptonica/DESCR b/graphics/leptonica/DESCR
new file mode 100644
index 00000000000..b2317584b8a
--- /dev/null
+++ b/graphics/leptonica/DESCR
@@ -0,0 +1,7 @@
+This package contains well-tested C code for some basic image processing
+operations, along with a description of the functions and some design methods.
+A full set of affine transformations (translation, shear, rotation, scaling)
+on images of all depths is included, with the exception that some of the
+scaling methods do not work at all depths. There are also implementations of
+binary morphology, grayscale morphology, convolution and rank order filters,
+and applications such as jbig2 image processing and color quantization.
diff --git a/graphics/leptonica/Makefile b/graphics/leptonica/Makefile
new file mode 100644
index 00000000000..851a4d486e0
--- /dev/null
+++ b/graphics/leptonica/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2014/10/02 07:23:56 adam Exp $
+
+DISTNAME= leptonica-1.71
+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
+#CONFIGURE_ARGS+= --disable-programs
+
+.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"
diff --git a/graphics/leptonica/PLIST b/graphics/leptonica/PLIST
new file mode 100644
index 00000000000..69e0871f0d3
--- /dev/null
+++ b/graphics/leptonica/PLIST
@@ -0,0 +1,44 @@
+@comment $NetBSD: PLIST,v 1.1 2014/10/02 07:23:56 adam Exp $
+bin/convertfilestopdf
+bin/convertfilestops
+bin/convertformat
+bin/convertsegfilestopdf
+bin/convertsegfilestops
+bin/converttopdf
+bin/converttops
+bin/fileinfo
+bin/printimage
+bin/printsplitimage
+bin/printtiff
+bin/splitimage2pdf
+bin/xtractprotos
+include/leptonica/allheaders.h
+include/leptonica/alltypes.h
+include/leptonica/array.h
+include/leptonica/arrayaccess.h
+include/leptonica/bbuffer.h
+include/leptonica/bilateral.h
+include/leptonica/bmf.h
+include/leptonica/bmp.h
+include/leptonica/ccbord.h
+include/leptonica/dewarp.h
+include/leptonica/endianness.h
+include/leptonica/environ.h
+include/leptonica/gplot.h
+include/leptonica/heap.h
+include/leptonica/imageio.h
+include/leptonica/jbclass.h
+include/leptonica/leptwin.h
+include/leptonica/list.h
+include/leptonica/morph.h
+include/leptonica/pix.h
+include/leptonica/ptra.h
+include/leptonica/queue.h
+include/leptonica/readbarcode.h
+include/leptonica/recog.h
+include/leptonica/regutils.h
+include/leptonica/stack.h
+include/leptonica/sudoku.h
+include/leptonica/watershed.h
+lib/liblept.la
+lib/pkgconfig/lept.pc
diff --git a/graphics/leptonica/buildlink3.mk b/graphics/leptonica/buildlink3.mk
new file mode 100644
index 00000000000..37262f3cdac
--- /dev/null
+++ b/graphics/leptonica/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/10/02 07:23:56 adam Exp $
+
+BUILDLINK_TREE+= leptonica
+
+.if !defined(LEPTONICA_BUILDLINK3_MK)
+LEPTONICA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.leptonica+= leptonica>=1.71
+BUILDLINK_PKGSRCDIR.leptonica?= ../../graphics/leptonica
+
+.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"
+.endif # LEPTONICA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -leptonica
diff --git a/graphics/leptonica/distinfo b/graphics/leptonica/distinfo
new file mode 100644
index 00000000000..8449d731c22
--- /dev/null
+++ b/graphics/leptonica/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/10/02 07:23:56 adam Exp $
+
+SHA1 (leptonica-1.71.tar.gz) = 1ee59b06fd6c6402876f46c26c21b17ffd3c9b6b
+RMD160 (leptonica-1.71.tar.gz) = 597dcd4f5319c925a2b5d4f2adcaa855a45f0124
+Size (leptonica-1.71.tar.gz) = 10212309 bytes