Hello community,

here is the log from the commit of package gocr for openSUSE:Factory
checked in at Mon Feb 21 00:51:52 CET 2011.



--------
--- gocr/gocr.changes   2010-01-07 13:33:01.000000000 +0100
+++ /mounts/work_src_done/STABLE/gocr/gocr.changes      2011-02-18 
21:02:28.000000000 +0100
@@ -1,0 +2,28 @@
+Thu Feb 17 22:07:48 UTC 2011 - [email protected]
+
+- Update to version 0.49:
+  + fix dot handling for ':' and ';' (vector code)
+  + fix '@' for 7x9 and 5x8 fonts
+  + fix double counting of subboxes (affects "0" (zero) with dot in it)
+  + character "l" of width 1 improved
+  + bug fix gluing chars ij of width=1
+  + bug fix thresholding (small gray images)
+  + return error code -1 on ERROR pnm.c unexpected EOF
+  + fix conflicts with unicode_defs.h TRUE definition on gcc/alphaev7-osf/3.4
+  + further fixes for lib by D. Katsubo
+  + fix #3039007 "struct list" in list.h conflicts with STL (ocr_object_list)
+  + fix #3039006 INFINITY macro in unicode.h conflicts with math.h
+  + bugfix barcode 128, switch from mode mC to mA (":1")
+  + bugfix: MultiPNM + database  - ID: 2957140
+  + improved barcode recognition - ID: 2859644 (bars wider than spaces)
+  + quality test-script bin/gocr_chk.sh added
+  + initial datamatrix support (ASCII + ASCII numeric only, no ErrCorrection)
+- Spec file updates:
+  + Changes based on rpmdevtools templates and spec-cleaner run.
+  + Updates in Summary:, Url:, Buildrequires:, %build and %install sections.
+  + Added needed packages in Requires: section.
+- Fix doc files path of man file.
+- Added a patch to fix an rpmlint warning (file-contains-current-date).
+- Updated gocr.desktop file.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  gocr-0.48.tar.bz2

New:
----
  gocr-0.49.tar.bz2
  no-build-date.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gocr.spec ++++++
--- /var/tmp/diff_new_pack.U482QP/_old  2011-02-21 00:51:42.000000000 +0100
+++ /var/tmp/diff_new_pack.U482QP/_new  2011-02-21 00:51:42.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package gocr (Version 0.48)
+# spec file for package gocr
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,21 +19,27 @@
 
 
 Name:           gocr
-Version:        0.48
+Version:        0.49
 Release:        1
-Summary:        Optical Character Recognition
+Summary:        Optical Character Recognition Program
+
 License:        GPLv2+
+Url:            http://jocr.sourceforge.net/
 Group:          Productivity/Graphics/Other
-Url:            http://www-e.uni-magdeburg.de/jschulen/ocr/index.html
-Source:         %{name}-%{version}.tar.bz2
+Source0:        %{name}-%{version}.tar.bz2
 Source1:        gocr.desktop
-BuildRequires:  ghostscript-fonts-other
-BuildRequires:  ghostscript-fonts-std
-BuildRequires:  ghostscript-x11
+# PATCH-FIX-OPENSUSE no-build-date.patch [email protected] -- Fix 
rpmlint warning "file-contains-current-date" (/usr/bin/gocr)
+Patch0:         no-build-date.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
 BuildRequires:  libnetpbm-devel
 BuildRequires:  transfig
+%if 0%{?suse_version}
 BuildRequires:  update-desktop-files
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%endif
+Requires:       jpeg
+Requires:       netpbm
+Requires:       transfig
 
 %description
 GOCR is an optical character recognition program. It reads images in
@@ -42,10 +48,10 @@
 
 %package gui
 License:        GPLv2+
+Summary:        Optical Character Recognition Program - Basic Graphical 
Interface
 Group:          Productivity/Graphics/Other
-Summary:        Optical Character Recognition - Basic Graphical Interface
+Requires:       tk
 Requires:       %{name} = %{version}
-Requires:       tcl tk
 Supplements:    packageand(gocr:tk)
 
 %description gui
@@ -57,36 +63,42 @@
 
 %prep
 %setup -q
+%patch0
 rm -rf */CVS
 rm examples/.#Makefile.1.22
 
 %build
 %configure
-make
-make examples
-make doc
+make %{?_smp_mflags}
+make %{?_smp_mflags} examples
+make %{?_smp_mflags} doc
 
 %install
-%makeinstall
-test -x %{buildroot}%{_mandir}/man1/gocr.1
-chmod a-x %{buildroot}%{_mandir}/man1/gocr.1
-%suse_update_desktop_file -i gocr Graphics OCR
+%make_install
+test -x %{buildroot}%{_mandir}/man1/gocr.1 && chmod a-x 
%{buildroot}%{_mandir}/man1/gocr.1
+
+# Fix doc files path
+perl -pi -e 
"s|/usr/share/doc/gocr-\\\fBX.XX\\\fR/|/usr/share/doc/packages/gocr/|" 
%{buildroot}%{_mandir}/man1/gocr.1
+
+%if 0%{?suse_version}
+%suse_update_desktop_file -i %{name} Graphics OCR
+%endif
 
 %clean
-rm -fr %{buildroot}
+rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc AUTHORS BUGS CREDITS HISTORY README TODO gpl.html
+%doc doc/examples.txt
 %doc doc/gocr.html
 %doc doc/unicode.txt
-%doc doc/examples.txt
-%doc examples
+%doc examples/
 %doc %{_mandir}/man?/gocr.*
 %{_bindir}/gocr
 
 %files gui
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %{_bindir}/gocr.tcl
 %{_datadir}/applications/gocr.desktop
 

++++++ gocr-0.48.tar.bz2 -> gocr-0.49.tar.bz2 ++++++
++++ 5434 lines of diff (skipped)

++++++ gocr.desktop ++++++
--- /var/tmp/diff_new_pack.U482QP/_old  2011-02-21 00:51:42.000000000 +0100
+++ /var/tmp/diff_new_pack.U482QP/_new  2011-02-21 00:51:42.000000000 +0100
@@ -1,5 +1,9 @@
 [Desktop Entry]
-Type=Application
-Exec=gocr.tcl
 Name=gOCR
-
+GenericName=Optical Character Recognition Program
+Comment=gOCR is an optical character recognition program
+Exec=gocr.tcl
+#Icon=
+Terminal=false
+Type=Application
+Categories=Graphics;OCR;

++++++ no-build-date.patch ++++++
--- src/gocr.c  2010-08-05 09:53:03.000000000 +0300
+++ src/gocr.c.new      2011-02-17 23:49:55.980823711 +0200
@@ -247,8 +247,6 @@
 
   if (job->cfg.verbose) {
     out_version(0);
-    /* insert some helpful info for support */
-    fprintf(stderr, "# compiled: " __DATE__ );
 #if defined(__GNUC__)
     fprintf(stderr, " GNUC-%d", __GNUC__ );
 #endif

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to