Binary package hint: tuxguitar
When executing tuxguitar on Natty, I got the following exception:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3555 or swt-pi-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:131)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
The command line executed by tuxguitar script is:
/usr/lib/jvm/java-6-openjdk/jre/bin/../..//jre/bin/java -Xms128m -Xmx128m -Djava.library.path=/usr/lib/jni -Dtuxguitar.share.path=/usr/share/tuxguitar -cp :/usr/share/tuxguitar/:/usr/share/tuxguitar//tuxguitar.jar:/usr/share/java/itext.jar:/usr/lib/java/swt-gtk-3.5.1.jar: org.herac.tuxguitar.gui.TGMain /usr/share/tuxguitar/tuxguitar.tg
And `ls /usr/lib/jni` gives me:
libjava-access-bridge-jni.so libswt-mozilla-gtk-3555.so
libjava-access-bridge-jni.so.0 libswt-pi-gtk-3555.so
libjava-access-bridge-jni.so.0.0.0 libswt-xpcominit-gtk-3555.so
libswt-atk-gtk-3555.so libswt-xulrunner-gtk-3555.so
libswt-awt-gtk-3555.so libtuxguitar-alsa-jni.so
libswt-cairo-gtk-3555.so libtuxguitar-oss-jni.so
libswt-gtk-3555.so
I don't know why this happens...
I've tried to downgrade the libswt packages from 3.5.1+versionbu mp-5ubuntu2 to 3.5.1+versionbu mp-5ubuntu1 and tuxguitar is starting again, however shortly after the window shows up tuxguitar crashes with this error:
Gdk-ERROR **: The program 'TuxGuitar' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 4143 error_code 8 request_code 149 minor_code 4)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...
I don't know if this happens because I've downgraded the libraries or because xorg has been updated recently in natty.