[libjogl2-java] 37/58: Imported Debian patch 2.0-rc11-1~exp4.1

Tony Mancill tmancill at moszumanska.debian.org
Thu Sep 4 03:59:18 UTC 2014


This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch master
in repository libjogl2-java.

commit 1c31a29ca03d4d8e752187a4ecd2ec59c6491ff1
Author: Thomas Preud'homme <robotux at debian.org>
Date:   Tue Dec 25 20:18:58 2012 +0100

    Imported Debian patch 2.0-rc11-1~exp4.1
---
 debian/changelog                |   7 +++
 debian/patches/armhf-build.diff | 136 +++++++++++++++++++++++++++++++++++++++-
 debian/patches/series           |   1 -
 3 files changed, 142 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4946032..9f18a1b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libjogl2-java (2.0-rc11-1~exp4.1) experimental; urgency=low
+
+  * Fix armhf FTBFS by generalizing changes to build-nativewindow.xml to
+    build-jogl.xml and build-newt.xml.
+
+ -- Thomas Preud'homme <robotux at debian.org>  Tue, 25 Dec 2012 20:18:58 +0100
+
 libjogl2-java (2.0-rc11-1~exp4) experimental; urgency=low
 
   * Try again to fix the armhf FTBFS (thanks again to Thomas Preud'homme)
diff --git a/debian/patches/armhf-build.diff b/debian/patches/armhf-build.diff
index d7288b7..95191cf 100644
--- a/debian/patches/armhf-build.diff
+++ b/debian/patches/armhf-build.diff
@@ -1,4 +1,4 @@
-diff -u libjogl2-java-2.0-rc11/make/build-nativewindow.xml libjogl2-java-2.0-rc11/make/build-nativewindow.xml
+unchanged:
 --- libjogl2-java-2.0-rc11/make/build-nativewindow.xml
 +++ libjogl2-java-2.0-rc11/make/build-nativewindow.xml
 @@ -88,6 +88,19 @@
@@ -116,3 +116,137 @@ unchanged:
 +. $spath/tests.sh  `which java` -DummyArg ../build-linux-armv7hf $*
 +
 +
+only in patch2:
+unchanged:
+--- libjogl2-java-2.0-rc11.orig/make/build-jogl.xml
++++ libjogl2-java-2.0-rc11/make/build-jogl.xml
+@@ -197,6 +197,19 @@
+            <isset property="setup.noSWT"/> 
+         </condition>
+ 
++        <condition property="isLinuxARM">
++            <and>
++                <istrue value="${isLinux}" />
++                <or>
++                    <os arch="arm" />
++                    <os arch="armv4" />
++                    <os arch="armv5" />
++                    <os arch="armv6" />
++                    <os arch="armv7" />
++                </or>
++            </and>
++        </condition>
++
+         <property name="java.excludes.javadoc.packagenames"
+                   value="jogamp.opengl.gl2.fixme.*,com.jogamp.audio.windows.waveout.TestSpatialization"/>
+ 
+@@ -1122,7 +1135,7 @@
+         <includepath path="/usr/local/include" />
+       </compiler>
+ 
+-      <compiler id="compiler.cfg.linux.armv6.jogl.x11" extends="compiler.cfg.linux.armv6">
++      <compiler id="compiler.cfg.linux.arm.jogl.x11" extends="compiler.cfg.linux">
+         <!-- Need to force /usr/include headers on to include path (after all others), due to crosscompiler usage -->
+         <compilerarg value="-idirafter" />
+         <compilerarg value="/usr/include" />
+@@ -1150,7 +1163,7 @@
+         <syslibset libs="X11"/>
+       </linker>
+ 
+-      <linker id="linker.cfg.linux.armv6.jogl.x11" extends="linker.cfg.linux.armv6">
++      <linker id="linker.cfg.linux.arm.jogl.x11" extends="linker.cfg.linux">
+         <syslibset libs="X11"/>
+       </linker>
+ 
+@@ -1239,10 +1252,10 @@
+       <property name="linker.cfg.id.os"                    value="linker.cfg.linux.amd64.jogl.x11" />
+     </target>
+     
+-    <target name="c.configure.linux.armv6" if="isLinuxARMv6">
+-      <echo message="Linux.armv6" />
+-      <property name="compiler.cfg.id"                     value="compiler.cfg.linux.armv6.jogl.x11" />
+-      <property name="linker.cfg.id.os"                    value="linker.cfg.linux.armv6.jogl.x11" />
++    <target name="c.configure.linux.arm" if="isLinuxARM">
++      <echo message="Linux.arm" />
++      <property name="compiler.cfg.id"                     value="compiler.cfg.linux.arm.nativewindow.x11" />
++      <property name="linker.cfg.id.os"                    value="linker.cfg.linux.arm.jogl.x11" />
+     </target>
+     
+     <target name="c.configure.linux.ia64" if="isLinuxIA64">
+@@ -1293,7 +1306,7 @@
+       <property name="linker.cfg.id.os"                    value="linker.cfg.linux.jogl.x11" />
+     </target>
+ 
+-    <target name="c.configure.linux" depends="c.configure.linux.armv6,c.configure.linux.x86,c.configure.linux.amd64,c.configure.linux.ia64,c.configure.linux.hppa,c.configure.linux.mips,c.configure.linux.mipsel,c.configure.linux.ppc,c.configure.linux.s390,c.configure.linux.s390x,c.configure.linux.sparc,c.configure.x11" if="isLinux" />
++    <target name="c.configure.linux" depends="c.configure.linux.arm,c.configure.linux.x86,c.configure.linux.amd64,c.configure.linux.ia64,c.configure.linux.hppa,c.configure.linux.mips,c.configure.linux.mipsel,c.configure.linux.ppc,c.configure.linux.s390,c.configure.linux.s390x,c.configure.linux.sparc,c.configure.x11" if="isLinux" />
+ 
+     <target name="c.configure.android" if="isAndroid">
+       <echo message="Android" />
+only in patch2:
+unchanged:
+--- libjogl2-java-2.0-rc11.orig/make/build-newt.xml
++++ libjogl2-java-2.0-rc11/make/build-newt.xml
+@@ -157,6 +157,19 @@
+            <isset property="setup.noOpenGL"/>
+         </condition>
+ 
++        <condition property="isLinuxARM">
++            <and>
++                <istrue value="${isLinux}" />
++                <or>
++                    <os arch="arm" />
++                    <os arch="armv4" />
++                    <os arch="armv5" />
++                    <os arch="armv6" />
++                    <os arch="armv7" />
++                </or>
++            </and>
++        </condition>
++
+         <property name="java.excludes.all" value="${java.excludes.awt}, ${java.excludes.swt}, ${java.excludes.opengl}" />
+         <echo message="java.excludes.all: ${java.excludes.all}" />
+ 
+@@ -265,7 +278,7 @@
+         <includepath path="/usr/local/include" />
+       </compiler>
+ 
+-      <compiler id="compiler.cfg.linux.armv6.newt.x11" extends="compiler.cfg.linux.armv6">
++      <compiler id="compiler.cfg.linux.arm.newt.x11" extends="compiler.cfg.linux">
+         <!-- Need to force /usr/include headers on to include path (after all others), due to crosscompiler usage -->
+         <compilerarg value="-idirafter" />
+         <compilerarg value="/usr/include" />
+@@ -320,7 +333,7 @@
+         <!--syslibset libs="X11-xcb" /-->
+       </linker>
+ 
+-      <linker id="linker.cfg.linux.armv6.newt.x11" extends="linker.cfg.linux.armv6">
++      <linker id="linker.cfg.linux.arm.newt.x11" extends="linker.cfg.linux">
+         <syslibset dir="${env.TARGET_PLATFORM_ROOT}/usr/lib" libs="X11" />
+         <syslibset dir="${env.TARGET_PLATFORM_ROOT}/usr/lib" libs="Xrandr" />
+       </linker>
+@@ -410,11 +423,11 @@
+       <echo message="linker.cfg.id.oswin ${linker.cfg.id.oswin}" />
+     </target>
+ 
+-    <target name="c.configure.linux.armv6" if="isLinuxARMv6">
+-      <echo message="Linux.armv6" />
+-      <property name="compiler.cfg.id"                      value="compiler.cfg.linux.armv6.newt.x11" />
+-      <condition property="linker.cfg.id.oswin"             value="linker.cfg.linux.armv6.newt.x11"
+-                                                            else="linker.cfg.linux.armv6">
++    <target name="c.configure.linux.arm" if="isLinuxARM">
++      <echo message="Linux.arm" />
++      <property name="compiler.cfg.id"                      value="compiler.cfg.linux.arm.newt.x11" />
++      <condition property="linker.cfg.id.oswin"             value="linker.cfg.linux.arm.newt.x11"
++                                                            else="linker.cfg.linux.arm">
+           <isset property="isX11" />
+       </condition>
+       <echo message="linker.cfg.id.oswin ${linker.cfg.id.oswin}" />
+@@ -496,7 +509,7 @@
+       <property name="linker.cfg.id.oswin"                  value="linker.cfg.linux.newt.x11" />
+     </target>
+ 
+-    <target name="c.configure.linux" depends="c.configure.linux.x86,c.configure.linux.amd64,c.configure.linux.armv6,c.configure.linux.hppa,c.configure.linux.mips,c.configure.linux.mipsel,c.configure.linux.ppc,c.configure.linux.s390,c.configure.linux.s390x,c.configure.linux.sparc,c.configure.linux.ia64,c.configure.x11" if="isLinux"/>
++    <target name="c.configure.linux" depends="c.configure.linux.x86,c.configure.linux.amd64,c.configure.linux.arm,c.configure.linux.hppa,c.configure.linux.mips,c.configure.linux.mipsel,c.configure.linux.ppc,c.configure.linux.s390,c.configure.linux.s390x,c.configure.linux.sparc,c.configure.linux.ia64,c.configure.x11" if="isLinux"/>
+ 
+     <target name="c.configure.android" if="isAndroid">
+       <echo message="Android" />
diff --git a/debian/patches/series b/debian/patches/series
index 9b76c27..667ac51 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,4 +14,3 @@ manifest.diff
 armhfbuild.diff
 s390x.diff
 armhf-build.diff
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjogl2-java.git



More information about the pkg-java-commits mailing list