Browse Source

* added unpaper (0.2) - A tool to enhance scanned book page images

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20692 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
e17ac4f18e
  1. 38
      editors/unpaper/unpaper.conf
  2. 35
      editors/unpaper/unpaper.desc

38
editors/unpaper/unpaper.conf

@ -0,0 +1,38 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../unpaper/unpaper.conf
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
custextract=infolder_extract
infolder_extract() {
mkdir -p "$pkg-$ver"
taropt="-C $pkg-$ver $taropt"
autoextract_tar_bz2 "$@"
}
makeopt=
makeinstopt=
unpaper_make() {
$CC -D TIMESTAMP='"<yyyy-MM-dd HH:mm:ss>"' -lm -O3 \
-funroll-all-loops -fomit-frame-pointer -ftree-vectorize \
-o unpaper src/unpaper.c
}
unpaper_install() {
cp -vf unpaper $root$bindir/
cp -av doc $root$docdir/
}
hook_add inmake 5 'unpaper_make'
hook_add postmake 5 'unpaper_install'

35
editors/unpaper/unpaper.desc

@ -0,0 +1,35 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../unpaper/unpaper.desc
[COPY] Copyright (C) 2007 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A tool to enhance scanned book page images
[T] Unpaper is a post-processing tool for scanned sheets of paper,
[T] especially for book pages that have been scanned from previously created
[T] photocopies. It can make scanned pages more readable on a screen and
[T] more acceptable for OCR. unpaper removes dark edges from the image and
[T] also tries to unskew or rotate pages to make the text horizontal.
[U] http://unpaper.berlios.de/
[A] Jens Gulden <unpaper@jensgulden.de>
[M] Alejandro Mery <amery@opensde.org>
[C] extra/tool
[L] GPL
[S] Beta
[V] 0.2
[P] X -----5---9 800.000
[D] 3207365116 unpaper-0_2.tgz http://download.berlios.de/unpaper/
Loading…
Cancel
Save