Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193163 - [java-overlay] media-sound/tuxguitar-0.9.1-r1 language problem
Summary: [java-overlay] media-sound/tuxguitar-0.9.1-r1 language problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-20 11:56 UTC by Markus Rathgeb
Modified: 2007-09-21 05:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rathgeb 2007-09-20 11:56:58 UTC
When I start tuxguitar I get the following exception:

java.util.MissingResourceException: Can't find bundle for base name lang.messages, locale en_US
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1508)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1262)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:717)
        at org.herac.tuxguitar.gui.system.language.LanguageManager.setLanguage(Unknown Source)
        at org.herac.tuxguitar.gui.TuxGuitar.initLanguage(Unknown Source)
        at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
        at org.herac.tuxguitar.gui.TuxGuitar.main(Unknown Source)

The menus are not replaced correctly, they just named e.g. "measure.copie".

I have read this: http://www.tuxguitar.com.ar/forum_posts.html?fid=5&tid=204&view=NEW

The option "-Dtuxguitar.shared.path=/usr/share/tuxguitar" in /usr/bin/tuxguitar has no function now (I believe it).
I have to add /usr/share/tuxguitar to the CLASSPATH.

So I edited the file /usr/share/tuxguitar/package.env
-CLASSPATH="/usr/share/tuxguitar/lib/TuxGuitar.jar"
+CLASSPATH="/usr/share/tuxguitar/lib/TuxGuitar.jar:/usr/share/tuxguitar"

But I think there are nicer solutions.

Reproducible: Always
Comment 1 Markus Rathgeb 2007-09-20 12:11:34 UTC
The file
./src/org/herac/tuxguitar/gui/util/TuxGuitarFileUtils.java
contains the line
private static final String SYSTEM_SHARED_PROPERTY = "tuxguitar.shared.path";

So I revise my statement that this will have no function now.
But it is fact that I (and others) have to add the share path to the classpath.
Comment 2 Alistair Bush (RETIRED) gentoo-dev 2007-09-20 19:53:49 UTC
Bumped to call java-pkg_addcp in ebuild. I have removed the tuxguitar.shared.path property. Still complaining about missing midi but I believe that isn't provided.

Please re-open if it is still broken.
Comment 3 Markus Rathgeb 2007-09-20 21:25:14 UTC
Now it is working.

But are you able to update the digest? So that not everybody have to do it by hand.

!!! Digest verification failed:
!!! /usr/portage/local/layman/java-overlay/media-sound/tuxguitar/ChangeLog
!!! Reason: Filesize does not match recorded size
!!! Got: 367
!!! Expected: 258
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-09-20 22:19:03 UTC
(In reply to comment #3)
> Now it is working.
> 
> But are you able to update the digest? So that not everybody have to do it by
> hand.
> 

betelgeuse@pena /mnt/checkouts/overlays/java/media-sound/tuxguitar $ svn ci -m "Fix Manifest."
Sending        tuxguitar/Manifest
Transmitting file data .
Committed revision 5404.
Comment 5 Alistair Bush (RETIRED) gentoo-dev 2007-09-21 05:37:19 UTC
sorry about that.