Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
java gaming initiative ebuilds (jogl,jinput,jutils)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
TheBohemian
n00b
n00b


Joined: 17 Feb 2004
Posts: 33

PostPosted: Fri Mar 05, 2004 1:04 am    Post subject: java gaming initiative ebuilds (jogl,jinput,jutils) Reply with quote

I have started writing ebuilds on my own and want to get some response about two of them. If you are interested in Java games programming and know jinput from javagaming.org or https://jinput.dev.java.net/ then this may be the right place for you.

As the title implies I made ebuilds for those nightly source packages which can be found here https://games-binaries.dev.java.net .

The two ebuilds are located here:
www.inf.fu-berlin.de/~rschuste/gentoo/jutils-1.0_beta.ebuild
www.inf.fu-berlin.de/~rschuste/gentoo/jinput-1.0_beta.ebuild

If someone can help me with this problem:
jinput needs jutils being available on the classpath. How can I ensure this when emerging jinput?

I am going to write ebuilds for jogl and joal as well when I have the time. If someone is faster than me please add the ebuilds to this thread.

EDIT:
The files have been updated and I have tested that their dependences are met when emerging.

EDIT2:
Please keep in mind that the jinput ebuild only installs the java part of the API not the (native) plugin. I am in contact with jinput's author to get a hint how the plugins could be installed system-wide in a convenient way.


Last edited by TheBohemian on Fri Mar 05, 2004 3:00 pm; edited 2 times in total
Back to top
View user's profile Send private message
jrz
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 272
Location: Sacramento, CA USA

PostPosted: Fri Mar 05, 2004 3:03 am    Post subject: Reply with quote

just make jutils a dependency for jinput, upon inspection it also needs ant too.

make sure to read the docs about ebuilds and also look at some examples.
_________________
Press F1 for Help.
Back to top
View user's profile Send private message
TheBohemian
n00b
n00b


Joined: 17 Feb 2004
Posts: 33

PostPosted: Fri Mar 05, 2004 2:56 pm    Post subject: JOGL ebuild Reply with quote

In my first post I said that I would provide ebuilds for the other JGI core projects too. Here is the ebuild for the most anticipated one: JOGL

http://www.inf.fu-berlin.de/~rschuste/gentoo/jogl-1.0_beta.ebuild

It uses some sed-trickery to fulfill jogl's building needs .. if someone knows a more clever way of doing that then tell me.
Back to top
View user's profile Send private message
MIT_Service
Guru
Guru


Joined: 29 Nov 2002
Posts: 355

PostPosted: Wed May 05, 2004 1:47 pm    Post subject: Reply with quote

Hi - I just stumbled upon this post by accident and I'm quite interested in the jogl ebuild.
However: It seems that a new version is out and I can't find the old sourcecode anymore.
Can anybody provide my with a link to the needed sourcecode?
Back to top
View user's profile Send private message
treebeard
n00b
n00b


Joined: 23 Jun 2003
Posts: 13

PostPosted: Wed May 05, 2004 11:55 pm    Post subject: Reply with quote

The latest nightly build of JOGL is available at:

https://games-binaries.dev.java.net/build/jogl/jogl-1.1.0-b04-src.tar.gz

The source is also available through CVS.

See: https://jogl.dev.java.net/source/browse/jogl/

However, I'd suggest you use one of the release binary builds available at:

https://jogl.dev.java.net/servlets/ProjectDocumentList
Back to top
View user's profile Send private message
TheBohemian
n00b
n00b


Joined: 17 Feb 2004
Posts: 33

PostPosted: Thu May 06, 2004 5:37 pm    Post subject: Reply with quote

I got stuck with the ebuilds because I do not know how to install native libraries (libjogl.so).
Can anybody help here?
Back to top
View user's profile Send private message
treebeard
n00b
n00b


Joined: 23 Jun 2003
Posts: 13

PostPosted: Thu May 06, 2004 5:55 pm    Post subject: Reply with quote

Last night, I modified your ebuild and submitted it to bugzilla:

http://bugs.gentoo.org/show_bug.cgi?id=50178

I gave you credit for the initial version.

I agree that there needs to be a better way to install the native library than using dolib.so. I didn't see anything in the java-pkg eclass. Does anyone out there know how to install java native libraries?
Back to top
View user's profile Send private message
TheBohemian
n00b
n00b


Joined: 17 Feb 2004
Posts: 33

PostPosted: Thu May 06, 2004 6:42 pm    Post subject: Reply with quote

Nice one :D

But I think you should change the ebuild's name to something like jogl-nightly to underscore that there is no real release by now.

Or we start a little discussion on javagaming.org whether it would be better to have a proper release scheme for JOGL.
Back to top
View user's profile Send private message
treebeard
n00b
n00b


Joined: 23 Jun 2003
Posts: 13

PostPosted: Thu May 06, 2004 7:28 pm    Post subject: Reply with quote

I'd rather not change the name, I like your second idea better. JOGL really needs to have packaged source releases along with their binary release builds.
Back to top
View user's profile Send private message
friism
n00b
n00b


Joined: 26 Apr 2004
Posts: 22

PostPosted: Wed Sep 29, 2004 8:27 pm    Post subject: Error Reply with quote

I'm trying to use your ebuild, but this is what I get:

Code:

...
declare:

generate.c.grammar:

BUILD FAILED
/var/tmp/portage/jogl-1.1_beta04/work/jogl/make/build.xml:1106: The following er
ror occurred while executing this line:
/var/tmp/portage/jogl-1.1_beta04/work/jogl/make/build.xml:462: The following err
or occurred while executing this line:
/var/tmp/portage/jogl-1.1_beta04/work/jogl/make/build-gluegen.xml:173: The follo
wing error occurred while executing this line:
/var/tmp/portage/jogl-1.1_beta04/work/jogl/make/build-gluegen.xml:59: The follow
ing error occurred while executing this line:
/var/tmp/portage/jogl-1.1_beta04/work/jogl/make/build-gluegen.xml:111: Could not
 create task or type of type: antlr.

Ant could not find the task or a class this task relies upon.
...

I have both Ant and Antlr, whats going on?
Back to top
View user's profile Send private message
treebeard
n00b
n00b


Joined: 23 Jun 2003
Posts: 13

PostPosted: Wed Sep 29, 2004 10:08 pm    Post subject: Reply with quote

The problem is probably due to the fact that ant will not include Antlr unless Antlr is installed first. Try re-installing ant.
Back to top
View user's profile Send private message
TheBohemian
n00b
n00b


Joined: 17 Feb 2004
Posts: 33

PostPosted: Wed Sep 29, 2004 11:10 pm    Post subject: JOGL ebuild not in portage Reply with quote

I have just seen Kalle's response for http://bugs.gentoo.org/show_bug.cgi?id=50178

Unfortunately the JOGL guys do not include version information in the file name itself but the link to the corresponds to a directory that is versioned. One could even make these foo_yyyyMMDD-style versioned packages with it.

Is there a way to convince Kalle?
Back to top
View user's profile Send private message
friism
n00b
n00b


Joined: 26 Apr 2004
Posts: 22

PostPosted: Wed Sep 29, 2004 11:54 pm    Post subject: Reply with quote

treebeard wrote:
The problem is probably due to the fact that ant will not include Antlr unless Antlr is installed first. Try re-installing ant.

I suspected that, and I have re-emerged ant several times. It doesn't look like there is much compiling going on when ant is emerged though... (I even tried emerge -C ant;emerge ant to be sure).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum