Date: Sun, 29 Aug 2010 18:29:12 GMT From: Tassilo Philipp <tphilipp@potion-studios.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/150091: [New port]; graphics/jogl2 Message-ID: <201008291829.o7TITC19070634@www.freebsd.org> Resent-Message-ID: <201008291830.o7TIU2q9046558@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150091 >Category: ports >Synopsis: [New port]; graphics/jogl2 >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: Sun Aug 29 18:30:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Tassilo Philipp >Release: 7.0 >Organization: >Environment: FreeBSD amphore.potion-studios.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Aug 20 20:52:41 CEST 2008 tphilipp@amphore:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I introduced a new port after talking to the maintainer of graphics/jogl, because JOGL2 is incompatible to JOGL, and 4 other ports depend on JOGL. >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: # # jogl2 # jogl2/Makefile # jogl2/pkg-descr # jogl2/files # jogl2/files/patch-gluegen_make_gluegen.properties # jogl2/files/patch-gluegen_make_build.xml # jogl2/files/patch-gluegen_make_gluegen-properties.xml # jogl2/files/patch-gluegen_src_java_com_sun_gluegen_StructLayout.java # jogl2/files/patch-gluegen_src_java_com_sun_gluegen_runtime_CPU.java # jogl2/files/patch-gluegen_make_gluegen-cpptasks.xml # jogl2/files/patch-jogl_make_build-nativewindow.xml # jogl2/pkg-plist # jogl2/distinfo # echo c - jogl2 mkdir -p jogl2 > /dev/null 2>&1 echo x - jogl2/Makefile sed 's/^X//' >jogl2/Makefile << 'END-of-jogl2/Makefile' X# New ports collection makefile for: jogl2 X# Date created: 22 August 2010 X# Whom: Tassilo Philipp <tphilipp@potion-studios.com> X# X# $FreeBSD$ X# X XPORTNAME= jogl2 XPORTVERSION= 2.0 XCATEGORIES= graphics devel java XMASTER_SITES=http://download.java.net/media/jogl/builds/archive/jsr-231-2.0-beta10/ XDISTNAME=jogl-${PORTVERSION} XEXTRACT_SUFX= -src.zip X XMAINTAINER= tphilipp@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 XNO_WRKSUBDIR= yes 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_ZIP= yes XUSE_ANT= yes XUSE_LDCONFIG= yes XUSE_JAVA= yes XJAVA_VERSION= 1.6+ X XBUILD_WRKSRC= ${WRKSRC}/jogl/make X Xpost-patch: X @${REINPLACE_CMD} -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|g' \ X ${WRKSRC}/gluegen/make/build.xml ${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_es1.so \ X ${WRKSRC}/jogl/build/lib/libjogl_es2.so \ X ${WRKSRC}/jogl/build/lib/libjogl_gl2.so \ X ${WRKSRC}/jogl/build/lib/libjogl_gl2es12.so \ X ${WRKSRC}/jogl/build/lib/libnativewindow_awt.so \ X ${WRKSRC}/jogl/build/lib/libnativewindow_jvm.so \ X ${WRKSRC}/jogl/build/lib/libnativewindow_x11.so \ X ${WRKSRC}/jogl/build/lib/libnewt.so \ X ${PREFIX}/lib X ${INSTALL_DATA} \ X ${WRKSRC}/gluegen/build/gluegen-rt-cdc.jar \ X ${WRKSRC}/gluegen/build/gluegen-rt.jar \ X ${WRKSRC}/gluegen/build/gluegen.jar \ X ${WRKSRC}/jogl/build/nativewindow/nativewindow.awt.jar \ X ${WRKSRC}/jogl/build/nativewindow/nativewindow.core.cdc.jar \ X ${WRKSRC}/jogl/build/nativewindow/nativewindow.core.jar \ X ${WRKSRC}/jogl/build/nativewindow/nativewindow.x11.cdc.jar \ X ${WRKSRC}/jogl/build/nativewindow/nativewindow.x11.jar \ X ${WRKSRC}/jogl/build/nativewindow/nativewindow.all.cdc.jar \ X ${WRKSRC}/jogl/build/nativewindow/nativewindow.all.jar \ X ${WRKSRC}/jogl/build/newt/newt.awt.jar \ X ${WRKSRC}/jogl/build/newt/newt.broadcomegl.cdc.jar \ X ${WRKSRC}/jogl/build/newt/newt.broadcomegl.jar \ X ${WRKSRC}/jogl/build/newt/newt.core.cdc.jar \ X ${WRKSRC}/jogl/build/newt/newt.x11.cdc.jar \ X ${WRKSRC}/jogl/build/newt/newt.core.jar \ X ${WRKSRC}/jogl/build/newt/newt.x11.jar \ X ${WRKSRC}/jogl/build/newt/newt.all-noawt.jar \ X ${WRKSRC}/jogl/build/newt/newt.ogl.cdc.jar \ X ${WRKSRC}/jogl/build/newt/newt.all.cdc.jar \ X ${WRKSRC}/jogl/build/newt/newt.ogl.jar \ X ${WRKSRC}/jogl/build/newt/newt.all.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gl2.x11.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.glu.mipmap.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.glu.mipmap.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.glu.tess.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.glu.tess.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.sdk.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.all-noawt.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gl2es12.x11.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.util.awt.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.all.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gl2es12.x11.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.util.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.all.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gles1.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.util.fixedfuncemu.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.awt.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gles1.dbg.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.util.fixedfuncemu.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.core.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gles1.dbg.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.util.gl2.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.core.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gles1.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.util.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.egl.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gles2.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.egl.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gles2.dbg.cdc.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gl2.dbg.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gles2.dbg.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.gles2.jar \ X ${WRKSRC}/jogl/build/jogl/jogl.glu.gl2.jar \ X ${JAVAJARDIR} X X.include <bsd.port.mk> END-of-jogl2/Makefile echo x - jogl2/pkg-descr sed 's/^X//' >jogl2/pkg-descr << 'END-of-jogl2/pkg-descr' XThe JOGL project hosts the development version of the Java Binding for Xthe OpenGL API (JSR-231), and is designed to provide hardware- Xsupported 3D graphics to applications written in Java. JOGL provides Xfull access to the APIs in the OpenGL 2.0 specification as well as Xnearly all vendor extensions, and integrates with the AWT and Swing Xwidget sets. It is part of a suite of open-source technologies Xinitiated by the Game Technology Group at Sun Microsystems. X XWWW: https://jogl.dev.java.net/ END-of-jogl2/pkg-descr echo c - jogl2/files mkdir -p jogl2/files > /dev/null 2>&1 echo x - jogl2/files/patch-gluegen_make_gluegen.properties sed 's/^X//' >jogl2/files/patch-gluegen_make_gluegen.properties << 'END-of-jogl2/files/patch-gluegen_make_gluegen.properties' X--- gluegen/make/gluegen.properties.orig 2010-08-23 23:27:37.000000000 +0200 X+++ gluegen/make/gluegen.properties 2010-08-23 23:50:08.000000000 +0200 X@@ -8,13 +8,15 @@ X # including the name of the jar X # X # Windows X-antlr.jar=C:/Users/kbr/ANTLR/antlr-2.7.2/antlr.jar X+#antlr.jar=C:/Users/kbr/ANTLR/antlr-2.7.2/antlr.jar X # Linux X # antlr.jar=/home/kbr/antlr-2.7.2/antlr.jar X # Mac OS X X # antlr.jar=/Users/kbr/antlr-2.7.2/antlr.jar X # Solaris X # antlr.jar=/export/kbr/ANTLR/antlr-2.7.2/antlr.jar X+# FreeBSD X+antlr.jar=%%JAVALIBDIR%%/antlr.jar X X # If you are building the native code for the GlueGen run-time library X # on Windows and have the Microsoft Visual C++ compilers installed, END-of-jogl2/files/patch-gluegen_make_gluegen.properties echo x - jogl2/files/patch-gluegen_make_build.xml sed 's/^X//' >jogl2/files/patch-gluegen_make_build.xml << 'END-of-jogl2/files/patch-gluegen_make_build.xml' X--- gluegen/make/build.xml.orig 2009-09-15 01:07:50.000000000 +0200 X+++ gluegen/make/build.xml 2010-08-28 11:07:23.000000000 +0200 X@@ -15,8 +15,8 @@ X <property name="gluegen_base_version" value="1.0-beta07"/> X X <!-- On jpackage.org-compatible systems, antlr.jar can be found in /usr/share/java --> X- <available property="antlr.jar" file="/usr/share/java/antlr.jar" X- value="/usr/share/java/antlr.jar"/> X+ <available property="antlr.jar" file="/usr/local/share/java/classes/antlr.jar" X+ value="/usr/local/share/java/classes/antlr.jar"/> X X <import file="gluegen-cpptasks.xml" /> X X@@ -287,13 +287,26 @@ X <property name="c.src.dir.os" value="macosx" /> X <property name="java.includes.dir.platform" value="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers" /> X </target> X- X- <target name="declare.freebsd" if="isFreeBSD"> X+ X+ <target name="declare.freebsd.x86" if="isFreeBSDX86"> X <echo message="FreeBSD" /> X <property name="compiler.cfg.id" value="compiler.cfg.freebsd" /> X- <property name="linker.cfg.id" value="linker.cfg.linux" /> X+ <property name="linker.cfg.id" value="linker.cfg.freebsd" /> X+ <property name="c.src.dir.os" value="unix" /> X+ <property name="java.includes.dir.platform" value="${java.includes.dir}/freebsd" /> X+ </target> X+ X+ <target name="declare.freebsd.amd64" if="isFreeBSDAMD64"> X+ <echo message="FreeBSD" /> X+ <property name="compiler.cfg.id" value="compiler.cfg.freebsd.amd64" /> X+ <property name="linker.cfg.id" value="linker.cfg.freebsd.amd64" /> X+ <property name="c.src.dir.os" value="unix" /> X+ <property name="java.includes.dir.platform" value="${java.includes.dir}/freebsd" /> X+ </target> X+ X+ <target name="declare.freebsd" depends="declare.freebsd.x86,declare.freebsd.amd64" if="isFreeBSD" > X <property name="c.src.dir.os" value="unix" /> X- <property name="java.includes.dir.freebsd" value="${java.includes.dir}/freebsd" /> X+ <property name="java.includes.dir.platform" value="${java.includes.dir}/freebsd" /> X </target> X X <target name="declare.hpux" if="isHPUX"> END-of-jogl2/files/patch-gluegen_make_build.xml echo x - jogl2/files/patch-gluegen_make_gluegen-properties.xml sed 's/^X//' >jogl2/files/patch-gluegen_make_gluegen-properties.xml << 'END-of-jogl2/files/patch-gluegen_make_gluegen-properties.xml' X--- gluegen/make/gluegen-properties.xml.orig 2010-08-24 00:03:51.000000000 +0200 X+++ gluegen/make/gluegen-properties.xml 2010-08-24 00:04:44.000000000 +0200 X@@ -24,7 +24,7 @@ X <!-- Load the user specified properties file that defines various host X - specific paths. The user will be notified if this is does not X - exist. --> X- <property name="gluegen.user.properties.file" value="${user.home}/gluegen.properties" /> X+ <property name="gluegen.user.properties.file" value="%%WRKSRC%%/gluegen/make/gluegen.properties" /> X <property file="${gluegen.user.properties.file}" /> X <echo message="Loaded ${gluegen.user.properties.file}." /> X <fail message="antlr.jar was not specified in gluegen.properties. Please see README.txt for instructions" unless="antlr.jar"/> END-of-jogl2/files/patch-gluegen_make_gluegen-properties.xml echo x - jogl2/files/patch-gluegen_src_java_com_sun_gluegen_StructLayout.java sed 's/^X//' >jogl2/files/patch-gluegen_src_java_com_sun_gluegen_StructLayout.java << 'END-of-jogl2/files/patch-gluegen_src_java_com_sun_gluegen_StructLayout.java' X--- gluegen/src/java/com/sun/gluegen/StructLayout.java.orig 2010-08-24 00:12:10.000000000 +0200 X+++ gluegen/src/java/com/sun/gluegen/StructLayout.java 2010-08-24 00:13:01.000000000 +0200 X@@ -140,6 +140,7 @@ X (os.startsWith("mac os") && cpu.equals("i386")) || X (os.startsWith("mac os") && cpu.equals("x86_64")) || X (os.startsWith("freebsd") && cpu.equals("i386")) || X+ (os.startsWith("freebsd") && cpu.equals("amd64")) || X (os.startsWith("hp-ux") && cpu.equals("pa_risc2.0")) X ) { X // FIXME: make struct alignment configurable? May need to change END-of-jogl2/files/patch-gluegen_src_java_com_sun_gluegen_StructLayout.java echo x - jogl2/files/patch-gluegen_src_java_com_sun_gluegen_runtime_CPU.java sed 's/^X//' >jogl2/files/patch-gluegen_src_java_com_sun_gluegen_runtime_CPU.java << 'END-of-jogl2/files/patch-gluegen_src_java_com_sun_gluegen_runtime_CPU.java' X--- gluegen/src/java/com/sun/gluegen/runtime/CPU.java.orig 2010-08-24 00:14:24.000000000 +0200 X+++ gluegen/src/java/com/sun/gluegen/runtime/CPU.java 2010-08-24 00:14:45.000000000 +0200 X@@ -79,6 +79,7 @@ X (os.startsWith("sunos") && cpu.equals("sparc")) || X (os.startsWith("sunos") && cpu.equals("x86")) || X (os.startsWith("freebsd") && cpu.equals("i386")) || X+ (os.startsWith("freebsd") && cpu.equals("amd64")) || X (os.startsWith("hp-ux") && cpu.equals("pa_risc2.0"))) { X is32Bit = true; X done = true; END-of-jogl2/files/patch-gluegen_src_java_com_sun_gluegen_runtime_CPU.java echo x - jogl2/files/patch-gluegen_make_gluegen-cpptasks.xml sed 's/^X//' >jogl2/files/patch-gluegen_make_gluegen-cpptasks.xml << 'END-of-jogl2/files/patch-gluegen_make_gluegen-cpptasks.xml' X--- gluegen/make/gluegen-cpptasks.xml.orig 2009-09-15 01:07:50.000000000 +0200 X+++ gluegen/make/gluegen-cpptasks.xml 2010-08-28 11:40:10.000000000 +0200 X@@ -19,6 +19,8 @@ X - configuration is exactly as specified. X - X - isFreeBSD X+ - isFreeBSDX86 X+ - isFreeBSDAMD64 X - isHPUX X - isIA64 X - isLinux X@@ -101,6 +103,7 @@ X - compiler.cfg.win32.msvc X - compiler.cfg.macosx X - compiler.cfg.freebsd X+ - compiler.cfg.freebsd.amd64 X - compiler.cfg.hpux X - linker.cfg.linux X - linker.cfg.linux.amd64 X@@ -154,6 +157,9 @@ X <condition property="isLinux"> X <os name="Linux" /> X </condition> X+ <condition property="isFreeBSD"> X+ <os name="FreeBSD" /> X+ </condition> X <condition property="isSolaris"> X <os name="SunOS" /> X </condition> X@@ -175,8 +181,24 @@ X <os arch="amd64" /> X </and> X </condition> X- <condition property="isFreeBSD"> X- <os name="FreeBSD" /> X+ <condition property="isFreeBSDAMD64"> X+ <and> X+ <istrue value="${isFreeBSD}" /> X+ <or> X+ <os arch="AMD64" /> X+ <os arch="amd64" /> X+ <os arch="x86_64" /> X+ </or> X+ </and> X+ </condition> X+ <condition property="isFreeBSDX86"> X+ <and> X+ <istrue value="${isFreeBSD}" /> X+ <or> X+ <os arch="i386" /> X+ <os arch="x86" /> X+ </or> X+ </and> X </condition> X <condition property="isHPUX"> X <os name="HP-UX" /> X@@ -269,6 +291,8 @@ X </condition> X X <echo message="FreeBSD=${isFreeBSD}" /> X+ <echo message="FreeBSDX86=${isFreeBSDX86}" /> X+ <echo message="FreeBSDAMD64=${isFreeBSDAMD64}" /> X <echo message="HPUX=${isHPUX}" /> X <echo message="IA64=${isIA64}" /> X <echo message="Linux=${isLinux}" /> X@@ -289,10 +313,16 @@ X <echo message="X11=${isX11}" /> X </target> X X- <target name="gluegen.cpptasks.detect.os.freebsd" unless="gluegen.cpptasks.detected.os.2" if="isFreeBSD"> X+ <target name="gluegen.cpptasks.detect.os.freebsd.x86" unless="gluegen.cpptasks.detected.os.2" if="isFreeBSDX86"> X <property name="os.and.arch" value="freebsd-i586" /> X </target> X X+ <target name="gluegen.cpptasks.detect.os.freebsd.amd64" unless="gluegen.cpptasks.detected.os.2" if="isFreeBSDAMD64"> X+ <property name="os.and.arch" value="freebsd-amd64" /> X+ </target> X+ X+ <target name="gluegen.cpptasks.detect.os.freebsd" depends="gluegen.cpptasks.detect.os.freebsd.amd64,gluegen.cpptasks.detect.os.freebsd.x86" unless="gluegen.cpptasks.detected.os" /> X+ X <target name="gluegen.cpptasks.detect.os.hpux" unless="gluegen.cpptasks.detected.os.2" if="isHPUX"> X <property name="os.and.arch" value="hpux-hppa" /> X </target> X@@ -576,6 +606,14 @@ X </defineset> X </compiler> X X+ <compiler id="compiler.cfg.freebsd.amd64" name="gcc"> X+ <compilerarg value="-fPIC"/> X+ <defineset> X+ <define name="FREEBSD" /> X+ <define name="BSD" /> X+ </defineset> X+ </compiler> X+ X <compiler id="compiler.cfg.hpux" name="aCC"> X <!-- Interpret source as ANSI C89 (not C++) --> X <compilerarg value="-Ae"/> X@@ -599,6 +637,12 @@ X X <!-- linker configuration --> X X+ <linker id="linker.cfg.freebsd" name="gcc"> X+ </linker> X+ X+ <linker id="linker.cfg.freebsd.amd64" name="gcc"> X+ </linker> X+ X <linker id="linker.cfg.linux" name="gcc"> X </linker> X X@@ -745,14 +789,26 @@ X <property name="java.lib.dir.platform" value="/System/Library/Frameworks/JavaVM.framework/Libraries" /> X </target> X X- <target name="gluegen.cpptasks.declare.compiler.freebsd" if="isFreeBSD"> X+ <target name="gluegen.cpptasks.declare.compiler.freebsd.x86" if="isFreeBSDX86"> X <echo message="FreeBSD" /> X <property name="compiler.cfg.id.base" value="compiler.cfg.freebsd" /> X- <property name="linker.cfg.id.base" value="linker.cfg.linux" /> X+ <property name="linker.cfg.id.base" value="linker.cfg.freebsd" /> X <property name="java.includes.dir.platform" value="${java.includes.dir}/freebsd" /> X <property name="java.lib.dir.platform" value="${java.home.dir}/jre/lib/i386" /> X </target> X X+ <target name="gluegen.cpptasks.declare.compiler.freebsd.amd64" if="isFreeBSDAMD64"> X+ <echo message="FreeBSD" /> X+ <property name="compiler.cfg.id.base" value="compiler.cfg.freebsd.amd64" /> X+ <property name="linker.cfg.id.base" value="linker.cfg.freebsd.amd64" /> X+ <property name="java.includes.dir.platform" value="${java.includes.dir}/freebsd" /> X+ <property name="java.lib.dir.platform" value="${java.home.dir}/jre/lib/amd64" /> X+ </target> X+ X+ <target name="gluegen.cpptasks.declare.compiler.freebsd" depends="gluegen.cpptasks.declare.compiler.freebsd.x86,gluegen.cpptasks.declare.compiler.freebsd.amd64" if="isFreeBSD"> X+ <property name="java.includes.dir.platform" value="${java.includes.dir}/freebsd" /> X+ </target> X+ X <target name="gluegen.cpptasks.declare.compiler.hpux" if="isHPUX"> X <echo message="HP-UX" /> X <property name="compiler.cfg.id.base" value="compiler.cfg.hpux" /> END-of-jogl2/files/patch-gluegen_make_gluegen-cpptasks.xml echo x - jogl2/files/patch-jogl_make_build-nativewindow.xml sed 's/^X//' >jogl2/files/patch-jogl_make_build-nativewindow.xml << 'END-of-jogl2/files/patch-jogl_make_build-nativewindow.xml' X--- jogl/make/build-nativewindow.xml.orig 2009-09-15 01:08:36.000000000 +0200 X+++ jogl/make/build-nativewindow.xml 2010-08-28 11:30:41.000000000 +0200 X@@ -477,13 +477,28 @@ X <!-- compiler configuration --> X <!-- Note that we can use the base setups in the gluegen-cpptasks for most of these --> X X- <compiler id="compiler.cfg.freebsd.nativewindow" extends="compiler.cfg.freebsd"> X+ <compiler id="compiler.cfg.freebsd.x86.nativewindow" extends="compiler.cfg.freebsd.x86"> X+ <!-- Need to force X11R6 headers on to include path after stub_includes --> X+ <includepath path="/usr/X11R6/include" /> X+ </compiler> X+ X+ <compiler id="compiler.cfg.freebsd.amd64.nativewindow" extends="compiler.cfg.freebsd.amd64"> X <!-- Need to force X11R6 headers on to include path after stub_includes --> X <includepath path="/usr/X11R6/include" /> X </compiler> X X <!-- linker configuration --> X X+ <linker id="linker.cfg.freebsd.x86.nativewindow.x11" extends="linker.cfg.freebsd.x86"> X+ <syslibset dir="/usr/X11R6/lib" libs="X11"/> X+ <syslibset dir="/usr/X11R6/lib" libs="Xxf86vm" /> X+ </linker> X+ X+ <linker id="linker.cfg.freebsd.amd64.nativewindow.x11" extends="linker.cfg.freebsd.amd64"> X+ <syslibset dir="/usr/X11R6/lib" libs="X11"/> X+ <syslibset dir="/usr/X11R6/lib" libs="Xxf86vm" /> X+ </linker> X+ X <linker id="linker.cfg.linux.nativewindow.x11" extends="linker.cfg.linux"> X <syslibset dir="/usr/X11R6/lib" libs="X11"/> X <syslibset dir="/usr/X11R6/lib" libs="Xxf86vm" /> X@@ -577,12 +592,20 @@ X <property name="linker.cfg.id.oswin" value="linker.cfg.solaris.amd64.nativewindow.x11" /> X </target> X X- <target name="c.configure.freebsd" depends="c.configure.x11" if="isFreeBSD"> X+ <target name="c.configure.freebsd.x86" depends="c.configure.x11" if="isFreeBSDX86"> X <echo message="FreeBSD" /> X- <property name="compiler.cfg.id" value="compiler.cfg.freebsd.nativewindow" /> X- <property name="linker.cfg.id.oswin" value="linker.cfg.linux.nativewindow.x11" /> X+ <property name="compiler.cfg.id" value="compiler.cfg.freebsd.x86.nativewindow" /> X+ <property name="linker.cfg.id.oswin" value="linker.cfg.freebsd.x86.nativewindow.x11" /> X </target> X X+ <target name="c.configure.freebsd.amd64" depends="c.configure.x11" if="isFreeBSDAMD64"> X+ <echo message="FreeBSD" /> X+ <property name="compiler.cfg.id" value="compiler.cfg.freebsd.amd64.nativewindow" /> X+ <property name="linker.cfg.id.oswin" value="linker.cfg.freebsd.amd64.nativewindow.x11" /> X+ </target> X+ X+ <target name="c.configure.freebsd" depends="c.configure.freebsd.x86,c.configure.freebsd.amd64,c.configure.x11" if="isFreeBSD" /> X+ X <target name="c.configure.hpux" depends="c.configure.x11" if="isHPUX"> X <echo message="HP-UX" /> X <property name="compiler.cfg.id" value="compiler.cfg.hpux" /> END-of-jogl2/files/patch-jogl_make_build-nativewindow.xml echo x - jogl2/pkg-plist sed 's/^X//' >jogl2/pkg-plist << 'END-of-jogl2/pkg-plist' Xlib/libgluegen-rt.so Xlib/libjogl_es1.so Xlib/libjogl_es2.so Xlib/libjogl_gl2.so Xlib/libjogl_gl2es12.so Xlib/libnativewindow_awt.so Xlib/libnativewindow_jvm.so Xlib/libnativewindow_x11.so X%%JAVAJARDIR%%/gluegen-rt-cdc.jar X%%JAVAJARDIR%%/gluegen-rt.jar X%%JAVAJARDIR%%/gluegen.jar X%%JAVAJARDIR%%/nativewindow.awt.jar X%%JAVAJARDIR%%/nativewindow.core.cdc.jar X%%JAVAJARDIR%%/nativewindow.core.jar X%%JAVAJARDIR%%/nativewindow.x11.cdc.jar X%%JAVAJARDIR%%/nativewindow.x11.jar X%%JAVAJARDIR%%/nativewindow.all.cdc.jar X%%JAVAJARDIR%%/nativewindow.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.x11.cdc.jar X%%JAVAJARDIR%%/newt.core.jar X%%JAVAJARDIR%%/newt.x11.jar X%%JAVAJARDIR%%/newt.all-noawt.jar X%%JAVAJARDIR%%/newt.ogl.cdc.jar X%%JAVAJARDIR%%/newt.all.cdc.jar X%%JAVAJARDIR%%/newt.ogl.jar X%%JAVAJARDIR%%/newt.all.jar X%%JAVAJARDIR%%/jogl.gl2.x11.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.sdk.jar X%%JAVAJARDIR%%/jogl.all-noawt.jar X%%JAVAJARDIR%%/jogl.gl2es12.x11.cdc.jar X%%JAVAJARDIR%%/jogl.util.awt.jar X%%JAVAJARDIR%%/jogl.all.cdc.jar X%%JAVAJARDIR%%/jogl.gl2es12.x11.jar X%%JAVAJARDIR%%/jogl.util.cdc.jar X%%JAVAJARDIR%%/jogl.all.jar X%%JAVAJARDIR%%/jogl.gles1.cdc.jar X%%JAVAJARDIR%%/jogl.util.fixedfuncemu.cdc.jar X%%JAVAJARDIR%%/jogl.awt.jar X%%JAVAJARDIR%%/jogl.gles1.dbg.cdc.jar X%%JAVAJARDIR%%/jogl.util.fixedfuncemu.jar X%%JAVAJARDIR%%/jogl.core.cdc.jar X%%JAVAJARDIR%%/jogl.gles1.dbg.jar X%%JAVAJARDIR%%/jogl.util.gl2.jar X%%JAVAJARDIR%%/jogl.core.jar X%%JAVAJARDIR%%/jogl.gles1.jar X%%JAVAJARDIR%%/jogl.util.jar X%%JAVAJARDIR%%/jogl.egl.cdc.jar X%%JAVAJARDIR%%/jogl.gles2.cdc.jar X%%JAVAJARDIR%%/jogl.egl.jar X%%JAVAJARDIR%%/jogl.gles2.dbg.cdc.jar X%%JAVAJARDIR%%/jogl.gl2.dbg.jar X%%JAVAJARDIR%%/jogl.gles2.dbg.jar X%%JAVAJARDIR%%/jogl.gles2.jar X%%JAVAJARDIR%%/jogl.glu.gl2.jar END-of-jogl2/pkg-plist echo x - jogl2/distinfo sed 's/^X//' >jogl2/distinfo << 'END-of-jogl2/distinfo' XMD5 (jogl-2.0-src.zip) = 391f9c868fd31289af8abb7ceab86df6 XSHA256 (jogl-2.0-src.zip) = 4d92becbe284b19dd556bb674a2b7446309320f0706db5f05e7f765680f912c1 XSIZE (jogl-2.0-src.zip) = 39478305 END-of-jogl2/distinfo exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008291829.o7TITC19070634>