pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gocr Updated graphics/gocr to 0.48



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56cca0b8c07d
branches:  trunk
changeset: 350249:56cca0b8c07d
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Jul 24 23:59:55 2016 +0000

description:
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:

 graphics/gocr/Makefile         |   6 +++---
 graphics/gocr/distinfo         |  12 ++++++------
 graphics/gocr/patches/patch-ab |  19 +++++--------------
 3 files changed, 14 insertions(+), 23 deletions(-)

diffs (73 lines):

diff -r 316f3aa81f5b -r 56cca0b8c07d graphics/gocr/Makefile
--- a/graphics/gocr/Makefile    Sun Jul 24 23:43:12 2016 +0000
+++ b/graphics/gocr/Makefile    Sun Jul 24 23:59:55 2016 +0000
@@ -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@localhost
 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 -r 316f3aa81f5b -r 56cca0b8c07d graphics/gocr/distinfo
--- a/graphics/gocr/distinfo    Sun Jul 24 23:43:12 2016 +0000
+++ b/graphics/gocr/distinfo    Sun Jul 24 23:59:55 2016 +0000
@@ -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 -r 316f3aa81f5b -r 56cca0b8c07d graphics/gocr/patches/patch-ab
--- a/graphics/gocr/patches/patch-ab    Sun Jul 24 23:43:12 2016 +0000
+++ b/graphics/gocr/patches/patch-ab    Sun Jul 24 23:59:55 2016 +0000
@@ -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 @@
  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



Home | Main Index | Thread Index | Old Index