Update JOGL to 2.3.2 (for Running SweetHome3D)

Ruediger Gad r.c.g at gmx.de
Mon Jan 1 13:28:05 UTC 2018


Hi,

I am sending this in hope it is helpful for others.

For running SweetHome3D (http://www.sweethome3d.com), I had to use JOGL 
2.3.2.
For updating JOGL to 2.3.2, I modified jogamp-jogl from the ports tree.

Just bumping the version was not sufficient as some more things had to 
be adjusted.
Attached, I send a diff against the original version that shows the 
modifications.

Just in case, I also include the modified start script for SweetHome3D.

If it is helpful, I could also prepare a pull request or so to include 
the modifications in the ports tree.
Unfortunately, I am new to FreeBSD and do not know the processes etc.



Cheers,

Ruediger




-- 
https://ruedigergad.com/
-------------- next part --------------
#!/bin/sh

# Retrieve Sweet Home 3D directory
PROGRAM=`readlink "$0"`
if [ "$PROGRAM" = "" ]; then
  PROGRAM=$0
fi
PROGRAM_DIR=`dirname "$PROGRAM"`

# Run Sweet Home 3D
java -Xmx1024m -classpath "$PROGRAM_DIR"/lib/SweetHome3D.jar:"$PROGRAM_DIR"/lib/Furniture.jar:"$PROGRAM_DIR"/lib/Textures.jar:"$PROGRAM_DIR"/lib/Examples.jar:"$PROGRAM_DIR"/lib/Help.jar:"$PROGRAM_DIR"/lib/iText-2.1.7.jar:"$PROGRAM_DIR"/lib/freehep-vectorgraphics-svg-2.1.1b.jar:"$PROGRAM_DIR"/lib/sunflow-0.07.3i.jar:"$PROGRAM_DIR"/lib/jmf.jar:"$PROGRAM_DIR"/lib/batik-svgpathparser-1.7.jar:"$PROGRAM_DIR"/lib/java3d-1.6/j3dcore.jar:"$PROGRAM_DIR"/lib/java3d-1.6/j3dutils.jar:"$PROGRAM_DIR"/lib/java3d-1.6/vecmath.jar:/usr/local/share/java/classes/gluegen2-rt.jar:"$PROGRAM_DIR"/lib/java3d-1.6/jogl-java3d.jar:"$PROGRAM_DIR"/jre8/lib/javaws.jar -Djava.library.path=/usr/local/lib -Djogamp.gluegen.UseTempJarCache=false -Dcom.eteks.sweethome3d.applicationId=SweetHome3D#Installer com.eteks.sweethome3d.SweetHome3D -open "$1"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jogamp-jogl_update_to_2.3.2.patch
Type: text/x-patch
Size: 5376 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-java/attachments/20180101/4c5abc51/attachment.bin>


More information about the freebsd-java mailing list