Package list lwjgl / e2d68ad
release 2.7.1+dfsg-3 Michael Gilbert 7 years ago
9 changed file(s) with 76 addition(s) and 24 deletion(s). Raw diff Collapse all Expand all
136136 <fileset refid="lwjgl.fileset" />
137137 <manifest>
138138 <attribute name="Sealed" value="true"/>
139 <attribute name="Class-Path" value="/usr/share/java/jinput.jar"/>
139140 </manifest>
140141 </jar>
141142
145146 <fileset refid="lwjgl_util_applet.fileset" />
146147 <manifest>
147148 <attribute name="Sealed" value="true"/>
149 <attribute name="Class-Path" value="/usr/share/java/jinput.jar"/>
148150 </manifest>
149151 </jar>
150152
245247 <class name="org.lwjgl.opengl.WindowsContextImplementation" />
246248 </javah>
247249
248 <javah classpath="${lwjgl.bin}" destdir="${lwjgl.src.native}/macosx" force="yes">
250 <!-- <javah classpath="${lwjgl.bin}" destdir="${lwjgl.src.native}/macosx" force="yes">
249251 <class name="org.lwjgl.MacOSXSysImplementation" />
250252 <class name="org.lwjgl.opengl.MacOSXMouseEventQueue" />
251253 <class name="org.lwjgl.opengl.MacOSXCanvasPeerInfo" />
253255 <class name="org.lwjgl.opengl.MacOSXPbufferPeerInfo" />
254256 <class name="org.lwjgl.opengl.MacOSXDisplay" />
255257 <class name="org.lwjgl.opengl.MacOSXContextImplementation" />
256 </javah>
258 </javah> -->
257259
258260 <javah classpath="${lwjgl.bin}" destdir="${lwjgl.src.headers}" force="yes">
259261 <class name="org.lwjgl.opengl.AWTSurfaceLock" />
292294 </tokenfilter>
293295 </filterchain>
294296 </loadfile>
295 <loadfile srcfile="${lwjgl.src}/java/org/lwjgl/MacOSXSysImplementation.java" property="lwjgl.java.macosx.version">
297 <!-- <loadfile srcfile="${lwjgl.src}/java/org/lwjgl/MacOSXSysImplementation.java" property="lwjgl.java.macosx.version">
296298 <filterchain>
297299 <tokenfilter>
298300 <containsstring contains="JNI_VERSION ="/>
299301 </tokenfilter>
300302 </filterchain>
301 </loadfile>
303 </loadfile> -->
302304 <loadfile srcfile="${lwjgl.src.native}/windows/org_lwjgl_WindowsSysImplementation.h" property="lwjgl.native.windows.version">
303305 <filterchain>
304306 <tokenfilter>
313315 </tokenfilter>
314316 </filterchain>
315317 </loadfile>
316 <loadfile srcfile="${lwjgl.src.native}/macosx/org_lwjgl_MacOSXSysImplementation.h" property="lwjgl.native.macosx.version">
318 <!-- <loadfile srcfile="${lwjgl.src.native}/macosx/org_lwjgl_MacOSXSysImplementation.h" property="lwjgl.native.macosx.version">
317319 <filterchain>
318320 <tokenfilter>
319321 <containsstring contains="#define org_lwjgl_MacOSXSysImplementation_JNI_VERSION"/>
320322 </tokenfilter>
321323 </filterchain>
322 </loadfile>
324 </loadfile> -->
323325 <echo>
324326 lwjgl.java.windows.version = ${lwjgl.java.windows.version}
325327 lwjgl.native.windows.version = ${lwjgl.native.windows.version}
500502 <os name="Mac OS X" />
501503 </condition>
502504 <property name="native_path_expanded" location="${native_path}"/>
503 <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">
505 <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">
504506 <sysproperty key="org.lwjgl.util.Debug" value="true"/>
505507 <sysproperty key="java.library.path" value="${native_path_expanded}"/>
506508 <arg line="${args}"/>
510512 <!-- Creates the Javadoc -->
511513 <target name="javadoc" description="Creates javadoc from java source code">
512514 <javadoc destdir="${lwjgl.docs}/javadoc" classpath="${lwjgl.lib}/jinput.jar" author="true" version="true" use="true" source="1.5" windowtitle="LWJGL API" useexternalfile="true">
515 <link href="/usr/share/doc/default-jdk-doc/api/" />
513516 <fileset refid="lwjgl.javadoc.fileset" />
514517 <doctitle><![CDATA[<h1>Lightweight Java Game Toolkit</h1>]]></doctitle>
515518 <bottom><![CDATA[<i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i>]]></bottom>
0 lwjgl (2.7.1+dfsg-3) unstable; urgency=low
1
2 * add java bin dir to the PATH environment (closes: #664180)
3 * update my email address
4 * build-conflict with binutils-gold
5 * bump standards to 3.9.3
6 * add a .gitignore file
7 * utilize jutils.jar via jinput.jar's classpath
8
9 -- Michael Gilbert <mgilbert@debian.org> Mon, 07 May 2012 15:06:23 -0400
10
011 lwjgl (2.7.1+dfsg-2) unstable; urgency=low
112
213 [ Miguel Landaeta ]
11 Section: java
22 Priority: optional
33 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
4 Uploaders: Gabriele Giacone <1o5g4r8o@gmail.com>, Michael Gilbert <michael.s.gilbert@gmail.com>
4 Uploaders:
5 Gabriele Giacone <1o5g4r8o@gmail.com>,
6 Michael Gilbert <mgilbert@debian.org>,
57 Build-Depends:
68 debhelper (>= 8),
79 javahelper,
1214 libxrandr-dev,
1315 libxxf86vm-dev,
1416 libxcursor-dev,
15 libxt-dev
16 Build-Depends-Indep: default-jdk-doc
17 Standards-Version: 3.9.2
17 libxt-dev,
18 Build-Depends-Indep:
19 default-jdk-doc,
20 Build-Conflicts:
21 binutils-gold,
22 Standards-Version: 3.9.3
1823 Vcs-Git: git://git.debian.org/git/pkg-java/lwjgl.git
1924 Vcs-Browser: http://git.debian.org/?p=pkg-java/lwjgl.git
2025 Homepage: http://lwjgl.org/
1616 <fileset refid="lwjgl.fileset" />
1717 <manifest>
1818 <attribute name="Sealed" value="true"/>
19 + <attribute name="Class-Path" value="/usr/share/java/jinput.jar /usr/share/java/jutils.jar"/>
19 + <attribute name="Class-Path" value="/usr/share/java/jinput.jar"/>
2020 </manifest>
2121 </jar>
2222
2424 <fileset refid="lwjgl_util_applet.fileset" />
2525 <manifest>
2626 <attribute name="Sealed" value="true"/>
27 + <attribute name="Class-Path" value="/usr/share/java/jinput.jar /usr/share/java/jutils.jar"/>
27 + <attribute name="Class-Path" value="/usr/share/java/jinput.jar"/>
2828 </manifest>
2929 </jar>
3030
3333 </condition>
3434 <property name="native_path_expanded" location="${native_path}"/>
3535 - <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">
36 + <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:/usr/share/java/jutils.jar" fork="true">
36 + <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">
3737 <sysproperty key="org.lwjgl.util.Debug" value="true"/>
3838 <sysproperty key="java.library.path" value="${native_path_expanded}"/>
3939 <arg line="${args}"/>
66 TARDFSG := ../$(NAME)_$(VERSION)+dfsg.orig.tar.gz
77
88 export JAVA_HOME=/usr/lib/jvm/default-java
9 export PATH:=${PATH}:${JAVA_HOME}/bin
910
1011 # NOTE: jutils is explicitly included here (without a depends in our control
1112 # file) because jinput.jar lacks jutils in its own "Class-Path" (bug #626002)
00 <project name="applet">
11
22 <!-- Create our packer task -->
3 <taskdef name="pack200" classname="com.sun.tools.apache.ant.pack200.Pack200Task" classpath="platform_build/Pack200Task.jar"/>
3 <!-- <taskdef name="pack200" classname="com.sun.tools.apache.ant.pack200.Pack200Task" classpath="platform_build/Pack200Task.jar"/> -->
44
55 <target name="applet">
66 <antcall target="-applet">
55 <property name="libname64" value="liblwjgl64.so"/>
66 <property name="libs32" value="-L/usr/X11R6/lib -L/usr/X11/lib -lm -lX11 -lXext -lXcursor -lXrandr -lpthread -L${java.home}/lib/i386 -ljawt" />
77 <property name="libs64" value="-L/usr/X11R6/lib64 -L/usr/X11/lib64 -lm -lX11 -lXext -lXcursor -lXrandr -lXxf86vm -lpthread -L${java.home}/lib/amd64 -ljawt" />
8 <property name="libs" value="-L/usr/X11R6/lib -L/usr/X11/lib -lm -lX11 -lXext -lXcursor -lXrandr -lXxf86vm -lpthread -L${java.home}/lib/${os.arch} -ljawt" />
89 <property name="cflags32" value="-O2 -Wall -c -fPIC -std=c99 -Wunused"/>
910
1011 <target name="clean">
1112 <delete>
1213 <fileset dir="x32"/>
1314 <fileset dir="x64"/>
15 <fileset dir="deb"/>
1416 <fileset dir="." includes="*.o"/>
1517 <fileset dir="." includes="*.so"/>
1618 </delete>
4042
4143 <property name="linker_flags32" value="${version_script_flags32} -shared -O2 -Wall -o ${libname32} ${libs32} ${xf86vm_lib}"/>
4244 <property name="linker_flags64" value="${version_script_flags64} -shared -O2 -Wall -o ${libname64} ${libs64} ${xf86vm_lib}"/>
45 <property name="linker_flagsdeb" value="${version_script_flags32} -shared -O2 -Wall -o ${libname32} ${libs} ${xf86vm_lib}"/>
4346
4447 <condition property="build.32bit.only">
4548 <not>
5861 </and>
5962 </condition>
6063
61 <antcall target="compile32"/>
62 <antcall target="compile64"/>
64 <condition property="build.debian">
65 <os name="Linux" />
66 </condition>
67
68 <antcall target="compiledeb" />
6369 </target>
6470
6571 <target name="compile32" unless="build.64bit.only">
113119 <fileset file="${libname64}"/>
114120 </apply>
115121 </target>
122
123 <target name="compiledeb">
124 <mkdir dir="deb"/>
125 <apply dir="deb" executable="gcc" skipemptyfilesets="true" failonerror="true">
126 <arg line="${cflags32} ${cflags_pthread}"/>
127 <arg value="-I${java.home}/include"/>
128 <arg value="-I${java.home}/include/linux"/>
129 <arg value="-I${java.home}/../include"/>
130 <arg value="-I${java.home}/../include/linux"/>
131 <arg value="-I${java.home}/../include/solaris"/>
132 <arg value="-I${native}/common"/>
133 <arg value="-I${native}/linux"/>
134 <mapper type="glob" from="*.c" to="*.o"/>
135 <fileset dir="${native}/linux" includes="*.c"/>
136 <fileset dir="${native}/generated" includes="*.c"/>
137 <fileset dir="${native}/common" includes="*.c"/>
138 </apply>
139 <apply dir="." parallel="true" executable="gcc" failonerror="true">
140 <srcfile/>
141 <arg line="${linker_flagsdeb}"/>
142 <fileset dir="deb" includes="*.o"/>
143 </apply>
144 <apply dir="." parallel="true" executable="strip" failonerror="true">
145 <fileset file="${libname32}"/>
146 </apply>
147 </target>
116148 </project>
3232
3333 import java.awt.Toolkit;
3434
35 import com.apple.eio.FileManager;
35 //import com.apple.eio.FileManager;
3636
3737 /**
3838 *
5454
5555 public boolean openURL(String url) {
5656 try {
57 FileManager.openURL(url);
57 // FileManager.openURL(url);
5858 return true;
5959 } catch (Exception e) {
6060 LWJGLUtil.log("Exception occurred while trying to invoke browser: " + e);
5353 import org.lwjgl.LWJGLException;
5454 import org.lwjgl.LWJGLUtil;
5555
56 import com.apple.eawt.Application;
57 import com.apple.eawt.ApplicationAdapter;
58 import com.apple.eawt.ApplicationEvent;
56 //import com.apple.eawt.Application;
57 //import com.apple.eawt.ApplicationAdapter;
58 //import com.apple.eawt.ApplicationEvent;
5959
6060 import static org.lwjgl.opengl.GL11.*;
6161
7878 try {
7979 AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() {
8080 public Object run() throws Exception {
81 Application.getApplication().addApplicationListener(new ApplicationAdapter() {
81 /* Application.getApplication().addApplicationListener(new ApplicationAdapter() {
8282 public void handleQuit(ApplicationEvent event) {
8383 doHandleQuit();
8484 }
85 });
85 }); */
8686 return null;
8787 }
8888 });