debian/0000775000000000000000000000000012314244677007202 5ustar debian/orig-tar.sh0000775000000000000000000000070112276426633011264 0ustar #!/bin/sh -e VERSION=$2 DIR=gluegen-v$VERSION TAR=gluegen2_$VERSION.orig.tar.bz2 # clean up the upstream tarball p7zip -d $3 tar xvf gluegen-v$VERSION.tar cd $DIR* rm -rf .gitignore .htaccess make/lib/ rm -f $(find . -iname '*.jar') cd .. tar jcvf ../$TAR $DIR rm -rf $DIR gluegen-v$VERSION.tar # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi exit 0 debian/watch0000664000000000000000000000017112276426633010233 0ustar version=3 http://jogamp.org/deployment/jogamp-current/archive/Sources/ gluegen-v(.*).tar.7z \ debian debian/orig-tar.sh debian/rules0000775000000000000000000000551712314244566010267 0ustar #!/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-launcher antlrall ant-antlr ant-contrib-cpptasks ant-junit DEB_ANT_CLEAN_TARGET := clean DEB_BUILDDIR := make DEB_ANT_BUILD_TARGET := all junit.run DEB_ANT_ARGS += -Dtarget.sourcelevel=1.6 -Dtarget.targetlevel=1.6 -Dtarget.rt.jar=1.6 ifeq ($(DEB_HOST_ARCH),arm64) JAVACMD += -zero endif ifeq ($(DEB_HOST_ARCH),armhf) DEB_ANT_ARGS += -DisAbiEabiGnuArmhf=true DEB_ANT_BUILD_TARGET := all.no_junit endif install/libgluegen2-rt-java:: install -m 644 -D build/gluegen-rt.jar debian/libgluegen2-rt-java/usr/share/java/gluegen2-$(DEB_UPSTREAM_VERSION)-rt.jar ln -s gluegen2-$(DEB_UPSTREAM_VERSION)-rt.jar debian/libgluegen2-rt-java/usr/share/java/gluegen2-rt.jar install/libgluegen2-build-java:: mkdir -p $(CURDIR)/debian/libgluegen2-build-java/usr/share/gluegen2/make/ cp -R make/* debian/libgluegen2-build-java/usr/share/gluegen2/make/ cp -R build/artifact.properties debian/libgluegen2-build-java/usr/share/gluegen2/ mkdir -p $(CURDIR)/debian/libgluegen2-build-java/usr/share/gluegen2/jnlp-files/ cp -R jnlp-files/* debian/libgluegen2-build-java/usr/share/gluegen2/jnlp-files/ mkdir -p $(CURDIR)/debian/libgluegen2-build-java/usr/share/gluegen2/src/java/ cp -R src/java/* debian/libgluegen2-build-java/usr/share/gluegen2/src/java/ mkdir -p $(CURDIR)/debian/libgluegen2-build-java/usr/share/gluegen2/src/native/ cp -R src/junit/* debian/libgluegen2-build-java/usr/share/gluegen2/src/junit/ mkdir -p $(CURDIR)/debian/libgluegen2-build-java/usr/share/gluegen2/src/junit/ cp -Rf src/native/* debian/libgluegen2-build-java/usr/share/gluegen2/src/native/ mkdir -p $(CURDIR)/debian/libgluegen2-build-java/usr/share/gluegen2/test/junit/ cp -Rf test/junit/* debian/libgluegen2-build-java/usr/share/gluegen2/test/junit install -m 644 -D build/gluegen.jar debian/libgluegen2-build-java/usr/share/java/gluegen2-$(DEB_UPSTREAM_VERSION).jar ln -s gluegen2-$(DEB_UPSTREAM_VERSION).jar debian/libgluegen2-build-java/usr/share/java/gluegen2.jar find debian/libgluegen2-build-java/usr/share/gluegen2/ -type f -exec chmod a-x {} \; #extra license chmod +x debian/libgluegen2-build-java/usr/share/gluegen2/make/scripts/*.sh rm debian/libgluegen2-build-java/usr/share/gluegen2/src/java/com/jogamp/gluegen/cgram/license.txt install/libgluegen2-jni:: install -m 644 -D build/obj/libgluegen-rt.so debian/libgluegen2-jni/usr/lib/jni/libgluegen2-rt.so install/libgluegen2-doc:: $(DEB_ANT_INVOKE) javadoc mkdir -p debian/libgluegen2-doc/usr/share/doc/libgluegen2-java/ cp -Rf build/javadoc/gluegen/javadoc/* debian/libgluegen2-doc/usr/share/doc/libgluegen2-java/ clean:: $(RM) -r gluegen/build get-orig-source:: -uscan --upstream-version 0 debian/control0000664000000000000000000000751512314244620010601 0ustar Source: gluegen2 Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Sylvestre Ledru Build-Depends: debhelper (>= 9), cdbs, quilt, default-jdk, ant, junit4, ant-contrib-cpptasks, ant-optional, libantlr-java, openjdk-7-jre-zero [arm64] Standards-Version: 3.9.5 Homepage: http://jogamp.org/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/gluegen2/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-java/trunk/gluegen2/ Package: libgluegen2-rt-java Architecture: all Suggests: libgluegen2-doc Depends: ${misc:Depends}, antlr, libgluegen2-jni (>= ${source:Version}) Description: Tool to automatically generate the Java and JNI code. Gluegen reads as input ANSI C header files and separate configuration files which provide control over many aspects of the glue code generation. GlueGen uses a complete ANSI C parser and an internal representation (IR) capable of representing all C types to represent the APIs for which it generates interfaces. It has the ability to perform significant transformations on the IR before glue code emission. GlueGen is currently powerful enough to bind even low-level APIs such as the Java Native Interface (JNI) and the AWT Native Interface (JAWT) back up to the Java programming language. . This package contains the gluegen 2 runtime files. Package: libgluegen2-build-java Architecture: all Suggests: libgluegen2-doc Depends: ${misc:Depends}, antlr Description: Tool to automatically generate the Java and JNI code. Gluegen reads as input ANSI C header files and separate configuration files which provide control over many aspects of the glue code generation. GlueGen uses a complete ANSI C parser and an internal representation (IR) capable of representing all C types to represent the APIs for which it generates interfaces. It has the ability to perform significant transformations on the IR before glue code emission. GlueGen is currently powerful enough to bind even low-level APIs such as the Java Native Interface (JNI) and the AWT Native Interface (JAWT) back up to the Java programming language. . This package contains some Java sources necessary to build gluegen-based packages. Package: libgluegen2-jni Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Tool to automatically generate the Java and JNI code. Gluegen reads as input ANSI C header files and separate configuration files which provide control over many aspects of the glue code generation. GlueGen uses a complete ANSI C parser and an internal representation (IR) capable of representing all C types to represent the APIs for which it generates interfaces. It has the ability to perform significant transformations on the IR before glue code emission. GlueGen is currently powerful enough to bind even low-level APIs such as the Java Native Interface (JNI) and the AWT Native Interface (JAWT) back up to the Java programming language. . This package includes the architecture specific java native interface part. Package: libgluegen2-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libgluegen2 Description: Tool to automatically generate the Java and JNI code. Gluegen reads as input ANSI C header files and separate configuration files which provide control over many aspects of the glue code generation. GlueGen uses a complete ANSI C parser and an internal representation (IR) capable of representing all C types to represent the APIs for which it generates interfaces. It has the ability to perform significant transformations on the IR before glue code emission. GlueGen is currently powerful enough to bind even low-level APIs such as the Java Native Interface (JNI) and the AWT Native Interface (JAWT) back up to the Java programming language. . This package includes the API documentation for Gluegen package. debian/copyright0000664000000000000000000001311712276426633011141 0ustar This package was intially debianized by by Sylvestre Ledru on Sat, 04 Dec 2010 16:22:37 +0100 It was downloaded from 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: src/java/com/jogamp/* Copyright: 1998-2000, Non, Inc. License: 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. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by Non, Inc. and its contributors. Neither name of the company 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 COMPANY 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: doc/manual/index.html www/index.html License: CC-BY-SA-3.0 File: make/stub_includes/unix/dynamic-linker.h Copyright: 1994, The Regents of the University of California License: * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. 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. * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. File: src/java/com/jogamp/gluegen/ant/GlueGenTask.java Copyrights: 2003 Rob Grzywinski (rgrzywinski@realityinteractive.com) 2003-2005 Sun Microsystems, Inc. All Rights Reserved. 2010 JogAmp Community. All rights reserved. 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. debian/patches/0000775000000000000000000000000012276426633010632 5ustar debian/patches/structLayoutLinux.diff0000664000000000000000000000341312314031472015211 0ustar Index: gluegen2-2.0-rc3/src/java/com/jogamp/common/os/Platform.java =================================================================== --- gluegen2-2.0-rc3.orig/src/java/com/jogamp/common/os/Platform.java 2011-10-06 15:01:59.000000000 +0200 +++ gluegen2-2.0-rc3/src/java/com/jogamp/common/os/Platform.java 2011-10-06 15:07:28.000000000 +0200 @@ -191,6 +191,16 @@ CPU_ARCH = CPUType.PA_RISC2_0; } else if( ARCH_lower.equals("ppc") ) { CPU_ARCH = CPUType.PPC; + } else if( ARCH_lower.equals("alpha") ) { + CPU_ARCH = CPUType.ALPHA; + } else if( ARCH_lower.equals("hppa") ) { + CPU_ARCH = CPUType.HPPA; + } else if( ARCH_lower.equals("mips") ) { + CPU_ARCH = CPUType.MIPS; + } else if( ARCH_lower.equals("mipsel") ) { + CPU_ARCH = CPUType.MIPSEL; + } else if( ARCH_lower.equals("s390") ) { + CPU_ARCH = CPUType.S390; } else { throw new RuntimeException("Please port CPU detection to your platform (" + OS_lower + "/" + ARCH_lower + ")"); } @@ -440,6 +450,21 @@ case PPC: _os_and_arch = "ppc"; // TODO: sync with gluegen-cpptasks-base.xml break; + case ALPHA: + _os_and_arch = "alpha"; + break; + case HPPA: + _os_and_arch = "hppa"; + break; + case MIPS: + _os_and_arch = "mips"; + break; + case MIPSEL: + _os_and_arch = "mipsel"; + break; + case S390: + _os_and_arch = "s390"; + break; case X86_64: _os_and_arch = "amd64"; break; debian/patches/fix-ppc64-build-config.patch0000664000000000000000000002511312314031472015717 0ustar Index: b/make/build.xml =================================================================== --- a/make/build.xml +++ b/make/build.xml @@ -331,6 +331,24 @@ + + + + + + + + + + + + + + + + + + @@ -349,7 +367,7 @@ - + Index: b/make/gluegen-cpptasks-base.xml =================================================================== --- a/make/gluegen-cpptasks-base.xml +++ b/make/gluegen-cpptasks-base.xml @@ -46,6 +46,9 @@ - isLinuxMips - isLinuxMipsel - isLinuxPpc + - isLinuxPpc64 + - isLinuxPpc64le + - isLinuxAarch64 - isLinuxs390 - isLinuxs390x - isLinuxSparc @@ -130,6 +133,9 @@ - compiler.cfg.linux.mips - compiler.cfg.linux.mipsel - compiler.cfg.linux.ppc + - compiler.cfg.linux.ppc64 + - compiler.cfg.linux.ppc64le + - compiler.cfg.linux.aarch64 - compiler.cfg.linux.s390 - compiler.cfg.linux.s390x - compiler.cfg.linux.sparc @@ -388,6 +394,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -570,6 +603,9 @@ + + + @@ -646,6 +682,18 @@ + + + + + + + + + + + + @@ -666,7 +714,7 @@ - + @@ -1183,6 +1231,15 @@ + + + + + + + + + @@ -1407,6 +1464,27 @@ + + + + + + + + + + + + + + + + + + + + + @@ -1428,7 +1506,7 @@ - + debian/patches/armhf.diff0000664000000000000000000001041012314031472012537 0ustar Index: gluegen-v2.1.2/make/build.xml =================================================================== --- gluegen-v2.1.2.orig/make/build.xml 2013-11-08 10:29:07.000000000 +0100 +++ gluegen-v2.1.2/make/build.xml 2013-11-08 10:29:07.000000000 +0100 @@ -289,10 +289,16 @@ - - - - + + + + + + + + + + @@ -343,7 +349,7 @@ - + Index: gluegen-v2.1.2/make/gluegen-cpptasks-base.xml =================================================================== --- gluegen-v2.1.2.orig/make/gluegen-cpptasks-base.xml 2013-11-08 10:29:07.000000000 +0100 +++ gluegen-v2.1.2/make/gluegen-cpptasks-base.xml 2013-11-08 10:32:33.000000000 +0100 @@ -124,7 +124,7 @@ - compiler.cfg.linux - compiler.cfg.linux.x86 - compiler.cfg.linux.amd64 - - compiler.cfg.linux.armv6 + - compiler.cfg.linux.armv6.armel - compiler.cfg.linux.alpha - compiler.cfg.linux.hppa - compiler.cfg.linux.mips @@ -145,7 +145,8 @@ - linker.cfg.linux - linker.cfg.linux.x86 - linker.cfg.linux.amd64 - - linker.cfg.linux.armv6 + - linker.cfg.linux.armv6.armel + - linker.cfg.linux.armv6.armhf - linker.cfg.linux.alpha - linker.cfg.linux.hppa - linker.cfg.linux.mips @@ -942,7 +943,7 @@ - lib/gluegen-cpptasks-linux-armv6.xml (armv5te + softfp), or - lib/gluegen-cpptasks-linux-armv6hf.xml (armv6 + hardfp) for official JogAmp builds! --> - + @@ -1157,13 +1158,16 @@ - lib/gluegen-cpptasks-linux-armv6.xml (armv5te + softfp), or - lib/gluegen-cpptasks-linux-armv6hf.xml (armv6 + hardfp) for official JogAmp builds! --> - + + + + debian/patches/fix-alpha-build-config.patch0000664000000000000000000000223112314031472016044 0ustar diff -Nurd gluegen2-2.0.2.orig/make/build.xml gluegen2-2.0.2/make/build.xml --- gluegen2-2.0.2.orig/make/build.xml 2013-11-03 20:08:03.000000000 +1300 +++ gluegen2-2.0.2/make/build.xml 2013-11-03 20:01:00.000000000 +1300 @@ -349,7 +349,7 @@ - + debian/patches/disable_android2.diff0000664000000000000000000001406512314031472014641 0ustar Index: gluegen-v2.0-rc8/make/build.xml =================================================================== --- gluegen-v2.0-rc8.orig/make/build.xml 2012-05-15 14:31:28.000000000 +0200 +++ gluegen-v2.0-rc8/make/build.xml 2012-05-15 15:28:39.000000000 +0200 @@ -131,7 +131,7 @@ - + @@ -638,8 +638,11 @@ - + - original source. --> + + + + "); @@ -670,7 +670,7 @@ throw new RuntimeException("Not a writable directory: '"+tmpRoot+"', retrieved by propery '"+java_io_tmpdir_propkey+"'"); } if(DEBUG) { - System.err.println("IOUtil.getTempRoot(isAndroid: "+AndroidVersion.isAvailable+"): temp dir: "+tmpRoot.getAbsolutePath()); +// System.err.println("IOUtil.getTempRoot(isAndroid: "+AndroidVersion.isAvailable+"): temp dir: "+tmpRoot.getAbsolutePath()); } return tmpRoot; } Index: gluegen-v2.0-rc8/src/java/com/jogamp/common/util/JogampVersion.java =================================================================== --- gluegen-v2.0-rc8.orig/src/java/com/jogamp/common/util/JogampVersion.java 2012-05-15 14:29:21.000000000 +0200 +++ gluegen-v2.0-rc8/src/java/com/jogamp/common/util/JogampVersion.java 2012-05-15 15:29:41.000000000 +0200 @@ -29,7 +29,7 @@ package com.jogamp.common.util; import com.jogamp.common.GlueGenVersion; -import com.jogamp.common.os.AndroidVersion; +//import com.jogamp.common.os.AndroidVersion; import com.jogamp.common.os.Platform; import java.util.Iterator; @@ -37,7 +37,7 @@ import java.util.jar.Attributes; import java.util.jar.Manifest; -import jogamp.common.os.android.PackageInfoUtil; +//import jogamp.common.os.android.PackageInfoUtil; public class JogampVersion { @@ -58,11 +58,11 @@ this.hash = this.mf.hashCode(); mainAttributes = this.mf.getMainAttributes(); mainAttributeNames = mainAttributes.keySet(); - if(AndroidVersion.isAvailable) { - androidPackageVersionName = PackageInfoUtil.getPackageInfoVersionName(packageName); - } else { +// if(AndroidVersion.isAvailable) { +// androidPackageVersionName = PackageInfoUtil.getPackageInfoVersionName(packageName); +// } else { androidPackageVersionName = null; - } +/// } } @Override @@ -109,9 +109,9 @@ } public final String getExtensionName() { - if(null != androidPackageVersionName) { - return packageName; - } +// if(null != androidPackageVersionName) { +// return packageName; +// } return this.getAttribute(Attributes.Name.EXTENSION_NAME); } debian/patches/hideException.diff0000664000000000000000000000240112314031472014233 0ustar Index: gluegen-v2.1.5/src/java/com/jogamp/common/os/Platform.java =================================================================== --- gluegen-v2.1.5.orig/src/java/com/jogamp/common/os/Platform.java 2014-03-24 14:29:13.501609214 +0100 +++ gluegen-v2.1.5/src/java/com/jogamp/common/os/Platform.java 2014-03-24 14:29:13.497609157 +0100 @@ -197,15 +197,6 @@ _USE_TEMP_JAR_CACHE[0] = ( OS_TYPE != OSType.ANDROID ) && ( null != platformClassJarURI ) && Debug.getBooleanProperty(useTempJarCachePropName, true, true); - // load GluegenRT native library - if(_USE_TEMP_JAR_CACHE[0] && TempJarCache.initSingleton()) { - try { - JNILibLoaderBase.addNativeJarLibs(new Class[] { Platform.class }, null, null ); - } catch (Exception e0) { - // IllegalArgumentException, IOException - System.err.println("Catched "+e0.getClass().getSimpleName()+": "+e0.getMessage()+", while JNILibLoaderBase.addNativeJarLibs(..)"); - } - } DynamicLibraryBundle.GlueJNILibLoader.loadLibrary(libBaseName, false, cl); // JVM bug workaround debian/patches/linker.diff0000664000000000000000000000107212314031472012732 0ustar Index: gluegen-v2.1.2/make/gluegen-cpptasks-base.xml =================================================================== --- gluegen-v2.1.2.orig/make/gluegen-cpptasks-base.xml 2013-11-08 10:25:29.000000000 +0100 +++ gluegen-v2.1.2/make/gluegen-cpptasks-base.xml 2013-11-08 10:27:43.000000000 +0100 @@ -1188,6 +1188,8 @@ + + debian/patches/TARGET_JAVA_LIBS_disabled.diff0000664000000000000000000000445512314031472015705 0ustar Index: gluegen2-2.0-rc3/make/gluegen-cpptasks-base.xml =================================================================== --- gluegen2-2.0-rc3.orig/make/gluegen-cpptasks-base.xml 2011-11-20 17:13:25.000000000 +0100 +++ gluegen2-2.0-rc3/make/gluegen-cpptasks-base.xml 2011-11-22 00:39:36.011692419 +0100 @@ -1147,14 +1147,14 @@ - + - + @@ -1203,7 +1203,7 @@ - + debian/patches/disable-test-zip-archive.diff0000664000000000000000000000110712314031472016244 0ustar Index: gluegen-v2.0-rc12/make/build-test.xml =================================================================== --- gluegen-v2.0-rc12.orig/make/build-test.xml 2013-07-01 14:02:17.000000000 +0200 +++ gluegen-v2.0-rc12/make/build-test.xml 2013-07-01 14:02:17.000000000 +0200 @@ -466,7 +466,7 @@ - + debian/patches/disableArchive7z.diff0000664000000000000000000000247212314031472014641 0ustar Index: gluegen-v2.1.5/make/build.xml =================================================================== --- gluegen-v2.1.5.orig/make/build.xml 2014-03-24 14:27:09.863870538 +0100 +++ gluegen-v2.1.5/make/build.xml 2014-03-24 14:27:09.863870538 +0100 @@ -1009,9 +1009,9 @@ - + includes="gluegen/**" />--> @@ -1049,9 +1049,9 @@ - + includes="${archive.name}/**" />--> debian/patches/s390x.diff0000664000000000000000000001652412314031472012344 0ustar diff --git a/make/build.xml b/make/build.xml index bc04423..87678bc 100644 --- a/make/build.xml +++ b/make/build.xml @@ -343,13 +343,19 @@ + + + + + + - + diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml index 92aab28..f0ea963 100755 --- a/make/gluegen-cpptasks-base.xml +++ b/make/gluegen-cpptasks-base.xml @@ -36,6 +36,7 @@ - isLinuxMipsel - isLinuxPpc - isLinuxs390 + - isLinuxs390x - isLinuxSparc - isOSX - isOSXPPC @@ -117,6 +118,7 @@ - compiler.cfg.linux.mipsel - compiler.cfg.linux.ppc - compiler.cfg.linux.s390 + - compiler.cfg.linux.s390x - compiler.cfg.linux.sparc - compiler.cfg.solaris - compiler.cfg.solaris.sparcv9 @@ -137,6 +139,7 @@ - linker.cfg.linux.mipsel - linker.cfg.linux.ppc - linker.cfg.linux.s390 + - linker.cfg.linux.s390x - linker.cfg.linux.sparc - linker.cfg.freebsd.x86 - linker.cfg.freebsd.amd64 @@ -340,6 +343,15 @@ + + + + + + + + + @@ -478,6 +490,7 @@ + @@ -552,6 +565,10 @@ + + + + @@ -561,7 +578,7 @@ - + @@ -1036,6 +1053,9 @@ + + + @@ -1244,6 +1264,13 @@ + + + + + + + @@ -1251,7 +1278,7 @@ - + debian/patches/renamedLibrary.diff0000664000000000000000000000557412314031472014421 0ustar Index: gluegen-v2.1.5/src/junit/com/jogamp/common/util/TestTempJarCache.java =================================================================== --- gluegen-v2.1.5.orig/src/junit/com/jogamp/common/util/TestTempJarCache.java 2014-03-24 14:27:08.039844885 +0100 +++ gluegen-v2.1.5/src/junit/com/jogamp/common/util/TestTempJarCache.java 2014-03-24 14:27:08.039844885 +0100 @@ -197,8 +197,8 @@ @Test public void testTempJarCache02AddNativeLibs() throws IOException, IllegalArgumentException, URISyntaxException { if(AndroidVersion.isAvailable) { System.err.println("n/a on Android"); return; } - final String nativeJarName = "gluegen-rt-natives-"+Platform.getOSAndArch()+".jar"; - final String libBaseName = "gluegen-rt"; + final String nativeJarName = "gluegen2-rt-natives-"+Platform.getOSAndArch()+".jar"; + final String libBaseName = "gluegen2-rt"; final ClassLoader cl = getClass().getClassLoader(); URI jarUriRoot = JarUtil.getJarSubURI(TempJarCache.class.getName(), cl); @@ -217,7 +217,7 @@ @Test public void testTempJarCache03AddNativeJarLibs() throws IOException { if(AndroidVersion.isAvailable) { System.err.println("n/a on Android"); return; } - final String libBaseName = "gluegen-rt"; + final String libBaseName = "gluegen2-rt"; JNILibLoaderBase.addNativeJarLibs(TempJarCache.class, libBaseName); Assert.assertTrue(JNILibLoaderBase.isLoaded(libBaseName)); Index: gluegen-v2.1.5/src/java/com/jogamp/common/os/Platform.java =================================================================== --- gluegen-v2.1.5.orig/src/java/com/jogamp/common/os/Platform.java 2014-03-24 14:27:08.039844885 +0100 +++ gluegen-v2.1.5/src/java/com/jogamp/common/os/Platform.java 2014-03-24 14:27:08.039844885 +0100 @@ -146,7 +146,7 @@ private static final String useTempJarCachePropName = "jogamp.gluegen.UseTempJarCache"; /** fixed basename of JAR file and native library */ - private static final String libBaseName = "gluegen-rt"; + private static final String libBaseName = "gluegen2-rt"; // // static initialization order: @@ -209,7 +209,7 @@ DynamicLibraryBundle.GlueJNILibLoader.loadLibrary(libBaseName, false, cl); // JVM bug workaround - JVMUtil.initSingleton(); // requires gluegen-rt, one-time init. + JVMUtil.initSingleton(); // requires gluegen2-rt, one-time init. // AWT Headless determination if( !Debug.getBooleanProperty("java.awt.headless", true) && @@ -252,7 +252,7 @@ } /** - * kick off static initialization of platform property information and native gluegen-rt lib loading + * kick off static initialization of platform property information and native gluegen2-rt lib loading */ public static void initSingleton() { } debian/patches/missing-arch-symbol.diff0000664000000000000000000000115312314031472015335 0ustar --- gluegen2-2.1.3.orig/make/stub_includes/platform/glibc-compat-symbols.h +++ gluegen2-2.1.3/make/stub_includes/platform/glibc-compat-symbols.h @@ -22,7 +22,8 @@ #elif defined(__amd64__) #define GLIBC_COMPAT_SYMBOL(FFF) asm(".symver " #FFF "," #FFF "@GLIBC_2.2.5"); #else - #define GLIBC_COMPAT_SYMBOL(FFF) asm(".symver " #FFF "," #FFF "@GLIBC_2.0"); + /* Don't try to guess a wrong version */ + #define GLIBC_COMPAT_SYMBOL(FFF) #endif /*__amd64__*/ #else #warning GLIBC_COMPAT_SYMBOL not supported with current compiler on GNU/Linux debian/patches/series0000664000000000000000000000063112314031472012031 0ustar jarPath.diff renamedLibrary.diff disableArchive7z.diff #other-archs.diff #structLayoutLinux.diff disable-test-zip-archive.diff #fix_issues.diff #disable_android.diff disable_git_call.diff linker.diff hideException.diff #TARGET_JAVA_LIBS_disabled.diff #s390x.diff #duplicatedeclaration.diff #disable_android2.diff armhf.diff fix-alpha-build-config.patch fix-ppc64-build-config.patch missing-arch-symbol.diff debian/patches/disable_android.diff0000664000000000000000000001064412314031472014556 0ustar Index: gluegen2-2.0-rc3/make/build.xml =================================================================== --- gluegen2-2.0-rc3.orig/make/build.xml 2011-10-06 14:16:27.000000000 +0200 +++ gluegen2-2.0-rc3/make/build.xml 2011-10-06 14:29:49.000000000 +0200 @@ -21,7 +21,7 @@ - + @@ -114,7 +114,7 @@ This requires the user-defined "antlr.jar" property. --> - + @@ -147,7 +147,7 @@ - + Index: gluegen2-2.0-rc3/src/java/com/jogamp/common/util/IOUtil.java =================================================================== --- gluegen2-2.0-rc3.orig/src/java/com/jogamp/common/util/IOUtil.java 2011-10-06 14:38:04.000000000 +0200 +++ gluegen2-2.0-rc3/src/java/com/jogamp/common/util/IOUtil.java 2011-10-06 14:38:48.000000000 +0200 @@ -42,9 +42,9 @@ import java.nio.ByteBuffer; import jogamp.common.Debug; -import jogamp.common.os.android.StaticContext; +//import jogamp.common.os.android.StaticContext; -import android.content.Context; +//import android.content.Context; import com.jogamp.common.nio.Buffers; import com.jogamp.common.os.AndroidVersion; @@ -491,14 +491,14 @@ throws SecurityException { if(AndroidVersion.isAvailable) { - final Context ctx = StaticContext.getContext(); +/* final Context ctx = StaticContext.getContext(); if(null != ctx) { final File tmpRoot = ctx.getDir("temp", Context.MODE_WORLD_READABLE); if(DEBUG) { System.err.println("IOUtil.getTempRoot(Android): temp dir: "+tmpRoot.getAbsolutePath()); } return tmpRoot; - } + }*/ } final String tmpRootName = System.getProperty("java.io.tmpdir"); final File tmpRoot = new File(tmpRootName); Index: gluegen2-2.0-rc3/src/java/com/jogamp/common/util/JogampVersion.java =================================================================== --- gluegen2-2.0-rc3.orig/src/java/com/jogamp/common/util/JogampVersion.java 2011-10-06 14:37:11.000000000 +0200 +++ gluegen2-2.0-rc3/src/java/com/jogamp/common/util/JogampVersion.java 2011-10-06 14:37:43.000000000 +0200 @@ -29,7 +29,7 @@ package com.jogamp.common.util; import com.jogamp.common.GlueGenVersion; -import com.jogamp.common.os.AndroidVersion; +//import com.jogamp.common.os.AndroidVersion; import com.jogamp.common.os.Platform; import java.util.Iterator; @@ -37,7 +37,7 @@ import java.util.jar.Attributes; import java.util.jar.Manifest; -import jogamp.common.os.android.PackageInfoUtil; +//import jogamp.common.os.android.PackageInfoUtil; public class JogampVersion { @@ -50,7 +50,7 @@ private Attributes mainAttributes; private Set/**/ mainAttributeNames; - private final String androidPackageVersionName; + private final String androidPackageVersionName = null; protected JogampVersion(String packageName, Manifest mf) { this.packageName = packageName; @@ -58,11 +58,11 @@ this.hash = this.mf.hashCode(); mainAttributes = this.mf.getMainAttributes(); mainAttributeNames = mainAttributes.keySet(); - if(AndroidVersion.isAvailable) { +/* if(AndroidVersion.isAvailable) { androidPackageVersionName = PackageInfoUtil.getPackageInfoVersionName(packageName); } else { androidPackageVersionName = null; - } + }*/ } @Override debian/patches/jarPath.diff0000664000000000000000000000252312314031472013041 0ustar Index: gluegen-v2.1.5/make/gluegen-properties.xml =================================================================== --- gluegen-v2.1.5.orig/make/gluegen-properties.xml 2014-03-24 14:27:04.211791046 +0100 +++ gluegen-v2.1.5/make/gluegen-properties.xml 2014-03-24 14:27:04.211791046 +0100 @@ -49,10 +49,10 @@ - - - - + + + + debian/patches/fix_issues.diff0000664000000000000000000000204712314031472013632 0ustar Index: gluegen2-2.0-rc3/make/gluegen-cpptasks-base.xml =================================================================== --- gluegen2-2.0-rc3.orig/make/gluegen-cpptasks-base.xml 2011-10-06 14:11:59.000000000 +0200 +++ gluegen2-2.0-rc3/make/gluegen-cpptasks-base.xml 2011-10-06 14:12:58.000000000 +0200 @@ -1136,6 +1136,13 @@ + + + + + + + debian/changelog0000664000000000000000000001711012314244662011046 0ustar gluegen2 (2.1.5-1ubuntu1) trusty; urgency=medium * Build using the zero VM on AArch64. -- Matthias Klose Tue, 25 Mar 2014 10:17:10 +0100 gluegen2 (2.1.5-1) unstable; urgency=medium * New upstream release -- Sylvestre Ledru Mon, 24 Mar 2014 14:26:05 +0100 gluegen2 (2.1.4-1) unstable; urgency=medium * New upstream release -- Sylvestre Ledru Tue, 11 Feb 2014 15:05:50 +0100 gluegen2 (2.1.3-2) unstable; urgency=low * Fix missing architectures support in Thanks to Aurélien Jarno for the patch (Closes: #733310) -- Sylvestre Ledru Thu, 16 Jan 2014 11:03:13 +0100 gluegen2 (2.1.3-1) unstable; urgency=low * New upstream release -- Sylvestre Ledru Tue, 17 Dec 2013 09:29:23 +0100 gluegen2 (2.1.2-1) unstable; urgency=low * New upstream release * Update of the repack script to remove some thirdparty jars -- Sylvestre Ledru Fri, 08 Nov 2013 10:20:37 +0100 gluegen2 (2.0.2-2) unstable; urgency=low * Team upload. * Apply patch to build config for FTBFS on alpha - Thank you to Michael Cree. (Closes: #728571) * Freshen and apply patch to build config for FTBFS on ppc64 - Thank you to Hiroyuki Yamamoto. (Closes: #694070) * Update Standards-Version to 3.9.5. * Change debhelper version from 7 to 9; update debian/compat from 5 to 9. -- tony mancill Sun, 03 Nov 2013 21:11:45 -0800 gluegen2 (2.0.2-1) unstable; urgency=low * New upstream release [ Colin Watson ] * Synchronise From Ubuntu. Remaining changes: - Add more explicit armhf support, rather than trying to use incorrect armel toolchain flags. - On armhf, build only the all.no_junit target. "all junit.run" mysteriously segfaults on the first run but not thereafter. -- Sylvestre Ledru Sat, 28 Sep 2013 18:53:18 +0200 gluegen2 (2.0-rc12-1) unstable; urgency=low * New upstream release -- Sylvestre Ledru Mon, 01 Jul 2013 14:01:11 +0200 gluegen2 (2.0-rc11-1) unstable; urgency=low * Upload to unstable * Standards-Version updated to 3.9.4 -- Sylvestre Ledru Wed, 15 May 2013 09:49:48 +0200 gluegen2 (2.0-rc11-1~exp1) experimental; urgency=low * New upstream release -- Sylvestre Ledru Thu, 08 Nov 2012 16:21:32 +0100 gluegen2 (2.0-rc10-1~exp1) experimental; urgency=low * New upstream release -- Sylvestre Ledru Sun, 02 Sep 2012 14:55:41 +0200 gluegen2 (2.0-rc9-1~exp1) experimental; urgency=low * New upstream release -- Sylvestre Ledru Mon, 02 Jul 2012 02:44:59 +0200 gluegen2 (2.0-rc8-2) unstable; urgency=low * Upload in unstable -- Sylvestre Ledru Wed, 13 Jun 2012 18:31:35 +0200 gluegen2 (2.0-rc8-1) experimental; urgency=low [ Miguel Landaeta ] * Use public access URL in Vcs-Svn field. (Closes: #669300). [ Sylvestre Ledru ] * New upstream release -- Sylvestre Ledru Tue, 15 May 2012 14:23:28 +0200 gluegen2 (2.0-rc5-4) unstable; urgency=low * Fix a problem in the loading of the native lib (Closes: #668821) -- Sylvestre Ledru Sun, 15 Apr 2012 18:37:43 +0200 gluegen2 (2.0-rc5-3) unstable; urgency=low * Set the exact version of the dependency between libgluegen2-rt-java and libgluegen2-jni -- Sylvestre Ledru Tue, 03 Apr 2012 10:59:34 +0200 gluegen2 (2.0-rc5-2) unstable; urgency=low * Really upload to unstable (oups) -- Sylvestre Ledru Tue, 13 Mar 2012 01:04:56 +0100 gluegen2 (2.0-rc5-1) experimental; urgency=low * Upload in unstable * Standards-Version updated to version 3.9.3 -- Sylvestre Ledru Mon, 12 Mar 2012 20:31:43 +0100 gluegen2 (2.0-rc5-1~exp2) experimental; urgency=low * Fix the build issue under s390x -- Sylvestre Ledru Mon, 26 Dec 2011 09:27:15 +0100 gluegen2 (2.0-rc5-1~exp1) experimental; urgency=low * New upstream release * watch now possible and integrated -- Sylvestre Ledru Mon, 26 Dec 2011 01:18:19 +0100 gluegen2 (2.0-rc3-6) unstable; urgency=low * Fix an issue under Arm and an other one for sparc which were causing issues with the jogl build -- Sylvestre Ledru Tue, 22 Nov 2011 00:40:19 +0100 gluegen2 (2.0-rc3-5) unstable; urgency=low * Add dependency between libgluegen2-rt-java => libgluegen2-jni * Disable the display of the cache jar exception -- Sylvestre Ledru Sun, 20 Nov 2011 17:59:48 +0100 gluegen2 (2.0-rc3-4) unstable; urgency=low * Grrr, now, compiler.cfg.linux is factorized for the other archs -- Sylvestre Ledru Sat, 08 Oct 2011 16:47:39 +0200 gluegen2 (2.0-rc3-3) unstable; urgency=low * Update tags Vcs-* * linker.cfg.linux.* on some arch was failing -- Sylvestre Ledru Sat, 08 Oct 2011 15:08:11 +0200 gluegen2 (2.0-rc3-2) unstable; urgency=low * Fix some FTBFS on various archs -- Sylvestre Ledru Sat, 08 Oct 2011 13:50:08 +0200 gluegen2 (2.0-rc3-1) unstable; urgency=low * New upstream release -- Sylvestre Ledru Thu, 06 Oct 2011 13:24:11 +0200 gluegen2 (2.0-rc2-7) unstable; urgency=low * Fix the runtime detection of the arch + 32/64 bits. Was causing FTBFS of jogl2 -- Sylvestre Ledru Sun, 08 May 2011 23:23:15 +0200 gluegen2 (2.0-rc2-6) unstable; urgency=low * Upload to unstable * needless-dependency-on-jre lintian warning removed * script-not-executable fixed * Standards-Version updated to 3.9.2 -- Sylvestre Ledru Sat, 16 Apr 2011 13:51:53 +0200 gluegen2 (2.0-rc2-5) experimental; urgency=low * Fix build issues with arm, ia64, alpha & armel (Closes: #615872) * /usr/lib/jvm/default-java as JAVA_HOME (Closes: #618788) -- Sylvestre Ledru Thu, 24 Mar 2011 23:34:22 +0100 gluegen2 (2.0-rc2-4) experimental; urgency=low * Same player, try again: I forgot some declarations in make/build.xml -- Sylvestre Ledru Wed, 16 Mar 2011 21:23:33 +0100 gluegen2 (2.0-rc2-3) experimental; urgency=low * Try to build on all Debian archs. Archs are likely to fail here. -- Sylvestre Ledru Mon, 14 Mar 2011 21:28:49 +0100 gluegen2 (2.0-rc2-2) experimental; urgency=low * Beginning of the management of other debian archs. Partially fixes the bug #615872. -- Sylvestre Ledru Sun, 13 Mar 2011 22:54:39 +0100 gluegen2 (2.0-rc2-1) experimental; urgency=low * New upstream release * README.source added * Copyright file updated -- Sylvestre Ledru Fri, 04 Mar 2011 16:21:45 +0100 gluegen2 (2.0-rc1-3) experimental; urgency=low * Disable some options (junit of gluegen + copy of the license files) for packaged based on gluegen2 (cf: disablesSomeOptions.diff) * Switch to dpkg-source 3.0 (quilt) format -- Sylvestre Ledru Tue, 01 Mar 2011 00:44:11 +0100 gluegen2 (2.0-rc1-2) experimental; urgency=low * gluegen2 artifact.properties + jnlp files also installed * Update of the Vcs-* tags * Switch to dpkg-source 3.0 (quilt) format -- Sylvestre Ledru Mon, 28 Feb 2011 10:15:33 +0100 gluegen2 (2.0-rc1-1) experimental; urgency=low * Initial Release (Closes: #605902) -- Sylvestre Ledru Sat, 04 Dec 2010 16:22:37 +0100 debian/compat0000664000000000000000000000000212276426633010401 0ustar 9 debian/README.source0000664000000000000000000000030012276426633011353 0ustar Here is how to repack gluegen2 git clone git://jogamp.org/srv/scm/gluegen.git gluegen-xxx cd gluegen git checkout rm -rf .git make/lib/ tar zcvf gluegen2_xxx.orig.tar.gz gluegen-xxx/ debian/source/0000775000000000000000000000000012276426633010503 5ustar debian/source/format0000664000000000000000000000001412276426633011711 0ustar 3.0 (quilt)