Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 2015 10:29:19 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393293 - in head/graphics/jogamp-jogl: . files
Message-ID:  <201507311029.t6VATJ0Y056623@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Fri Jul 31 10:29:18 2015
New Revision: 393293
URL: https://svnweb.freebsd.org/changeset/ports/393293

Log:
  graphics/jogamp-jogl:
  - Update to 2.2.4
  - Add backup MASTER_SITES
  - Regenerate patches

Modified:
  head/graphics/jogamp-jogl/Makefile
  head/graphics/jogamp-jogl/distinfo
  head/graphics/jogamp-jogl/files/patch-gluegen2
  head/graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml

Modified: head/graphics/jogamp-jogl/Makefile
==============================================================================
--- head/graphics/jogamp-jogl/Makefile	Fri Jul 31 09:44:01 2015	(r393292)
+++ head/graphics/jogamp-jogl/Makefile	Fri Jul 31 10:29:18 2015	(r393293)
@@ -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; \

Modified: head/graphics/jogamp-jogl/distinfo
==============================================================================
--- head/graphics/jogamp-jogl/distinfo	Fri Jul 31 09:44:01 2015	(r393292)
+++ head/graphics/jogamp-jogl/distinfo	Fri Jul 31 10:29:18 2015	(r393293)
@@ -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

Modified: head/graphics/jogamp-jogl/files/patch-gluegen2
==============================================================================
--- head/graphics/jogamp-jogl/files/patch-gluegen2	Fri Jul 31 09:44:01 2015	(r393292)
+++ head/graphics/jogamp-jogl/files/patch-gluegen2	Fri Jul 31 10:29:18 2015	(r393293)
@@ -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));

Modified: head/graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml
==============================================================================
--- head/graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml	Fri Jul 31 09:44:01 2015	(r393292)
+++ head/graphics/jogamp-jogl/files/patch-jogl__make__build-common.xml	Fri Jul 31 10:29:18 2015	(r393293)
@@ -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"/>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507311029.t6VATJ0Y056623>