Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50178 - New ebuild: dev-java/jogl
Summary: New ebuild: dev-java/jogl
Status: RESOLVED DUPLICATE of bug 143019
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-05-05 22:00 UTC by David
Modified: 2010-05-13 19:40 UTC (History)
2 users (show)

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


Attachments
jogl ebuild file (jogl-1.1.0_beta04.ebuild,1.62 KB, text/plain)
2004-05-05 22:03 UTC, David
Details
jogl-1.1_beta04.ebuild (jogl-1.1_beta04.ebuild,1.38 KB, text/plain)
2004-07-20 23:16 UTC, David
Details
updated jogl ebuild to 1.1_beta07 (jogl-1.1_beta07.ebuild,1.38 KB, application/octet-stream)
2004-12-03 10:44 UTC, Jan Pieczkowski
Details
dev-java/jogl-1.1.2_pre20080523.ebuild (jogl-1.1.2_pre20080523.ebuild,1.40 KB, text/plain)
2009-03-10 11:27 UTC, Florian Manschwetus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2004-05-05 22:00:43 UTC
Hi!

Please find attached jogl-1.1.0_beta04.ebuild.

JOGL is a set of bindings to OpenGL for Java (https://jogl.dev.java.net).  
The ebuild is based on the latest nightly build of JOGL.  Unfortunately, 
the sources are only available through CVS
or packaged in a nightly build, hence I had to use the nightly build. 

I might also create a jogl-bin-1.1.0_beta04.ebuild which uses the precompiled
"binary" release builds.  Since most of it is Java bytecode, and only part of
it is compiled natively, it might be reasonable. 

Thanks to TheBohemian (gentoo forums) for the initial idea, I started with
his ebuild and modified it a bit.

The logical place for this is in dev-java/jogl.

dave
Comment 1 David 2004-05-05 22:03:10 UTC
Created attachment 30829 [details]
jogl ebuild file
Comment 2 David 2004-05-05 22:32:26 UTC
Comment on attachment 30829 [details]
jogl ebuild file


Edit: Some of the documentation is old, and needs to be replaced.  Replace the
following lines:

>
>	# Ant is called by its main class because it is needed to run it with the modified
>	# classpath. The wrapper script has its own mechanism to handle the classpath and
>	# would override any changes.

With:

 # Build JOGL
Comment 3 Chris Aniszczyk (RETIRED) gentoo-dev 2004-05-16 11:55:48 UTC
I sent an email to the authors to package a release as source so it would be easier to integrate into Gentoo.
Comment 4 David 2004-07-20 23:14:15 UTC
The authors are now (finally) releasing source packages along with binary packages, so this ebuild should be ready to be included in portage (~x86).  I've updated the ebuild with some important changes and the new version will be attached next.

Note, the name of the ebuild should be jogl-1.1_beta04.ebuild (note the change from the earlier name), this follows the authors' versioning more closely.
Comment 5 David 2004-07-20 23:16:14 UTC
Created attachment 35849 [details]
jogl-1.1_beta04.ebuild

Updated ebuild for jogl-1.1_beta04.
Comment 6 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-08-01 10:29:02 UTC
We don't support unversioned files in SRC_URI, as that breaks the md5sum
checks when a new upstream version is released.

Could you please contact the upstream authors and have them version the
jogl-src.zip properly (i.e. jogl-1.1-beta4-src.zip, or similar), then.
reopen this bug, and I'll commit it to the tree?

Thanks a lot for the contribution!
Comment 7 David 2004-08-30 16:13:56 UTC
Filed a bug with the JOGL developers asking them to include version information in release build file names.
Comment 8 Jan Pieczkowski 2004-12-03 10:44:59 UTC
Created attachment 45216 [details]
updated jogl ebuild to 1.1_beta07

The developers of jogl don't seem to get the problem with the versioning
scheme. I think the problem is their file management system, it seems to
prevent easy changes to the file naming scheme. Even if they renamed
jogl-src.zip to jogl-src-1.1-whatever.zip there'd still be the problem that the
url path changes in a non-foreseeable manner (consecutively per uploaded file).
Scheme: https://jogl.dev.java.net/files/documents/<cat-id>/<file-id>/<filename>
- try to guess that through an ebuild.
The alternative from my POV is to grab the current jogl & jogl-doc releases,
rename them to jogl-<version>, and put them to the rsync servers. That would
need a maintainer of course. Only if the jogl team gives their permission, that
is.

regards,
 pi~
Comment 9 David 2004-12-03 15:51:13 UTC
Another option would be to just have the user fetch the sources manually.  I'd prefer not to do that, but it may be the best (perhaps temporary) solution.
Comment 10 Henrique Rodrigues 2007-02-14 23:42:18 UTC
Can someone verify if the URL problem still exists nowadays?
Comment 11 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-02-15 00:00:51 UTC
(In reply to comment #10)
> Can someone verify if the URL problem still exists nowadays?

See #143019
Comment 12 Petteri Räty (RETIRED) gentoo-dev 2007-03-06 11:42:35 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > Can someone verify if the URL problem still exists nowadays?
> 
> See #143019
> 

Reopening to dup against that.
Comment 13 Petteri Räty (RETIRED) gentoo-dev 2007-03-06 11:42:56 UTC

*** This bug has been marked as a duplicate of bug 143019 ***
Comment 14 Florian Manschwetus 2009-03-10 11:27:55 UTC
Created attachment 184551 [details]
dev-java/jogl-1.1.2_pre20080523.ebuild

Updated ebuild works also on amd64 and with sun-jdk 6 should really do it into portage now (naming problem is also fixed now)