Index: head/graphics/jogamp-jogl/Makefile =================================================================== --- head/graphics/jogamp-jogl/Makefile (revision 393292) +++ head/graphics/jogamp-jogl/Makefile (revision 393293) @@ -1,62 +1,64 @@ # Created by: Tassilo Philipp # $FreeBSD$ PORTNAME= jogamp-jogl -PORTVERSION= 2.1.5 -PORTREVISION= 2 +PORTVERSION= 2.2.4 CATEGORIES= graphics devel java -MASTER_SITES= http://jogamp.org/deployment/jogamp-current/archive/Sources/ +MASTER_SITES= http://jogamp.org/deployment/jogamp-current/archive/Sources/ \ + http://jogamp.org/deployment/v${PORTVERSION}/archive/Sources/ DISTFILES= jogl-v${PORTVERSION}.tar.7z \ gluegen-v${PORTVERSION}.tar.7z MAINTAINER= makc@FreeBSD.org COMMENT= Java bindings for OpenGL EXTRACT_DEPENDS= ${7Z_CMD}:${PORTSDIR}/archivers/p7zip BUILD_DEPENDS= ${JAVALIBDIR}/swt-devel.jar:${PORTSDIR}/x11-toolkits/swt-devel RUN_DEPENDS= ${JAVALIBDIR}/swt-devel.jar:${PORTSDIR}/x11-toolkits/swt-devel ONLY_FOR_ARCHS= i386 amd64 USE_ANT= yes USE_GCC= yes USE_JAVA= yes USE_XORG= x11 xcursor xrandr xrender xxf86vm 7Z_CMD= ${LOCALBASE}/bin/7z EXTRACT_CMD= ${7Z_CMD} EXTRACT_BEFORE_ARGS= x -so EXTRACT_AFTER_ARGS= | ${TAR} -xf - PATCH_WRKSRC= ${WRKDIR} BUILD_WRKSRC= ${WRKDIR}/jogl/make BUILD_BINPATH= ${WRKSRC}/bin MAKE_ENV+= PATH="${BUILD_BINPATH}:${PATH}" post-extract: ${MV} ${WRKDIR}/gluegen-v${PORTVERSION} ${WRKDIR}/gluegen ${MV} ${WRKDIR}/jogl-v${PORTVERSION} ${WRKDIR}/jogl ${MKDIR} ${BUILD_BINPATH} ${LN} -sf ${LOCALBASE}/bin/${CC} ${BUILD_BINPATH}/gcc post-patch: ${REINPLACE_CMD} -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|g' \ ${BUILD_WRKSRC}/build-common.xml + ${REINPLACE_CMD} -e '/name="all"/s|,test.compile||g' \ + ${BUILD_WRKSRC}/build.xml pre-build: @(cd ${WRKDIR}/gluegen/make; \ ${SETENV} ${MAKE_ENV} ${ANT} ${MAKE_ARGS} all.no_junit) do-install: ${INSTALL_LIB} \ ${WRKDIR}/gluegen/build/obj/libgluegen2-rt.so \ ${WRKDIR}/jogl/build/lib/*.so \ ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} \ ${WRKDIR}/gluegen/build/gluegen2-rt.jar \ ${WRKDIR}/gluegen/build/gluegen2.jar \ ${STAGEDIR}${JAVAJARDIR} ${INSTALL_DATA} ${WRKDIR}/jogl/build/jar/jogl-all.jar \ ${STAGEDIR}${JAVAJARDIR}/jogl2.jar .include Index: head/graphics/jogamp-jogl/distinfo =================================================================== --- head/graphics/jogamp-jogl/distinfo (revision 393292) +++ head/graphics/jogamp-jogl/distinfo (revision 393293) @@ -1,4 +1,4 @@ -SHA256 (jogl-v2.1.5.tar.7z) = e64474c28e4dd64f2a926ef2c8a645fe4de0ca9db482f939b1b84ba624d42bd5 -SIZE (jogl-v2.1.5.tar.7z) = 21513866 -SHA256 (gluegen-v2.1.5.tar.7z) = 9ca3c0961f790e778bf4453a6d676e6cfa72a0ca9cd461bd65710777bc3c9247 -SIZE (gluegen-v2.1.5.tar.7z) = 38641669 +SHA256 (jogl-v2.2.4.tar.7z) = 39d53fc4c4c3f8e3a5287646bc10457cfaa6fcc88f07c0b0c7817a95cb1f282b +SIZE (jogl-v2.2.4.tar.7z) = 33454202 +SHA256 (gluegen-v2.2.4.tar.7z) = 6ad7b35f7c8fc81ec57d986f54b93c5c93127cd6c2b0efc2fb3950022feb15da +SIZE (gluegen-v2.2.4.tar.7z) = 39334025 Index: head/graphics/jogamp-jogl/files/patch-gluegen2 =================================================================== --- head/graphics/jogamp-jogl/files/patch-gluegen2 (revision 393292) +++ head/graphics/jogamp-jogl/files/patch-gluegen2 (revision 393293) @@ -1,79 +1,70 @@ ---- gluegen/make/build.xml.orig 2014-03-10 13:56:04.000000000 +0000 -+++ gluegen/make/build.xml 2014-05-08 18:55:36.726179257 +0000 -@@ -439,7 +439,7 @@ +--- gluegen/make/build.xml.orig 2014-10-10 13:20:51 UTC ++++ gluegen/make/build.xml +@@ -408,7 +408,7 @@ - + -@@ -633,14 +633,14 @@ +@@ -604,14 +604,14 @@ - - + + - + - - + + - + -@@ -752,7 +752,7 @@ +@@ -753,7 +753,7 @@ -- -+ +- ++ -@@ -792,7 +792,7 @@ +@@ -806,7 +806,7 @@ -- -+ +- ++ ---- gluegen/src/java/com/jogamp/common/os/Platform.java.orig 2014-03-10 13:56:04.000000000 +0000 -+++ gluegen/src/java/com/jogamp/common/os/Platform.java 2014-05-08 18:47:51.760174681 +0000 -@@ -146,7 +146,7 @@ +--- gluegen/src/java/com/jogamp/common/os/Platform.java.orig 2014-10-10 13:20:51 UTC ++++ gluegen/src/java/com/jogamp/common/os/Platform.java +@@ -146,7 +146,7 @@ public class Platform extends PlatformPr private static final String useTempJarCachePropName = "jogamp.gluegen.UseTempJarCache"; /** fixed basename of JAR file and native library */ - private static final String libBaseName = "gluegen-rt"; + private static final String libBaseName = "gluegen2-rt"; // // static initialization order: ---- gluegen/src/junit/com/jogamp/common/util/TestTempJarCache.java.orig 2014-03-10 13:56:04.000000000 +0000 -+++ gluegen/src/junit/com/jogamp/common/util/TestTempJarCache.java 2014-05-08 18:47:51.758178183 +0000 -@@ -197,8 +197,8 @@ +--- gluegen/src/junit/com/jogamp/common/util/TestTempJarCache.java.orig 2014-10-10 13:20:51 UTC ++++ gluegen/src/junit/com/jogamp/common/util/TestTempJarCache.java +@@ -197,8 +197,8 @@ public class TestTempJarCache extends Ju @Test public void testTempJarCache02AddNativeLibs() throws IOException, IllegalArgumentException, URISyntaxException { if(AndroidVersion.isAvailable) { System.err.println("n/a on Android"); return; } - final String nativeJarName = "gluegen-rt-natives-"+Platform.getOSAndArch()+".jar"; - final String libBaseName = "gluegen-rt"; + final String nativeJarName = "gluegen2-rt-natives-"+Platform.getOSAndArch()+".jar"; + final String libBaseName = "gluegen2-rt"; final ClassLoader cl = getClass().getClassLoader(); URI jarUriRoot = JarUtil.getJarSubURI(TempJarCache.class.getName(), cl); -@@ -217,7 +217,7 @@ - @Test - public void testTempJarCache03AddNativeJarLibs() throws IOException { - if(AndroidVersion.isAvailable) { System.err.println("n/a on Android"); return; } -- final String libBaseName = "gluegen-rt"; -+ final String libBaseName = "gluegen2-rt"; - - JNILibLoaderBase.addNativeJarLibs(TempJarCache.class, libBaseName); - Assert.assertTrue(JNILibLoaderBase.isLoaded(libBaseName)); Index: head/graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml =================================================================== --- head/graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml (revision 393292) +++ head/graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml (revision 393293) @@ -1,31 +1,31 @@ ---- ./jogl/make/build-common.xml.orig 2014-03-11 00:59:24.000000000 +0000 -+++ ./jogl/make/build-common.xml 2014-05-08 19:04:20.951173869 +0000 -@@ -128,8 +128,8 @@ +--- jogl/make/build-common.xml.orig 2015-03-27 14:58:50 UTC ++++ jogl/make/build-common.xml +@@ -130,8 +130,8 @@ - - + + -@@ -208,7 +208,7 @@ +@@ -210,7 +210,7 @@ - + - - -@@ -413,7 +413,7 @@ + + +@@ -434,7 +434,7 @@ - + + -