From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-102461-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1N2Cxr-0000Jn-66
	for garchives@archives.gentoo.org; Sun, 25 Oct 2009 23:57:35 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5AD1EE075B;
	Sun, 25 Oct 2009 23:57:33 +0000 (UTC)
Received: from mail-pz0-f174.google.com (mail-pz0-f174.google.com [209.85.222.174])
	by pigeon.gentoo.org (Postfix) with ESMTP id 27B9EE075B
	for <gentoo-user@lists.gentoo.org>; Sun, 25 Oct 2009 23:57:33 +0000 (UTC)
Received: by pzk4 with SMTP id 4so11791376pzk.32
        for <gentoo-user@lists.gentoo.org>; Sun, 25 Oct 2009 16:57:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=mWFyj6TK4HZ29qCYbKD+DWFRKMGvN12rVrAx2wuA1es=;
        b=L0pML8z7pkO2CQ5cPjPcpVgp57bDE46Dx3kVCFRSbZgbytC/29bdwQGMRNcBUnhDIV
         4+gK0ca6BKNj0bWRwx+P4R3qHET4ZyMxGEO0tkprboamYX8IMmK3kOiQw7B6oZ2hFA3+
         oyRRGPf/gxb2fjdQAPFvcXCqSxNGPbHdMQmaw=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=ImQdyncrJ8LejRIIiZ30hwDZxsRzyb6Jki1bRsoikjueGidhMhFh4R8NxS0wemFjHr
         C8lW7Pl6No3W7thlOrHsK7PVn9Xe6wdTYTuzMI9EsNlOLZU1Cl8B9a1G6Pysokw/uDsR
         Bz22pR4JrKEW3gc/8W+nbguci1dKGbBpv4HLY=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.114.165.36 with SMTP id n36mr17710101wae.116.1256515052670; 
	Sun, 25 Oct 2009 16:57:32 -0700 (PDT)
In-Reply-To: <49bf44f10910251521g57250a30x965d63d692ff7b79@mail.gmail.com>
References: <49bf44f10910241312i703d447fj3ffa1156b1bcf074@mail.gmail.com>
	 <4AE3A011.4030309@gmail.com>
	 <49bf44f10910242135g3318bbe5w1ef9fd2e010bbc95@mail.gmail.com>
	 <fecdbac60910250447g4b129975m9f4cfcf16fbbefcf@mail.gmail.com>
	 <49bf44f10910250802w6a7c36aaufad02fafb2dfbc56@mail.gmail.com>
	 <fecdbac60910251048l4a94ccd8o2840c2c93226427@mail.gmail.com>
	 <49bf44f10910251133y36b95eeax167549b5805eb7f9@mail.gmail.com>
	 <49bf44f10910251521g57250a30x965d63d692ff7b79@mail.gmail.com>
Date: Sun, 25 Oct 2009 16:57:32 -0700
Message-ID: <49bf44f10910251657q20b864e3y84fb5df853fdb7b3@mail.gmail.com>
Subject: Re: [gentoo-user] ebuild help: java main class?
From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 3dc715af-8ca0-4479-a18e-71119f5bb359
X-Archives-Hash: e2c8eb0792e4cb59ec3b56418ecb0768

>>>> Another option is to use the start script supplied in the bug:
>>>>
>>>> http://bugs.gentoo.org/show_bug.cgi?id=3D128356
>>>> http://bugs.gentoo.org/attachment.cgi?id=3D97807
>>>>
>>>> but I'm not sure how to get it to install somewhere useful. =A0Just
>>>> putting it in the files dir, I don't think anything happens with it.
>>>> Any pointers on that?
>>>
>>> I added an alternate ebuild to the bug. It doesn't need external
>>> runner scripts. With it JAlbum-.8.5.1 seems to start-up nicely even on
>>> amd64, asks for some kind of login (I canceled out from that screen),
>>> and then allows one to ... well, design album covers, I guess. :)
>>>
>>> That's how far I tried it. Now it starts up, but I still don't know if
>>> all the dependencies got properly laid out. And reading into the
>>> ebuild should reveal many pieces still needing work.
>>>
>>> --
>>> Arttu V.
>>
>> Thank you very much Arttu. =A0It works great! =A0JAlbum is a photo
>> management app BTW. =A0It's really slick.
>>
>> So all the new dependencies were required to create /usr/bin/jalbum?
>>
>> - Grant
>
> I'm sorry Arttu, I spoke too soon. =A0I only did a cursory check before.
> =A0The program doesn't seem to work at all when installed via the new
> ebuild.
>
> The only way I can get the program to run properly is to install via
> the old ebuild, 'chmod 755 /usr/lib/JAlbum/startjalbum.sh', 'cd
> /usr/lib/JAlbum', and './startjalbum.sh'. =A0I'd like the ebuild to
> leave the user with a command that can be put into a simple launcher
> though. =A0Should I have the ebuild chmod, cp, and alter the contents of
> the .sh script to provide the full path of JAlbum.jar so cd isn't
> necessary?
>
> - Grant

I realized that I can issue 'java -Xmx400M -jar
/usr/lib/JAlbum/JAlbum.jar' to launch the program.  I've attached a
new ebuild to the bug that is pretty simple and includes some stuff
from your ebuild.

- Grant