Package: sikuli / 1.0~x~rc3.tesseract3-dfsg1-8

Metadata

Package Version Patches format
sikuli 1.0~x~rc3.tesseract3-dfsg1-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
executable wrappers.patch | (download)

sikuli-ide/target/linux/Sikuli-IDE/sikuli-ide.sh | 3 1 + 2 - 0 !
sikuli-script/target/sikuli-script.sh | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 3 deletions(-)

 fix executable wrapper scripts
 This patch fixes the sikuli-script and sikuli-ide wrapper script regarding
 the installation on Debian.
 Since we don't embed external libs we have to set classpath, python path
 and jni path accordingly.
 libconstantine-java isn't explicitly required but sikuli-script fails with:
  ImportError: cannot import name newString
 when it is missing.
native.patch | (download)

sikuli-script/src/main/java/org/sikuli/script/Finder.java | 6 2 + 4 - 0 !
sikuli-script/src/main/java/org/sikuli/script/TextRecognizer.java | 6 2 + 4 - 0 !
sikuli-script/src/main/java/org/sikuli/script/VDictProxy.java | 5 2 + 3 - 0 !
sikuli-script/src/main/java/org/sikuli/script/internal/hotkey/LinuxHotkeyManager.java | 5 2 + 3 - 0 !
sikuli-script/src/main/native/vision.i | 8 4 + 4 - 0 !
5 files changed, 12 insertions(+), 18 deletions(-)

 use system's native library loader
 Sikuli upstream binary archives come with the native library loader
 mx-native-loader from http://opensource.mxtelecom.com/ which permits
 to embed native libraries into the jar archive.
 This is not compatible with the Debian policy for java. Hence native
 libraries are shipped in their own binary package and we use the standard
 native library loader.
use java libs from debian.patch | (download)

sikuli-ide/CMakeLists.txt | 23 11 + 12 - 0 !
sikuli-script/CMakeLists.txt | 31 15 + 16 - 0 !
2 files changed, 26 insertions(+), 28 deletions(-)

 adapt the build process to use debian java libraries
 The upstream makefiles rely on embedded java libraries. This patch
 tweak the makefiles to use instead the same libraries provided by
 Debian packages from Build-Depends.
install extension.patch | (download)

sikuli-script/src/main/java/org/sikuli/script/ExtensionManager.java | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 fix extensions installation in user space
fix cmake sikuli ide.patch | (download)

sikuli-ide/CMakeLists.txt | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 fix build-time dependencies for sikuli-ide
tess3.patch | (download)

cmake_modules/FindTesseract.cmake | 15 3 + 12 - 0 !
sikuli-script/src/main/native/tessocr.cpp | 3 1 + 2 - 0 !
2 files changed, 4 insertions(+), 14 deletions(-)

 tesseract 3.02 support
 This patch applies against tesseract3 branch of sikuli to bring support
 for the 3.02 version of tesseract.
tessdata.patch | (download)

sikuli-script/CMakeLists.txt | 2 1 + 1 - 0 !
sikuli-script/src/main/java/org/sikuli/script/TextRecognizer.java | 10 3 + 7 - 0 !
sikuli-script/src/main/native/tessocr.cpp | 12 2 + 10 - 0 !
3 files changed, 6 insertions(+), 18 deletions(-)

 fix tessdata directory location
 The default path for the tessdata parent directory should be set to
 "/usr/share/tesseract-ocr/" except when overriden by the TESSDATA_PREFIX
 environment variable.
gcc 4.7.patch | (download)

sikuli-script/src/main/native/sikuli-debug.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix ftbfs with gcc-4.7
no opencv surf module.patch | (download)

sikuli-script/src/main/native/cvgui.cpp | 318 0 + 318 - 0 !
sikuli-script/src/main/native/cvgui.h | 1 0 + 1 - 0 !
sikuli-script/src/main/native/imgdb.cpp | 115 0 + 115 - 0 !
sikuli-script/src/main/native/imgdb.h | 5 0 + 5 - 0 !
sikuli-script/src/main/native/vision.cpp | 63 0 + 63 - 0 !
sikuli-script/src/main/native/vision.h | 5 0 + 5 - 0 !
sikuli-script/src/main/native/vision.i | 6 0 + 6 - 0 !
7 files changed, 513 deletions(-)

 remove unused code with dependency on the opencv surf module
 Since release 2.4 the opencv Debian package doesn't ship the SURF module
 anymore which is considered non-free.  Fortunately, Sikuli actually
 doesn't use the code depending on it.
 This patch removes the corresponding portions of code.
setTextAndMnemonic.patch | (download)

sikuli-ide/CMakeLists.txt | 4 3 + 1 - 0 !
sikuli-ide/src/main/java/org/sikuli/ide/PreferencesWin.java | 5 3 + 2 - 0 !
sikuli-ide/target/linux/Sikuli-IDE/sikuli-ide.sh | 2 1 + 1 - 0 !
3 files changed, 7 insertions(+), 4 deletions(-)

 fix deprecated defaultcomponentfactory#settextandmnemonic
 Replace the deprecated method with MnemonicUtils#configure.