Package list lwjgl / debian/2.7.1+dfsg-5 debian / patches / systemjinput.patch
debian/2.7.1+dfsg-5

Tree @debian/2.7.1+dfsg-5 (Download .tar.gz)

systemjinput.patch @debian/2.7.1+dfsg-5raw · history · blame

Author: Gabriele Giacone <1o5g4r8o@gmail.com>
Description: build against system jinput libraries

--- a/build.xml
+++ b/build.xml
@@ -137,6 +137,7 @@
 			<fileset refid="lwjgl.fileset" />
 			<manifest>
 				<attribute name="Sealed" value="true"/>
+				<attribute name="Class-Path" value="/usr/share/java/jinput.jar"/>
 			</manifest>
 		</jar>
 
@@ -146,6 +147,7 @@
 			<fileset refid="lwjgl_util_applet.fileset" />
 			<manifest>
 				<attribute name="Sealed" value="true"/>
+				<attribute name="Class-Path" value="/usr/share/java/jinput.jar"/>
 			</manifest>
 		</jar>
 
@@ -501,7 +503,7 @@
 			<os name="Mac OS X" />
 		</condition>
 		<property name="native_path_expanded" location="${native_path}"/>
-		<java classname="${test.mainclass}" classpath="res:${lwjgl.lib}/lwjgl.jar:${lwjgl.lib}/lwjgl_util.jar:${lwjgl.lib}/lwjgl_test.jar:${lwjgl.lib}/jinput.jar" fork="true">
+		<java classname="${test.mainclass}" classpath="res:${lwjgl.lib}/lwjgl.jar:${lwjgl.lib}/lwjgl_util.jar:${lwjgl.lib}/lwjgl_test.jar:/usr/share/java/jinput.jar" fork="true">
 			<sysproperty key="org.lwjgl.util.Debug" value="true"/>
 			<sysproperty key="java.library.path" value="${native_path_expanded}"/>
 			<arg line="${args}"/>