[pkg-java] r7014 - in trunk: . libjava3d-java libjava3d-java/debian libjava3d-java/debian/patches

pere at alioth.debian.org pere at alioth.debian.org
Fri Sep 19 20:30:25 UTC 2008


Author: pere
Date: 2008-09-19 20:30:23 +0000 (Fri, 19 Sep 2008)
New Revision: 7014

Added:
   trunk/libjava3d-java/
   trunk/libjava3d-java/debian/
   trunk/libjava3d-java/debian/ant.properties
   trunk/libjava3d-java/debian/changelog
   trunk/libjava3d-java/debian/compat
   trunk/libjava3d-java/debian/control
   trunk/libjava3d-java/debian/copyright
   trunk/libjava3d-java/debian/patches/
   trunk/libjava3d-java/debian/patches/series
   trunk/libjava3d-java/debian/rules
Log:
First draft on build rules for libjava3d, based on the build rules for jogl.

Added: trunk/libjava3d-java/debian/ant.properties
===================================================================
--- trunk/libjava3d-java/debian/ant.properties	                        (rev 0)
+++ trunk/libjava3d-java/debian/ant.properties	2008-09-19 20:30:23 UTC (rev 7014)
@@ -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 

Added: trunk/libjava3d-java/debian/changelog
===================================================================
--- trunk/libjava3d-java/debian/changelog	                        (rev 0)
+++ trunk/libjava3d-java/debian/changelog	2008-09-19 20:30:23 UTC (rev 7014)
@@ -0,0 +1,6 @@
+libjava3d-java (0.0.cvs.20080919-1) unstable; urgency=low
+
+  * Initial Release (closes: #)
+
+ -- Petter Reinholdtsen <pere at debian.org>  Fri, 19 Sep 2008 22:19:43 +0200
+

Added: trunk/libjava3d-java/debian/compat
===================================================================
--- trunk/libjava3d-java/debian/compat	                        (rev 0)
+++ trunk/libjava3d-java/debian/compat	2008-09-19 20:30:23 UTC (rev 7014)
@@ -0,0 +1 @@
+5

Added: trunk/libjava3d-java/debian/control
===================================================================
--- trunk/libjava3d-java/debian/control	                        (rev 0)
+++ trunk/libjava3d-java/debian/control	2008-09-19 20:30:23 UTC (rev 7014)
@@ -0,0 +1,29 @@
+Source: libjava3d-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Petter Reinholdtsen <pere at debian.org>
+Build-Depends: debhelper (>= 5), cdbs, quilt, default-jdk-builddep | sun-java6-jdk
+Standards-Version: 3.8.0
+Homepage: http://java3d.dev.java.net
+Vcs-Cvs: :pserver:guest at cvs.dev.java.net:/cvs
+Vcs-Browser: http://bollin.googlecode.com/svn/libjava3d-java/trunk
+XS-Autobuild: yes
+
+Package: libjava3d-java
+Architecture: all
+Suggests: libjava3d-java-doc
+Depends:  java-gcj-compat | java1-runtime | java2-runtime, libjava3d-jni (>= ${source:Version}),
+ antlr
+Description: Java3D API (java library)
+
+Package: libjava3d-jni
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Java3D API (java jni library)
+
+Package: libjava3d-java-doc
+Architecture: all
+Section: doc
+Suggests: libjava3d-java
+Description: Documentation for the Java3D API

Added: trunk/libjava3d-java/debian/copyright
===================================================================
--- trunk/libjava3d-java/debian/copyright	                        (rev 0)
+++ trunk/libjava3d-java/debian/copyright	2008-09-19 20:30:23 UTC (rev 7014)
@@ -0,0 +1,7 @@
+This package was intially debianized by Petter Reinholdtsen
+<pere at hungry.com> on Fri Sep 19 22:12:39 CEST 2008.
+
+It was downloaded usinv svn from
+<:pserver:guest at cvs.dev.java.net:/cvs>
+
+Copyright: XXX Fix, track down and document.

Added: trunk/libjava3d-java/debian/patches/series
===================================================================

Added: trunk/libjava3d-java/debian/rules
===================================================================
--- trunk/libjava3d-java/debian/rules	                        (rev 0)
+++ trunk/libjava3d-java/debian/rules	2008-09-19 20:30:23 UTC (rev 7014)
@@ -0,0 +1,36 @@
+#!/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
+
+# Probably better to use /usr/lib/jvm/default-java ?
+JAVA_HOME            := /usr/lib/jvm/java-6-sun
+
+DEB_JARS             := ant-launcher vecmath1.2
+DEB_ANT_CLEAN_TARGET := clean
+DEB_ANT_BUILD_TARGET := jar
+DEB_BUILDDIR         := j3d-core
+
+install/libjava3d-java::
+	install -m 644 -D java3d/build/java3d.jar debian/libjava3d-java/usr/share/java/java3d-$(DEB_UPSTREAM_VERSION).jar
+	ln -s java3d-$(DEB_UPSTREAM_VERSION).jar debian/libjava3d-java/usr/share/java/java3d.jar
+	install -m 644 -D gluegen/build/gluegen-rt.jar debian/libjava3d-java/usr/share/java/gluegen-rt-$(DEB_UPSTREAM_VERSION).jar
+	ln -s gluegen-rt-$(DEB_UPSTREAM_VERSION).jar debian/libjava3d-java/usr/share/java/gluegen-rt.jar
+
+install/libjava3d-jni::
+	install -m 644 -D java3d/build/obj/libjava3d.so debian/libjava3d-jni/usr/lib/jni/libjava3d.so
+	install -m 644 -D java3d/build/obj/libjava3d_awt.so debian/libjava3d-jni/usr/lib/jni/libjava3d_awt.so
+# Commented since Cg is not available under Debian
+#	install -m 644 -D java3d/build/obj/libjava3d_cg.so debian/libjava3d-jni/usr/lib/jni/libjava3d_cg.so
+	install -m 644 -D gluegen/build/obj/libgluegen-rt.so debian/libjava3d-jni/usr/lib/jni/libgluegen-rt.so
+
+clean::
+	$(RM) -r gluegen/build
+
+get-orig-source::
+	-uscan --upstream-version 0
+	cvs -d :pserver:guest at cvs.dev.java.net:/cvs login
+	cvs -d :pserver:guest at cvs.dev.java.net:/cvs co j3d-core j3d-core-utils
+#  vecmath
+	tar -cv --exclude '*/CVS' --exclude .cvsignore -f ../libjava3d-java-0.0.cvs.20080913.orig.tar.gz j3d-core j3d-core-utils


Property changes on: trunk/libjava3d-java/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-java-commits mailing list