Tue Jul 21 20:23:55 2009 UTC ()
Update to gocr v0.47.  See the README file for all the changes since v0.40.


(brook)
diff -r1.8271 -r1.8272 pkgsrc/doc/TODO
diff -r1.7 -r1.8 pkgsrc/graphics/gocr/Makefile
diff -r1.3 -r1.4 pkgsrc/graphics/gocr/PLIST
diff -r1.3 -r1.4 pkgsrc/graphics/gocr/distinfo
diff -r1.2 -r1.3 pkgsrc/graphics/gocr/patches/patch-aa
diff -r1.3 -r1.4 pkgsrc/graphics/gocr/patches/patch-ab
diff -r0 -r1.1 pkgsrc/graphics/gocr/patches/patch-ac

cvs diff -r1.8271 -r1.8272 pkgsrc/doc/TODO (expand / switch to unified diff)

--- pkgsrc/doc/TODO 2009/07/21 20:12:43 1.8271
+++ pkgsrc/doc/TODO 2009/07/21 20:23:54 1.8272
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1$NetBSD: TODO,v 1.8271 2009/07/21 20:12:43 abs Exp $ 1$NetBSD: TODO,v 1.8272 2009/07/21 20:23:54 brook Exp $
2 2
3Suggested new packages 3Suggested new packages
4====================== 4======================
5 5
6 any unresolved PRs (if you have commit access) 6 any unresolved PRs (if you have commit access)
7 http://www.netbsd.org/Gnats/category/pkg.html 7 http://www.netbsd.org/Gnats/category/pkg.html
8 8
9 any complete, polished packages in pkgsrc-wip (ditto) 9 any complete, polished packages in pkgsrc-wip (ditto)
10 http://pkgsrc-wip.sourceforge.net/ 10 http://pkgsrc-wip.sourceforge.net/
11 11
12 bacula-rescue 12 bacula-rescue
13 Scripts used to help create rescue boot cd's for bare metal 13 Scripts used to help create rescue boot cd's for bare metal
14 restores with bacula. Scripts exist for linux, solaris, and 14 restores with bacula. Scripts exist for linux, solaris, and
@@ -669,27 +669,26 @@ For possible perl packages updates, see  @@ -669,27 +669,26 @@ For possible perl packages updates, see
669 o gnome-mag-0.15.7 669 o gnome-mag-0.15.7
670 o gnome-packagekit-0.4.5 670 o gnome-packagekit-0.4.5
671 o gnome-power-manager-2.26.3 [GNOME 2.26, wants DeviceKit-power] 671 o gnome-power-manager-2.26.3 [GNOME 2.26, wants DeviceKit-power]
672 o gnome-subtitles-0.9.1 672 o gnome-subtitles-0.9.1
673 o gnome-user-share-2.26.0 [GNOME 2.26] 673 o gnome-user-share-2.26.0 [GNOME 2.26]
674 o gnome-web-photo-0.6 [GNOME 2.26] 674 o gnome-web-photo-0.6 [GNOME 2.26]
675 o gnomeicu-0.99.14 675 o gnomeicu-0.99.14
676 o gnopernicus-1.1.2 676 o gnopernicus-1.1.2
677 o gnu-crypto-2.1.0 677 o gnu-crypto-2.1.0
678 o gnugo-3.8 678 o gnugo-3.8
679 o gnupg2-2.0.12 679 o gnupg2-2.0.12
680 o gnustep-base-1.19.1 680 o gnustep-base-1.19.1
681 o gobo-eiffel-3.3 [does not work with smarteiffel-2.0; perhaps 2.1?] 681 o gobo-eiffel-3.3 [does not work with smarteiffel-2.0; perhaps 2.1?]
682 o gocr-0.43 
683 o gogo-3.11p1 682 o gogo-3.11p1
684 o golem-0.0.6 683 o golem-0.0.6
685 o gossip-0.31 684 o gossip-0.31
686 o gourmet-0.13.3 685 o gourmet-0.13.3
687 o gpaint-0.3.3 686 o gpaint-0.3.3
688 o gperiodic-2.0.10 687 o gperiodic-2.0.10
689 o gplcver-2.12a 688 o gplcver-2.12a
690 o gpredict-0.9.0 689 o gpredict-0.9.0
691 o gpsdrive-2.09 690 o gpsdrive-2.09
692 o gramofile-1.6P 691 o gramofile-1.6P
693 o gramps3-3.1.1 692 o gramps3-3.1.1
694 o granulate-0.2 693 o granulate-0.2
695 o graphviz-2.24.0 694 o graphviz-2.24.0

cvs diff -r1.7 -r1.8 pkgsrc/graphics/gocr/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/gocr/Makefile 2008/06/20 01:09:22 1.7
+++ pkgsrc/graphics/gocr/Makefile 2009/07/21 20:23:55 1.8
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.7 2008/06/20 01:09:22 joerg Exp $ 1# $NetBSD: Makefile,v 1.8 2009/07/21 20:23:55 brook Exp $
2 2
3DISTNAME= gocr-0.40 3DISTNAME= gocr-0.47
4PKGREVISION= 2 
5CATEGORIES= graphics 4CATEGORIES= graphics
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jocr/} 5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jocr/}
7 6
8MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://sourceforge.net/projects/jocr 8HOMEPAGE= http://sourceforge.net/projects/jocr
10COMMENT= GOCR is a set of OCR tools 9COMMENT= GOCR is a set of OCR tools
11 10
12PKG_DESTDIR_SUPPORT= user-destdir 11PKG_DESTDIR_SUPPORT= user-destdir
13 12
14GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
15USE_TOOLS+= gmake 14USE_TOOLS+= gmake
16CONFIGURE_HAS_MANDIR= no 15CONFIGURE_HAS_MANDIR= no
17CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} 16CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}

cvs diff -r1.3 -r1.4 pkgsrc/graphics/gocr/PLIST (expand / switch to unified diff)

--- pkgsrc/graphics/gocr/PLIST 2008/04/12 22:43:01 1.3
+++ pkgsrc/graphics/gocr/PLIST 2009/07/21 20:23:55 1.4
@@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
1@comment $NetBSD: PLIST,v 1.3 2008/04/12 22:43:01 jlam Exp $ 1@comment $NetBSD: PLIST,v 1.4 2009/07/21 20:23:55 brook Exp $
2bin/gocr 2bin/gocr
3${PLIST.tk}bin/gocr.tcl 3${PLIST.tk}bin/gocr.tcl
4include/gocr.h 
5lib/libPgm2asc.a 
6man/man1/gocr.1 4man/man1/gocr.1

cvs diff -r1.3 -r1.4 pkgsrc/graphics/gocr/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/gocr/distinfo 2008/06/20 01:09:22 1.3
+++ pkgsrc/graphics/gocr/distinfo 2009/07/21 20:23:55 1.4
@@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
1$NetBSD: distinfo,v 1.3 2008/06/20 01:09:22 joerg Exp $ 1$NetBSD: distinfo,v 1.4 2009/07/21 20:23:55 brook Exp $
2 2
3SHA1 (gocr-0.40.tar.gz) = 6a5097281664ca3ffd01b11756f1dd5b565e673e 3SHA1 (gocr-0.47.tar.gz) = cfea611c6e53d277470796e4fce310e5add7c40b
4RMD160 (gocr-0.40.tar.gz) = 1e34277b7d923706789d6e5c85996968d8506427 4RMD160 (gocr-0.47.tar.gz) = 834329eeb9c1708a7df0e79decd751b9eaf9cefb
5Size (gocr-0.40.tar.gz) = 780744 bytes 5Size (gocr-0.47.tar.gz) = 363267 bytes
6SHA1 (patch-aa) = c6f235f82d6c53a52547225045808e595a33b810 6SHA1 (patch-aa) = 75cfdf569d04472cf01df4e537320848909184b9
7SHA1 (patch-ab) = 45286b824b9ff310e0024896cb917db454755b09 7SHA1 (patch-ab) = 157464742cd6fa0342e4127d5fe9ee8ad8fbe27c
 8SHA1 (patch-ac) = b4ff83990ca84580a81abd41f0939ca6926e0920

cvs diff -r1.2 -r1.3 pkgsrc/graphics/gocr/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/graphics/gocr/patches/patch-aa 2005/10/25 02:06:57 1.2
+++ pkgsrc/graphics/gocr/patches/patch-aa 2009/07/21 20:23:55 1.3
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1$NetBSD: patch-aa,v 1.2 2005/10/25 02:06:57 wiz Exp $ 1$NetBSD: patch-aa,v 1.3 2009/07/21 20:23:55 brook Exp $
2 2
3--- configure.orig 2005-03-13 20:23:07.000000000 +0100 3--- configure.orig 2005-03-13 20:23:07.000000000 +0100
4+++ configure 4+++ configure
5@@ -2489,7 +2489,7 @@ fi 5@@ -2608,7 +2608,7 @@
6 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6 conftest$ac_exeext conftest.$ac_ext
7 if test "$ac_cv_search_pnm_readpnminit" = no; then 7 if test "$ac_cv_search_pnm_readpnminit" = no; then
8 for ac_lib in netpbm pnm; do 8 for ac_lib in netpbm pnm; do
9- LIBS="-l$ac_lib $ac_func_search_save_LIBS" 9- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10+ LIBS="-l$ac_lib -lm $ac_func_search_save_LIBS" 10+ LIBS="-l$ac_lib -lm $ac_func_search_save_LIBS"
11 cat >conftest.$ac_ext <<_ACEOF 11 cat >conftest.$ac_ext <<_ACEOF
12 #line $LINENO "configure" 
13 /* confdefs.h. */ 12 /* confdefs.h. */
14@@ -2525,7 +2525,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l 13 _ACEOF
 14@@ -2653,7 +2653,7 @@
15 ac_status=$? 15 ac_status=$?
16 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17 (exit $ac_status); }; }; then 17 (exit $ac_status); }; }; then
18- ac_cv_search_pnm_readpnminit="-l$ac_lib" 18- ac_cv_search_pnm_readpnminit="-l$ac_lib"
19+ ac_cv_search_pnm_readpnminit="-l$ac_lib -lm" 19+ ac_cv_search_pnm_readpnminit="-l$ac_lib -lm"
20 break 20 break
21 else 21 else
22 echo "$as_me: failed program was:" >&5 22 echo "$as_me: failed program was:" >&5

cvs diff -r1.3 -r1.4 pkgsrc/graphics/gocr/patches/patch-ab (expand / switch to unified diff)

--- pkgsrc/graphics/gocr/patches/patch-ab 2008/06/20 01:09:22 1.3
+++ pkgsrc/graphics/gocr/patches/patch-ab 2009/07/21 20:23:55 1.4
@@ -1,23 +1,33 @@ @@ -1,23 +1,33 @@
1$NetBSD: patch-ab,v 1.3 2008/06/20 01:09:22 joerg Exp $ 1$NetBSD: patch-ab,v 1.4 2009/07/21 20:23:55 brook Exp $
2 2
3--- src/Makefile.in.orig 2005-02-28 14:40:39.000000000 +0000 3--- src/Makefile.in.orig 2005-02-28 14:40:39.000000000 +0000
4+++ src/Makefile.in 4+++ src/Makefile.in
5@@ -30,6 +30,8 @@ LIBOBJS=pgm2asc.o \ 5@@ -37,6 +37,8 @@
6 # these two lines are for cross-compiling, not tested 6 # these two lines are for cross-compiling, not tested
7 #srcdir = @srcdir@ 7 #srcdir = @srcdir@
8 #VPATH = @srcdir@ 8 #VPATH = @srcdir@
9+prefix = @prefix@ 9+prefix = @prefix@
10+exec_prefix = @exec_prefix@ 10+exec_prefix = @exec_prefix@
11 bindir = @bindir@ 11 bindir = @bindir@
12 libdir = @libdir@ 12 # lib removed for simplification
13 includedir = @includedir@ 13 #libdir = @libdir@
14@@ -67,9 +69,7 @@ $(LIBOBJS): Makefile 14@@ -78,7 +80,7 @@
 15 $(PROGRAM): $(LIBOBJS) gocr.o
 16 # make it conform to ld --as-needed
 17 #$(CC) -o $@ $(LDFLAGS) gocr.o ./lib$(PGMASCLIB).a $(LIBS)
 18- $(CC) -o $@ gocr.o $(LIBOBJS) $(LIBS)
 19+ $(CC) -o $@ $(LDFLAGS) gocr.o $(LIBOBJS) $(LIBS)
 20 if test -r $(PROGRAM); then cp $@ ../bin; fi
 21
 22 libs: lib$(PGMASCLIB).a lib$(PGMASCLIB).@PACKAGE_VERSION@.so
 23@@ -97,10 +99,7 @@
15 # PHONY = don't look at file clean, -rm = start rm and ignore errors 24 # PHONY = don't look at file clean, -rm = start rm and ignore errors
16 .PHONY : clean proper install 25 .PHONY : clean proper install uninstall
17 install: all 26 install: all
18- $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir) 27- #$(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
 28- $(INSTALL) -d $(DESTDIR)$(bindir)
19 $(INSTALL) ../bin/$(PROGRAM) $(DESTDIR)$(bindir) 29 $(INSTALL) ../bin/$(PROGRAM) $(DESTDIR)$(bindir)
20- $(INSTALL) ../bin/gocr.tcl $(DESTDIR)$(bindir) # better X11/bin? 30- $(INSTALL) ../bin/gocr.tcl $(DESTDIR)$(bindir) # better X11/bin?
21 $(INSTALL) $(LIBPGMASCLIB) $(DESTDIR)$(libdir) 31 if test -f lib$(PGMASCLIB).a; then\
22 $(INSTALL) $(INCLUDEFILES) $(DESTDIR)$(includedir) 32 $(INSTALL) lib$(PGMASCLIB).a $(DESTDIR)$(libdir);\
23  33 $(INSTALL) lib$(PGMASCLIB).@PACKAGE_VERSION@.so $(DESTDIR)$(libdir);\

File Added: pkgsrc/graphics/gocr/patches/patch-ac
$NetBSD: patch-ac,v 1.1 2009/07/21 20:23:55 brook Exp $

--- man/Makefile.in.orig
+++ man/Makefile.in
@@ -16,7 +16,6 @@
 # PHONY = don't look at file clean, -rm = start rm and ignore errors
 .PHONY : clean proper install uninstall
 install: all
-	$(INSTALL) -d $(DESTDIR)$(mandir)/man1
 	$(INSTALL) ../man/man1/$(PROGRAM).1 $(DESTDIR)$(mandir)/man1
 
 uninstall: