This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository java3d.
commit 186b5d188eb4a73321ebf833f6d7fad9048433fb Author: Petter Reinholdtsen <[email protected]> Date: Fri Sep 19 20:30:23 2008 +0000 First draft on build rules for libjava3d, based on the build rules for jogl. --- debian/ant.properties | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 29 +++++++++++++++++++++++++++ debian/copyright | 7 +++++++ debian/patches/series | 0 debian/rules | 36 ++++++++++++++++++++++++++++++++++ 7 files changed, 133 insertions(+) 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..9ad72c9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +libjava3d-java (0.0.cvs.20080919-1) unstable; urgency=low + + * Initial Release (closes: #) + + -- Petter Reinholdtsen <[email protected]> Fri, 19 Sep 2008 22:19:43 +0200 + 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..968a352 --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: libjava3d-java +Section: libs +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Petter Reinholdtsen <[email protected]> +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:[email protected]:/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 diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c86898f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,7 @@ +This package was intially debianized by Petter Reinholdtsen +<[email protected]> on Fri Sep 19 22:12:39 CEST 2008. + +It was downloaded usinv svn from +<:pserver:[email protected]:/cvs> + +Copyright: XXX Fix, track down and document. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e69de29 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..04d60a4 --- /dev/null +++ b/debian/rules @@ -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:[email protected]:/cvs login + cvs -d :pserver:[email protected]:/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 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/java3d.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

