I got the build working for my platform and started by patching the 'org.lwjgl' plug-in. This is the Manifest for the binary org.lwjgl bundle as it is generated now (from the archives of build #241):
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 14.0-b16 (Sun Microsystems Inc.)
Bundle-ManifestVersion: 2
Bundle-Name: LWJGL Lightweight Java Game Library
Bundle-SymbolicName: org.lwjgl
Bundle-Version: 2.2.0
Bundle-Vendor: LWJGL.org
Bundle-RequiredExecutionEnvironment: J2SE-1.4
Import-Package: javax.swing
Export-Package: LZMA,com.apple.eawt,com.apple.eio,net.java.games.input
,net.java.games.util,net.java.games.util.plugins,org.lwjgl,org.lwjgl.
input,org.lwjgl.openal,org.lwjgl.opengl,org.lwjgl.util,org.lwjgl.util
.applet,org.lwjgl.util.glu,org.lwjgl.util.glu.tessellation,org.lwjgl.
util.input,org.lwjgl.util.jinput,org.lwjgl.util.vector
Bundle-ClassPath: AppleJavaExtensions.jar,jinput.jar,lwjgl-debug.jar,l
wjgl.jar,lwjgl_test.jar,lwjgl_util.jar,lwjgl_util_applet.jar,lzma.jar
Bundle-NativeCode: /native/windows/jinput-dx8.dll; /native/windows/jin
put-raw.dll; /native/windows/lwjgl.dll; /native/windows/OpenAL32.dll;
osname=win32; processor=x86,/native/windows/jinput-dx8_64.dll; /nati
ve/windows/jinput-raw_64.dll; /native/windows/lwjgl64.dll; /native/wi
ndows/OpenAL64.dll; osname=win32; processor=x86-64,/native/macosx/lib
jinput-osx.jnilib; /native/macosx/liblwjgl.jnilib; /native/macosx/ope
nal.dylib; osname=macosx,/native/solaris/liblwjgl.so; /native/solaris
/libopenal.so; osname=solaris; processor=x86,/native/solaris/liblwjgl
64.so; /native/solaris/libopenal.so; osname=solaris; processor=x86-64
,/native/linux/libjinput-linux.so; /native/linux/liblwjgl.so; /native
/linux/libopenal.so; osname=linux; processor=x86,/native/linux/libjin
put-linux64.so; /native/linux/liblwjgl64.so; /native/linux/libopenal.
so; osname=linux; processor=x86-64
There is no more code in that plug-in and I would also like to remove unnecessary stuff from the other plug-ins later. Could you take a look at this, Matzon? I am not sure about a few things. Added stuff:
- Bundle-RequiredExecutionEnvironment: J2SE-1.4 -- is this correct? it means Java 1.4+
- Import-Package: javax.swing -- is this optional?
There are some new jars (AppleJavaExtensions.jar, lzma.jar, lwjgl-debug.jar) -- should these be included with the plug-in distribution now?
Native libraries: Someone might want to double check if I got this right. Here's how I specified it in case the manifest syntax is not clear:
Windows (32-bit): jinput-dx8.dll; jinput-raw.dll; lwjgl.dll; OpenAL32.dll
Windows (64-bit): jinput-dx8_64.dll; jinput-raw_64.dll; lwjgl_64.dll; OpenAL64.dll
Mac OS X: libjinput-osx.jnilib; liblwjgl.jnilib; openal.dylib
Solaris (32-bit): liblwjgl.so; libopenal.so
Solaris (64-bit): liblwjgl64.so; libopenal.so
Linux (32-bit): libjinput-linux.so; liblwjgl.so; libopenal.so
Linux (64-bit): libjinput-linux64.so; liblwjgl64.so; libopenal.so
Where should I send the patch when it's done?