FS#9774 - Tuxguitar needs newer version of swt than available in the repos

Attached to Project: Community Packages
Opened by Michael (SiD) - Thursday, 06 March 2008, 19:02 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 13 March 2008, 20:23 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The new Tuxguitar Version does not work. Seems version 3.4 of the package "swt" is needed.
But it's not available in the repos or in AUR. This is the error message:


Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3428 or swt-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)



Additional info:
* package version(s)

Tuxguitar 1.0rc1-1
swt 3.3-2

This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 13 March 2008, 20:23 GMT
Reason for closing:  Not a bug
Comment by Michael (SiD) - Thursday, 13 March 2008, 18:09 GMT
I've build a package for the swt-devel-3.4M5 version. I uploaded the PKGBUILD to AUR.
With the 3.4 version of swt Tuxguitar-1.0rc1-1 works.

So I think Tuxguitar should be downgraded to the previous version until swt-3.4 is stable and available in the repos.
What do you think?

There is one thing I don't understand. In the forums two users reported that Tuxguitar-1.0rc1-1 works with the swt-3.3 package.
Is it possible that's something "broken" on my system?
Comment by Sergej Pupykin (sergej) - Thursday, 13 March 2008, 18:14 GMT
I am 3rd user) tuxguitar at least starts successfully for me..
Comment by Michael (SiD) - Thursday, 13 March 2008, 19:53 GMT
I solved it.

The Tuxguitar package has its own swt-3.4 files in the archive file '/usr/share/TuxGuitar-1.0-rc1-linux-gtk-x86/lib/swt.jar'.
When Tuxguitar is started the needed (if not found on the system ... not shure about that) files are extracted to /tmp and used from there. The Problem is that I mount my /tmp partition 'noexec'.

With default mount options on /tmp Tuxguitar works for me too.

So, this bug could be closed.

Loading...