summaryrefslogtreecommitdiff
path: root/graphics/claraocr
diff options
context:
space:
mode:
authorwiz <wiz>2002-05-04 23:45:42 +0000
committerwiz <wiz>2002-05-04 23:45:42 +0000
commit678148f744343a26432f6df77940b64ac3df811e (patch)
treef4a7acd8cd466b599200645d1a457d6ba807a2fe /graphics/claraocr
parentd6f642aeb2cc8cee7a847145dfa0ddef488cf373 (diff)
downloadpkgsrc-678148f744343a26432f6df77940b64ac3df811e.tar.gz
Update to 0.9.9:
- Grayscale native support (PGM format), plus four binarization methods. - Internal preprocessor including deskewing, balancing, thresholding and interpolation (by Giulio Lunati). - Various new features: border path computing, barcode search, detection of extremities, PAGE only mode, the flea, the spyhole, instant threshold, per-depth optimized X code, etc. - Documentation updated (but not finished). Glossary added. - Many bugfixes and interface enhancements.
Diffstat (limited to 'graphics/claraocr')
-rw-r--r--graphics/claraocr/Makefile4
-rw-r--r--graphics/claraocr/PLIST3
-rw-r--r--graphics/claraocr/distinfo8
-rw-r--r--graphics/claraocr/patches/patch-aa36
4 files changed, 26 insertions, 25 deletions
diff --git a/graphics/claraocr/Makefile b/graphics/claraocr/Makefile
index 295ff25727b..095d06406f2 100644
--- a/graphics/claraocr/Makefile
+++ b/graphics/claraocr/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/03/22 15:34:02 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2002/05/04 23:45:42 wiz Exp $
#
-DISTNAME= clara-0.9.8
+DISTNAME= clara-0.9.9
CATEGORIES= graphics textproc
MASTER_SITES= ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrake-devel/projects/claraocr/ \
ftp://ftp.wtfo.com/pub/linux/Mandrake-devel/projects/claraocr/ \
diff --git a/graphics/claraocr/PLIST b/graphics/claraocr/PLIST
index d6e394d70c2..993b528efba 100644
--- a/graphics/claraocr/PLIST
+++ b/graphics/claraocr/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/03/22 15:34:02 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/05/04 23:45:43 wiz Exp $
bin/clara
bin/selthresh.pl
man/man1/clara-adv.1
@@ -10,6 +10,7 @@ share/doc/clara/FAQ
share/doc/clara/clara-adv.html
share/doc/clara/clara-dev.html
share/doc/clara/clara-faq.html
+share/doc/clara/clara-glo.html
share/doc/clara/clara-tut.html
share/doc/clara/imre.pbm
@dirrm share/doc/clara
diff --git a/graphics/claraocr/distinfo b/graphics/claraocr/distinfo
index 733ea3c2e9b..2eb1331a523 100644
--- a/graphics/claraocr/distinfo
+++ b/graphics/claraocr/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/03/22 15:34:02 wiz Exp $
+$NetBSD: distinfo,v 1.2 2002/05/04 23:45:43 wiz Exp $
-SHA1 (clara-0.9.8.tar.gz) = edd2bab8ce12197f28a09e101c79a433d5d62ba3
-Size (clara-0.9.8.tar.gz) = 316102 bytes
-SHA1 (patch-aa) = e72585149c63316160eedcb38900bb1caff16e74
+SHA1 (clara-0.9.9.tar.gz) = 7d18088ad086d476cce2821497db16f4f444231e
+Size (clara-0.9.9.tar.gz) = 419529 bytes
+SHA1 (patch-aa) = efc5d69e3330e814ad198d3cd9719402804eb3b1
diff --git a/graphics/claraocr/patches/patch-aa b/graphics/claraocr/patches/patch-aa
index 4d6d09cea56..f8aa1b65ba4 100644
--- a/graphics/claraocr/patches/patch-aa
+++ b/graphics/claraocr/patches/patch-aa
@@ -1,25 +1,24 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/03/22 15:34:03 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2002/05/04 23:45:44 wiz Exp $
---- Makefile.orig Sun Oct 21 00:16:38 2001
+--- Makefile.orig Sat May 4 03:45:07 2002
+++ Makefile
-@@ -28,13 +28,13 @@
- #
+@@ -29,21 +29,21 @@
# Configure the destination directories:
#
--BINDIR=/usr/local/bin
+ #BINDIR=/usr/local/bin
+-BINDIR=/usr/bin
+BINDIR=${PREFIX}/bin
- #BINDIR=/usr/bin
--MANDIR=/usr/local/man/man1
+ #MANDIR=/usr/local/man/man1
+-MANDIR=/usr/man/man1
+MANDIR=${PREFIX}/man/man1
- #MANDIR=/usr/man/man1
--DOCDIR=/usr/local/doc/clara
-+DOCDIR=${PREFIX}/share/doc/clara
+ #DOCDIR=/usr/local/doc/clara
#DOCDIR=/usr/doc/clara
#DOCDIR=/usr/doc/clara-$(VERSION)
- #DOCDIR=/usr/share/doc/clara
-@@ -42,8 +42,8 @@
+-DOCDIR=/usr/share/doc/clara
++DOCDIR=${PREFIX}/share/doc/clara
+
#
# Configure these variables accordingly to your system:
#
@@ -30,15 +29,16 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/03/22 15:34:03 wiz Exp $
CC = gcc
#
-@@ -83,14 +83,14 @@
+@@ -85,7 +85,7 @@
#
# Add or remove flags if necessary:
#
--CFLAGS = $(INCLUDE) -g -O2 -Wall $(COPTS)
-+CFLAGS += $(INCLUDE) -g -O2 -Wall $(COPTS)
+-CFLAGS = $(INCLUDE) -g -Wall $(COPTS)
++CFLAGS += $(INCLUDE) -g -Wall $(COPTS)
+ #CFLAGS = $(INCLUDE) -g -O2 -Wall $(COPTS)
#CFLAGS = $(INCLUDE) -g -O2 -pedantic $(COPTS)
#CFLAGS = $(INCLUDE) -g -O2 $(COPTS)
-
+@@ -93,7 +93,7 @@
#
# Add or remove flags if necessary:
#
@@ -47,7 +47,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/03/22 15:34:03 wiz Exp $
#
# If your system requires additional libs, please add them:
-@@ -153,13 +153,11 @@
+@@ -175,13 +175,11 @@
./clara -p 2
install: all
@@ -65,4 +65,4 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/03/22 15:34:03 wiz Exp $
+ ${BSD_INSTALL_DATA} ANNOUNCE CHANGELOG doc/FAQ doc/*.html $(DOCDIR)
clean:
- rm -f clara sclara $(OBJS) doc/clara-*.1 doc/clara-*.html doc/FAQ
+ rm -f clara sclara $(OBJS) doc/clara*.1 doc/clara*.html doc/FAQ