Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2019 22:34:30 +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: r508977 - in head/graphics/jogamp-jogl: . files
Message-ID:  <201908142234.x7EMYUh9052445@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Wed Aug 14 22:34:30 2019
New Revision: 508977
URL: https://svnweb.freebsd.org/changeset/ports/508977

Log:
  graphics/jogamp-jogl:
  - Update to 2.3.2
  
  PR:		225058
  Submitted by:	Ruediger Gad

Modified:
  head/graphics/jogamp-jogl/Makefile
  head/graphics/jogamp-jogl/distinfo
  head/graphics/jogamp-jogl/files/patch-gluegen2

Modified: head/graphics/jogamp-jogl/Makefile
==============================================================================
--- head/graphics/jogamp-jogl/Makefile	Wed Aug 14 22:00:20 2019	(r508976)
+++ head/graphics/jogamp-jogl/Makefile	Wed Aug 14 22:34:30 2019	(r508977)
@@ -2,33 +2,29 @@
 # $FreeBSD$
 
 PORTNAME=	jogamp-jogl
-PORTVERSION=	2.2.4
-PORTREVISION=	8
+PORTVERSION=	2.3.2
 CATEGORIES=	graphics devel java
 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
+DISTFILES=	jogl-v${PORTVERSION}.tar.xz \
+		gluegen-v${PORTVERSION}.tar.xz \
+		jcpp-v${PORTVERSION}.tar.xz
 
 MAINTAINER=	makc@FreeBSD.org
 COMMENT=	Java bindings for OpenGL
 
-EXTRACT_DEPENDS=	${7Z_CMD}:archivers/p7zip
 BUILD_DEPENDS=	${JAVALIBDIR}/swt.jar:x11-toolkits/swt
 RUN_DEPENDS=	${JAVALIBDIR}/swt.jar:x11-toolkits/swt
 
 ONLY_FOR_ARCHS=	i386 amd64
 
+USES=		tar:xz
+
 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
@@ -36,6 +32,7 @@ MAKE_ENV+=	PATH="${BUILD_BINPATH}:${PATH}"
 
 post-extract:
 	${MV} ${WRKDIR}/gluegen-v${PORTVERSION} ${WRKDIR}/gluegen
+	${MV} ${WRKDIR}/jcpp-v${PORTVERSION}/src ${WRKDIR}/gluegen/jcpp/src
 	${MV} ${WRKDIR}/jogl-v${PORTVERSION} ${WRKDIR}/jogl
 	${MKDIR} ${BUILD_BINPATH}
 	${LN} -sf ${LOCALBASE}/bin/${CC} ${BUILD_BINPATH}/gcc

Modified: head/graphics/jogamp-jogl/distinfo
==============================================================================
--- head/graphics/jogamp-jogl/distinfo	Wed Aug 14 22:00:20 2019	(r508976)
+++ head/graphics/jogamp-jogl/distinfo	Wed Aug 14 22:34:30 2019	(r508977)
@@ -1,4 +1,7 @@
-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
+TIMESTAMP = 1565821971
+SHA256 (jogl-v2.3.2.tar.xz) = 88cd468a1401ac6e32f6fb850b59328aff6808ddfa0a579fae53e2fe3b446c06
+SIZE (jogl-v2.3.2.tar.xz) = 35467924
+SHA256 (gluegen-v2.3.2.tar.xz) = d235d5d4c9b8e17d9029be2d9b9e3f2839a67f4f23dd3871fe10c4b5f04091d3
+SIZE (gluegen-v2.3.2.tar.xz) = 64053832
+SHA256 (jcpp-v2.3.2.tar.xz) = 67f889200e438789b2987d4e6c876a1ad6b8cfe3d5cb07a5f9de0d250ab73c46
+SIZE (jcpp-v2.3.2.tar.xz) = 39024

Modified: head/graphics/jogamp-jogl/files/patch-gluegen2
==============================================================================
--- head/graphics/jogamp-jogl/files/patch-gluegen2	Wed Aug 14 22:00:20 2019	(r508976)
+++ head/graphics/jogamp-jogl/files/patch-gluegen2	Wed Aug 14 22:34:30 2019	(r508977)
@@ -9,8 +9,8 @@
        <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>
-@@ -604,14 +604,14 @@
-         <srcfiles dir= "${src.java}"  includes="**"/>
+@@ -605,7 +605,7 @@
+         <srcfiles dir= "${src.jcpp}"  includes="**"/>
          <srcfiles dir= "${c.grammar}" includes="*.g"/>
          <srcfiles dir= "${j.grammar}" includes="*.g"/>
 -        <mapper type="merge" to="${build}/gluegen.jar"/>
@@ -18,7 +18,8 @@
        </uptodate>
        <uptodate property="gluegen.build.skip.java2">
          <srcfiles dir= "."            includes="*.xml"/>
-         <srcfiles dir= "${src.java}"  includes="**"/>
+@@ -613,7 +613,7 @@
+         <srcfiles dir= "${src.jcpp}"  includes="**"/>
          <srcfiles dir= "${c.grammar}" includes="*.g"/>
          <srcfiles dir= "${j.grammar}" includes="*.g"/>
 -        <mapper type="merge" to="${build}/gluegen-rt.jar"/>
@@ -57,14 +58,14 @@
      // static initialization order:
 --- 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
+@@ -196,8 +196,8 @@ public class TestTempJarCache extends SingletonJunitCase {
      @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 Uri.Encoded nativeJarName = Uri.Encoded.cast("gluegen-rt-natives-"+Platform.getOSAndArch()+".jar");
 -        final String libBaseName = "gluegen-rt";
-+        final String nativeJarName = "gluegen2-rt-natives-"+Platform.getOSAndArch()+".jar";
++        final Uri.Encoded nativeJarName = Uri.Encoded.cast("gluegen2-rt-natives-"+Platform.getOSAndArch()+".jar");
 +        final String libBaseName = "gluegen2-rt";
          final ClassLoader cl = getClass().getClassLoader();
  
-         URI jarUriRoot = JarUtil.getJarSubURI(TempJarCache.class.getName(), cl);
+         final Uri jarUri = JarUtil.getJarUri(TempJarCache.class.getName(), cl);



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