Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 2015 04:42:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196036] audio/tuxguitar: doesn't start
Message-ID:  <bug-196036-13-aSjGfGHMdP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196036-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196036-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196036

--- Comment #3 from Reuben Kebreau <rjk@openmailbox.org> ---
On lines 17 and 18 of /usr/local/bin/tuxguitar I found the following:

# We need this because FreeBSD's SWT lacks browser support
SWT_HACK="-Dos.name=linux"

TuxGuitar then attempts to launch with ${SWT_HACK} as an argument. As it turns
out, linux must be capitalized for Java to recognize the OS as Linux. However,
Java then goes looking for the LinuxFileSystemProvider class, which I assume is
not in FreeBSD's default OpenJDK 7 package/port. Changing the -Dos.name
variable
to "FreeBSD" instead of "linux" (or removing it altogether) seems to allow
TuxGuitar to start.

I don't know what that does for FreeBSD's SWT browser support, though.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196036-13-aSjGfGHMdP>