[SM-Commit] GIT changes to master grimoire by George Sherwood (9b228cc86832f4a6c8fffee1d3d912f00b385e56)

George Sherwood scm at sourcemage.org
Sat Aug 25 08:49:06 EDT 2007


GIT changes to master grimoire by George Sherwood <gsherwood at sourcemage.org>:

 ChangeLog                  |    1 +
 graphics/unpaper/BUILD     |    2 ++
 graphics/unpaper/DETAILS   |   23 +++++++++++++++++++++++
 graphics/unpaper/HISTORY   |    2 ++
 graphics/unpaper/INSTALL   |    1 +
 graphics/unpaper/PRE_BUILD |    3 +++
 6 files changed, 32 insertions(+)

New commits:
commit 9b228cc86832f4a6c8fffee1d3d912f00b385e56
Author: George Sherwood <gsherwood at sourcemage.org>
Commit: George Sherwood <gsherwood at sourcemage.org>

    unpaper: added new spell

diff --git a/ChangeLog b/ChangeLog
index 3eea0f0..c605f99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2007-08-25 George Sherwood <george at beernabeer.com>
 	* perl-cpan/perl-gtk2-simple-list: Added new cpan spell
 	* graphics/gscan2pdf: Added new spell
+	* graphics/unpaper: Added new spell
 
 2007-08-23 Eric Sandall <sandalle at sourcemage.org>
 	* kde-apps/kcpufreq: Added KDE CPUFreq applet
diff --git a/graphics/unpaper/BUILD b/graphics/unpaper/BUILD
new file mode 100755
index 0000000..6c8cae5
--- /dev/null
+++ b/graphics/unpaper/BUILD
@@ -0,0 +1,2 @@
+cd $SOURCE_DIRECTORY/src  && 
+gcc $CFLAGS -lm -o unpaper unpaper.c
diff --git a/graphics/unpaper/DETAILS b/graphics/unpaper/DETAILS
new file mode 100755
index 0000000..af2e1dd
--- /dev/null
+++ b/graphics/unpaper/DETAILS
@@ -0,0 +1,23 @@
+           SPELL=unpaper
+         VERSION=0_2
+          SOURCE="${SPELL}-${VERSION}.tgz"
+   SOURCE_URL[0]=http://download.berlios.de/${SPELL}/${SOURCE}
+     SOURCE_HASH=sha512:9955db91a486f0c5a6178a17ce03619c1428f64d755056ee57c5842fc800b04dcc5085a858933fcee65b0222b74a5f5e67b080926a2594429cf746dceec25219
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+        WEB_SITE="http://unpaper.berlios.de/"
+      LICENSE[0]=GPL
+         ENTERED=20070825
+           SHORT="post-processing scanned and photocopied book pages"
+cat << EOF
+npaper is a post-processing tool for scanned sheets of paper, especially for
+book pages that have been scanned from previously created photocopies. The
+main purpose is to make scanned book pages better readable on screen after
+conversion to PDF. Additionally, unpaper might be useful to enhance the
+quality of scanned pages before performing optical character recognition
+(OCR). unpaper tries to clean scanned images by removing dark edges that
+appeared through scanning or copying on areas outside the actual page content
+(e.g. dark areas between the left-hand-side and the right-hand-side of a
+double- sided book-page scan). The program also tries to detect disaligned
+centering and rotation of pages and will automatically straighten each page
+by rotating it to the correct angle.
+EOF
diff --git a/graphics/unpaper/HISTORY b/graphics/unpaper/HISTORY
new file mode 100644
index 0000000..4bf9723
--- /dev/null
+++ b/graphics/unpaper/HISTORY
@@ -0,0 +1,2 @@
+2007-08-25 George Sherwood <george at beernabeer.com>
+	* DETAILS, HISTORY, BUILD, INSTALL, PRE_BUILD: created spell
diff --git a/graphics/unpaper/INSTALL b/graphics/unpaper/INSTALL
new file mode 100755
index 0000000..47cdd59
--- /dev/null
+++ b/graphics/unpaper/INSTALL
@@ -0,0 +1 @@
+cp -v $SOURCE_DIRECTORY/src/unpaper $INSTALL_ROOT/usr/bin
diff --git a/graphics/unpaper/PRE_BUILD b/graphics/unpaper/PRE_BUILD
new file mode 100755
index 0000000..9eb27d1
--- /dev/null
+++ b/graphics/unpaper/PRE_BUILD
@@ -0,0 +1,3 @@
+mkdir $SOURCE_DIRECTORY  &&
+cd $SOURCE_DIRECTORY &&
+unpack_file
\ No newline at end of file



More information about the SM-Commit mailing list