Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180243 - games-puzzle/pauker-1.7.5 version bump
Summary: games-puzzle/pauker-1.7.5 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-29 16:40 UTC by Tristan Heaven (RETIRED)
Modified: 2007-05-29 21:46 UTC (History)
1 user (show)

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


Attachments
pauker-1.7.5.ebuild (pauker-1.7.5.ebuild,1.28 KB, text/plain)
2007-05-29 16:41 UTC, Tristan Heaven (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Heaven (RETIRED) gentoo-dev 2007-05-29 16:40:50 UTC
I'm having trouble getting this to build properly.

Attaching my attempt...
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2007-05-29 16:41:40 UTC
Created attachment 120625 [details]
pauker-1.7.5.ebuild
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-05-29 17:14:10 UTC
(In reply to comment #0)
> I'm having trouble getting this to build properly.
> 
> Attaching my attempt...
> 

So do you need input from us or is this just a reminder bug?
Comment 3 Tristan Heaven (RETIRED) gentoo-dev 2007-05-29 17:15:37 UTC
I'd appreciate some help
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-05-29 17:29:30 UTC
(In reply to comment #3)
> I'd appreciate some help
> 

Then the actual failure would be useful instead of requiring as to download & compile ourselves just to point out something that we could point out from the logs.
Comment 5 Tristan Heaven (RETIRED) gentoo-dev 2007-05-29 17:38:47 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I'd appreciate some help
> > 
> 
> Then the actual failure would be useful instead of requiring as to download &
> compile ourselves just to point out something that we could point out from the
> logs.
> 

oh yeah, sorry...

$ pauker
Exception in thread "main" java.lang.NoClassDefFoundError: edu/stanford/ejalbert/exception/UnsupportedOperatingSystemException
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-05-29 18:41:22 UTC
(In reply to comment #5)
> $ pauker
> Exception in thread "main" java.lang.NoClassDefFoundError:
> edu/stanford/ejalbert/exception/UnsupportedOperatingSystemException
 
If you have dependencies, using --jar with dolauncher (as you do implicitly) won't make them load (unless you hardcode their paths to manifest's CLASSPATH which we don't do because it's ugly :). Upstream jar just bundles them inside, nasty and usual... Pass `--main $main_class` to dolauncher (the class name you pass to `jar -e` which you don't need to anymore).
Also, using jar -C classes is bit more elegant than cd classes; jar ... :)
# jar cf ${PN}.jar -C classes . || die "jar failed"
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-05-29 18:52:07 UTC
You'll also have to either point the --pre in dolauncher to GAMES_DATADIR or install the resources in GAMES_DATADIR/pauker/pauker because it expects them to be in ./pauker relative to the PWD... (as upstream has them in ./pauker dir relative to jar's "root").

Also, you can change the jdk/jre dep to >=1.4, it works fine.
Comment 8 Tristan Heaven (RETIRED) gentoo-dev 2007-05-29 21:46:22 UTC
works now, thanks :)