Created
July 21, 2011 06:32
-
-
Save DanThiffault/1096642 to your computer and use it in GitHub Desktop.
Fingerworks Multitouch Utility Runner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# authenticate with the repository | |
# use a blank password | |
cvs -d:pserver:[email protected]:/cvsroot/jusb login | |
# pull down the source | |
cvs -z3 -d:pserver:[email protected]:/cvsroot/jusb co -P jusb | |
# change directories | |
cd jusb | |
# download the patch | |
curl https://raw.github.com/gist/1096642/28a4716fb5972d44afa47af0d1b2ffea4cc285da/jusb_osx.patch >jusb_osx.patch | |
# patch the source | |
# use Makefile as the file name | |
patch < jusb_osx.patch | |
# compile the source | |
make | |
# copy the files in to the referenced directory | |
cp -r libjusbMacOSX.jnilib* /Applications/FingerWorks/lib/jusb/ | |
cp jusb.jar /Applications/FingerWorks/lib/jusb/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
217c217 | |
< JNI_INC = -I/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Headers | |
--- | |
> JNI_INC = -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers | |
488a489 | |
> native/*.o \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export JAVAROOT=Contents/Resources/Java/ | |
export CLASS_PATH=lib/jusb/jusb.jar:lib/FW_defaults.jar:lib/upgredit.jar:lib/jh.jar:lib/utility_help.jar:lib/jdom/xerces.jar:lib/jdom/jdom.jar:$JAVAROOT/lax.jar | |
cd /Applications/Fingerworks | |
java -Djava.library.path=lib/jusb -Dcom.apple.mrj.application.growbox.intrudes=true -classpath $CLASS_PATH fingerworks.firmup.UtilityLauncher |
from Wikipedia on Rosetta 1:
https://en.m.wikipedia.org/wiki/Rosetta_(software)
cannot run the following:
…
Bundled Java applications or Java applications with JNI libraries that cannot be translated
I think this is the right file: https://119labs-us.s3.amazonaws.com/blog-files/FingerWorks.zip
Thx, but do you have the Linux no Java version? I have the Mac one:(
I do not 😞
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aww thank you soo much (I don’t have PPC computer anymore to put the software on, and Rosetta won’t run JNI libs for PPC. My only thus alternative is either buy an old ppc computer or get the Linux version without Java, which I am most inclined to)