[arch-commits] Commit in ocrad/trunk (PKGBUILD ocrad-0.17-gcc43.patch)
Giovanni Scafora
giovanni at archlinux.org
Wed Feb 10 10:22:03 UTC 2010
Date: Wednesday, February 10, 2010 @ 05:22:02
Author: giovanni
Revision: 67984
upgpkg: ocrad 0.19-1
upstream release
Modified:
ocrad/trunk/PKGBUILD
Deleted:
ocrad/trunk/ocrad-0.17-gcc43.patch
------------------------+
PKGBUILD | 21 +++++----
ocrad-0.17-gcc43.patch | 101 -----------------------------------------------
2 files changed, 11 insertions(+), 111 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-02-10 08:37:21 UTC (rev 67983)
+++ PKGBUILD 2010-02-10 10:22:02 UTC (rev 67984)
@@ -1,24 +1,25 @@
# $Id$
-# Maintainer: damir <damir at archlinux.org>
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
pkgname=ocrad
-pkgver=0.17
-pkgrel=2
-pkgdesc="OCR (Optical Character Recognition) program implemented as a filter and based on a feature extraction method"
-arch=("i686" "x86_64")
+pkgver=0.19
+pkgrel=1
+pkgdesc="An Optical Character Recognition program"
+arch=('i686' 'x86_64')
url="http://www.gnu.org/software/ocrad/ocrad.html"
license=('GPL3')
depends=('gcc-libs' 'texinfo')
install=ocrad.install
-source=("http://ftp.gnu.org/gnu/ocrad/ocrad-$pkgver.tar.bz2" ocrad-0.17-gcc43.patch)
-md5sums=('687c213b3334d5a6c2dcef97805c5882' 'ad9773c0582cccc6e36ffaef0090d046')
+source=(http://ftp.gnu.org/gnu/ocrad/ocrad-$pkgver.tar.gz)
+md5sums=('e14dd0bd1fcab4fe9e6928f0f0de2751')
build() {
- cd $srcdir/$pkgname-$pkgver
- patch -p1 < ../ocrad-0.17-gcc43.patch || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+
./configure --prefix=/usr || return 1
make || return 1
- make DESTDIR=$pkgdir install install-man || return 1
+ make DESTDIR="${pkgdir}" install install-man || return 1
rm $pkgdir/usr/share/info/dir
gzip $pkgdir/usr/share/info/*
}
Deleted: ocrad-0.17-gcc43.patch
===================================================================
--- ocrad-0.17-gcc43.patch 2010-02-10 08:37:21 UTC (rev 67983)
+++ ocrad-0.17-gcc43.patch 2010-02-10 10:22:02 UTC (rev 67984)
@@ -1,101 +0,0 @@
-diff -up ocrad-0.17/textblock.cc.gcc43 ocrad-0.17/textblock.cc
---- ocrad-0.17/textblock.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
-+++ ocrad-0.17/textblock.cc 2008-02-19 19:36:25.000000000 +0100
-@@ -18,6 +18,7 @@
- #include <algorithm>
- #include <cstdio>
- #include <vector>
-+#include <string>
-
- #include "common.h"
- #include "rational.h"
-diff -up ocrad-0.17/page_image_layout.cc.gcc43 ocrad-0.17/page_image_layout.cc
---- ocrad-0.17/page_image_layout.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
-+++ ocrad-0.17/page_image_layout.cc 2008-02-19 19:36:25.000000000 +0100
-@@ -18,6 +18,8 @@
- #include <algorithm>
- #include <cstdio>
- #include <vector>
-+#include <cstdlib>
-+#include <string>
-
- #include "common.h"
- #include "rational.h"
-diff -up ocrad-0.17/track.cc.gcc43 ocrad-0.17/track.cc
---- ocrad-0.17/track.cc.gcc43 2008-02-19 19:37:08.000000000 +0100
-+++ ocrad-0.17/track.cc 2008-02-19 19:37:30.000000000 +0100
-@@ -17,6 +17,7 @@
-
- #include <algorithm>
- #include <vector>
-+#include <cstdio>
-
- #include "common.h"
- #include "rectangle.h"
-diff -up ocrad-0.17/textline.cc.gcc43 ocrad-0.17/textline.cc
---- ocrad-0.17/textline.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
-+++ ocrad-0.17/textline.cc 2008-02-19 19:36:25.000000000 +0100
-@@ -19,6 +19,7 @@
- #include <cctype>
- #include <cstdio>
- #include <vector>
-+#include <string>
-
- #include "common.h"
- #include "rational.h"
-diff -up ocrad-0.17/common.cc.gcc43 ocrad-0.17/common.cc
---- ocrad-0.17/common.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
-+++ ocrad-0.17/common.cc 2008-02-19 19:36:25.000000000 +0100
-@@ -17,6 +17,7 @@
-
- #include <algorithm>
- #include <cstdio>
-+#include <cstring>
- #include <cstdlib>
- #include "common.h"
-
-diff -up ocrad-0.17/textpage.cc.gcc43 ocrad-0.17/textpage.cc
---- ocrad-0.17/textpage.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
-+++ ocrad-0.17/textpage.cc 2008-02-19 19:36:25.000000000 +0100
-@@ -18,6 +18,7 @@
- #include <cstdio>
- #include <string>
- #include <vector>
-+#include <algorithm>
-
- #include "common.h"
- #include "rectangle.h"
-diff -up ocrad-0.17/textline_r2.cc.gcc43 ocrad-0.17/textline_r2.cc
---- ocrad-0.17/textline_r2.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
-+++ ocrad-0.17/textline_r2.cc 2008-02-19 19:36:25.000000000 +0100
-@@ -18,6 +18,7 @@
- #include <cctype>
- #include <cstdio>
- #include <vector>
-+#include <cstdlib>
-
- #include "common.h"
- #include "rectangle.h"
-diff -up ocrad-0.17/page_image.cc.gcc43 ocrad-0.17/page_image.cc
---- ocrad-0.17/page_image.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
-+++ ocrad-0.17/page_image.cc 2008-02-19 19:36:25.000000000 +0100
-@@ -19,6 +19,8 @@
- #include <cctype>
- #include <cstdio>
- #include <vector>
-+#include <climits>
-+#include <string>
-
- #include "common.h"
- #include "rational.h"
-diff -up ocrad-0.17/character_r12.cc.gcc43 ocrad-0.17/character_r12.cc
---- ocrad-0.17/character_r12.cc.gcc43 2007-06-29 14:29:13.000000000 +0200
-+++ ocrad-0.17/character_r12.cc 2008-02-19 19:36:25.000000000 +0100
-@@ -17,6 +17,7 @@
-
- #include <cstdio>
- #include <vector>
-+#include <cstdlib>
- #include "common.h"
- #include "rectangle.h"
- #include "ucs.h"
More information about the arch-commits
mailing list