ports/150707: [new port]: graphics/jogamp-jogl

Tassilo Philipp tphilipp at potion-studios.com
Sat Sep 18 21:00:13 UTC 2010


>Number:         150707
>Category:       ports
>Synopsis:       [new port]: graphics/jogamp-jogl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 18 21:00:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Tassilo Philipp
>Release:        8.0
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jogamp-jogl
#	jogamp-jogl/Makefile
#	jogamp-jogl/pkg-descr
#	jogamp-jogl/distinfo
#	jogamp-jogl/files
#	jogamp-jogl/files/patch-jogl_make_build-common.xml
#	jogamp-jogl/files/patch-gluegen_make_build.xml
#	jogamp-jogl/pkg-plist
#
echo c - jogamp-jogl
mkdir -p jogamp-jogl > /dev/null 2>&1
echo x - jogamp-jogl/Makefile
sed 's/^X//' >jogamp-jogl/Makefile << '9c5c8f9c80fed658be2eb8d8d34979f6'
X# New ports collection makefile for:   jogamp-jogl
X# Date created:        18 September 2010
X# Whom:                Tassilo Philipp <tphilipp at potion-studios.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jogamp-jogl
XPORTVERSION=	2.0.20100914
XCATEGORIES=	graphics devel java
XMASTER_SITES=	http://www.potion-studios.com/
XDISTFILES=	sgothel-gluegen-VALID_BUILDS_01-144-ga61c650.tar.gz \
X		sgothel-jogl-OpenGL_3_3_Integration-8-gdc9191f.tar.gz
X
XMAINTAINER=	tphilipp at potion-studios.com
XCOMMENT=	Java bindings for OpenGL
X
XLIB_DEPENDS=	drm.2:${PORTSDIR}/graphics/libdrm
XBUILD_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper     \
X		${JAVALIBDIR}/antlr.jar:${PORTSDIR}/devel/antlr
XRUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper
X
XMAKE_ENV+=	_JAVA_OPTIONS="-Xmx256m"
XWRKSRC=		${WRKDIR}
X
XDATADIR=	${JAVASHAREDIR}/${PORTNAME}
X
XALL_TARGET=	all
X
X# This JOGL port features supported for i386 and amd64, only.
XONLY_FOR_ARCHS=	i386 amd64
X
XUSE_XORG=	x11 xau xdamage xdmcp xext xf86vidmodeproto xfixes xproto xt \
X		xxf86vm
XUSE_GL=		gl
XUSE_ANT=	yes
XUSE_LDCONFIG=	yes
XUSE_JAVA=	yes
XJAVA_VERSION=	1.6+
X
XBUILD_WRKSRC=	${WRKSRC}/jogl/make
X
Xpost-extract:
X	${MV} ${WRKDIR}/sgothel-gluegen-a61c650 ${WRKDIR}/gluegen
X	${MV} ${WRKDIR}/sgothel-jogl-dc9191f ${WRKDIR}/jogl
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|g' \
X		${WRKSRC}/gluegen/make/build.xml \
X		${WRKSRC}/gluegen/make/gluegen.properties
X	@${REINPLACE_CMD} -e 's|%%WRKSRC%%|${WRKSRC}|g' \
X		${WRKSRC}/gluegen/make/gluegen-properties.xml
X
Xdo-install:
X	${INSTALL_DATA} \
X		${WRKSRC}/jogl/build/lib/libgluegen-rt.so \
X		${WRKSRC}/jogl/build/lib/libjogl_desktop.so \
X		${WRKSRC}/jogl/build/lib/libjogl_es1.so \
X		${WRKSRC}/jogl/build/lib/libjogl_es2.so \
X		${WRKSRC}/jogl/build/lib/libjogl_gl2es12.so \
X		${WRKSRC}/jogl/build/lib/libnativewindow_awt.so \
X		${WRKSRC}/jogl/build/lib/libnativewindow_x11.so \
X		${WRKSRC}/jogl/build/lib/libnewt.so \
X		${PREFIX}/lib
X	${INSTALL_DATA} \
X		${WRKSRC}/jogl/build/jar/gluegen-rt-cdc.jar \
X		${WRKSRC}/jogl/build/jar/gluegen-rt.jar \
X		${WRKSRC}/jogl/build/jar/jogl.all-noawt.jar \
X		${WRKSRC}/jogl/build/jar/jogl.all.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.all.jar \
X		${WRKSRC}/jogl/build/jar/jogl.awt.jar \
X		${WRKSRC}/jogl/build/jar/jogl.core.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.core.jar \
X		${WRKSRC}/jogl/build/jar/jogl.egl.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.egl.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gl2es12.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gl2es12.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gldesktop.dbg.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gldesktop.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gles1.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gles1.dbg.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gles1.dbg.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gles1.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gles2.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gles2.dbg.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gles2.dbg.jar \
X		${WRKSRC}/jogl/build/jar/jogl.gles2.jar \
X		${WRKSRC}/jogl/build/jar/jogl.glu.gldesktop.jar \
X		${WRKSRC}/jogl/build/jar/jogl.glu.mipmap.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.glu.mipmap.jar \
X		${WRKSRC}/jogl/build/jar/jogl.glu.tess.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.glu.tess.jar \
X		${WRKSRC}/jogl/build/jar/jogl.os.x11.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.os.x11.jar \
X		${WRKSRC}/jogl/build/jar/jogl.sdk.jar \
X		${WRKSRC}/jogl/build/jar/jogl.test.jar \
X		${WRKSRC}/jogl/build/jar/jogl.util.awt.jar \
X		${WRKSRC}/jogl/build/jar/jogl.util.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.util.fixedfuncemu.cdc.jar \
X		${WRKSRC}/jogl/build/jar/jogl.util.fixedfuncemu.jar \
X		${WRKSRC}/jogl/build/jar/jogl.util.gldesktop.jar \
X		${WRKSRC}/jogl/build/jar/jogl.util.jar \
X		${WRKSRC}/jogl/build/jar/nativewindow.all-noawt.jar \
X		${WRKSRC}/jogl/build/jar/nativewindow.all.cdc.jar \
X		${WRKSRC}/jogl/build/jar/nativewindow.all.jar \
X		${WRKSRC}/jogl/build/jar/nativewindow.awt.jar \
X		${WRKSRC}/jogl/build/jar/nativewindow.core.cdc.jar \
X		${WRKSRC}/jogl/build/jar/nativewindow.core.jar \
X		${WRKSRC}/jogl/build/jar/nativewindow.os.x11.cdc.jar \
X		${WRKSRC}/jogl/build/jar/nativewindow.os.x11.jar \
X		${WRKSRC}/jogl/build/jar/newt.all-noawt.jar \
X		${WRKSRC}/jogl/build/jar/newt.all.cdc.jar \
X		${WRKSRC}/jogl/build/jar/newt.all.jar \
X		${WRKSRC}/jogl/build/jar/newt.awt.jar \
X		${WRKSRC}/jogl/build/jar/newt.broadcomegl.cdc.jar \
X		${WRKSRC}/jogl/build/jar/newt.broadcomegl.jar \
X		${WRKSRC}/jogl/build/jar/newt.core.cdc.jar \
X		${WRKSRC}/jogl/build/jar/newt.core.jar \
X		${WRKSRC}/jogl/build/jar/newt.intelgdl.cdc.jar \
X		${WRKSRC}/jogl/build/jar/newt.intelgdl.jar \
X		${WRKSRC}/jogl/build/jar/newt.ogl.cdc.jar \
X		${WRKSRC}/jogl/build/jar/newt.ogl.jar \
X		${WRKSRC}/jogl/build/jar/newt.os.x11.cdc.jar \
X		${WRKSRC}/jogl/build/jar/newt.os.x11.jar \
X		${JAVAJARDIR}
X
X.include <bsd.port.mk>
9c5c8f9c80fed658be2eb8d8d34979f6
echo x - jogamp-jogl/pkg-descr
sed 's/^X//' >jogamp-jogl/pkg-descr << 'f21779936fa27c038b1df2b8bcf510d0'
XThe JOGL project hosts the development version of the Java (TM) Binding for the
XOpenGL API (JSR-231), and is designed to provide hardware-supported 3D graphics
Xto applications written in Java. JOGL provides full access to the APIs in the
XOpenGL 1.3 - 3.0, >= 3.1, ES 1.x and ES 2.x specification as well as nearly all
Xvendor extensions. It integrates with the AWT and Swing widget sets, as well
Xwith custom windowing toolkits using the the NativeWindow API. It is part of a
Xsuite of open-source technologies initiated by the Game Technology Group at Sun
XMicrosystems.
X
XWWW: http://jogamp.org/jogl
f21779936fa27c038b1df2b8bcf510d0
echo x - jogamp-jogl/distinfo
sed 's/^X//' >jogamp-jogl/distinfo << 'c766e6c4257ca0b4f1194e2e3399a6ed'
XMD5 (sgothel-gluegen-VALID_BUILDS_01-144-ga61c650.tar.gz) = bb0eb001c16f1dfdd60b25bc88e81ffa
XSHA256 (sgothel-gluegen-VALID_BUILDS_01-144-ga61c650.tar.gz) = f80a9067f26d8eb5ad16227d35b5085707570dc459124702a06fea144b3adfba
XSIZE (sgothel-gluegen-VALID_BUILDS_01-144-ga61c650.tar.gz) = 6030238
XMD5 (sgothel-jogl-OpenGL_3_3_Integration-8-gdc9191f.tar.gz) = b50c454ad5a19b2490f068936a372005
XSHA256 (sgothel-jogl-OpenGL_3_3_Integration-8-gdc9191f.tar.gz) = f1df1ebcc71751ec9e32317fddb71283d5626342e446b04cc4d5d6f383bc3e63
XSIZE (sgothel-jogl-OpenGL_3_3_Integration-8-gdc9191f.tar.gz) = 4894626
c766e6c4257ca0b4f1194e2e3399a6ed
echo c - jogamp-jogl/files
mkdir -p jogamp-jogl/files > /dev/null 2>&1
echo x - jogamp-jogl/files/patch-jogl_make_build-common.xml
sed 's/^X//' >jogamp-jogl/files/patch-jogl_make_build-common.xml << 'a89f5a50ed1ef646f9c359332b8ac8eb'
X--- jogl/make/build-common.xml.orig	2010-09-12 18:59:12.000000000 +0200
X+++ jogl/make/build-common.xml	2010-09-12 18:59:35.000000000 +0200
X@@ -4,10 +4,10 @@
X 
X     <description>Common JOGL Stuff</description>
X 
X-    <fail message="Please build using Ant 1.8.0 or higher.">
X+    <fail message="Please build using Ant 1.7.0 or higher.">
X         <condition>
X             <not>
X-                <antversion atleast="1.8.0"/>
X+                <antversion atleast="1.7.0"/>
X             </not>
X         </condition>
X     </fail>
a89f5a50ed1ef646f9c359332b8ac8eb
echo x - jogamp-jogl/files/patch-gluegen_make_build.xml
sed 's/^X//' >jogamp-jogl/files/patch-gluegen_make_build.xml << 'a6a1db80963d76808399851af7f21ab4'
X--- gluegen/make/build.xml.orig	2010-09-18 13:33:32.000000000 +0200
X+++ gluegen/make/build.xml	2010-09-18 13:33:44.000000000 +0200
X@@ -11,10 +11,10 @@
X   -->
X <project name="GlueGen" basedir="." default="all">
X 
X-  <fail message="Please build using Ant 1.8.0 or higher.">
X+  <fail message="Please build using Ant 1.7.0 or higher.">
X       <condition>
X           <not>
X-              <antversion atleast="1.8.0"/>
X+              <antversion atleast="1.7.0"/>
X           </not>
X       </condition>
X   </fail>
a6a1db80963d76808399851af7f21ab4
echo x - jogamp-jogl/pkg-plist
sed 's/^X//' >jogamp-jogl/pkg-plist << 'daa5589bdb57d961138981a767f03747'
Xlib/libgluegen-rt.so
Xlib/libjogl_desktop.so
Xlib/libjogl_es1.so
Xlib/libjogl_es2.so
Xlib/libjogl_gl2es12.so
Xlib/libnativewindow_awt.so
Xlib/libnativewindow_x11.so
Xlib/libnewt.so
X%%JAVAJARDIR%%/gluegen-rt-cdc.jar
X%%JAVAJARDIR%%/gluegen-rt.jar
X%%JAVAJARDIR%%/jogl.all-noawt.jar
X%%JAVAJARDIR%%/jogl.all.cdc.jar
X%%JAVAJARDIR%%/jogl.all.jar
X%%JAVAJARDIR%%/jogl.awt.jar
X%%JAVAJARDIR%%/jogl.core.cdc.jar
X%%JAVAJARDIR%%/jogl.core.jar
X%%JAVAJARDIR%%/jogl.egl.cdc.jar
X%%JAVAJARDIR%%/jogl.egl.jar
X%%JAVAJARDIR%%/jogl.gl2es12.cdc.jar
X%%JAVAJARDIR%%/jogl.gl2es12.jar
X%%JAVAJARDIR%%/jogl.gldesktop.dbg.jar
X%%JAVAJARDIR%%/jogl.gldesktop.jar
X%%JAVAJARDIR%%/jogl.gles1.cdc.jar
X%%JAVAJARDIR%%/jogl.gles1.dbg.cdc.jar
X%%JAVAJARDIR%%/jogl.gles1.dbg.jar
X%%JAVAJARDIR%%/jogl.gles1.jar
X%%JAVAJARDIR%%/jogl.gles2.cdc.jar
X%%JAVAJARDIR%%/jogl.gles2.dbg.cdc.jar
X%%JAVAJARDIR%%/jogl.gles2.dbg.jar
X%%JAVAJARDIR%%/jogl.gles2.jar
X%%JAVAJARDIR%%/jogl.glu.gldesktop.jar
X%%JAVAJARDIR%%/jogl.glu.mipmap.cdc.jar
X%%JAVAJARDIR%%/jogl.glu.mipmap.jar
X%%JAVAJARDIR%%/jogl.glu.tess.cdc.jar
X%%JAVAJARDIR%%/jogl.glu.tess.jar
X%%JAVAJARDIR%%/jogl.os.x11.cdc.jar
X%%JAVAJARDIR%%/jogl.os.x11.jar
X%%JAVAJARDIR%%/jogl.sdk.jar
X%%JAVAJARDIR%%/jogl.test.jar
X%%JAVAJARDIR%%/jogl.util.awt.jar
X%%JAVAJARDIR%%/jogl.util.cdc.jar
X%%JAVAJARDIR%%/jogl.util.fixedfuncemu.cdc.jar
X%%JAVAJARDIR%%/jogl.util.fixedfuncemu.jar
X%%JAVAJARDIR%%/jogl.util.gldesktop.jar
X%%JAVAJARDIR%%/jogl.util.jar
X%%JAVAJARDIR%%/nativewindow.all-noawt.jar
X%%JAVAJARDIR%%/nativewindow.all.cdc.jar
X%%JAVAJARDIR%%/nativewindow.all.jar
X%%JAVAJARDIR%%/nativewindow.awt.jar
X%%JAVAJARDIR%%/nativewindow.core.cdc.jar
X%%JAVAJARDIR%%/nativewindow.core.jar
X%%JAVAJARDIR%%/nativewindow.os.x11.cdc.jar
X%%JAVAJARDIR%%/nativewindow.os.x11.jar
X%%JAVAJARDIR%%/newt.all-noawt.jar
X%%JAVAJARDIR%%/newt.all.cdc.jar
X%%JAVAJARDIR%%/newt.all.jar
X%%JAVAJARDIR%%/newt.awt.jar
X%%JAVAJARDIR%%/newt.broadcomegl.cdc.jar
X%%JAVAJARDIR%%/newt.broadcomegl.jar
X%%JAVAJARDIR%%/newt.core.cdc.jar
X%%JAVAJARDIR%%/newt.core.jar
X%%JAVAJARDIR%%/newt.intelgdl.cdc.jar
X%%JAVAJARDIR%%/newt.intelgdl.jar
X%%JAVAJARDIR%%/newt.ogl.cdc.jar
X%%JAVAJARDIR%%/newt.ogl.jar
X%%JAVAJARDIR%%/newt.os.x11.cdc.jar
X%%JAVAJARDIR%%/newt.os.x11.jar
daa5589bdb57d961138981a767f03747
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list