[packman] [PM] jogl 1.1.1 (openSUSE 11.0/i586)

Toni toni at links2linux.de
Tue Dec 9 20:04:22 CET 2008

Am Dienstag, 9. Dezember 2008 schrieb Andrea Florio:
> hi toni, i'm working on scilab, and i had several problems with jogl.
> jar file infact is really different from the expected one..
> i should find "javax.media.opengl.glu" "javax.media.opengl" ecc ecc,
> instead i find different or missing path, so i investigated, and from
> the same website i found in "url" line of the spec, i downloaded source
> code i found.. here:
> https://jogl.dev.java.net/servlets/ProjectDocumentList?folderID=9260&expand
> you can download source code here:
> http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/jogl-1.1.1
> with the few change made on your spec to test it in local i got a
> working jogl.jar (at least
> working with scilab)
> the source code package provides also "gluegen" code
> egrep right now, found no packages that need jogl (nr as requires, nor
> as buildrequire)
blind man :)

==> The packages aoi, HoloRacer, jmonkeyengine, Passenger needs jogl

For jmonkeyengine I have disabeld it for the moment (!), as it is not stable 

aoi could be patched for the new jogl (is in preparation)

The two games HoloRacer and Passenger needs exact this version.

But like the shared library policy for libs, it is possible to provide several 
jar-files with version-number. I did this already for substance-* packages. 
They provide two versions. The build-classpath macro from jpackage-utils can 
manage this feature.

> so i think you should fix it.
there is nothing to fix, the jogl package is fine :)
I can improve it if I find some time. So stay tuned.

If you won't wait, you can include your jogl files in your package and you're 
fine. Create a subfolder lib in your javaproject

put all unpackaged jars in that lib folder and create a wrapper script like 
# startscript
%__cat > %{name}.sh << EOF

# extent path for addons
export PATH=%{_libdir}/%{name}:\$PATH

# source the jpackage helpers
. %{_javadir}-utils/java-functions

# set JAVA_* environment variables
#set_options "-Xincgc -Xmx256M -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
set_options "-Xincgc -Xmx256M"

CLASSPATH=\`build-classpath scilab\`

%__install -dm 755 %{buildroot}%{_bindir}
%__install -m 755 %{name}.sh \

the build-claspath is workin recursive and lists all jars in the given 

> Thanks
> Andrea

have fun

More information about the Packman mailing list