[pkg-java] r13675 - in trunk/libjogl2-java/debian: . patches

Sylvestre Ledru sylvestre at alioth.debian.org
Sun May 8 22:09:05 UTC 2011


Author: sylvestre
Date: 2011-05-08 22:09:03 +0000 (Sun, 08 May 2011)
New Revision: 13675

Removed:
   trunk/libjogl2-java/debian/patches/build-java.diff
   trunk/libjogl2-java/debian/patches/build.diff
   trunk/libjogl2-java/debian/patches/cg-common.cfg.diff
   trunk/libjogl2-java/debian/patches/defaultDebianPath.diff
Modified:
   trunk/libjogl2-java/debian/changelog
   trunk/libjogl2-java/debian/control
Log:
  * cg-common.cfg.diff, build-java.diff, build.diff & defaultDebianPath.diff
    removed (deprecated patches)
  * libjogl2-core-java depended on libjogl2-core-jni which does not exist


Modified: trunk/libjogl2-java/debian/changelog
===================================================================
--- trunk/libjogl2-java/debian/changelog	2011-05-08 22:08:24 UTC (rev 13674)
+++ trunk/libjogl2-java/debian/changelog	2011-05-08 22:09:03 UTC (rev 13675)
@@ -1,3 +1,11 @@
+libjogl2-java (2.0-rc2-2) unstable; urgency=low
+
+  * cg-common.cfg.diff, build-java.diff, build.diff & defaultDebianPath.diff
+    removed (deprecated patches)
+  * libjogl2-core-java depended on libjogl2-core-jni which does not exist
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Sun, 08 May 2011 23:30:49 +0200
+
 libjogl2-java (2.0-rc2-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/libjogl2-java/debian/control
===================================================================
--- trunk/libjogl2-java/debian/control	2011-05-08 22:08:24 UTC (rev 13674)
+++ trunk/libjogl2-java/debian/control	2011-05-08 22:09:03 UTC (rev 13675)
@@ -15,7 +15,7 @@
 
 Package: libjogl2-core-java
 Architecture: all
-Depends:  ${misc:Depends}, libjogl2-core-jni (>= ${source:Version}),
+Depends:  ${misc:Depends}, 
  libgluegen2-rt-java
 Description: Java bindings for OpenGL API
  The JOGL project hosts the development version of the Java Bindings for 

Deleted: trunk/libjogl2-java/debian/patches/build-java.diff
===================================================================
--- trunk/libjogl2-java/debian/patches/build-java.diff	2011-05-08 22:08:24 UTC (rev 13674)
+++ trunk/libjogl2-java/debian/patches/build-java.diff	2011-05-08 22:09:03 UTC (rev 13675)
@@ -1,85 +0,0 @@
-diff -ur libjogl-java-1.1.1.orig/gluegen/src/java/com/sun/gluegen/runtime/CPU.java libjogl-java-1.1.1+dak1/gluegen/src/java/com/sun/gluegen/runtime/CPU.java
---- libjogl-java-1.1.1.orig/gluegen/src/java/com/sun/gluegen/runtime/CPU.java	2008-02-23 06:46:44.000000000 +0100
-+++ libjogl-java-1.1.1+dak1/gluegen/src/java/com/sun/gluegen/runtime/CPU.java	2008-10-26 23:56:09.000000000 +0100
-@@ -1,3 +1,4 @@
-+
- /*
-  * Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved.
-  * 
-@@ -44,38 +45,27 @@
-     running process. */
- 
- public class CPU {
--  private static boolean is32Bit;
-+	private static boolean is32Bit=true;
-+
-+	static {
-+		// We don't seem to need an AccessController.doPrivileged() block
-+		// here as these system properties are visible even to unsigned
-+		// applets
-+		// Note: this code is replicated in StructLayout.java
-+		String os = System.getProperty("os.name").toLowerCase();
-+		String cpu = System.getProperty("os.arch").toLowerCase();
-+
-+		if ((os.startsWith("windows") && cpu.equals("amd64")) ||
-+			(os.startsWith("linux")  && cpu.indexOf("64") != -1) ||
-+			(os.startsWith("linux")  && cpu.indexOf("alpha") != -1) ||
-+			(os.startsWith("mac os") && cpu.equals("x86_64")) ||
-+			(os.startsWith("sunos") && cpu.equals("sparcv9")) ||
-+			(os.startsWith("sunos") && cpu.equals("amd64"))) {
-+			is32Bit=false;
-+		} 
-+	}
- 
--  static {
--    // We don't seem to need an AccessController.doPrivileged() block
--    // here as these system properties are visible even to unsigned
--    // applets
--    // Note: this code is replicated in StructLayout.java
--    String os = System.getProperty("os.name").toLowerCase();
--    String cpu = System.getProperty("os.arch").toLowerCase();
--    if ((os.startsWith("windows") && cpu.equals("x86")) ||
--        (os.startsWith("linux") && cpu.equals("i386")) ||
--        (os.startsWith("linux") && cpu.equals("x86")) ||
--        (os.startsWith("mac os") && cpu.equals("ppc")) ||
--        (os.startsWith("mac os") && cpu.equals("i386")) ||
--        (os.startsWith("sunos") && cpu.equals("sparc")) ||
--        (os.startsWith("sunos") && cpu.equals("x86")) ||
--        (os.startsWith("freebsd") && cpu.equals("i386")) ||
--        (os.startsWith("hp-ux") && cpu.equals("pa_risc2.0"))) {
--      is32Bit = true;
--    } else if ((os.startsWith("windows") && cpu.equals("amd64")) ||
--               (os.startsWith("linux") && cpu.equals("amd64")) ||
--               (os.startsWith("linux") && cpu.equals("x86_64")) ||
--               (os.startsWith("linux") && cpu.equals("ia64")) ||
--               (os.startsWith("mac os") && cpu.equals("x86_64")) ||
--               (os.startsWith("sunos") && cpu.equals("sparcv9")) ||
--               (os.startsWith("sunos") && cpu.equals("amd64"))) {
--    } else {
--      throw new RuntimeException("Please port CPU detection (32/64 bit) to your platform (" + os + "/" + cpu + ")");
--    }
--  }
--
--  public static boolean is32Bit() {
--    return is32Bit;
--  }
-+	public static boolean is32Bit() {
-+		return is32Bit;
-+	}
- }
-diff -ur libjogl-java-1.1.1.orig/gluegen/src/java/com/sun/gluegen/StructLayout.java libjogl-java-1.1.1+dak1/gluegen/src/java/com/sun/gluegen/StructLayout.java
---- libjogl-java-1.1.1.orig/gluegen/src/java/com/sun/gluegen/StructLayout.java	2008-02-23 06:46:44.000000000 +0100
-+++ libjogl-java-1.1.1+dak1/gluegen/src/java/com/sun/gluegen/StructLayout.java	2008-10-26 23:43:56.000000000 +0100
-@@ -127,11 +127,7 @@
-       // It appears that Windows uses a packing alignment of 4 bytes in 32-bit mode
-       return new StructLayout(0, 4);
-     } else if ((os.startsWith("windows") && cpu.equals("amd64")) ||
--               (os.startsWith("linux") && cpu.equals("i386")) ||
--               (os.startsWith("linux") && cpu.equals("x86")) ||
--               (os.startsWith("linux") && cpu.equals("amd64")) ||
--               (os.startsWith("linux") && cpu.equals("x86_64")) ||
--               (os.startsWith("linux") && cpu.equals("ia64")) ||
-+               (os.startsWith("linux")) ||
-                (os.startsWith("sunos") && cpu.equals("sparc")) ||
-                (os.startsWith("sunos") && cpu.equals("sparcv9")) ||
-                (os.startsWith("sunos") && cpu.equals("x86")) ||

Deleted: trunk/libjogl2-java/debian/patches/build.diff
===================================================================
--- trunk/libjogl2-java/debian/patches/build.diff	2011-05-08 22:08:24 UTC (rev 13674)
+++ trunk/libjogl2-java/debian/patches/build.diff	2011-05-08 22:09:03 UTC (rev 13675)
@@ -1,182 +0,0 @@
---- jogl-1.1.1.orig/gluegen/make/build.xml	2008-05-14 18:54:48.000000000 +0200
-+++ jogl-1.1.1/gluegen/make/build.xml	2008-12-29 11:41:54.000000000 +0100
-@@ -222,11 +222,6 @@
-       <property name="java.includes.dir.platform"           value="${java.includes.dir}/win32" />
-     </target>
- 
--    <target name="declare.linux.x86" if="isLinuxX86">
--      <echo message="Linux.x86" />
--      <property name="compiler.cfg.id"                      value="compiler.cfg.linux" /> 
--      <property name="linker.cfg.id"                        value="linker.cfg.linux" /> 
--    </target>
-     
-     <target name="declare.linux.amd64" if="isLinuxAMD64">
-       <echo message="Linux.AMD64" />
-@@ -239,8 +234,17 @@
-       <property name="compiler.cfg.id"                      value="compiler.cfg.linux" /> 
-       <property name="linker.cfg.id"                        value="linker.cfg.linux" /> 
-     </target>
-+    
-+    <target name="declare.linux.ppc" if="isLinuxPPC">
-+      <echo message="Linux.ppc" />
-+      <property name="compiler.cfg.id"                      value="compiler.cfg.linux" /> 
-+      <property name="linker.cfg.id"                        value="linker.cfg.linux" /> 
-+    </target>
- 
--    <target name="declare.linux" depends="declare.linux.x86,declare.linux.amd64,declare.linux.ia64" if="isLinux" >
-+    <target name="declare.linux" if="isLinux" >
-+      <echo message="Linux" />
-+      <property name="compiler.cfg.id"                      value="compiler.cfg.linux" /> 
-+      <property name="linker.cfg.id"                        value="linker.cfg.linux" /> 
-       <property name="c.src.dir"                            value="unix" />
-       <property name="java.includes.dir.platform"           value="${java.includes.dir}/linux" />
-     </target>
---- jogl-1.1.1.orig/gluegen/make/gluegen-cpptasks.xml	2008-02-08 20:47:30.000000000 +0100
-+++ jogl-1.1.1/gluegen/make/gluegen-cpptasks.xml	2008-12-29 11:41:54.000000000 +0100
-@@ -36,6 +36,7 @@
-    -   isLinuxAMD64
-    -   isLinuxIA64
-    -   isLinuxX86
-+   -   isLinuxPPC
-    -   isOSX
-    -   isOSXPPC
-    -   isOSXUniversal (if macosxfat=true)
-@@ -161,33 +162,6 @@
-     <condition property="isHPUX">
-       <os name="HP-UX" />
-     </condition>
--    <condition property="isLinuxX86">
--      <and>
--        <istrue value="${isLinux}" />
--        <or>
--          <os arch="i386" />
--          <os arch="x86" />
--        </or>
--      </and>
--    </condition>
--    <condition property="isLinuxAMD64">
--      <and>
--        <istrue value="${isLinux}" />
--        <or>
--          <os arch="AMD64" />
--          <os arch="x86_64" />
--        </or>
--      </and>
--    </condition>
--    <condition property="isLinuxIA64">
--      <and>
--        <istrue value="${isLinux}" />
--        <os arch="IA64" />
--      </and>
--    </condition>
--    <condition property="isIA64">
--      <os arch="IA64" />
--    </condition>
-     <condition property="isSolaris32Bit">
-       <and>
-          <istrue value="${isSolaris}" />
-@@ -238,9 +212,7 @@
-     <echo message="HPUX=${isHPUX}" />
-     <echo message="IA64=${isIA64}" />
-     <echo message="Linux=${isLinux}" />
--    <echo message="LinuxAMD64=${isLinuxAMD64}" />
--    <echo message="LinuxIA64=${isLinuxIA64}" />
--    <echo message="LinuxX86=${isLinuxX86}" />
-+    <echo message="Arch=${os.arch}" />
-     <echo message="OS X=${isOSX}" />
-     <echo message="Solaris=${isSolaris}" />
-     <echo message="Solaris32Bit=${isSolaris32Bit}" />
-@@ -261,20 +233,10 @@
-     <property name="os.and.arch" value="hpux-hppa" />
-   </target>
- 
--  <target name="gluegen.cpptasks.detect.os.linux.amd64" unless="gluegen.cpptasks.detected.os" if="isLinuxAMD64">
--    <property name="os.and.arch" value="linux-amd64" />
-+  <target name="gluegen.cpptasks.detect.os.linux" unless="gluegen.cpptasks.detected.os" if="isLinux">
-+    <property name="os.and.arch" value="linux-all" />
-   </target>
- 
--  <target name="gluegen.cpptasks.detect.os.linux.ia64" unless="gluegen.cpptasks.detected.os" if="isLinuxIA64">
--    <property name="os.and.arch" value="linux-ia64" />
--  </target>
--
--  <target name="gluegen.cpptasks.detect.os.linux.x86" unless="gluegen.cpptasks.detected.os" if="isLinuxX86">
--    <property name="os.and.arch" value="linux-i586" />
--  </target>
--
--  <target name="gluegen.cpptasks.detect.os.linux" depends="gluegen.cpptasks.detect.os.linux.amd64,gluegen.cpptasks.detect.os.linux.ia64,gluegen.cpptasks.detect.os.linux.x86" unless="gluegen.cpptasks.detected.os" />
--
-   <target name="gluegen.cpptasks.detect.os.osx.ppc" unless="gluegen.cpptasks.detected.os" if="isOSXPPC">
-     <property name="os.and.arch" value="macosx-ppc" />
-   </target>
---- jogl-1.1.1.orig/jogl/make/build.xml	2008-04-29 17:18:50.000000000 +0200
-+++ jogl-1.1.1/jogl/make/build.xml	2008-12-29 11:58:59.000000000 +0100
-@@ -210,8 +210,10 @@
-         <property name="java.includes.dir.freebsd" value="${java.includes.dir}/freebsd" />
-         <property name="java.includes.dir.hpux" value="${java.includes.dir}/hp-ux" />
-         <property name="java.lib.dir.win32" value="${java.home.dir}/lib" />
--        <property name="java.lib.dir.linux" value="${java.home.dir}/jre/lib/i386" />
-+        <property name="java.lib.dir.linux" value="${java.home.dir}/jre/lib/${os.arch}/" />
-+<!--        <property name="java.lib.dir.linux" value="${java.home.dir}/jre/lib/i386" />-->
-         <property name="java.lib.dir.linux.amd64" value="${java.home.dir}/jre/lib/amd64" />
-+        <property name="java.lib.dir.linux.ppc" value="${java.home.dir}/jre/lib/ppc" />
-         <property name="java.lib.dir.linux.ia64" value="${java.home.dir}/jre/lib/ia64" />
-         <property name="java.lib.dir.hpux" value="${java.home.dir}/jre/lib/PA_RISC2.0" />
- 	<condition property="cpu" value="sparc">
-@@ -369,6 +371,15 @@
-       <property name="linker.cfg.id.core"                   value="linker.cfg.linux.amd64.jogl" /> 
-     </target>
-     
-+    <target name="declare.linux" if="isLinux">
-+      <echo message="Linux" />
-+      <property name="java.includes.dir.platform"           value="${java.includes.dir.linux}" />
-+      <property name="java.lib.dir.platform"                value="${java.lib.dir.linux}" />       
-+
-+      <property name="compiler.cfg.id"                      value="compiler.cfg.linux" /> 
-+      <property name="linker.cfg.id.core"                   value="linker.cfg.linux.jogl" /> 
-+    </target>
-+
-     <target name="declare.linux.ia64" if="isLinuxIA64">
-       <echo message="Linux.IA64" />
-       <property name="java.includes.dir.platform"           value="${java.includes.dir.linux}" />
-@@ -378,7 +389,6 @@
-       <property name="linker.cfg.id.core"                   value="linker.cfg.linux.jogl" /> 
-     </target>
- 
--    <target name="declare.linux" depends="declare.linux.x86,declare.linux.amd64,declare.linux.ia64,declare.x11" if="isLinux" />
- 
-     <target name="declare.solaris32" depends="declare.x11" if="isSolaris32Bit">
-       <echo message="Solaris" />
-@@ -727,20 +737,19 @@
-       <compiler id="compiler.cfg.freebsd.jogl" extends="compiler.cfg.freebsd">
-         <!-- Need to force X11R6 headers on to include path after stub_includes -->
-         <includepath path="stub_includes/opengl"/>
--        <includepath path="/usr/X11R6/include" />
-       </compiler>
- 
-       <!-- linker configuration -->
-  
-       <linker id="linker.cfg.linux.jogl" extends="linker.cfg.linux">
--        <syslibset dir="/usr/X11R6/lib" libs="GL, X11"/>
--        <syslibset dir="/usr/X11R6/lib" libs="Xxf86vm" />
-+        <syslibset libs="GL, X11"/>
-+        <syslibset libs="Xxf86vm" />
-         <syslibset dir="${x11.cg.lib}" libs="Cg, CgGL" if="c.compiler.use-cglib"/>
-       </linker>
- 
-       <linker id="linker.cfg.linux.amd64.jogl" name="gcc">
--        <syslibset dir="/usr/X11R6/lib64" libs="GL, X11"/>
--        <syslibset dir="/usr/X11R6/lib64" libs="Xxf86vm" />
-+        <syslibset libs="GL, X11"/>
-+        <syslibset libs="Xxf86vm" />
-         <syslibset dir="${x11.cg.lib}" libs="Cg, CgGL" if="c.compiler.use-cglib"/>
-       </linker>
- 
-@@ -1018,6 +1027,7 @@
-                  destdir="${javadoc}" windowtitle="${javadoc.windowtitle}"
-                  overview="${javadoc.overview}" 
-                  source="1.4"
-+				classpath="${gluegen.jar}"
-                  linkoffline="${javadoc.link} 142-packages"
- 		 bottom="${javadoc.bottom}" >
-           <taglet name="net.highteq.nativetaglet.NativeTaglet" path="${gluegen.jar}" />

Deleted: trunk/libjogl2-java/debian/patches/cg-common.cfg.diff
===================================================================
--- trunk/libjogl2-java/debian/patches/cg-common.cfg.diff	2011-05-08 22:08:24 UTC (rev 13674)
+++ trunk/libjogl2-java/debian/patches/cg-common.cfg.diff	2011-05-08 22:09:03 UTC (rev 13675)
@@ -1,10 +0,0 @@
---- libjogl-java-1.1.1~rc7/jogl/make/cg-common.cfg.orig	2007-12-26 01:28:24.000000000 +0100
-+++ libjogl-java-1.1.1~rc7/jogl/make/cg-common.cfg	2007-12-26 01:28:34.000000000 +0100
-@@ -113,6 +113,6 @@
- #
- 
- CustomCCode #include <stdlib.h>
--CustomCCode #include <Cg/cgGL.h>
-+CustomCCode #include <CG/cgGL.h>
- 
- IncludeAs CustomJavaCode CgGL cg-common-CustomJavaCode.java

Deleted: trunk/libjogl2-java/debian/patches/defaultDebianPath.diff
===================================================================
--- trunk/libjogl2-java/debian/patches/defaultDebianPath.diff	2011-05-08 22:08:24 UTC (rev 13674)
+++ trunk/libjogl2-java/debian/patches/defaultDebianPath.diff	2011-05-08 22:09:03 UTC (rev 13675)
@@ -1,13 +0,0 @@
---- jogl-1.1.1.orig/jogl/src/classes/com/sun/opengl/impl/NativeLibLoader.java	2007-07-20 17:06:04.000000000 +0200
-+++ jogl-1.1.1/jogl/src/classes/com/sun/opengl/impl/NativeLibLoader.java	2008-12-29 13:42:13.000000000 +0100
-@@ -186,7 +186,9 @@
-           throw (UnsatisfiedLinkError) new UnsatisfiedLinkError().initCause(e);
-         }
-     } else {
--      System.loadLibrary(libraryName);
-+		String javaLibPath = System.getProperty("java.library.path") + File.pathSeparator + "/usr/lib/jni" + File.pathSeparator + "/usr/lib64/jni";
-+		System.setProperty("java.library.path", javaLibPath);
-+		System.loadLibrary(libraryName);
-     }
-   }
- }




More information about the pkg-java-commits mailing list