[libjogl2-java] 02/58: Imported Debian patch 2.0-rc1-1
Tony Mancill
tmancill at moszumanska.debian.org
Thu Sep 4 03:59:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository libjogl2-java.
commit 01fe1f450ef6903c32e3e2370d8c49b9c7a1d6c9
Author: Sylvestre Ledru <sylvestre at debian.org>
Date: Tue Mar 1 14:12:56 2011 +0100
Imported Debian patch 2.0-rc1-1
---
debian/README.Debian | 8 +
debian/ant.properties | 54 ++++
debian/changelog | 7 +
debian/compat | 1 +
debian/control | 418 ++++++++++++++++++++++++++++
debian/copyright | 202 ++++++++++++++
debian/libjogl-java-doc.docs | 2 +
debian/libjogl2-awt-java.install | 3 +
debian/libjogl2-awt-jni.install | 1 +
debian/libjogl2-awt-newt-java.install | 1 +
debian/libjogl2-core-java.install | 4 +
debian/libjogl2-core-newt-java.install | 2 +
debian/libjogl2-core-newt-jni.install | 1 +
debian/libjogl2-desktop-gl2es12-jni.install | 1 +
debian/libjogl2-desktop-java.install | 1 +
debian/libjogl2-desktop-jni.install | 1 +
debian/libjogl2-es-common-java.install | 1 +
debian/libjogl2-es1-java.install | 1 +
debian/libjogl2-es1-jni.install | 1 +
debian/libjogl2-es2-java.install | 1 +
debian/libjogl2-es2-jni.install | 1 +
debian/libjogl2-glu-java.install | 3 +
debian/libjogl2-platform-java.install | 2 +
debian/libjogl2-platform-jni.install | 1 +
debian/libjogl2-platform-newt-java.install | 1 +
debian/libjogl2-toolkits.install | 1 +
debian/orig-tar.sh | 19 ++
debian/patches/build-java.diff | 85 ++++++
debian/patches/build.diff | 182 ++++++++++++
debian/patches/cg-common.cfg.diff | 10 +
debian/patches/defaultDebianPath.diff | 13 +
debian/patches/series | 1 +
debian/patches/variousFixes.diff | 92 ++++++
debian/rules | 21 ++
debian/source/format | 1 +
debian/watch | 7 +
36 files changed, 1151 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..9a55464
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,8 @@
+The homepage of jogl is <http://jogl.dev.java.net>. Please check the
+licence of the package if you are about to upload a new upstream version
+of the package to the Debian archive. If the licence has changed in a
+way that forbids autobuilding the package you have to contact Andreas
+Barth <aba at not.so.argh.org> before uploading it.
+
+ -- Torsten Werner <twerner at debian.org>
+
diff --git a/debian/ant.properties b/debian/ant.properties
new file mode 100644
index 0000000..d73613e
--- /dev/null
+++ b/debian/ant.properties
@@ -0,0 +1,54 @@
+###############################################################################
+# The host specific properties. The build will inform you of required
+# properties. This file must be copied into your home directory (pointed
+# to by the Java system property user.home) and the copy modified appropriately.
+###############################################################################
+#
+# java.home.dir is usually inferred from the java.home variable.
+# If it appears the build is failing because of an inability to
+# find e.g. JAWT or JNI headers, override this to point to the
+# root directory of your JDK.
+#
+# java.home.dir=C:/jdk1.4.2
+
+# If you are building on Windows and have the Microsoft Visual C++
+# compilers installed, you can choose an alternate compiler with which
+# to build the JOGL native code. Valid strings here are "vc6", "vc7",
+# "vc8", and "mingw".
+win32.c.compiler=vc6
+
+# If you are building on a Mac OS X system supporting
+# cross-compilation and want to generate fat (PPC and x86) binaries,
+# uncomment the property below
+# macosxfat=true
+
+#
+# If you are building the Cg binding (by specifying -Djogl.cg=1 to the
+# Ant build) and have installed the Cg SDK in somewhere other than the
+# default location, modify the appropriate variable to point to the
+# absolute path of the lib directory
+#
+windows.cg.lib=C:/Program Files/Nvidia Corporation/Cg/lib
+x11.cg.lib=/usr/lib
+
+#
+# The required antlr.jar property that is the full path to the antlr.jar
+# including the name of the jar
+#
+# Windows
+#antlr.jar=C:/Users/kbr/ANTLR/antlr-2.7.2/antlr.jar
+# Linux
+# antlr.jar=/home/kbr/antlr-2.7.2/antlr.jar
+# Mac OS X
+# antlr.jar=/Users/kbr/antlr-2.7.2/antlr.jar
+# Solaris
+# antlr.jar=/export/kbr/ANTLR/antlr-2.7.2/antlr.jar
+
+antlr.jar=/usr/share/java/antlrall.jar
+
+# commented because cg lib is not available under Debian
+# jogl.cg=1
+
+
+
+user.properties.file=true
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..eefa7ba
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,7 @@
+libjogl2-java (2.0-rc1-1) unstable; urgency=low
+
+ * New upstream release (Closes: #614819)
+
+ -- Sylvestre Ledru <sylvestre at debian.org> Tue, 01 Mar 2011 14:12:56 +0100
+
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6dd51fb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,418 @@
+Source: libjogl2-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Sylvestre Ledru <sylvestre at debian.org>
+Build-Depends: debhelper (>= 5), cdbs, quilt, default-jdk,
+ ant-optional, libgl1-mesa-dev, libglu1-mesa-dev, libxxf86vm-dev,
+ x11proto-xf86vidmode-dev, libxt-dev, libgluegen2-build-java, ant-contrib,
+ ant-contrib-cpptasks, libxinerama-dev, libxrandr-dev
+Standards-Version: 3.9.1
+Homepage: http://jogamp.org/
+Vcs-Svn: svn+ssh://svn.debian.org/svn/pkg-java/trunk/libjogl2-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjogl2-java/
+
+Package: libjogl2-core-java
+Architecture: all
+Depends: ${misc:Depends}, default-jre,
+ libjogl2-core-jni (>= ${source:Version}), libgluegen2-rt-java
+Description: Java bindings for OpenGL API
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR.
+ .
+ JOGL provides full access to the APIs in the OpenGL 1.3 - 3.0, 3.1 - 3.3,
+ >= 4.0, ES 1.x and ES 2.x specification as well as nearly all vendor
+ extensions. It integrates with the AWT and Swing widget sets, as well with
+ custom windowing toolkits using the NativeWindow API. It is part of a
+ suite of open-source technologies initiated by the Game Technology Group at
+ Sun Microsystems.
+
+# Package: libjogl2-core-jni
+# Depends: ${misc:Depends}
+# Architecture: any
+# Description: Java bindings for OpenGL API (JNI lib)
+# The JOGL project hosts the development version of the Java Bindings for
+# OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+# to applications written in Java. JOGL is not the official reference
+# implementation of the JSR, but an evolving workspace; snapshots are taken
+# from this workspace which become the official reference implementations of
+# the JSR. JOGL is part of a suite of open-source technologies initiated by
+# the Game Technology Group at Sun Microsystems.
+# .
+# JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+# well as nearly all vendor extensions, and integrates with the AWT and Swing
+# widget sets.
+
+Package: libjogl2-core-newt-java
+Architecture: all
+Depends: ${misc:Depends},
+ libjogl2-core-java
+Description: Java bindings for OpenGL API
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR.
+ .
+ JOGL provides full access to the APIs in the OpenGL 1.3 - 3.0, 3.1 - 3.3,
+ >= 4.0, ES 1.x and ES 2.x specification as well as nearly all vendor
+ extensions. It integrates with the AWT and Swing widget sets, as well with
+ custom windowing toolkits using the NativeWindow API. It is part of a
+ suite of open-source technologies initiated by the Game Technology Group at
+ Sun Microsystems.
+
+
+Package: libjogl2-core-newt-jni
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends},
+ libjogl2-core-java
+Description: Java bindings for OpenGL API (JNI lib)
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR. JOGL is part of a suite of open-source technologies initiated by
+ the Game Technology Group at Sun Microsystems.
+ .
+ JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+ well as nearly all vendor extensions, and integrates with the AWT and Swing
+ widget sets.
+
+Package: libjogl2-platform-java
+Architecture: all
+Depends: ${misc:Depends}, libjogl2-core-java
+Description: Java bindings for OpenGL API
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR.
+ .
+ JOGL provides full access to the APIs in the OpenGL 1.3 - 3.0, 3.1 - 3.3,
+ >= 4.0, ES 1.x and ES 2.x specification as well as nearly all vendor
+ extensions. It integrates with the AWT and Swing widget sets, as well with
+ custom windowing toolkits using the NativeWindow API. It is part of a
+ suite of open-source technologies initiated by the Game Technology Group at
+ Sun Microsystems.
+
+Package: libjogl2-platform-jni
+Architecture: any
+Depends: ${misc:Depends}, libjogl2-core-java, ${shlibs:Depends}
+Description: Java bindings for OpenGL API (JNI lib)
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR. JOGL is part of a suite of open-source technologies initiated by
+ the Game Technology Group at Sun Microsystems.
+ .
+ JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+ well as nearly all vendor extensions, and integrates with the AWT and Swing
+ widget sets.
+
+Package: libjogl2-platform-newt-java
+Architecture: all
+Depends: ${misc:Depends}, libjogl2-core-newt-java
+Description: Java bindings for OpenGL API
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR.
+ .
+ JOGL provides full access to the APIs in the OpenGL 1.3 - 3.0, 3.1 - 3.3,
+ >= 4.0, ES 1.x and ES 2.x specification as well as nearly all vendor
+ extensions. It integrates with the AWT and Swing widget sets, as well with
+ custom windowing toolkits using the NativeWindow API. It is part of a
+ suite of open-source technologies initiated by the Game Technology Group at
+ Sun Microsystems.
+
+# nativewindow.core.jar nativewindow.os.x11.jar jogl.core.jar jogl.os.x11.jar
+# newt.core.jar newt.os.x11.jar newt.ogl.jar jogl.util.jar jogl.os.x11.jar
+# jogl.gldesktop.jar jogl.gldesktop.dbg.jar
+Package: libjogl2-desktop-java
+Architecture: all
+Suggests: libjogl2-java-doc
+Depends: ${misc:Depends}, libjogl2-core-java, libjogl2-platform-java,
+ libjogl2-platform-newt-java
+Description: Java bindings for Desktop OpenGL API (main package)
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR.
+ .
+ JOGL provides full access to the APIs in the OpenGL 1.3 - 3.0, 3.1 - 3.3,
+ >= 4.0, ES 1.x and ES 2.x specification as well as nearly all vendor
+ extensions. It integrates with the AWT and Swing widget sets, as well with
+ custom windowing toolkits using the NativeWindow API. It is part of a
+ suite of open-source technologies initiated by the Game Technology Group at
+ Sun Microsystems.
+
+Package: libjogl2-es-common-java
+Architecture: all
+Depends: ${misc:Depends}, libjogl2-core-java, libjogl2-platform-java,
+ libjogl2-platform-newt-java
+Description: Java bindings for Embedded Device OpenGL API (common)
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR.
+ .
+ JOGL provides full access to the APIs in the OpenGL 1.3 - 3.0, 3.1 - 3.3,
+ >= 4.0, ES 1.x and ES 2.x specification as well as nearly all vendor
+ extensions. It integrates with the AWT and Swing widget sets, as well with
+ custom windowing toolkits using the NativeWindow API. It is part of a
+ suite of open-source technologies initiated by the Game Technology Group at
+ Sun Microsystems.
+
+# nativewindow.core.jar nativewindow.os.x11.jar jogl.core.jar jogl.os.x11.jar
+# newt.core.jar newt.os.x11.jar newt.ogl.jar jogl.util.jar jogl.gles1.jar
+# jogl.gles1.dbg.jar jogl.egl.jar
+Package: libjogl2-es1-java
+Architecture: all
+Suggests: libjogl2-java-doc
+Depends: ${misc:Depends}, libjogl2-core-java, libjogl2-platform-java,
+ libjogl2-platform-newt-java, libjogl2-es-common-java
+Description: Java bindings for Embedded Device OpenGL API
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR. JOGL is part of a suite of open-source technologies initiated by
+ the Game Technology Group at Sun Microsystems.
+ .
+ JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+ well as nearly all vendor extensions, and integrates with the AWT and Swing
+ widget sets.
+
+# nativewindow.core.jar nativewindow.os.x11.jar jogl.core.jar jogl.os.x11.jar
+# newt.core.jar newt.os.x11.jar newt.ogl.jar jogl.util.jar jogl.gles2.jar
+# jogl.gles2.dbg.jar jogl.egl.jar jogl.util.fixedfuncemu.jar
+Package: libjogl2-es2-java
+Architecture: all
+Suggests: libjogl2-java-doc
+Depends: ${misc:Depends}, libjogl2-core-java, libjogl2-platform-java,
+ libjogl2-platform-newt-java, libjogl2-es-common-java
+Description: Java bindings for Embedded Device OpenGL API
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR.
+ .
+ JOGL provides full access to the APIs in the OpenGL 1.3 - 3.0, 3.1 - 3.3,
+ >= 4.0, ES 1.x and ES 2.x specification as well as nearly all vendor
+ extensions. It integrates with the AWT and Swing widget sets, as well with
+ custom windowing toolkits using the NativeWindow API. It is part of a
+ suite of open-source technologies initiated by the Game Technology Group at
+ Sun Microsystems.
+
+Package: libjogl2-desktop-jni
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Java bindings for Desktop OpenGL API (JNI lib)
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR. JOGL is part of a suite of open-source technologies initiated by
+ the Game Technology Group at Sun Microsystems.
+ .
+ JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+ well as nearly all vendor extensions, and integrates with the AWT and Swing
+ widget sets.
+
+Package: libjogl2-es1-jni
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Java bindings for Embedded Device OpenGL API (JNI lib)
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR. JOGL is part of a suite of open-source technologies initiated by
+ the Game Technology Group at Sun Microsystems.
+ .
+ JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+ well as nearly all vendor extensions, and integrates with the AWT and Swing
+ widget sets.
+
+Package: libjogl2-es2-jni
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Java bindings for Embedded Device OpenGL API (JNI lib)
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR. JOGL is part of a suite of open-source technologies initiated by
+ the Game Technology Group at Sun Microsystems.
+ .
+ JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+ well as nearly all vendor extensions, and integrates with the AWT and Swing
+ widget sets.
+
+# nativewindow.core.jar nativewindow.os.x11.jar jogl.core.jar jogl.os.x11.jar
+# newt.core.jar newt.os.x11.jar newt.ogl.jar jogl.util.jar jogl.os.x11.jar
+# jogl.gl2es12.jar jogl.gles1.dbg.jar jogl.gles2.dbg.jar
+# jogl.util.fixedfuncemu.jar
+# Package: libjogl2-desktop-gl2es12-java
+# Architecture: all
+# Suggests: libjogl2-java-doc
+# Depends: ${misc:Depends}, libjogl2-core-java, libjogl2-platform-java,
+# libjogl2-platform-newt-java, libjogl2-toolkits
+# Description: Java bindings for desktop ES1/ES2 emulation OpenGL API
+# The JOGL project hosts the development version of the Java Bindings for
+# OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+# to applications written in Java. JOGL is not the official reference
+# implementation of the JSR, but an evolving workspace; snapshots are taken
+# from this workspace which become the official reference implementations of
+# the JSR. JOGL is part of a suite of open-source technologies initiated by
+# the Game Technology Group at Sun Microsystems.
+# .
+# JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+# well as nearly all vendor extensions, and integrates with the AWT and Swing
+# widget sets.
+
+# Package: libjogl2-desktop-gl2es12-jni
+# Architecture: any
+# Depends: ${misc:Depends}, ${shlibs:Depends}
+# Description: Java bindings for desktop ES1/ES2 emulation OpenGL API (JNI lib)
+# The JOGL project hosts the development version of the Java Bindings for
+# OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+# to applications written in Java. JOGL is not the official reference
+# implementation of the JSR, but an evolving workspace; snapshots are taken
+# from this workspace which become the official reference implementations of
+# the JSR. JOGL is part of a suite of open-source technologies initiated by
+# the Game Technology Group at Sun Microsystems.
+# .
+# JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+# well as nearly all vendor extensions, and integrates with the AWT and Swing
+# widget sets.
+# .
+# This package includes the architecture specific java native interface.
+
+
+Package: libjogl2-awt-java
+Architecture: all
+Depends: ${misc:Depends}
+Description: Java bindings for AWT OpenGL API
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR. JOGL is part of a suite of open-source technologies initiated by
+ the Game Technology Group at Sun Microsystems.
+ .
+ JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+ well as nearly all vendor extensions, and integrates with the AWT and Swing
+ widget sets.
+
+Package: libjogl2-awt-jni
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Java bindings for AWT OpenGL API (JNI lib)
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR. JOGL is part of a suite of open-source technologies initiated by
+ the Game Technology Group at Sun Microsystems.
+ .
+ JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+ well as nearly all vendor extensions, and integrates with the AWT and Swing
+ widget sets.
+
+Package: libjogl2-awt-newt-java
+Architecture: all
+Depends: ${misc:Depends}
+Description: Java bindings for AWT NEWT OpenGL API
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR. JOGL is part of a suite of open-source technologies initiated by
+ the Game Technology Group at Sun Microsystems.
+ .
+ JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+ well as nearly all vendor extensions, and integrates with the AWT and Swing
+ widget sets.
+
+Package: libjogl2-glu-java
+Architecture: all
+Depends: ${misc:Depends}
+Description: Java bindings for GLU OpenGL API
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR. JOGL is part of a suite of open-source technologies initiated by
+ the Game Technology Group at Sun Microsystems.
+ .
+ JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+ well as nearly all vendor extensions, and integrates with the AWT and Swing
+ widget sets.
+
+
+# Package: libjogl2-java-doc
+# Architecture: all
+# Section: doc
+# Depends: ${misc:Depends}
+# Suggests: libjogl2java
+# Description: Documentation for the Java bindings for OpenGL
+# The JOGL project hosts the development version of the Java Bindings for
+# OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+# to applications written in Java. JOGL is not the official reference
+# implementation of the JSR, but an evolving workspace; snapshots are taken
+# from this workspace which become the official reference implementations of
+# the JSR.
+# .
+# JOGL provides full access to the APIs in the OpenGL 2.0 specification as
+# well as nearly all vendor extensions, and integrates with the AWT and Swing
+# widget sets.
+# .
+# This package includes the API documentation for JOGL package.
+
+
+Package: libjogl2-toolkits
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Toolkits to play with JOGL2
+ The JOGL project hosts the development version of the Java Bindings for
+ OpenGL (JSR-231), and is designed to provide hardware-supported 3D graphics
+ to applications written in Java. JOGL is not the official reference
+ implementation of the JSR, but an evolving workspace; snapshots are taken
+ from this workspace which become the official reference implementations of
+ the JSR.
+ .
+ JOGL provides full access to the APIs in the OpenGL 1.3 - 3.0, 3.1 - 3.3,
+ >= 4.0, ES 1.x and ES 2.x specification as well as nearly all vendor
+ extensions. It integrates with the AWT and Swing widget sets, as well with
+ custom windowing toolkits using the NativeWindow API. It is part of a
+ suite of open-source technologies initiated by the Game Technology Group at
+ Sun Microsystems.
+ .
+ This package includes JOGL toolkits.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1821e01
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,202 @@
+This package was intially debianized by by Sylvestre Ledru <sylvestre at debian.org> on Sat, 04 Dec 2010 16:22:37 +0100
+
+It was downloaded from <http://jogamp.org/>
+
+Copyright:
+
+Copyright (c) 2003-2005 Sun Microsystems, Inc.
+Copyright (c) 2010 JogAmp Community.
+
+Upstream Authors: Kenneth Bradley Russell
+ Christopher John Kline
+ and others
+
+License:
+
+This package is licensed under the terms of the Berkeley Software Distribution
+(BSD) License.
+
+/*
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * - Redistribution of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistribution 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 Sun Microsystems, Inc. or the names of
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * This software is provided "AS IS," without a warranty of any kind. ALL
+ * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
+ * INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
+ * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN
+ * MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR
+ * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
+ * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR
+ * ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR
+ * DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
+ * DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY,
+ * ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF
+ * SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+ *
+ * You acknowledge that this software is not designed or intended for use
+ * in the design, construction, operation or maintenance of any nuclear
+ * facility.
+ */
+
+
+Files: ./make/stub_includes/embedded/IntelGDL/gdl_pd.h,
+./make/stub_includes/embedded/IntelGDL/gdl_pd.h,
+./make/stub_includes/embedded/IntelGDL/gdl_version.h
+
+Copyright: 2005-2009 Intel Corporation.
+
+License:
+This file is provided under a dual BSD/GPLv2 license. When using or
+redistributing this file, you may do so under either license.
+
+The complete text of the GNU General Public License can be found in
+/usr/share/common-licenses/GPL-2
+
+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 Intel Corporation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+
+Files:
+./make/stub_includes/opengl/GL/glu.h
+./make/stub_includes/opengl/GL/glxext.h
+./make/stub_includes/opengl/GL/wglext.h
+./src/jogl/classes/com/jogamp/opengl/impl/gl2/ProjectDouble.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/error/Error.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/Glue.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/GLUquadricImpl.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/BuildMipmap.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract1010102.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract1555rev.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract2101010rev.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract233rev.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract332.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract4444.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract4444rev.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract5551.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract565.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract565rev.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract8888.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract8888rev.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/ExtractFloat.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Extract.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/ExtractPrimitive.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/ExtractSByte.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/ExtractSInt.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/ExtractSShort.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/ExtractUByte.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/ExtractUInt.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/ExtractUShort.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/HalveImage.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Image.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Mipmap.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/PixelStorageModes.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/ScaleInternal.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/mipmap/Type_Widget.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/registry/Registry.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/ActiveRegion.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/CachedVertex.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/Dict.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/DictNode.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/Geom.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/GLUface.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/GLUhalfEdge.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/GLUmesh.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/GLUtessellatorImpl.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/GLUvertex.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/Mesh.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/Normal.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/PriorityQHeap.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/PriorityQ.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/PriorityQSort.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/Render.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/Sweep.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/TessMono.java
+./src/jogl/classes/com/jogamp/opengl/impl/glu/tessellator/TessState.java
+./src/jogl/classes/com/jogamp/opengl/impl/ProjectFloat.java
+./src/jogl/classes/com/jogamp/opengl/util/texture/spi/SGIImage.java
+./src/jogl/classes/javax/media/opengl/glu/GLUtessellatorCallbackAdapter.java
+./src/jogl/classes/javax/media/opengl/glu/GLUtessellatorCallback.java
+./src/jogl/classes/javax/media/opengl/glu/GLUtessellator.java
+
+Copyright: 1991-2000 Silicon Graphics, Inc.
+2003-2006 Sun Microsystems, Inc.
+
+License:
+
+SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
+
+ Copyright (C) [dates of first publication] Silicon Graphics, Inc. All Rights
+ Reserved.
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ The above copyright notice including the dates of first publication and either
+ this permission notice or a reference to http://oss.sgi.com/projects/FreeB/
+ shall be included in all copies or substantial portions of the Software.
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL SILICON GRAPHICS, INC. BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ IN THE SOFTWARE.
+ Except as contained in this notice, the name of Silicon Graphics, Inc. shall
+ not be used in advertising or otherwise to promote the sale, use or other
+ dealings in this Software without prior written authorization from Silicon
+ Graphics, Inc.
+
+Files: ./make/stub_includes/opengl/GL/gl.h
+./make/stub_includes/opengl/GL/glx.h
+./make/stub_includes/openmax/OMX_Audio.h
+./make/stub_includes/openmax/OMX_Component.h
+./make/stub_includes/openmax/OMX_ContentPipe.h
+./make/stub_includes/openmax/OMX_Core.h
+./make/stub_includes/openmax/OMX_Image.h
+./make/stub_includes/openmax/OMX_Index.h
+./make/stub_includes/openmax/OMX_IVCommon.h
+./make/stub_includes/openmax/OMX_Other.h
+./make/stub_includes/openmax/OMX_Types.h
+./make/stub_includes/openmax/OMX_Video.h
+
+Copyright: 1999-2002 Brian Paul
+2007 The Khronos Group Inc.
+
+License:
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
diff --git a/debian/libjogl-java-doc.docs b/debian/libjogl-java-doc.docs
new file mode 100644
index 0000000..73383e0
--- /dev/null
+++ b/debian/libjogl-java-doc.docs
@@ -0,0 +1,2 @@
+jogl/doc/userguide/
+jogl/javadoc_public
diff --git a/debian/libjogl2-awt-java.install b/debian/libjogl2-awt-java.install
new file mode 100644
index 0000000..f3a03cf
--- /dev/null
+++ b/debian/libjogl2-awt-java.install
@@ -0,0 +1,3 @@
+build/jar/nativewindow.awt.jar /usr/share/java/
+build/jar/jogl.awt.jar /usr/share/java/
+build/jar/jogl.util.awt.jar /usr/share/java/
\ No newline at end of file
diff --git a/debian/libjogl2-awt-jni.install b/debian/libjogl2-awt-jni.install
new file mode 100644
index 0000000..c6efa42
--- /dev/null
+++ b/debian/libjogl2-awt-jni.install
@@ -0,0 +1 @@
+build/lib/libnativewindow_awt.so /usr/lib/jni/
diff --git a/debian/libjogl2-awt-newt-java.install b/debian/libjogl2-awt-newt-java.install
new file mode 100644
index 0000000..253b6f1
--- /dev/null
+++ b/debian/libjogl2-awt-newt-java.install
@@ -0,0 +1 @@
+build/newt/newt.awt.jar /usr/share/java/
diff --git a/debian/libjogl2-core-java.install b/debian/libjogl2-core-java.install
new file mode 100644
index 0000000..8f29db6
--- /dev/null
+++ b/debian/libjogl2-core-java.install
@@ -0,0 +1,4 @@
+build/jar/nativewindow.core.jar /usr/share/java/
+build/jar/jogl.core.jar /usr/share/java/
+build/jar/jogl.util.jar /usr/share/java/
+
diff --git a/debian/libjogl2-core-newt-java.install b/debian/libjogl2-core-newt-java.install
new file mode 100644
index 0000000..724a97d
--- /dev/null
+++ b/debian/libjogl2-core-newt-java.install
@@ -0,0 +1,2 @@
+build/jar/newt.core.jar /usr/share/java/
+build/jar/newt.ogl.jar /usr/share/java/
diff --git a/debian/libjogl2-core-newt-jni.install b/debian/libjogl2-core-newt-jni.install
new file mode 100644
index 0000000..ccf6753
--- /dev/null
+++ b/debian/libjogl2-core-newt-jni.install
@@ -0,0 +1 @@
+build/lib/libnewt.so /usr/lib/jni/
diff --git a/debian/libjogl2-desktop-gl2es12-jni.install b/debian/libjogl2-desktop-gl2es12-jni.install
new file mode 100644
index 0000000..4640904
--- /dev/null
+++ b/debian/libjogl2-desktop-gl2es12-jni.install
@@ -0,0 +1 @@
+# TODO
diff --git a/debian/libjogl2-desktop-java.install b/debian/libjogl2-desktop-java.install
new file mode 100644
index 0000000..7dff123
--- /dev/null
+++ b/debian/libjogl2-desktop-java.install
@@ -0,0 +1 @@
+build/jar/jogl.gldesktop.jar /usr/share/java/
diff --git a/debian/libjogl2-desktop-jni.install b/debian/libjogl2-desktop-jni.install
new file mode 100644
index 0000000..28ac24e
--- /dev/null
+++ b/debian/libjogl2-desktop-jni.install
@@ -0,0 +1 @@
+build/lib/libjogl_desktop.so /usr/lib/jni/
diff --git a/debian/libjogl2-es-common-java.install b/debian/libjogl2-es-common-java.install
new file mode 100644
index 0000000..db9774e
--- /dev/null
+++ b/debian/libjogl2-es-common-java.install
@@ -0,0 +1 @@
+build/jar/jogl.egl.jar /usr/share/java
diff --git a/debian/libjogl2-es1-java.install b/debian/libjogl2-es1-java.install
new file mode 100644
index 0000000..4e722ba
--- /dev/null
+++ b/debian/libjogl2-es1-java.install
@@ -0,0 +1 @@
+build/jar/jogl.gles1.jar /usr/share/java
diff --git a/debian/libjogl2-es1-jni.install b/debian/libjogl2-es1-jni.install
new file mode 100644
index 0000000..67668da
--- /dev/null
+++ b/debian/libjogl2-es1-jni.install
@@ -0,0 +1 @@
+build/lib/libjogl_es1.so /usr/lib/jni/
diff --git a/debian/libjogl2-es2-java.install b/debian/libjogl2-es2-java.install
new file mode 100644
index 0000000..252495d
--- /dev/null
+++ b/debian/libjogl2-es2-java.install
@@ -0,0 +1 @@
+build/jar/jogl.gles2.jar /usr/share/java/
diff --git a/debian/libjogl2-es2-jni.install b/debian/libjogl2-es2-jni.install
new file mode 100644
index 0000000..ee1dfa7
--- /dev/null
+++ b/debian/libjogl2-es2-jni.install
@@ -0,0 +1 @@
+build/lib/libjogl_es2.so /usr/lib/jni/
\ No newline at end of file
diff --git a/debian/libjogl2-glu-java.install b/debian/libjogl2-glu-java.install
new file mode 100644
index 0000000..2a4d456
--- /dev/null
+++ b/debian/libjogl2-glu-java.install
@@ -0,0 +1,3 @@
+build/jar/jogl.glu.tess.jar /usr/share/java/
+build/jar/jogl.glu.gldesktop.jar /usr/share/java/
+build/jar/jogl.glu.mipmap.jar /usr/share/java/
diff --git a/debian/libjogl2-platform-java.install b/debian/libjogl2-platform-java.install
new file mode 100644
index 0000000..8359026
--- /dev/null
+++ b/debian/libjogl2-platform-java.install
@@ -0,0 +1,2 @@
+build/jar/nativewindow.os.x11.jar /usr/share/java/
+build/jar/jogl.os.x11.jar /usr/share/java/
diff --git a/debian/libjogl2-platform-jni.install b/debian/libjogl2-platform-jni.install
new file mode 100644
index 0000000..9122fa2
--- /dev/null
+++ b/debian/libjogl2-platform-jni.install
@@ -0,0 +1 @@
+build/lib/libnativewindow_x11.so /usr/lib/jni/
diff --git a/debian/libjogl2-platform-newt-java.install b/debian/libjogl2-platform-newt-java.install
new file mode 100644
index 0000000..cdd8348
--- /dev/null
+++ b/debian/libjogl2-platform-newt-java.install
@@ -0,0 +1 @@
+build/jar/newt.os.x11.jar /usr/share/java/
diff --git a/debian/libjogl2-toolkits.install b/debian/libjogl2-toolkits.install
new file mode 100644
index 0000000..e87bd7a
--- /dev/null
+++ b/debian/libjogl2-toolkits.install
@@ -0,0 +1 @@
+build/jar/jogl.util.fixedfuncemu.jar /usr/share/java/
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..398f00f
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=jogl-$2
+TAR=../libjogl-java_$2.orig.tar.gz
+
+# clean up the upstream tarball
+unzip $3 -d $DIR
+tar -c -z -f $TAR $DIR
+rm -rf $DIR $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
+
+exit 0
diff --git a/debian/patches/build-java.diff b/debian/patches/build-java.diff
new file mode 100644
index 0000000..b477136
--- /dev/null
+++ b/debian/patches/build-java.diff
@@ -0,0 +1,85 @@
+diff -ur libjogl-java-1.1.1.orig/gluegen/src/java/com/sun/gluegen/runtime/CPU.java libjogl-java-1.1.1+dak1/gluegen/src/java/com/sun/gluegen/runtime/CPU.java
+--- libjogl-java-1.1.1.orig/gluegen/src/java/com/sun/gluegen/runtime/CPU.java 2008-02-23 06:46:44.000000000 +0100
++++ libjogl-java-1.1.1+dak1/gluegen/src/java/com/sun/gluegen/runtime/CPU.java 2008-10-26 23:56:09.000000000 +0100
+@@ -1,3 +1,4 @@
++
+ /*
+ * Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved.
+ *
+@@ -44,38 +45,27 @@
+ running process. */
+
+ public class CPU {
+- private static boolean is32Bit;
++ private static boolean is32Bit=true;
++
++ static {
++ // We don't seem to need an AccessController.doPrivileged() block
++ // here as these system properties are visible even to unsigned
++ // applets
++ // Note: this code is replicated in StructLayout.java
++ String os = System.getProperty("os.name").toLowerCase();
++ String cpu = System.getProperty("os.arch").toLowerCase();
++
++ if ((os.startsWith("windows") && cpu.equals("amd64")) ||
++ (os.startsWith("linux") && cpu.indexOf("64") != -1) ||
++ (os.startsWith("linux") && cpu.indexOf("alpha") != -1) ||
++ (os.startsWith("mac os") && cpu.equals("x86_64")) ||
++ (os.startsWith("sunos") && cpu.equals("sparcv9")) ||
++ (os.startsWith("sunos") && cpu.equals("amd64"))) {
++ is32Bit=false;
++ }
++ }
+
+- static {
+- // We don't seem to need an AccessController.doPrivileged() block
+- // here as these system properties are visible even to unsigned
+- // applets
+- // Note: this code is replicated in StructLayout.java
+- String os = System.getProperty("os.name").toLowerCase();
+- String cpu = System.getProperty("os.arch").toLowerCase();
+- if ((os.startsWith("windows") && cpu.equals("x86")) ||
+- (os.startsWith("linux") && cpu.equals("i386")) ||
+- (os.startsWith("linux") && cpu.equals("x86")) ||
+- (os.startsWith("mac os") && cpu.equals("ppc")) ||
+- (os.startsWith("mac os") && cpu.equals("i386")) ||
+- (os.startsWith("sunos") && cpu.equals("sparc")) ||
+- (os.startsWith("sunos") && cpu.equals("x86")) ||
+- (os.startsWith("freebsd") && cpu.equals("i386")) ||
+- (os.startsWith("hp-ux") && cpu.equals("pa_risc2.0"))) {
+- is32Bit = true;
+- } else if ((os.startsWith("windows") && cpu.equals("amd64")) ||
+- (os.startsWith("linux") && cpu.equals("amd64")) ||
+- (os.startsWith("linux") && cpu.equals("x86_64")) ||
+- (os.startsWith("linux") && cpu.equals("ia64")) ||
+- (os.startsWith("mac os") && cpu.equals("x86_64")) ||
+- (os.startsWith("sunos") && cpu.equals("sparcv9")) ||
+- (os.startsWith("sunos") && cpu.equals("amd64"))) {
+- } else {
+- throw new RuntimeException("Please port CPU detection (32/64 bit) to your platform (" + os + "/" + cpu + ")");
+- }
+- }
+-
+- public static boolean is32Bit() {
+- return is32Bit;
+- }
++ public static boolean is32Bit() {
++ return is32Bit;
++ }
+ }
+diff -ur libjogl-java-1.1.1.orig/gluegen/src/java/com/sun/gluegen/StructLayout.java libjogl-java-1.1.1+dak1/gluegen/src/java/com/sun/gluegen/StructLayout.java
+--- libjogl-java-1.1.1.orig/gluegen/src/java/com/sun/gluegen/StructLayout.java 2008-02-23 06:46:44.000000000 +0100
++++ libjogl-java-1.1.1+dak1/gluegen/src/java/com/sun/gluegen/StructLayout.java 2008-10-26 23:43:56.000000000 +0100
+@@ -127,11 +127,7 @@
+ // It appears that Windows uses a packing alignment of 4 bytes in 32-bit mode
+ return new StructLayout(0, 4);
+ } else if ((os.startsWith("windows") && cpu.equals("amd64")) ||
+- (os.startsWith("linux") && cpu.equals("i386")) ||
+- (os.startsWith("linux") && cpu.equals("x86")) ||
+- (os.startsWith("linux") && cpu.equals("amd64")) ||
+- (os.startsWith("linux") && cpu.equals("x86_64")) ||
+- (os.startsWith("linux") && cpu.equals("ia64")) ||
++ (os.startsWith("linux")) ||
+ (os.startsWith("sunos") && cpu.equals("sparc")) ||
+ (os.startsWith("sunos") && cpu.equals("sparcv9")) ||
+ (os.startsWith("sunos") && cpu.equals("x86")) ||
diff --git a/debian/patches/build.diff b/debian/patches/build.diff
new file mode 100644
index 0000000..d1838bd
--- /dev/null
+++ b/debian/patches/build.diff
@@ -0,0 +1,182 @@
+--- jogl-1.1.1.orig/gluegen/make/build.xml 2008-05-14 18:54:48.000000000 +0200
++++ jogl-1.1.1/gluegen/make/build.xml 2008-12-29 11:41:54.000000000 +0100
+@@ -222,11 +222,6 @@
+ <property name="java.includes.dir.platform" value="${java.includes.dir}/win32" />
+ </target>
+
+- <target name="declare.linux.x86" if="isLinuxX86">
+- <echo message="Linux.x86" />
+- <property name="compiler.cfg.id" value="compiler.cfg.linux" />
+- <property name="linker.cfg.id" value="linker.cfg.linux" />
+- </target>
+
+ <target name="declare.linux.amd64" if="isLinuxAMD64">
+ <echo message="Linux.AMD64" />
+@@ -239,8 +234,17 @@
+ <property name="compiler.cfg.id" value="compiler.cfg.linux" />
+ <property name="linker.cfg.id" value="linker.cfg.linux" />
+ </target>
++
++ <target name="declare.linux.ppc" if="isLinuxPPC">
++ <echo message="Linux.ppc" />
++ <property name="compiler.cfg.id" value="compiler.cfg.linux" />
++ <property name="linker.cfg.id" value="linker.cfg.linux" />
++ </target>
+
+- <target name="declare.linux" depends="declare.linux.x86,declare.linux.amd64,declare.linux.ia64" if="isLinux" >
++ <target name="declare.linux" if="isLinux" >
++ <echo message="Linux" />
++ <property name="compiler.cfg.id" value="compiler.cfg.linux" />
++ <property name="linker.cfg.id" value="linker.cfg.linux" />
+ <property name="c.src.dir" value="unix" />
+ <property name="java.includes.dir.platform" value="${java.includes.dir}/linux" />
+ </target>
+--- jogl-1.1.1.orig/gluegen/make/gluegen-cpptasks.xml 2008-02-08 20:47:30.000000000 +0100
++++ jogl-1.1.1/gluegen/make/gluegen-cpptasks.xml 2008-12-29 11:41:54.000000000 +0100
+@@ -36,6 +36,7 @@
+ - isLinuxAMD64
+ - isLinuxIA64
+ - isLinuxX86
++ - isLinuxPPC
+ - isOSX
+ - isOSXPPC
+ - isOSXUniversal (if macosxfat=true)
+@@ -161,33 +162,6 @@
+ <condition property="isHPUX">
+ <os name="HP-UX" />
+ </condition>
+- <condition property="isLinuxX86">
+- <and>
+- <istrue value="${isLinux}" />
+- <or>
+- <os arch="i386" />
+- <os arch="x86" />
+- </or>
+- </and>
+- </condition>
+- <condition property="isLinuxAMD64">
+- <and>
+- <istrue value="${isLinux}" />
+- <or>
+- <os arch="AMD64" />
+- <os arch="x86_64" />
+- </or>
+- </and>
+- </condition>
+- <condition property="isLinuxIA64">
+- <and>
+- <istrue value="${isLinux}" />
+- <os arch="IA64" />
+- </and>
+- </condition>
+- <condition property="isIA64">
+- <os arch="IA64" />
+- </condition>
+ <condition property="isSolaris32Bit">
+ <and>
+ <istrue value="${isSolaris}" />
+@@ -238,9 +212,7 @@
+ <echo message="HPUX=${isHPUX}" />
+ <echo message="IA64=${isIA64}" />
+ <echo message="Linux=${isLinux}" />
+- <echo message="LinuxAMD64=${isLinuxAMD64}" />
+- <echo message="LinuxIA64=${isLinuxIA64}" />
+- <echo message="LinuxX86=${isLinuxX86}" />
++ <echo message="Arch=${os.arch}" />
+ <echo message="OS X=${isOSX}" />
+ <echo message="Solaris=${isSolaris}" />
+ <echo message="Solaris32Bit=${isSolaris32Bit}" />
+@@ -261,20 +233,10 @@
+ <property name="os.and.arch" value="hpux-hppa" />
+ </target>
+
+- <target name="gluegen.cpptasks.detect.os.linux.amd64" unless="gluegen.cpptasks.detected.os" if="isLinuxAMD64">
+- <property name="os.and.arch" value="linux-amd64" />
++ <target name="gluegen.cpptasks.detect.os.linux" unless="gluegen.cpptasks.detected.os" if="isLinux">
++ <property name="os.and.arch" value="linux-all" />
+ </target>
+
+- <target name="gluegen.cpptasks.detect.os.linux.ia64" unless="gluegen.cpptasks.detected.os" if="isLinuxIA64">
+- <property name="os.and.arch" value="linux-ia64" />
+- </target>
+-
+- <target name="gluegen.cpptasks.detect.os.linux.x86" unless="gluegen.cpptasks.detected.os" if="isLinuxX86">
+- <property name="os.and.arch" value="linux-i586" />
+- </target>
+-
+- <target name="gluegen.cpptasks.detect.os.linux" depends="gluegen.cpptasks.detect.os.linux.amd64,gluegen.cpptasks.detect.os.linux.ia64,gluegen.cpptasks.detect.os.linux.x86" unless="gluegen.cpptasks.detected.os" />
+-
+ <target name="gluegen.cpptasks.detect.os.osx.ppc" unless="gluegen.cpptasks.detected.os" if="isOSXPPC">
+ <property name="os.and.arch" value="macosx-ppc" />
+ </target>
+--- jogl-1.1.1.orig/jogl/make/build.xml 2008-04-29 17:18:50.000000000 +0200
++++ jogl-1.1.1/jogl/make/build.xml 2008-12-29 11:58:59.000000000 +0100
+@@ -210,8 +210,10 @@
+ <property name="java.includes.dir.freebsd" value="${java.includes.dir}/freebsd" />
+ <property name="java.includes.dir.hpux" value="${java.includes.dir}/hp-ux" />
+ <property name="java.lib.dir.win32" value="${java.home.dir}/lib" />
+- <property name="java.lib.dir.linux" value="${java.home.dir}/jre/lib/i386" />
++ <property name="java.lib.dir.linux" value="${java.home.dir}/jre/lib/${os.arch}/" />
++<!-- <property name="java.lib.dir.linux" value="${java.home.dir}/jre/lib/i386" />-->
+ <property name="java.lib.dir.linux.amd64" value="${java.home.dir}/jre/lib/amd64" />
++ <property name="java.lib.dir.linux.ppc" value="${java.home.dir}/jre/lib/ppc" />
+ <property name="java.lib.dir.linux.ia64" value="${java.home.dir}/jre/lib/ia64" />
+ <property name="java.lib.dir.hpux" value="${java.home.dir}/jre/lib/PA_RISC2.0" />
+ <condition property="cpu" value="sparc">
+@@ -369,6 +371,15 @@
+ <property name="linker.cfg.id.core" value="linker.cfg.linux.amd64.jogl" />
+ </target>
+
++ <target name="declare.linux" if="isLinux">
++ <echo message="Linux" />
++ <property name="java.includes.dir.platform" value="${java.includes.dir.linux}" />
++ <property name="java.lib.dir.platform" value="${java.lib.dir.linux}" />
++
++ <property name="compiler.cfg.id" value="compiler.cfg.linux" />
++ <property name="linker.cfg.id.core" value="linker.cfg.linux.jogl" />
++ </target>
++
+ <target name="declare.linux.ia64" if="isLinuxIA64">
+ <echo message="Linux.IA64" />
+ <property name="java.includes.dir.platform" value="${java.includes.dir.linux}" />
+@@ -378,7 +389,6 @@
+ <property name="linker.cfg.id.core" value="linker.cfg.linux.jogl" />
+ </target>
+
+- <target name="declare.linux" depends="declare.linux.x86,declare.linux.amd64,declare.linux.ia64,declare.x11" if="isLinux" />
+
+ <target name="declare.solaris32" depends="declare.x11" if="isSolaris32Bit">
+ <echo message="Solaris" />
+@@ -727,20 +737,19 @@
+ <compiler id="compiler.cfg.freebsd.jogl" extends="compiler.cfg.freebsd">
+ <!-- Need to force X11R6 headers on to include path after stub_includes -->
+ <includepath path="stub_includes/opengl"/>
+- <includepath path="/usr/X11R6/include" />
+ </compiler>
+
+ <!-- linker configuration -->
+
+ <linker id="linker.cfg.linux.jogl" extends="linker.cfg.linux">
+- <syslibset dir="/usr/X11R6/lib" libs="GL, X11"/>
+- <syslibset dir="/usr/X11R6/lib" libs="Xxf86vm" />
++ <syslibset libs="GL, X11"/>
++ <syslibset libs="Xxf86vm" />
+ <syslibset dir="${x11.cg.lib}" libs="Cg, CgGL" if="c.compiler.use-cglib"/>
+ </linker>
+
+ <linker id="linker.cfg.linux.amd64.jogl" name="gcc">
+- <syslibset dir="/usr/X11R6/lib64" libs="GL, X11"/>
+- <syslibset dir="/usr/X11R6/lib64" libs="Xxf86vm" />
++ <syslibset libs="GL, X11"/>
++ <syslibset libs="Xxf86vm" />
+ <syslibset dir="${x11.cg.lib}" libs="Cg, CgGL" if="c.compiler.use-cglib"/>
+ </linker>
+
+@@ -1018,6 +1027,7 @@
+ destdir="${javadoc}" windowtitle="${javadoc.windowtitle}"
+ overview="${javadoc.overview}"
+ source="1.4"
++ classpath="${gluegen.jar}"
+ linkoffline="${javadoc.link} 142-packages"
+ bottom="${javadoc.bottom}" >
+ <taglet name="net.highteq.nativetaglet.NativeTaglet" path="${gluegen.jar}" />
diff --git a/debian/patches/cg-common.cfg.diff b/debian/patches/cg-common.cfg.diff
new file mode 100644
index 0000000..8a5d725
--- /dev/null
+++ b/debian/patches/cg-common.cfg.diff
@@ -0,0 +1,10 @@
+--- libjogl-java-1.1.1~rc7/jogl/make/cg-common.cfg.orig 2007-12-26 01:28:24.000000000 +0100
++++ libjogl-java-1.1.1~rc7/jogl/make/cg-common.cfg 2007-12-26 01:28:34.000000000 +0100
+@@ -113,6 +113,6 @@
+ #
+
+ CustomCCode #include <stdlib.h>
+-CustomCCode #include <Cg/cgGL.h>
++CustomCCode #include <CG/cgGL.h>
+
+ IncludeAs CustomJavaCode CgGL cg-common-CustomJavaCode.java
diff --git a/debian/patches/defaultDebianPath.diff b/debian/patches/defaultDebianPath.diff
new file mode 100644
index 0000000..9341f5e
--- /dev/null
+++ b/debian/patches/defaultDebianPath.diff
@@ -0,0 +1,13 @@
+--- jogl-1.1.1.orig/jogl/src/classes/com/sun/opengl/impl/NativeLibLoader.java 2007-07-20 17:06:04.000000000 +0200
++++ jogl-1.1.1/jogl/src/classes/com/sun/opengl/impl/NativeLibLoader.java 2008-12-29 13:42:13.000000000 +0100
+@@ -186,7 +186,9 @@
+ throw (UnsatisfiedLinkError) new UnsatisfiedLinkError().initCause(e);
+ }
+ } else {
+- System.loadLibrary(libraryName);
++ String javaLibPath = System.getProperty("java.library.path") + File.pathSeparator + "/usr/lib/jni" + File.pathSeparator + "/usr/lib64/jni";
++ System.setProperty("java.library.path", javaLibPath);
++ System.loadLibrary(libraryName);
+ }
+ }
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4262ae7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+variousFixes.diff
diff --git a/debian/patches/variousFixes.diff b/debian/patches/variousFixes.diff
new file mode 100644
index 0000000..84ea144
--- /dev/null
+++ b/debian/patches/variousFixes.diff
@@ -0,0 +1,92 @@
+diff -ur jogl/make//build-common.xml libjogl2-java-2.0-rc1/make//build-common.xml
+--- jogl/make//build-common.xml 2011-02-22 14:28:48.000000000 +0100
++++ libjogl2-java-2.0-rc1/make//build-common.xml 2011-02-22 17:59:48.000000000 +0100
+@@ -13,11 +13,9 @@
+ </fail>
+
+ <!-- Pull in GlueGen cpptasks build file -->
+- <property name="gluegen.root" value="../../gluegen" />
++ <property name="gluegen.root" value="/usr/share/gluegen2/" />
+ <import file="${gluegen.root}/make/gluegen-cpptasks.xml" />
+
+- <property name="ant-contrib.jar" value="${gluegen.root}/make/lib/ant-contrib-1.0b3.jar" />
+-
+ <condition property="rootrel.build" value="build">
+ <not>
+ <isset property="rootrel.build"/>
+@@ -115,7 +113,7 @@
+ <property name="gluegen.build.xml" value="${gluegen.make}/build.xml" />
+ <property name="build.gluegen" value="${gluegen.root}/${rootrel.build}" />
+ <property name="obj.gluegen" value="${build.gluegen}/obj"/>
+- <property name="gluegen.jar" value="${build.gluegen}/gluegen.jar" />
++ <property name="gluegen.jar" value="/usr/share/java/gluegen2.jar" />
+ <property name="ant.jar" value="${ant.home}/lib/ant.jar" />
+ <property name="ant-junit.jar" value="${ant.home}/lib/ant-junit.jar" />
+
+@@ -159,7 +157,7 @@
+ </path>
+
+ <!-- JavaSE combinations -->
+- <property name="gluegen-rt.jar" value="${build.gluegen}/gluegen-rt.jar" />
++ <property name="gluegen-rt.jar" value="/usr/share/java/gluegen2-rt.jar" />
+ <property name="jogl.test.jar" value="${build.jogl}/jogl.test.jar"/>
+
+ <!-- JavaSE combinations . AWT -->
+@@ -356,11 +354,11 @@
+ - has been built. -->
+ <!-- FIXME: remove passing down of antlr.jar when gluegen.properties is on all
+ nightly build machines -->
++<!--<mkdir dir="${basedir}/${build.jogl}/gensrc/classes/src/java/com/jogamp/common/util/"/>-->
+ <ant antfile="${gluegen.build.xml}" dir="${gluegen.make}" target="all" inheritAll="false">
+- <propertyset>
+- <propertyref name="antlr.jar" />
+- <!--propertyref name="gluegen.nsig" /-->
+- </propertyset>
++
++ <property name="build" value="${basedir}/../"/>
++ <property name="test.dir" value="${basedir}/../test"/>
+ </ant>
+ </target>
+
+diff -ur jogl/make//build-jogl.xml libjogl2-java-2.0-rc1/make//build-jogl.xml
+--- jogl/make//build-jogl.xml 2011-02-22 14:28:48.000000000 +0100
++++ libjogl2-java-2.0-rc1/make//build-jogl.xml 2011-02-22 16:39:37.000000000 +0100
+@@ -1612,7 +1612,7 @@
+ includes="${java.part.util.fixedfuncemu.shadercode}"/>
+ </jar>
+ </target>
+- <target name="build-jars-all-cdc" depends="setup-manifestfile">
++ <target name="build-jars-all-cdc" depends="setup-manifestfile" unless="setup.noCDC">
+ <jar manifest="${build.jogl}/tempversion-cdc" destfile="${jogl.all.cdc.jar}" filesonly="true">
+ <fileset dir="${classes-cdc}"
+ includes="${java.part.core} ${java.part.egl} ${java.part.glutess} ${java.part.glumipmap} ${java.part.openmax} ${java.part.sdk} ${java.part.glx} ${java.part.cgl} ${java.part.wgl} ${java.part.es1} ${java.part.es1.dbg} ${java.part.es2} ${java.part.es2.dbg} ${java.part.util} ${java.part.util.glsl} ${java.part.util.fixedfuncemu}"
+diff -ur jogl/make//build.xml libjogl2-java-2.0-rc1/make//build.xml
+--- jogl/make//build.xml 2011-02-22 14:28:48.000000000 +0100
++++ libjogl2-java-2.0-rc1/make//build.xml 2011-02-22 16:54:49.000000000 +0100
+@@ -64,7 +64,7 @@
+ <delete includeEmptyDirs="true" quiet="true" dir="${lib}" failonerror="false" />
+ <mkdir dir="${lib}" />
+ <copy todir="${lib}">
+- <fileset dir="${gluegen.root}/${rootrel.build}/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
++<!-- <fileset dir="${gluegen.root}/${rootrel.build}/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />-->
+ <fileset dir="${build}/jogl/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
+ <fileset dir="${build}/nativewindow/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
+ <fileset dir="${build}/newt/obj" includes="*.${native.library.suffix} *.${native.library.suffix-cdc}" />
+@@ -75,7 +75,7 @@
+ <delete includeEmptyDirs="true" quiet="true" dir="${jar}" failonerror="false" />
+ <mkdir dir="${jar}" />
+ <copy todir="${jar}">
+- <fileset dir="${gluegen.root}/${rootrel.build}" includes="gluegen-rt*.jar" />
++<!-- <fileset dir="${gluegen.root}/${rootrel.build}" includes="gluegen-rt*.jar" />-->
+ <fileset dir="${build}/jogl" includes="*.jar" />
+ <fileset dir="${build}/nativewindow" includes="*.jar" />
+ <fileset dir="${build}/newt" includes="*.jar" />
+@@ -149,7 +149,7 @@
+ </target>
+
+ <target name="tag.build" depends="init">
+- <copy file="${build.gluegen}/artifact.properties" todir="${build}" overwrite="true"/>
++ <copy file="/usr/share/gluegen2/artifact.properties" todir="${build}" overwrite="true"/>
+ <echo message='jogl.build.number=${jogl.build.number}${line.separator}' file="${build}/artifact.properties" append="true"/>
+ <echo message='jogl.build.id=${jogl.build.id}${line.separator}' file="${build}/artifact.properties" append="true"/>
+ <echo message='jogl.build.branch=${jogl.build.branch}${line.separator}' file="${build}/artifact.properties" append="true"/>
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..eecd26d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java/
+DEB_JARS := ant-contrib-cpptasks ant-nodeps antlr ant-antlr
+DEB_ANT_ARGS := -Dsetup.noCDC=true
+DEB_ANT_CLEAN_TARGET := clean
+DEB_ANT_BUILD_TARGET := all
+DEB_ANT_BUILDFILE := make/build.xml
+
+install/libjogl-java-doc::
+ $(DEB_ANT_INVOKE) javadoc
+
+clean::
+ $(RM) -r gluegen/build
+
+get-orig-source::
+ -uscan --upstream-version 0
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5e771f4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+version=3
+#opts="uversionmangle=s/-rc/~rc/,dversionmangle=s/\+dak\d+$//" \
+#http://download.java.net/media/jogl/builds/archive/jsr-231-([\d\.]+)/ \
+#jogl-([\d\.]+)-src\.zip debian debian/orig-tar.sh
+http://download.java.net/media/jogl/builds/archive/jsr-231-(.*)/ \
+jogl-(.*)-src\.zip debian debian/orig-tar.sh
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjogl2-java.git
More information about the pkg-java-commits
mailing list