[java3d] 44/77: changes to fix FTBFS
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Mar 8 11:24:43 GMT 2018
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository java3d.
commit 78f224a8b50bb4d326a3e3fb13c994625a48c67d
Author: Onkar Shinde <onkarshinde at ubuntu.com>
Date: Thu Aug 13 04:54:46 2009 +0000
changes to fix FTBFS
---
debian/changelog | 17 +++++++++++++++++
debian/control | 6 +++---
debian/patches/01_fix_powerpc_ftbfs.patch | 12 ++++++++++++
debian/rules | 4 +++-
4 files changed, 35 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ada8c10..572ec5e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,20 @@
+java3d (1.5.2+dfsg-2) unstable; urgency=low
+
+ * debian/control
+ - Add myself to uploaders.
+ - Move default-jdk to Build-Depends as there is no easy way to split builds
+ of arch:all and arch:any packages.
+ * debian/rules
+ - Include simple patchsys makefile.
+ - Add echo target for debugging purpose.
+ - Add ant argument to set build type.
+ * debian/patches/01_fix_powerpc_ftbfs.patch
+ - Add fix for FTBFS on powerpc.
+ * debian/patches/02_fix_generic_ftbfs.patch
+ - Add fix for FTBFS on architectures not handled by current build system.
+
+ -- Onkar Shinde <onkarshinde at ubuntu.com> Thu, 13 Aug 2009 10:23:33 +0530
+
java3d (1.5.2+dfsg-1) unstable; urgency=low
[ Sylvestre Ledru ]
diff --git a/debian/control b/debian/control
index d59eacb..a8f3831 100644
--- a/debian/control
+++ b/debian/control
@@ -3,9 +3,9 @@ Section: libs
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Petter Reinholdtsen <pere at debian.org>, Jonny Lamb
- <jonny at debian.org>, Sylvestre Ledru <sylvestre.ledru at inria.fr>
-Build-Depends: debhelper (>= 5), cdbs, ant-optional, libvecmath-java, mesa-common-dev, libgl1-mesa-dev, libxext-dev, libxt-dev
-Build-Depends-Indep: default-jdk
+ <jonny at debian.org>, Sylvestre Ledru <sylvestre.ledru at inria.fr>,
+ Onkar Shinde <onkarshinde at ubuntu.com>
+Build-Depends: debhelper (>= 5), cdbs, default-jdk, ant-optional, libvecmath-java, mesa-common-dev, libgl1-mesa-dev, libxext-dev, libxt-dev
Standards-Version: 3.8.2
Homepage: http://java3d.dev.java.net
Vcs-Svn: svn://svn.debian.org/pkg-java/trunk/java3d/
diff --git a/debian/patches/01_fix_powerpc_ftbfs.patch b/debian/patches/01_fix_powerpc_ftbfs.patch
new file mode 100644
index 0000000..0598796
--- /dev/null
+++ b/debian/patches/01_fix_powerpc_ftbfs.patch
@@ -0,0 +1,12 @@
+diff -Nur -x '*.orig' -x '*~' java3d-1.5.2+dfsg/j3d-core/src/native/ogl/build-linux-ppc.xml java3d-1.5.2+dfsg.new/j3d-core/src/native/ogl/build-linux-ppc.xml
+--- java3d-1.5.2+dfsg/j3d-core/src/native/ogl/build-linux-ppc.xml 2008-02-29 01:48:00.000000000 +0530
++++ java3d-1.5.2+dfsg.new/j3d-core/src/native/ogl/build-linux-ppc.xml 2009-08-11 20:37:25.000000000 +0530
+@@ -28,7 +28,7 @@
+
+ <!-- Create the library file-->
+ <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="ld">
+- <arg line="DrawingSurfaceObjectAWT.o Canvas3D.o GraphicsContext3D.o NativeScreenInfo.o NativeConfigTemplate3D.o MasterControl.o GeometryArrayRetained.o Attributes.o CgShaderProgram.o GLSLShaderProgram.o Lights.o -G -z defs -L/usr/X11R6/lib -ldl -lGL -lX11 -lXext -lm -lnsl -lc -R/usr/openwin/lib -L${java.home}/bin -ljawt -L${java.home}/bin/classic -ljvm -o libj3dcore-ogl.so"/>
++ <arg line="DrawingSurfaceObjectAWT.o Canvas3D.o GraphicsContext3D.o NativeScreenInfo.o NativeConfigTemplate3D.o MasterControl.o GeometryArrayRetained.o Attributes.o CgShaderProgram.o GLSLShaderProgram.o Lights.o -G -z defs -L/usr/X11R6/lib -ldl -lGL -lX11 -lXext -lm -lnsl -lc -L${java.home}/lib/ppc -R/usr/openwin/lib -L${java.home}/bin -ljawt -L${java.home}/lib/ppc/server -L${java.home}/bin/classic -ljvm -o libj3dcore-ogl.so"/>
+ </exec>
+
+ <!-- Copy the copyright library file -->
diff --git a/debian/rules b/debian/rules
index 2056ec5..c2e6ed0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,12 +2,14 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
JAVA_HOME := /usr/lib/jvm/default-java
DEB_JARS := ant-nodeps vecmath
DEB_ANT_BUILDFILE := j3d-core/build.xml
DEB_ANT_CLEAN_TARGET := clean
-DEB_ANT_BUILD_TARGET := jar docs
+DEB_ANT_BUILD_TARGET := echo jar docs
+DEB_ANT_ARGS := -Dbuild.type=fcs
install/libjava3d-java::
set -e ; for jar in j3dcore j3dutils ; do \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/java3d.git
More information about the pkg-java-commits
mailing list