summaryrefslogtreecommitdiff
path: root/graphics/ocropus/usr-local.diff
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave at gmail {dot} com>2010-07-30 02:46:02 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-31 22:31:51 -0500
commite502945912c3ccc6d55a6819bc921cf5f47cc4fd (patch)
tree5c008c3bf671002bdedefa3f8a7fde59d88bb113 /graphics/ocropus/usr-local.diff
parent43cc5518b42cbafb28111cfa607ce8a50e64bb6a (diff)
downloadslackbuilds-e502945912c3ccc6d55a6819bc921cf5f47cc4fd.tar.gz
graphics/ocropus: Added (document analysis and OCR system)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/ocropus/usr-local.diff')
-rw-r--r--graphics/ocropus/usr-local.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/ocropus/usr-local.diff b/graphics/ocropus/usr-local.diff
new file mode 100644
index 0000000000..0a17478e45
--- /dev/null
+++ b/graphics/ocropus/usr-local.diff
@@ -0,0 +1,22 @@
+Description:
+ Use /usr/share/ocropus/scripts/ and /usr/share/ocropus/ as defaults for
+ OCROSCRIPTS and OCRODATA.
+Author: Jakub Wilk <jwilk@debian.org>
+
+Index: ocropus-0.3.1/ocroscript/ocrotoplevel.cc
+===================================================================
+--- ocropus-0.3.1.orig/ocroscript/ocrotoplevel.cc 2009-11-26 16:56:18.000000000 +0100
++++ ocropus-0.3.1/ocroscript/ocrotoplevel.cc 2009-11-26 17:16:32.000000000 +0100
+@@ -68,10 +68,10 @@
+
+ // FIXME the Jamfile isn't passing this flag, so for now, this is a workaround
+ #ifndef OCROSCRIPTS
+-#define OCROSCRIPTS "/usr/local/share/ocropus/scripts/"
++#define OCROSCRIPTS "/usr/share/ocropus/scripts/"
+ #endif
+ #ifndef OCRODATA
+-#define OCRODATA "/usr/local/share/ocropus/"
++#define OCRODATA "/usr/share/ocropus/"
+ #endif
+
+ const char *ocroscripts = OCROSCRIPTS;