aboutsummaryrefslogtreecommitdiff
path: root/graphics/jogamp-jogl
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2015-07-31 10:29:18 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2015-07-31 10:29:18 +0000
commit38b15deea46b4eb8bba4c9562d2e28d06fca129e (patch)
tree0ceab6551cbc703038bacc928ae433583b2ca11c /graphics/jogamp-jogl
parentee839219beec5071b2a0499b822107760731934a (diff)
downloadports-38b15deea46b4eb8bba4c9562d2e28d06fca129e.tar.gz
ports-38b15deea46b4eb8bba4c9562d2e28d06fca129e.zip
graphics/jogamp-jogl:
- Update to 2.2.4 - Add backup MASTER_SITES - Regenerate patches
Notes
Notes: svn path=/head/; revision=393293
Diffstat (limited to 'graphics/jogamp-jogl')
-rw-r--r--graphics/jogamp-jogl/Makefile8
-rw-r--r--graphics/jogamp-jogl/distinfo8
-rw-r--r--graphics/jogamp-jogl/files/patch-gluegen249
-rw-r--r--graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml16
4 files changed, 37 insertions, 44 deletions
diff --git a/graphics/jogamp-jogl/Makefile b/graphics/jogamp-jogl/Makefile
index fbb4c15b0d82..2d4274747ce6 100644
--- a/graphics/jogamp-jogl/Makefile
+++ b/graphics/jogamp-jogl/Makefile
@@ -2,10 +2,10 @@
# $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
@@ -42,6 +42,8 @@ post-extract:
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; \
diff --git a/graphics/jogamp-jogl/distinfo b/graphics/jogamp-jogl/distinfo
index c82b006d0bd4..790d3d0fce54 100644
--- a/graphics/jogamp-jogl/distinfo
+++ b/graphics/jogamp-jogl/distinfo
@@ -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
diff --git a/graphics/jogamp-jogl/files/patch-gluegen2 b/graphics/jogamp-jogl/files/patch-gluegen2
index fd05d8d44b6d..1368dcb0ec1f 100644
--- a/graphics/jogamp-jogl/files/patch-gluegen2
+++ b/graphics/jogamp-jogl/files/patch-gluegen2
@@ -1,6 +1,6 @@
---- 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 @@
<property name="c.compiler.src.files.common" value="src/native/common/*.c" />
<property name="c.compiler.src.files.os" value="src/native/${c.src.dir.os}/*.c" />
@@ -9,44 +9,44 @@
<condition property="output.lib.name.os" value="lib${output.lib.name}.so"><isset property="isUnix"/></condition>
<condition property="output.lib.name.os" value="${output.lib.name}.dll"><isset property="isWindows"/></condition>
<condition property="output.lib.name.os" value="lib${output.lib.name}.jnilib"><isset property="isOSX"/></condition>
-@@ -633,14 +633,14 @@
+@@ -604,14 +604,14 @@
<srcfiles dir= "${src.java}" includes="**"/>
- <srcfiles dir= "${c.grammar}" includes="**/*.g"/>
- <srcfiles dir= "${j.grammar}" includes="**/*.g"/>
+ <srcfiles dir= "${c.grammar}" includes="*.g"/>
+ <srcfiles dir= "${j.grammar}" includes="*.g"/>
- <mapper type="merge" to="${build}/gluegen.jar"/>
+ <mapper type="merge" to="${build}/gluegen2.jar"/>
</uptodate>
<uptodate property="gluegen.build.skip.java2">
<srcfiles dir= "." includes="*.xml"/>
<srcfiles dir= "${src.java}" includes="**"/>
- <srcfiles dir= "${c.grammar}" includes="**/*.g"/>
- <srcfiles dir= "${j.grammar}" includes="**/*.g"/>
+ <srcfiles dir= "${c.grammar}" includes="*.g"/>
+ <srcfiles dir= "${j.grammar}" includes="*.g"/>
- <mapper type="merge" to="${build}/gluegen-rt.jar"/>
+ <mapper type="merge" to="${build}/gluegen2-rt.jar"/>
</uptodate>
<condition property="gluegen.build.skip.java" value="true">
<or>
-@@ -752,7 +752,7 @@
+@@ -753,7 +753,7 @@
</copy>
<!-- Build gluegen.jar. -->
-- <jar destfile="${build}/gluegen.jar" manifest="${build}/Manifest.temp">
-+ <jar destfile="${build}/gluegen2.jar" manifest="${build}/Manifest.temp">
+- <jar destfile="${build}/gluegen.jar" manifest="${build}/Manifest.temp" filesonly="true">
++ <jar destfile="${build}/gluegen2.jar" manifest="${build}/Manifest.temp" filesonly="true">
<service type="javax.annotation.processing.Processor">
<provider classname="com.jogamp.gluegen.structgen.CStructAnnotationProcessor"/>
</service>
-@@ -792,7 +792,7 @@
+@@ -806,7 +806,7 @@
</copy>
<!-- Build gluegen-rt.jar. -->
-- <jar destfile="${build}/gluegen-rt.jar" manifest="${build}/Manifest-rt.temp">
-+ <jar destfile="${build}/gluegen2-rt.jar" manifest="${build}/Manifest-rt.temp">
+- <jar destfile="${build}/gluegen-rt.jar" manifest="${build}/Manifest-rt.temp" filesonly="true">
++ <jar destfile="${build}/gluegen2-rt.jar" manifest="${build}/Manifest-rt.temp" filesonly="true">
<fileset dir="${classes}">
<include name="com/jogamp/gluegen/runtime/*.class" />
<include name="com/jogamp/common/**" />
---- 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 */
@@ -55,9 +55,9 @@
//
// 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; }
@@ -68,12 +68,3 @@
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));
diff --git a/graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml b/graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml
index d4b19a02968e..c5eb241f6fda 100644
--- a/graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml
+++ b/graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml
@@ -1,6 +1,6 @@
---- ./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 @@
<condition property="swt.jar" value="${project.root}/make/lib/swt/win32-win32-x86/swt-debug.jar">
<istrue value="${isWindowsX86}" />
</condition>
@@ -11,21 +11,21 @@
</condition>
<condition property="swt.jar" value="${project.root}/make/lib/swt/gtk-linux-x86_64/swt-debug.jar">
<istrue value="${isLinuxAMD64}" />
-@@ -208,7 +208,7 @@
+@@ -210,7 +210,7 @@
<property name="gluegen.build.xml" value="${gluegen.make}/build.xml" />
<property name="build.gluegen" value="${gluegen.root}/${rootrel.build}" />
<property name="obj.gluegen" value="${build.gluegen}/obj"/>
- <property name="gluegen.jar" value="${build.gluegen}/gluegen.jar" />
+ <property name="gluegen.jar" value="${build.gluegen}/gluegen2.jar" />
- <property name="ant.jar" value="${ant.home}/lib/ant.jar" />
- <property name="ant-junit.jar" value="${ant.home}/lib/ant-junit.jar" />
-@@ -413,7 +413,7 @@
+ <property name="build.joal" value="${joal.root}/${rootrel.build}" /> <!-- optional -->
+
+@@ -434,7 +434,7 @@
</path>
<!-- JavaSE combinations -->
- <property name="gluegen-rt.jar" value="${build.gluegen}/gluegen-rt.jar" />
+ <property name="gluegen-rt.jar" value="${build.gluegen}/gluegen2-rt.jar" />
<property name="gluegen-rt-android.jar" value="${build.gluegen}/gluegen-rt-android.jar" />
+ <property name="gluegen-test-util.jar" value="${build.gluegen}/gluegen-test-util.jar" />
<property name="jogl-test.jar" value="${jar}/jogl-test.jar"/>
- <property name="jogl-test-android.jar" value="${jar}/jogl-test-android.jar"/>