Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ebuild help: java main class?
Date: Sun, 25 Oct 2009 22:22:01
Message-Id: 49bf44f10910251521g57250a30x965d63d692ff7b79@mail.gmail.com
In Reply to: Re: [gentoo-user] ebuild help: java main class? by Grant
1 >>> Another option is to use the start script supplied in the bug:
2 >>>
3 >>> http://bugs.gentoo.org/show_bug.cgi?id=128356
4 >>> http://bugs.gentoo.org/attachment.cgi?id=97807
5 >>>
6 >>> but I'm not sure how to get it to install somewhere useful.  Just
7 >>> putting it in the files dir, I don't think anything happens with it.
8 >>> Any pointers on that?
9 >>
10 >> I added an alternate ebuild to the bug. It doesn't need external
11 >> runner scripts. With it JAlbum-.8.5.1 seems to start-up nicely even on
12 >> amd64, asks for some kind of login (I canceled out from that screen),
13 >> and then allows one to ... well, design album covers, I guess. :)
14 >>
15 >> That's how far I tried it. Now it starts up, but I still don't know if
16 >> all the dependencies got properly laid out. And reading into the
17 >> ebuild should reveal many pieces still needing work.
18 >>
19 >> --
20 >> Arttu V.
21 >
22 > Thank you very much Arttu.  It works great!  JAlbum is a photo
23 > management app BTW.  It's really slick.
24 >
25 > So all the new dependencies were required to create /usr/bin/jalbum?
26 >
27 > - Grant
28
29 I'm sorry Arttu, I spoke too soon. I only did a cursory check before.
30 The program doesn't seem to work at all when installed via the new
31 ebuild.
32
33 The only way I can get the program to run properly is to install via
34 the old ebuild, 'chmod 755 /usr/lib/JAlbum/startjalbum.sh', 'cd
35 /usr/lib/JAlbum', and './startjalbum.sh'. I'd like the ebuild to
36 leave the user with a command that can be put into a simple launcher
37 though. Should I have the ebuild chmod, cp, and alter the contents of
38 the .sh script to provide the full path of JAlbum.jar so cd isn't
39 necessary?
40
41 - Grant

Replies

Subject Author
Re: [gentoo-user] ebuild help: java main class? Grant <emailgrant@×××××.com>