[pkg-java] r13157 - in trunk: . libgluegen2-java libgluegen2-java/debian libgluegen2-java/debian/patches
Sylvestre Ledru
sylvestre at alioth.debian.org
Sun Dec 5 20:07:30 UTC 2010
Author: sylvestre
Date: 2010-12-05 20:07:05 +0000 (Sun, 05 Dec 2010)
New Revision: 13157
Added:
trunk/libgluegen2-java/
trunk/libgluegen2-java/debian/
trunk/libgluegen2-java/debian/changelog
trunk/libgluegen2-java/debian/compat
trunk/libgluegen2-java/debian/control
trunk/libgluegen2-java/debian/copyright
trunk/libgluegen2-java/debian/files
trunk/libgluegen2-java/debian/orig-tar.sh
trunk/libgluegen2-java/debian/patches/
trunk/libgluegen2-java/debian/patches/jarPath.diff
trunk/libgluegen2-java/debian/patches/renamedLibrary.diff
trunk/libgluegen2-java/debian/patches/series
trunk/libgluegen2-java/debian/rules
Log:
Initial version of gluegen2 package
Added: trunk/libgluegen2-java/debian/changelog
===================================================================
--- trunk/libgluegen2-java/debian/changelog (rev 0)
+++ trunk/libgluegen2-java/debian/changelog 2010-12-05 20:07:05 UTC (rev 13157)
@@ -0,0 +1,6 @@
+gluegen2 (2.0-rc1-1) experimental; urgency=low
+
+ * Initial Release (Closes: #605902)
+
+ -- Sylvestre Ledru <sylvestre at debian.org> Sat, 04 Dec 2010 16:22:37 +0100
+
Added: trunk/libgluegen2-java/debian/compat
===================================================================
--- trunk/libgluegen2-java/debian/compat (rev 0)
+++ trunk/libgluegen2-java/debian/compat 2010-12-05 20:07:05 UTC (rev 13157)
@@ -0,0 +1 @@
+5
Added: trunk/libgluegen2-java/debian/control
===================================================================
--- trunk/libgluegen2-java/debian/control (rev 0)
+++ trunk/libgluegen2-java/debian/control 2010-12-05 20:07:05 UTC (rev 13157)
@@ -0,0 +1,79 @@
+Source: gluegen2
+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 (>= 7), cdbs, quilt, default-jdk,
+ ant, junit4, ant-contrib-cpptasks, ant-optional, libantlr-java
+Standards-Version: 3.9.1
+Homepage: http://jogamp.org/
+Vcs-Svn: svn+ssh://svn.debian.org/svn/pkg-java/trunk/gluegen2
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/gluegen2/
+
+Package: libgluegen2-rt-java
+Architecture: all
+Suggests: libgluegen2-doc
+Depends: ${misc:Depends}, default-jre,
+ 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 the gluegen 2 runtime files.
+
+Package: libgluegen2-build-java
+Architecture: all
+Suggests: libgluegen2-doc
+Depends: ${misc:Depends}, default-jre,
+ 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.
Added: trunk/libgluegen2-java/debian/copyright
===================================================================
--- trunk/libgluegen2-java/debian/copyright (rev 0)
+++ trunk/libgluegen2-java/debian/copyright 2010-12-05 20:07:05 UTC (rev 13157)
@@ -0,0 +1,92 @@
+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: 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.
Added: trunk/libgluegen2-java/debian/files
===================================================================
--- trunk/libgluegen2-java/debian/files (rev 0)
+++ trunk/libgluegen2-java/debian/files 2010-12-05 20:07:05 UTC (rev 13157)
@@ -0,0 +1,12 @@
+libgluegen2-rt-java_2.0-rc1-1_all.deb java optional
+libgluegen2-build-java_2.0-rc1-1_all.deb java optional
+libgluegen2-doc_2.0-rc1-1_all.deb doc optional
+libgluegen2-jni_2.0-rc1-1_amd64.deb java optional
+libgluegen2-rt-java_2.0-rc1-1_all.deb java optional
+libgluegen2-build-java_2.0-rc1-1_all.deb java optional
+libgluegen2-doc_2.0-rc1-1_all.deb doc optional
+libgluegen2-jni_2.0-rc1-1_amd64.deb java optional
+libgluegen2-rt-java_2.0-rc1-1_all.deb java optional
+libgluegen2-build-java_2.0-rc1-1_all.deb java optional
+libgluegen2-doc_2.0-rc1-1_all.deb doc optional
+libgluegen2-jni_2.0-rc1-1_amd64.deb java optional
Added: trunk/libgluegen2-java/debian/orig-tar.sh
===================================================================
--- trunk/libgluegen2-java/debian/orig-tar.sh (rev 0)
+++ trunk/libgluegen2-java/debian/orig-tar.sh 2010-12-05 20:07:05 UTC (rev 13157)
@@ -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
Added: trunk/libgluegen2-java/debian/patches/jarPath.diff
===================================================================
--- trunk/libgluegen2-java/debian/patches/jarPath.diff (rev 0)
+++ trunk/libgluegen2-java/debian/patches/jarPath.diff 2010-12-05 20:07:05 UTC (rev 13157)
@@ -0,0 +1,15 @@
+Index: gluegen.git/make/gluegen-properties.xml
+===================================================================
+--- gluegen.git.orig/make/gluegen-properties.xml 2010-12-04 15:03:21.000000000 +0100
++++ gluegen.git/make/gluegen-properties.xml 2010-12-04 15:06:40.000000000 +0100
+@@ -39,8 +39,8 @@
+ <property name="gluegen.user.properties.file.set" value="${gluegen.user.properties.file}"/>
+ <property file="${gluegen.user.properties.file.set}" />
+ <echo message="Loaded ${gluegen.user.properties.file.set}." />
+- <property name="antlr.jar" value="${gluegen.root}/make/lib/antlr.jar" />
+- <property name="junit.jar" value="${gluegen.root}/make/lib/junit.jar" />
++ <property name="antlr.jar" value="/usr/share/java/antlrall.jar" />
++ <property name="junit.jar" value="/usr/share/java/junit4.jar" />
+ <condition property="win32.c.compiler" value="mingw64">
+ <and>
+ <os family="windows" />
Added: trunk/libgluegen2-java/debian/patches/renamedLibrary.diff
===================================================================
--- trunk/libgluegen2-java/debian/patches/renamedLibrary.diff (rev 0)
+++ trunk/libgluegen2-java/debian/patches/renamedLibrary.diff 2010-12-05 20:07:05 UTC (rev 13157)
@@ -0,0 +1,13 @@
+Index: gluegen.git/src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java
+===================================================================
+--- gluegen.git.orig/src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java 2010-12-05 12:36:33.000000000 +0100
++++ gluegen.git/src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java 2010-12-05 12:36:40.000000000 +0100
+@@ -67,7 +67,7 @@
+ didLoading = true;
+ AccessController.doPrivileged(new PrivilegedAction() {
+ public Object run() {
+- loadLibraryInternal("gluegen-rt");
++ loadLibraryInternal("gluegen2-rt");
+ return null;
+ }
+ });
Added: trunk/libgluegen2-java/debian/patches/series
===================================================================
--- trunk/libgluegen2-java/debian/patches/series (rev 0)
+++ trunk/libgluegen2-java/debian/patches/series 2010-12-05 20:07:05 UTC (rev 13157)
@@ -0,0 +1,2 @@
+jarPath.diff
+renamedLibrary.diff
Added: trunk/libgluegen2-java/debian/rules
===================================================================
--- trunk/libgluegen2-java/debian/rules (rev 0)
+++ trunk/libgluegen2-java/debian/rules 2010-12-05 20:07:05 UTC (rev 13157)
@@ -0,0 +1,48 @@
+#!/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/java-6-openjdk/
+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
+
+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/
+ 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
+ install -m 644 -D build/gluegen-rt.cdc.jar debian/libgluegen2-build-java/usr/share/java/gluegen2-rt-$(DEB_UPSTREAM_VERSION).cdc.jar
+ ln -s gluegen2-rt-$(DEB_UPSTREAM_VERSION).cdc.jar debian/libgluegen2-build-java/usr/share/java/gluegen2-rt.cdc.jar
+ find debian/libgluegen2-build-java/usr/share/gluegen2/ -type f -exec chmod a-x {} \;
+#extra license
+ 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
Property changes on: trunk/libgluegen2-java/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
More information about the pkg-java-commits
mailing list