rpms/tesseract/devel .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 tesseract.spec, 1.4, 1.5 tesseract-2.01-upstream_patch1.patch, 1.1, NONE
Karol Trzcionka (karlik)
fedora-extras-commits at redhat.com
Sat May 3 22:59:32 UTC 2008
Author: karlik
Update of /cvs/pkgs/rpms/tesseract/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2077/devel
Modified Files:
.cvsignore sources tesseract.spec
Removed Files:
tesseract-2.01-upstream_patch1.patch
Log Message:
Update to v2.03
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/tesseract/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore 7 Sep 2007 21:21:03 -0000 1.4
+++ .cvsignore 3 May 2008 22:58:53 -0000 1.5
@@ -1,2 +1,2 @@
-tesseract-2.01.tar.gz
+tesseract-2.03.tar.gz
tesseract-2.00.eng.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/tesseract/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources 7 Sep 2007 21:21:03 -0000 1.4
+++ sources 3 May 2008 22:58:53 -0000 1.5
@@ -1,2 +1,2 @@
-fb0e6e7652b985049c11a4bc8e593885 tesseract-2.01.tar.gz
+5777b70b11df16c1ac9aa155d7cfc553 tesseract-2.03.tar.gz
b8291d6b3a63ce7879d688e845e341a9 tesseract-2.00.eng.tar.gz
Index: tesseract.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tesseract/devel/tesseract.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- tesseract.spec 9 Feb 2008 15:48:28 -0000 1.4
+++ tesseract.spec 3 May 2008 22:58:53 -0000 1.5
@@ -1,6 +1,6 @@
Name: tesseract
-Version: 2.01
-Release: 2%{?dist}
+Version: 2.03
+Release: 1%{?dist}
Summary: Raw OCR Engine
Group: Applications/File
@@ -8,7 +8,6 @@
URL: http://code.google.com/p/tesseract-ocr/
Source0: http://tesseract-ocr.googlecode.com/files/%{name}-%{version}.tar.gz
Source1: http://tesseract-ocr.googlecode.com/files/%{name}-2.00.eng.tar.gz
-Patch0: tesseract-2.01-upstream_patch1.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtiff-devel
@@ -28,10 +27,14 @@
%prep
%setup -q -a 1
-%patch0
%build
sed -i 's#-DTESSDATA_PREFIX=@datadir@/#-DTESSDATA_PREFIX=@datadir@/%{name}/##' ccutil/Makefile.*
+find . -type f -exec sed -i 's/#include <string>/#include <string>\n#include <cstring>/' {} \; ;
+sed -i 's/#include <iostream>/#include <iostream>\n#include <cstring>/' viewer/svmnode.cpp
+sed -i 's/#include <cstring>/#include <cstring>\n#include <cstdlib>/' viewer/svutil.cpp
+sed -i 's/#include <cstring>/#include <cstring>\n#include <climits>/' viewer/scrollview.cpp
+rm -f java/makefile
%configure
make %{?_smp_mflags}
@@ -62,6 +65,8 @@
%{_includedir}/%{name}
%changelog
+* Sun May 04 2008 Karol Trzcionka <karlikt at gmail.com> - 2.03-1
+- Update to v2.03
* Sat Feb 09 2008 Karol Trzcionka <karlikt at gmail.com> - 2.01-2
- Rebuild for gcc43
* Fri Sep 07 2007 Karol Trzcionka <karlikt at gmail.com> - 2.01-1
--- tesseract-2.01-upstream_patch1.patch DELETED ---
More information about the scm-commits
mailing list