debian/0000755000000000000000000000000012176263075007177 5ustar debian/liblwjgl-java-jni.install0000644000000000000000000000004311752003553014057 0ustar libs/linux/liblwjgl.so usr/lib/jni debian/copyright0000644000000000000000000001141311752003553011122 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=202 Upstream-Name: lwjgl - Lightweight Java Game Library Upstream-Contact: LWJGL developers Source: http://java-game-lib.svn.sourceforge.net/viewvc/java-game-lib/ Files: * Copyright: 2002-2010, Lightweight Java Game Library Project License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of 'Light Weight Java Game Library' nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: ./src/native/common/extgl.c ./src/native/windows/extgl_wgl.c Copyright: 2001-2002, Lev Povalahev License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of 'Light Weight Java Game Library' nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2010, Gabriele Giacone <1o5g4r8o@gmail.com> License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of 'Debian' nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/source/0000755000000000000000000000000011752003553010467 5ustar debian/source/format0000644000000000000000000000001411752003553011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000532212176263075011053 0ustar lwjgl (2.7.1+dfsg-3ubuntu1) saucy; urgency=low * Drop Build-Conflict on binutils-gold, now that binutils provides it. -- Adam Conrad Wed, 31 Jul 2013 20:31:45 +0100 lwjgl (2.7.1+dfsg-3) unstable; urgency=low * add java bin dir to the PATH environment (closes: #664180) * update my email address * build-conflict with binutils-gold * bump standards to 3.9.3 * add a .gitignore file * utilize jutils.jar via jinput.jar's classpath -- Michael Gilbert Mon, 07 May 2012 15:06:23 -0400 lwjgl (2.7.1+dfsg-2) unstable; urgency=low [ Miguel Landaeta ] * Team upload. * Switch to default-jdk. (Closes: #643537). * Make copyright file DEP-5 compliant. [ Michael Gilbert ] * Fix clean rule. * Fix Vcs-Git field. * Update copyright file. -- Michael Gilbert Sun, 13 Nov 2011 09:36:00 -0500 lwjgl (2.7.1+dfsg-1) unstable; urgency=low [ Michael Gilbert ] * new upstream release: - refresh debian patches. * add myself as an uploader. * don't build-depend on sun-java-6 * use jh_clean [ Niels Thykier ] * Bumped Standards-Version to 3.9.2 - no changes required. -- Michael Gilbert Sun, 08 May 2011 22:50:00 +0100 lwjgl (2.5+dfsg-3) unstable; urgency=low * debian/rules: Update JAVA_HOME to match openjdk-6-jdk build-dependency. (Closes: #599988) -- Tim Retout Sat, 23 Oct 2010 17:27:52 +0100 lwjgl (2.5+dfsg-2) unstable; urgency=low * Replaced default-jdk with openjdk-6-jdk in Build-Depends. It FTBFS with gcj (Closes: #594022). * Removed JREs from Depends. -- Gabriele Giacone <1o5g4r8o@gmail.com> Mon, 23 Aug 2010 19:50:24 +0200 lwjgl (2.5+dfsg-1) unstable; urgency=low * New upstream release. * Standards version to 3.9.1. -- Gabriele Giacone <1o5g4r8o@gmail.com> Sat, 31 Jul 2010 17:21:04 +0200 lwjgl (2.4.2+dfsg2-1) unstable; urgency=low * +dfsg2: Removed trailing CRs from sources. * Standards version to 3.9.0. * Linked javadoc to system javadoc. * d/copyright: Included full text of BSD license. -- Gabriele Giacone <1o5g4r8o@gmail.com> Sun, 04 Jul 2010 17:52:02 +0200 lwjgl (2.4.2+dfsg-3) unstable; urgency=low * Fixes FTBFS on powerpc, armel and sh4. (Closes: #584985) * Removed trailing CRs from patches. -- Gabriele Giacone <1o5g4r8o@gmail.com> Fri, 11 Jun 2010 21:06:59 +0200 lwjgl (2.4.2+dfsg-2) unstable; urgency=low * Fixed clean target. Fixes FTBFS. - Removed quilt from B-D. -- Gabriele Giacone <1o5g4r8o@gmail.com> Tue, 01 Jun 2010 00:25:09 +0200 lwjgl (2.4.2+dfsg-1) unstable; urgency=low * Initial release. (Closes: #575321) -- Gabriele Giacone <1o5g4r8o@gmail.com> Sat, 29 May 2010 02:10:20 +0200 debian/compat0000644000000000000000000000000211752013474010370 0ustar 7 debian/rules0000755000000000000000000000302011752015703010242 0ustar #!/usr/bin/make -f NAME := $(shell dpkg-parsechangelog| sed -n '/^Source/{s/Source: \(.*\)/\1/p}') VERSION := $(shell dpkg-parsechangelog| sed -n '/^Version/{s/Version: \(.*\)-[0-9]*$$/\1/;s/+dfsg//p}') TMPDIR := $(NAME)-$(VERSION) TAR := ../$(NAME)_$(VERSION).orig.tar.gz TARDFSG := ../$(NAME)_$(VERSION)+dfsg.orig.tar.gz export JAVA_HOME=/usr/lib/jvm/default-java export PATH:=${PATH}:${JAVA_HOME}/bin # NOTE: jutils is explicitly included here (without a depends in our control # file) because jinput.jar lacks jutils in its own "Class-Path" (bug #626002) export CLASSPATH=/usr/share/java/jinput.jar:/usr/share/java/jutils.jar %: dh $@ override_dh_auto_build: ant jars ant compile_native ant javadoc override_dh_auto_install: jh_installjavadoc -plib$(NAME)-java-doc doc/javadoc override_dh_auto_clean: find src/native/ -name '*org_lwjgl_*.h' -delete rm -rf src/native/generated src/generated doc bin libs dist res temp jh_clean get-orig-source: rm -f $(TAR) uscan --verbose --download-version $(VERSION) \ --force-download --repack --no-symlink --rename mkdir $(TMPDIR) && tar -C $(TMPDIR) -zxf $(TAR) && rm $(TAR) cd $(TMPDIR) && find . -type f -exec fromdos {} \; echo "The following files will not be included in Debian tarball:" cd $(TMPDIR) && find . \( -name '*.class' -o -name '*.jar' \ -o -path './src/generated/*' -o -path './src/native/generated/*' \) \ -print -delete ZIP=--best tar --exclude-vcs --exclude src/generated \ --exclude src/native/generated -zcf $(TARDFSG) $(TMPDIR) rm -rf $(TMPDIR) debian/control0000644000000000000000000000550412176263101010574 0ustar Source: lwjgl Section: java Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Java Maintainers Uploaders: Gabriele Giacone <1o5g4r8o@gmail.com>, Michael Gilbert , Build-Depends: debhelper (>= 8), javahelper, ant, ant-optional, default-jdk, libjinput-java, libxrandr-dev, libxxf86vm-dev, libxcursor-dev, libxt-dev, Build-Depends-Indep: default-jdk-doc, Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/pkg-java/lwjgl.git Vcs-Browser: http://git.debian.org/?p=pkg-java/lwjgl.git Homepage: http://lwjgl.org/ DM-Upload-Allowed: yes Package: liblwjgl-java Architecture: all Depends: ${misc:Depends}, libjinput-java, liblwjgl-java-jni (>= ${source:Version}) Description: Lightweight Java Game Library The Lightweight Java Game Library (LWJGL) is a solution aimed directly at professional and amateur Java programmers alike to enable commercial quality games to be written in Java. LWJGL provides developers access to high performance crossplatform libraries such as OpenGL (Open Graphics Library) and OpenAL (Open Audio Library) allowing for state of the art 3D games and 3D sound. Additionally LWJGL provides access to controllers such as Gamepads, Steering wheel and Joysticks. All in a simple and straight forward API. Package: liblwjgl-java-jni Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Lightweight Java Game Library (jni) The Lightweight Java Game Library (LWJGL) is a solution aimed directly at professional and amateur Java programmers alike to enable commercial quality games to be written in Java. LWJGL provides developers access to high performance crossplatform libraries such as OpenGL (Open Graphics Library) and OpenAL (Open Audio Library) allowing for state of the art 3D games and 3D sound. Additionally LWJGL provides access to controllers such as Gamepads, Steering wheel and Joysticks. All in a simple and straight forward API. . This package contains the java jni library. Package: liblwjgl-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: liblwjgl-java Recommends: default-jdk-doc Description: Lightweight Java Game Library (javadoc) The Lightweight Java Game Library (LWJGL) is a solution aimed directly at professional and amateur Java programmers alike to enable commercial quality games to be written in Java. LWJGL provides developers access to high performance crossplatform libraries such as OpenGL (Open Graphics Library) and OpenAL (Open Audio Library) allowing for state of the art 3D games and 3D sound. Additionally LWJGL provides access to controllers such as Gamepads, Steering wheel and Joysticks. All in a simple and straight forward API. . This package contains the API documentation for lwjgl. debian/README.source0000644000000000000000000000051211752003553011344 0ustar Information about lwjgl ----------------------- REPACKAGING To comply with DFSG, the following files have been removed from upstream tarball: # binary - platform_build/Pack200Task.jar - platform_build/JLzma.jar Also files generated during build process have been removed: - src/generated/* - src/native/generated/* debian/watch0000644000000000000000000000013711752003553010221 0ustar version=3 opts="dversionmangle=s/\+dfsg//" \ http://sf.net/java-game-lib/lwjgl-source-(.*).zip debian/patches/0000755000000000000000000000000011752006607010621 5ustar debian/patches/p/0000755000000000000000000000000011752016343011056 5ustar debian/patches/p/systemjinput.diff0000644000000000000000000000302111752015747014471 0ustar From: Gabriele Giacone <1o5g4r8o@gmail.com> Subject: [PATCH] p/systemjinput This patch to build against system jinput libraries Signed-off-by: Gabriele Giacone <1o5g4r8o@gmail.com> --- build.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: lwjgl/build.xml =================================================================== --- lwjgl.orig/build.xml 2011-05-06 17:45:23.000000000 -0400 +++ lwjgl/build.xml 2011-05-06 17:48:12.000000000 -0400 @@ -137,6 +137,7 @@ + @@ -146,6 +147,7 @@ + @@ -501,7 +503,7 @@ - + debian/patches/p/javadoc.diff0000644000000000000000000000206211752006607013321 0ustar From: Gabriele Giacone <1o5g4r8o@gmail.com> Subject: [PATCH] p/javadoc This patch links javadoc to system javadoc. Signed-off-by: Gabriele Giacone <1o5g4r8o@gmail.com> --- build.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Index: lwjgl-2.7.1+dfsg/build.xml =================================================================== --- lwjgl-2.7.1+dfsg.orig/build.xml 2011-03-26 14:21:11.000000000 -0400 +++ lwjgl-2.7.1+dfsg/build.xml 2011-03-26 14:23:33.000000000 -0400 @@ -511,6 +511,7 @@ + Lightweight Java Game Toolkit]]> Copyright © 2002-2009 lwjgl.org. All Rights Reserved.]]> debian/patches/p/nomacosx.diff0000644000000000000000000001256711752003553013551 0ustar From: Gabriele Giacone <1o5g4r8o@gmail.com> Subject: [PATCH] p/nomacosx This patch removes references to macosx-related classes. Signed-off-by: Gabriele Giacone <1o5g4r8o@gmail.com> --- build.xml | 8 ++++---- platform_build/build-applet.xml | 2 +- src/java/org/lwjgl/MacOSXSysImplementation.java | 4 ++-- src/java/org/lwjgl/opengl/MacOSXDisplay.java | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) Index: lwjgl-2.7.1+dfsg/build.xml =================================================================== --- lwjgl-2.7.1+dfsg.orig/build.xml 2011-03-26 14:25:06.000000000 -0400 +++ lwjgl-2.7.1+dfsg/build.xml 2011-03-26 14:25:37.000000000 -0400 @@ -246,7 +246,7 @@ - + @@ -293,13 +293,13 @@ - + @@ -314,13 +314,13 @@ - + lwjgl.java.windows.version = ${lwjgl.java.windows.version} lwjgl.native.windows.version = ${lwjgl.native.windows.version} Index: lwjgl-2.7.1+dfsg/platform_build/build-applet.xml =================================================================== --- lwjgl-2.7.1+dfsg.orig/platform_build/build-applet.xml 2011-03-26 14:25:06.000000000 -0400 +++ lwjgl-2.7.1+dfsg/platform_build/build-applet.xml 2011-03-26 14:25:09.000000000 -0400 @@ -1,7 +1,7 @@ - + Index: lwjgl-2.7.1+dfsg/src/java/org/lwjgl/MacOSXSysImplementation.java =================================================================== --- lwjgl-2.7.1+dfsg.orig/src/java/org/lwjgl/MacOSXSysImplementation.java 2011-03-26 14:25:06.000000000 -0400 +++ lwjgl-2.7.1+dfsg/src/java/org/lwjgl/MacOSXSysImplementation.java 2011-03-26 14:25:09.000000000 -0400 @@ -33,7 +33,7 @@ import java.awt.Toolkit; -import com.apple.eio.FileManager; +//import com.apple.eio.FileManager; /** * @@ -55,7 +55,7 @@ public boolean openURL(String url) { try { - FileManager.openURL(url); +// FileManager.openURL(url); return true; } catch (Exception e) { LWJGLUtil.log("Exception occurred while trying to invoke browser: " + e); Index: lwjgl-2.7.1+dfsg/src/java/org/lwjgl/opengl/MacOSXDisplay.java =================================================================== --- lwjgl-2.7.1+dfsg.orig/src/java/org/lwjgl/opengl/MacOSXDisplay.java 2011-03-26 14:25:06.000000000 -0400 +++ lwjgl-2.7.1+dfsg/src/java/org/lwjgl/opengl/MacOSXDisplay.java 2011-03-26 14:25:09.000000000 -0400 @@ -54,9 +54,9 @@ import org.lwjgl.LWJGLException; import org.lwjgl.LWJGLUtil; -import com.apple.eawt.Application; -import com.apple.eawt.ApplicationAdapter; -import com.apple.eawt.ApplicationEvent; +//import com.apple.eawt.Application; +//import com.apple.eawt.ApplicationAdapter; +//import com.apple.eawt.ApplicationEvent; import static org.lwjgl.opengl.GL11.*; @@ -79,11 +79,11 @@ try { AccessController.doPrivileged(new PrivilegedExceptionAction() { public Object run() throws Exception { - Application.getApplication().addApplicationListener(new ApplicationAdapter() { +/* Application.getApplication().addApplicationListener(new ApplicationAdapter() { public void handleQuit(ApplicationEvent event) { doHandleQuit(); } - }); + }); */ return null; } }); debian/patches/p/allarchs.diff0000644000000000000000000000642011752003553013502 0ustar From: Gabriele Giacone <1o5g4r8o@gmail.com> Subject: [PATCH] p/allarchs This patch to build on all archs. Signed-off-by: Gabriele Giacone <1o5g4r8o@gmail.com> --- platform_build/linux_ant/build.xml | 36 ++++++++++++++++++++++++++++++++++-- 1 files changed, 34 insertions(+), 2 deletions(-) Index: lwjgl-2.7.1+dfsg/platform_build/linux_ant/build.xml =================================================================== --- lwjgl-2.7.1+dfsg.orig/platform_build/linux_ant/build.xml 2011-03-26 14:15:36.000000000 -0400 +++ lwjgl-2.7.1+dfsg/platform_build/linux_ant/build.xml 2011-03-26 14:20:54.000000000 -0400 @@ -6,12 +6,14 @@ + + @@ -41,6 +43,7 @@ + @@ -59,8 +62,11 @@ - - + + + + + @@ -114,4 +120,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + debian/patches/series0000644000000000000000000000010311752006607012030 0ustar p/nomacosx.diff p/allarchs.diff p/systemjinput.diff p/javadoc.diff debian/liblwjgl-java.install0000644000000000000000000000022211752003553013300 0ustar libs/lwjgl_test.jar usr/share/java libs/lwjgl_util.jar usr/share/java libs/lwjgl_util_applet.jar usr/share/java libs/lwjgl.jar usr/share/java