[sikuli] 05/09: Fix a couple more FileManager.loadLibrary calls
Gilles Filippini
pini at moszumanska.debian.org
Mon Oct 6 15:22:34 UTC 2014
This is an automated email from the git hooks/post-receive script.
pini pushed a commit to branch master
in repository sikuli.
commit 9a7c8aa77885d168407736824f74702f47a9e436
Author: Gilles Filippini <pini at debian.org>
Date: Mon Oct 6 16:16:43 2014 +0200
Fix a couple more FileManager.loadLibrary calls
---
debian/patches/native.patch | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/debian/patches/native.patch b/debian/patches/native.patch
index 046dc58..6a0038f 100644
--- a/debian/patches/native.patch
+++ b/debian/patches/native.patch
@@ -70,3 +70,29 @@ Index: sikuli/Basics/src/main/java/org/sikuli/basics/ResourceLoader.java
if (!what.equals(Settings.SIKULI_LIB)) {
log(-1, "Currently only Sikuli libs supported!");
return;
+Index: sikuli/API/src/main/java/org/sikuli/script/App.java
+===================================================================
+--- sikuli.orig/API/src/main/java/org/sikuli/script/App.java
++++ sikuli/API/src/main/java/org/sikuli/script/App.java
+@@ -45,7 +45,7 @@ public class App {
+ new Screen();
+ String libName = _osUtil.getLibName();
+ if (!libName.isEmpty()) {
+- FileManager.loadLibrary(libName);
++ System.loadLibrary(libName);
+ }
+ }
+
+Index: sikuli/API/src/main/java/org/sikuli/script/Screen.java
+===================================================================
+--- sikuli.orig/API/src/main/java/org/sikuli/script/Screen.java
++++ sikuli/API/src/main/java/org/sikuli/script/Screen.java
+@@ -54,7 +54,7 @@ public class Screen extends Region imple
+ //<editor-fold defaultstate="collapsed" desc="Initialization">
+
+ static {
+- FileManager.loadLibrary("VisionProxy");
++ System.loadLibrary("VisionProxy");
+ initScreens(false);
+ }
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git
More information about the pkg-java-commits
mailing list