summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2016-07-24 23:59:55 +0000
committermef <mef@pkgsrc.org>2016-07-24 23:59:55 +0000
commit02ccdf5c947be92c265b0d392c51b410c35c9d55 (patch)
treef69169fbc046bdcfdc205fcdf8a33b26fd791b93 /graphics
parent43e651cfbe0767f856ec9b381ea8bf1310c7d956 (diff)
downloadpkgsrc-02ccdf5c947be92c265b0d392c51b410c35c9d55.tar.gz
Updated graphics/gocr to 0.48
----------------------------- History: (Changes,ChangeLog) 0.48 Jul09 fix buffer overflow introduced in 0.46 for filenames add codabar barcode fix bug, removing melted serifs add patch by Chris Lee, i25 barcode recognition + modifications fix some false positive numbers "34" (video, gas meter) fix problems with 2zZ4 for 10x10 screen font better debug output for :;,. remove examples, doc and libs part from configure (see below) remove doc and examples from the (make install) part to reduce dependencies (gs and transfig is not needed for rpm/ebuild) gocr only may depend from netpbm, but can live without too this will help to install gocr on "exotic" (nonlinux) platforms fix gentoo app-text/gocr Bug 243250 src/Makefile: $(CC) $(LDFLAGS) ...
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gocr/Makefile6
-rw-r--r--graphics/gocr/distinfo12
-rw-r--r--graphics/gocr/patches/patch-ab19
3 files changed, 14 insertions, 23 deletions
diff --git a/graphics/gocr/Makefile b/graphics/gocr/Makefile
index 244574c57b9..f2ea0c15338 100644
--- a/graphics/gocr/Makefile
+++ b/graphics/gocr/Makefile
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.17 2014/09/08 21:24:44 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2016/07/24 23:59:55 mef Exp $
-DISTNAME= gocr-0.47
-PKGREVISION= 8
+DISTNAME= gocr-0.48
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jocr/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/jocr
COMMENT= GOCR is a set of OCR tools
+LICENSE= gnu-gpl-v1
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
diff --git a/graphics/gocr/distinfo b/graphics/gocr/distinfo
index e774bcc2384..6b022375013 100644
--- a/graphics/gocr/distinfo
+++ b/graphics/gocr/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 21:34:01 agc Exp $
+$NetBSD: distinfo,v 1.6 2016/07/24 23:59:55 mef Exp $
-SHA1 (gocr-0.47.tar.gz) = cfea611c6e53d277470796e4fce310e5add7c40b
-RMD160 (gocr-0.47.tar.gz) = 834329eeb9c1708a7df0e79decd751b9eaf9cefb
-SHA512 (gocr-0.47.tar.gz) = 028387fd96c85db42f5166bcc8e78014f81f625010993c983cf1ab77ca310ee6348be6c43c9e450a7e6eb754c8fd254966d96e1cae99ffb26f1b92854c8c2ff1
-Size (gocr-0.47.tar.gz) = 363267 bytes
+SHA1 (gocr-0.48.tar.gz) = 2172fd04c556b70b19db2b2abbc47749f5d08130
+RMD160 (gocr-0.48.tar.gz) = 11f839e843d356ce95fb5c26f53d3f545a695937
+SHA512 (gocr-0.48.tar.gz) = 53520c94b6991818482d0f6a5e3e7102f8530fd1215607b04e528244b697479d98669cfe4fd9098e5e1a2e5dd88c45f1edb1171c14adb798e811efd23bdada73
+Size (gocr-0.48.tar.gz) = 382555 bytes
SHA1 (patch-aa) = 75cfdf569d04472cf01df4e537320848909184b9
-SHA1 (patch-ab) = 157464742cd6fa0342e4127d5fe9ee8ad8fbe27c
+SHA1 (patch-ab) = f170a54e69ae45d5be07e5e75cd0e6e5867580f6
SHA1 (patch-ac) = b4ff83990ca84580a81abd41f0939ca6926e0920
diff --git a/graphics/gocr/patches/patch-ab b/graphics/gocr/patches/patch-ab
index 85c9150e19c..01d6fdcf263 100644
--- a/graphics/gocr/patches/patch-ab
+++ b/graphics/gocr/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.4 2009/07/21 20:23:55 brook Exp $
+$NetBSD: patch-ab,v 1.5 2016/07/24 23:59:55 mef Exp $
---- src/Makefile.in.orig 2005-02-28 14:40:39.000000000 +0000
-+++ src/Makefile.in
-@@ -37,6 +37,8 @@
+--- src/Makefile.in.orig 2009-04-09 18:06:53.000000000 +0900
++++ src/Makefile.in 2016-07-25 08:47:23.000000000 +0900
+@@ -37,6 +37,8 @@ LIBOBJS=pgm2asc.o \
# these two lines are for cross-compiling, not tested
#srcdir = @srcdir@
#VPATH = @srcdir@
@@ -11,16 +11,7 @@ $NetBSD: patch-ab,v 1.4 2009/07/21 20:23:55 brook Exp $
bindir = @bindir@
# lib removed for simplification
#libdir = @libdir@
-@@ -78,7 +80,7 @@
- $(PROGRAM): $(LIBOBJS) gocr.o
- # make it conform to ld --as-needed
- #$(CC) -o $@ $(LDFLAGS) gocr.o ./lib$(PGMASCLIB).a $(LIBS)
-- $(CC) -o $@ gocr.o $(LIBOBJS) $(LIBS)
-+ $(CC) -o $@ $(LDFLAGS) gocr.o $(LIBOBJS) $(LIBS)
- if test -r $(PROGRAM); then cp $@ ../bin; fi
-
- libs: lib$(PGMASCLIB).a lib$(PGMASCLIB).@PACKAGE_VERSION@.so
-@@ -97,10 +99,7 @@
+@@ -101,10 +103,7 @@ $(LIBOBJS): Makefile
# PHONY = don't look at file clean, -rm = start rm and ignore errors
.PHONY : clean proper install uninstall
install: all