[lwjgl] 07/35: Drop allarchs.patch

Markus Koschany apo at moszumanska.debian.org
Sat Apr 9 20:38:49 UTC 2016


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

apo pushed a commit to branch master
in repository lwjgl.

commit ffb4237829a8863798502da897717ad7537448d2
Author: Markus Koschany <apo at debian.org>
Date:   Sat Apr 9 18:47:06 2016 +0200

    Drop allarchs.patch
---
 debian/patches/allarchs.patch | 73 -------------------------------------------
 debian/patches/series         |  1 -
 2 files changed, 74 deletions(-)

diff --git a/debian/patches/allarchs.patch b/debian/patches/allarchs.patch
deleted file mode 100644
index c5ba780..0000000
--- a/debian/patches/allarchs.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-Author: Gabriele Giacone <1o5g4r8o at gmail.com>
-Description: support for building on all architectures
-
---- a/platform_build/linux_ant/build.xml
-+++ b/platform_build/linux_ant/build.xml
-@@ -6,12 +6,14 @@
- 	<property name="libname64" value="liblwjgl64.so"/>
- 	<property name="libs32" value="-L/usr/X11R6/lib -L/usr/X11/lib -lm -lX11 -lXext -lXcursor -lXrandr -lpthread -L${java.home}/lib/i386 -ljawt" />
- 	<property name="libs64" value="-L/usr/X11R6/lib64 -L/usr/X11/lib64 -lm -lX11 -lXext -lXcursor -lXrandr -lXxf86vm -lpthread -L${java.home}/lib/amd64 -ljawt" />
-+	<property name="libs" value="-L/usr/X11R6/lib -L/usr/X11/lib -lm -lX11 -lXcursor -lXrandr -lXxf86vm -L${java.home}/lib/${os.arch}" />
- 	<property name="cflags32" value="-O2 -Wall -c -fPIC -std=c99 -Wunused"/>
- 
- 	<target name="clean">
- 		<delete>
- 			<fileset dir="x32"/>
- 			<fileset dir="x64"/>
-+			<fileset dir="deb"/>
- 			<fileset dir="." includes="*.o"/>
- 			<fileset dir="." includes="*.so"/>
- 		</delete>
-@@ -41,6 +43,7 @@
- 
- 		<property name="linker_flags32" value="${version_script_flags32} -shared -O2 -Wall -o ${libname32} ${libs32} ${xf86vm_lib}"/>
- 		<property name="linker_flags64" value="${version_script_flags64} -shared -O2 -Wall -o ${libname64} ${libs64} ${xf86vm_lib}"/>
-+		<property name="linker_flagsdeb" value="${version_script_flags32} -shared -O2 -Wall -o ${libname32} ${libs} ${xf86vm_lib}"/>
- 
-     	<condition property="build.32bit.only">
-     		<not>
-@@ -59,8 +62,11 @@
-     		</and>
-     	</condition>
- 
--    	<antcall target="compile32"/>
--    	<antcall target="compile64"/>
-+	<condition property="build.debian">
-+		<os name="Linux" />
-+	</condition>
-+
-+	<antcall target="compiledeb" />
-     </target>
- 
-     <target name="compile32" unless="build.64bit.only">
-@@ -114,4 +120,30 @@
- 			<fileset file="${libname64}"/>
- 		</apply>
-     </target>
-+
-+    <target name="compiledeb">    	
-+    	<mkdir dir="deb"/>
-+    	<apply dir="deb" executable="gcc" skipemptyfilesets="true" failonerror="true">
-+			<arg line="${cflags32} ${cflags_pthread}"/>
-+			<arg value="-I${java.home}/include"/>
-+			<arg value="-I${java.home}/include/linux"/>
-+			<arg value="-I${java.home}/../include"/>
-+			<arg value="-I${java.home}/../include/linux"/>
-+			<arg value="-I${java.home}/../include/solaris"/>
-+			<arg value="-I${native}/common"/>
-+			<arg value="-I${native}/linux"/>
-+			<mapper type="glob" from="*.c" to="*.o"/>
-+			<fileset dir="${native}/linux" includes="*.c"/>
-+			<fileset dir="${native}/generated" includes="*.c"/>
-+			<fileset dir="${native}/common" includes="*.c"/>
-+		</apply>
-+		<apply dir="." parallel="true" executable="gcc" failonerror="true">
-+			<srcfile/>
-+			<arg line="${linker_flagsdeb}"/>
-+			<fileset dir="deb" includes="*.o"/>
-+		</apply>
-+		<apply dir="." parallel="true" executable="strip" failonerror="true">
-+			<fileset file="${libname32}"/>
-+		</apply>
-+    </target>
- </project>
diff --git a/debian/patches/series b/debian/patches/series
index 352a151..fdffcde 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
-allarchs.patch
 systemjinput.patch
 javadoc.patch
 ppc64el.patch

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



More information about the pkg-java-commits mailing list