From 70b648f9c8fa9c9cb302b9bbb06820a3cf23d71f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 13 Dec 2010 12:28:06 +0100 Subject: Window Support added ; Win64 libs & license files - plays on linux/window now - ant build files fixed -> Windows support - windows OpenAL 32/64 bit: see make/lib/FILES.txt make/lib/oalinst-license.txt) - linux libs: added .1 to suffix - added Debug impl - catch EAX init exception (ie unsatisfied link error) - EAX proper blocked init TODO: - check on osx - joal-demos --- make/142-packages/package-list | 135 --------------- make/build-test.xml | 8 +- make/build.xml | 326 ++++++++++------------------------- make/lib/FILES.txt | 9 + make/lib/linux-amd64/libopenal.so | Bin 212312 -> 0 bytes make/lib/linux-amd64/libopenal.so.1 | Bin 0 -> 212312 bytes make/lib/linux-i586/libopenal.so | Bin 758109 -> 0 bytes make/lib/linux-i586/libopenal.so.1 | Bin 0 -> 758109 bytes make/lib/oalinst-license.txt | 24 +++ make/lib/windows-amd64/OpenAL32.dll | Bin 0 -> 122904 bytes make/lib/windows-amd64/wrap_oal.dll | Bin 0 -> 466456 bytes make/lib/windows-i586/OpenAL32.dll | Bin 73728 -> 109080 bytes make/lib/windows-i586/wrap_oal.dll | Bin 409600 -> 444952 bytes make/scripts/make.jogl.all.win32.bat | 12 ++ make/scripts/make.jogl.all.win64.bat | 12 ++ 15 files changed, 155 insertions(+), 371 deletions(-) delete mode 100755 make/142-packages/package-list create mode 100644 make/lib/FILES.txt delete mode 100644 make/lib/linux-amd64/libopenal.so create mode 100644 make/lib/linux-amd64/libopenal.so.1 delete mode 100755 make/lib/linux-i586/libopenal.so create mode 100755 make/lib/linux-i586/libopenal.so.1 create mode 100755 make/lib/oalinst-license.txt create mode 100755 make/lib/windows-amd64/OpenAL32.dll create mode 100755 make/lib/windows-amd64/wrap_oal.dll create mode 100755 make/scripts/make.jogl.all.win32.bat create mode 100755 make/scripts/make.jogl.all.win64.bat (limited to 'make') diff --git a/make/142-packages/package-list b/make/142-packages/package-list deleted file mode 100755 index fecd4d4..0000000 --- a/make/142-packages/package-list +++ /dev/null @@ -1,135 +0,0 @@ -java.applet -java.awt -java.awt.color -java.awt.datatransfer -java.awt.dnd -java.awt.event -java.awt.font -java.awt.geom -java.awt.im -java.awt.im.spi -java.awt.image -java.awt.image.renderable -java.awt.print -java.beans -java.beans.beancontext -java.io -java.lang -java.lang.ref -java.lang.reflect -java.math -java.net -java.nio -java.nio.channels -java.nio.channels.spi -java.nio.charset -java.nio.charset.spi -java.rmi -java.rmi.activation -java.rmi.dgc -java.rmi.registry -java.rmi.server -java.security -java.security.acl -java.security.cert -java.security.interfaces -java.security.spec -java.sql -java.text -java.util -java.util.jar -java.util.logging -java.util.prefs -java.util.regex -java.util.zip -javax.accessibility -javax.crypto -javax.crypto.interfaces -javax.crypto.spec -javax.imageio -javax.imageio.event -javax.imageio.metadata -javax.imageio.plugins.jpeg -javax.imageio.spi -javax.imageio.stream -javax.naming -javax.naming.directory -javax.naming.event -javax.naming.ldap -javax.naming.spi -javax.net -javax.net.ssl -javax.print -javax.print.attribute -javax.print.attribute.standard -javax.print.event -javax.rmi -javax.rmi.CORBA -javax.security.auth -javax.security.auth.callback -javax.security.auth.kerberos -javax.security.auth.login -javax.security.auth.spi -javax.security.auth.x500 -javax.security.cert -javax.sound.midi -javax.sound.midi.spi -javax.sound.sampled -javax.sound.sampled.spi -javax.sql -javax.swing -javax.swing.border -javax.swing.colorchooser -javax.swing.event -javax.swing.filechooser -javax.swing.plaf -javax.swing.plaf.basic -javax.swing.plaf.metal -javax.swing.plaf.multi -javax.swing.table -javax.swing.text -javax.swing.text.html -javax.swing.text.html.parser -javax.swing.text.rtf -javax.swing.tree -javax.swing.undo -javax.transaction -javax.transaction.xa -javax.xml.parsers -javax.xml.transform -javax.xml.transform.dom -javax.xml.transform.sax -javax.xml.transform.stream -org.ietf.jgss -org.omg.CORBA -org.omg.CORBA.DynAnyPackage -org.omg.CORBA.ORBPackage -org.omg.CORBA.TypeCodePackage -org.omg.CORBA.portable -org.omg.CORBA_2_3 -org.omg.CORBA_2_3.portable -org.omg.CosNaming -org.omg.CosNaming.NamingContextExtPackage -org.omg.CosNaming.NamingContextPackage -org.omg.Dynamic -org.omg.DynamicAny -org.omg.DynamicAny.DynAnyFactoryPackage -org.omg.DynamicAny.DynAnyPackage -org.omg.IOP -org.omg.IOP.CodecFactoryPackage -org.omg.IOP.CodecPackage -org.omg.Messaging -org.omg.PortableInterceptor -org.omg.PortableInterceptor.ORBInitInfoPackage -org.omg.PortableServer -org.omg.PortableServer.CurrentPackage -org.omg.PortableServer.POAManagerPackage -org.omg.PortableServer.POAPackage -org.omg.PortableServer.ServantLocatorPackage -org.omg.PortableServer.portable -org.omg.SendingContext -org.omg.stub.java.rmi -org.w3c.dom -org.xml.sax -org.xml.sax.ext -org.xml.sax.helpers diff --git a/make/build-test.xml b/make/build-test.xml index cf47fbf..889b910 100644 --- a/make/build-test.xml +++ b/make/build-test.xml @@ -59,15 +59,15 @@ - - + + + classpath="${gluegen-rt.jar};../build/joal.jar;${junit.path}"/> @@ -93,6 +93,7 @@ --> + @@ -139,6 +140,7 @@ --> + diff --git a/make/build.xml b/make/build.xml index 54bed16..ec0ca0d 100755 --- a/make/build.xml +++ b/make/build.xml @@ -39,7 +39,9 @@ - + + + @@ -65,39 +67,17 @@ - - - - - - - - - - - - - - - - - + + - - - - - + + @@ -107,8 +87,8 @@ - - + + - - - - - - - @@ -186,121 +158,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -313,8 +170,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - @@ -593,10 +453,10 @@ - + value="${gluegen.build}/javadoc/gluegen" /> @@ -606,7 +466,7 @@ includes="joal/**" /> - + - + - + @@ -680,7 +540,7 @@ --> - + @@ -689,7 +549,7 @@ - + diff --git a/make/lib/FILES.txt b/make/lib/FILES.txt new file mode 100644 index 0000000..1b8d9c0 --- /dev/null +++ b/make/lib/FILES.txt @@ -0,0 +1,9 @@ + +Windows x32 and x64: + oalinst: + http://connect.creativelabs.com/openal/Downloads/oalinst.zip + LICENSE: oalinst-license.txt + + Summer 2009 : Version 2.0.7.0 + * OpenAL32.dll version 6.14.357.24 + * wrap_oal.dll version 2.2.0.5 diff --git a/make/lib/linux-amd64/libopenal.so b/make/lib/linux-amd64/libopenal.so deleted file mode 100644 index 4ed39f2..0000000 Binary files a/make/lib/linux-amd64/libopenal.so and /dev/null differ diff --git a/make/lib/linux-amd64/libopenal.so.1 b/make/lib/linux-amd64/libopenal.so.1 new file mode 100644 index 0000000..4ed39f2 Binary files /dev/null and b/make/lib/linux-amd64/libopenal.so.1 differ diff --git a/make/lib/linux-i586/libopenal.so b/make/lib/linux-i586/libopenal.so deleted file mode 100755 index ebcaee5..0000000 Binary files a/make/lib/linux-i586/libopenal.so and /dev/null differ diff --git a/make/lib/linux-i586/libopenal.so.1 b/make/lib/linux-i586/libopenal.so.1 new file mode 100755 index 0000000..ebcaee5 Binary files /dev/null and b/make/lib/linux-i586/libopenal.so.1 differ diff --git a/make/lib/oalinst-license.txt b/make/lib/oalinst-license.txt new file mode 100755 index 0000000..8c95a86 --- /dev/null +++ b/make/lib/oalinst-license.txt @@ -0,0 +1,24 @@ +Creative Labs, Inc. is providing you with this OpenAL32.dll installer and other OpenAL files ("Software"). +You may use and freely integrate with your software applications and distribute such throughout the world at no cost or further obligation to Creative. + +NO WARRANTY + ANY USE BY YOU OF THE SOFTWARE IS AT YOUR OWN RISK. + THE SOFTWARE IS PROVIDED FOR USE "AS IS" WITHOUT WARRANTY OF ANY KIND. + TO THE MAXIMUM EXTENT PERMITTED BY LAW, CREATIVE DISCLAIMS ALL WARRANTIES OF ANY KIND, + EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, IMPLIED WARRANTIES OR CONDITIONS + OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + CREATIVE IS NOT OBLIGATED TO PROVIDE ANY UPDATES OR UPGRADES TO THE SOFTWARE. + + No other entity or person is authorized to expand or alter this warranty or any other provisions herein. + Creative does not warrant that the functions contained in the Software will meet your requirements + or that the operation of the Software will be uninterrupted or error-free or free from malicious code. + For purposes of this paragraph, "malicious code" means any program code designed to contaminate other computer programs or computer data, + consume computer resources, modify, destroy, record, or transmit data, or in some other fashion usurp the normal operation of the computer, + computer system, or computer network, including viruses, Trojan horses, droppers, worms, logic bombs, and the like. + + You assume full responsibility for the selection of the Software to achieve your intended results, + and for the downloading, use and results obtained from the Software. + You also assume the entire risk as it applies to the quality and performance of the Software. + + IN NO EVENT WILL CREATIVE'S LIABILITY TO YOU OR ANY OTHER PERSON EVER EXCEED THE AMOUNT PAID BY YOU TO USE THE SOFTWARE, + REGARDLESS OF THE FORM OF THE CLAIM. diff --git a/make/lib/windows-amd64/OpenAL32.dll b/make/lib/windows-amd64/OpenAL32.dll new file mode 100755 index 0000000..259177a Binary files /dev/null and b/make/lib/windows-amd64/OpenAL32.dll differ diff --git a/make/lib/windows-amd64/wrap_oal.dll b/make/lib/windows-amd64/wrap_oal.dll new file mode 100755 index 0000000..2713dae Binary files /dev/null and b/make/lib/windows-amd64/wrap_oal.dll differ diff --git a/make/lib/windows-i586/OpenAL32.dll b/make/lib/windows-i586/OpenAL32.dll index a2e77f2..d0ee3cc 100755 Binary files a/make/lib/windows-i586/OpenAL32.dll and b/make/lib/windows-i586/OpenAL32.dll differ diff --git a/make/lib/windows-i586/wrap_oal.dll b/make/lib/windows-i586/wrap_oal.dll index 22697eb..91e90fc 100755 Binary files a/make/lib/windows-i586/wrap_oal.dll and b/make/lib/windows-i586/wrap_oal.dll differ diff --git a/make/scripts/make.jogl.all.win32.bat b/make/scripts/make.jogl.all.win32.bat new file mode 100755 index 0000000..e404460 --- /dev/null +++ b/make/scripts/make.jogl.all.win32.bat @@ -0,0 +1,12 @@ +set J2RE_HOME=c:\jre1.6.0_22_x32 +set JAVA_HOME=c:\jdk1.6.0_22_x32 +set ANT_PATH=C:\apache-ant-1.8.0 + +set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw\bin;%PATH% + +set LIB_GEN=%THISDIR%\lib +set CLASSPATH=.;%THISDIR%\build-win32\classes +REM -Dc.compiler.debug=true +REM -Dbuild.noarchives=true + +ant -Dbuild.noarchives=true -Drootrel.build=build-win32 %1 %2 %3 %4 %5 %6 %7 %8 %9 > make.joal.all.win32.log 2>&1 diff --git a/make/scripts/make.jogl.all.win64.bat b/make/scripts/make.jogl.all.win64.bat new file mode 100755 index 0000000..0890b44 --- /dev/null +++ b/make/scripts/make.jogl.all.win64.bat @@ -0,0 +1,12 @@ +set J2RE_HOME=c:\jre1.6.0_22_x64 +set JAVA_HOME=c:\jdk1.6.0_22_x64 +set ANT_PATH=C:\apache-ant-1.8.0 + +set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw64\bin;c:\mingw\bin;%PATH% + +set LIB_GEN=%THISDIR%\lib +set CLASSPATH=.;%THISDIR%\build-win64\classes +REM -Dc.compiler.debug=true +REM -Dbuild.noarchives=true + +ant -Dc.compiler.debug=true -Dbuild.noarchives=true -Drootrel.build=build-win64 %1 %2 %3 %4 %5 %6 %7 %8 %9 > make.joal.all.win64.log 2>&1 -- cgit v1.2.3