View previous topic :: View next topic |
Author |
Message |
TheBohemian n00b
Joined: 17 Feb 2004 Posts: 33
|
Posted: Fri Mar 05, 2004 1:04 am Post subject: java gaming initiative ebuilds (jogl,jinput,jutils) |
|
|
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 |
|
|
jrz Apprentice
Joined: 19 Mar 2003 Posts: 272 Location: Sacramento, CA USA
|
Posted: Fri Mar 05, 2004 3:03 am Post subject: |
|
|
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 |
|
|
TheBohemian n00b
Joined: 17 Feb 2004 Posts: 33
|
Posted: Fri Mar 05, 2004 2:56 pm Post subject: JOGL ebuild |
|
|
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 |
|
|
MIT_Service Guru
Joined: 29 Nov 2002 Posts: 355
|
Posted: Wed May 05, 2004 1:47 pm Post subject: |
|
|
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 |
|
|
treebeard n00b
Joined: 23 Jun 2003 Posts: 13
|
|
Back to top |
|
|
TheBohemian n00b
Joined: 17 Feb 2004 Posts: 33
|
Posted: Thu May 06, 2004 5:37 pm Post subject: |
|
|
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 |
|
|
treebeard n00b
Joined: 23 Jun 2003 Posts: 13
|
Posted: Thu May 06, 2004 5:55 pm Post subject: |
|
|
Last night, I modified your ebuild and submitted it to bugzilla:
https://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 |
|
|
TheBohemian n00b
Joined: 17 Feb 2004 Posts: 33
|
Posted: Thu May 06, 2004 6:42 pm Post subject: |
|
|
Nice one
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 |
|
|
treebeard n00b
Joined: 23 Jun 2003 Posts: 13
|
Posted: Thu May 06, 2004 7:28 pm Post subject: |
|
|
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 |
|
|
friism n00b
Joined: 26 Apr 2004 Posts: 22
|
Posted: Wed Sep 29, 2004 8:27 pm Post subject: Error |
|
|
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 |
|
|
treebeard n00b
Joined: 23 Jun 2003 Posts: 13
|
Posted: Wed Sep 29, 2004 10:08 pm Post subject: |
|
|
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 |
|
|
TheBohemian n00b
Joined: 17 Feb 2004 Posts: 33
|
Posted: Wed Sep 29, 2004 11:10 pm Post subject: JOGL ebuild not in portage |
|
|
I have just seen Kalle's response for https://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 |
|
|
friism n00b
Joined: 26 Apr 2004 Posts: 22
|
Posted: Wed Sep 29, 2004 11:54 pm Post subject: |
|
|
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 |
|
|
|