[dev-java/lwjgl] remove

Old and effectively unused.
This commit is contained in:
Sławomir Nizio
2015-06-12 22:32:02 +02:00
parent dda1d728c6
commit 7fa2d876b2
7 changed files with 0 additions and 362 deletions
-25
View File
@@ -1,25 +0,0 @@
# ChangeLog for dev-java/lwjgl
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
5 Feb 2011; James Le Cuirot <chewi@aura-online.co.uk>
-lwjgl-2.4.2-r1.ebuild, lwjgl-2.6-r1.ebuild:
Remove 2.4 now that 2.6 has been confirmed to work better with Minecraft. I
attempted to cross-compile the native library but it didn't work due to a
call to "uname" so now we just build it manually instead, avoiding that and
all the other issues.
30 Dec 2010; James Le Cuirot <chewi@aura-online.co.uk>
-lwjgl-2.4.2.ebuild, -lwjgl-2.6.ebuild, +lwjgl-2.4.2-r1.ebuild,
+lwjgl-2.6-r1.ebuild:
The xrandr application is required at run-time, as well as libXrandr.
19 Dec 2010; James Le Cuirot <chewi@aura-online.co.uk>
+lwjgl-2.4.2.ebuild, +lwjgl-2.6.ebuild:
Version bump and major cleanup. 2.4.2 is provided for Minecraft. Not sure
why it takes so long to build the native part. Seems to just sit there for
most of it. Did look at tests but they all require X or certain hardware.
22 Jan 2009; Alistair Bush <ali_bush@gentoo.org> metadata.xml,
lwjgl-1.0.ebuild:
QA Fixes.
-3
View File
@@ -1,3 +0,0 @@
DIST lwjgl-1.0_beta3.tar.gz 3946636 SHA256 f5234954bb9756a1f9acf8a4e1236455592265203ee57f76014e74eb1dc2b025
DIST lwjgl-source-1.0.zip 1469824 SHA256 5eb0e4b5baf7c6c56690a99cd892cf49144f957fec187716d385299f88fe07a0
DIST lwjgl-source-2.6.zip 2164141 SHA256 3046798e2bb81b35d9b7ff49905d60bbfe6117abf35277a0adda4a0807358125
-109
View File
@@ -1,109 +0,0 @@
diff -Nur lwjgl/build.xml lwjgl-new/build.xml
--- lwjgl/build.xml 2006-08-10 08:45:10.000000000 +0000
+++ lwjgl-new/build.xml 2006-09-10 23:39:36.000000000 +0000
@@ -359,7 +359,7 @@
<condition property="native_path" value="libs/macosx">
<os name="Mac OS X" />
</condition>
- <java classname="${test.mainclass}" classpath="${lwjgl.lib}/lwjgl.jar:${lwjgl.lib}/lwjgl_util.jar:${lwjgl.lib}/lwjgl_test.jar:${lwjgl.lib}/jinput.jar" fork="true">
+ <java classname="${test.mainclass}" classpath="${lwjgl.lib}/lwjgl.jar:${lwjgl.lib}/lwjgl_util.jar:${lwjgl.lib}/lwjgl_test.jar:${lwjgl.lib}/jinput.jar:${lwjgl.lib}/jutils.jar" fork="true">
<jvmarg value="-Dorg.lwjgl.util.Debug=true"/>
<jvmarg value="-Djava.library.path=${native_path}"/>
</java>
@@ -417,11 +417,13 @@
<copy file="${lwjgl.lib}/lwjgl_fmod3.jar" todir="applet"/>
<copy file="${lwjgl.lib}/lwjgl_devil.jar" todir="applet"/>
<copy file="${lwjgl.lib}/jinput.jar" todir="applet"/>
+ <copy file="${lwjgl.lib}/jutils.jar" todir="applet"/>
<zip destfile="applet/res.jar">
<zipfileset dir="${lwjgl.res}" includes="Footsteps.wav, ILtest.tga, Missing_you.mod"/>
</zip>
<signjar jar="applet/lwjgl.jar" alias="lwjgl" keystore="applet/lwjglkeystore" storepass="123456"/>
<signjar jar="applet/jinput.jar" alias="lwjgl" keystore="applet/lwjglkeystore" storepass="123456"/>
+ <signjar jar="applet/jutils.jar" alias="lwjgl" keystore="applet/lwjglkeystore" storepass="123456"/>
<signjar jar="applet/lwjgl_util_applet.jar" alias="lwjgl" keystore="applet/lwjglkeystore" storepass="123456"/>
<signjar jar="applet/lwjgl_fmod3.jar" alias="lwjgl" keystore="applet/lwjglkeystore" storepass="123456"/>
<signjar jar="applet/lwjgl_devil.jar" alias="lwjgl" keystore="applet/lwjglkeystore" storepass="123456"/>
@@ -433,6 +435,7 @@
<fileset dir="${lwjgl.temp}/native/" includes="**/*"/>
</delete>
<copy file="${lwjgl.lib}/jinput.jar" todir="${lwjgl.temp}/jar"/>
+ <copy file="${lwjgl.lib}/jutils.jar" todir="lwjgl.temp/jar"/>
<copy todir="${lwjgl.temp}/native/win32">
<fileset dir="${lwjgl.lib}/win32">
<patternset refid="lwjgl-win32.fileset" />
@@ -474,7 +477,7 @@
<!-- Compiles the Java source code -->
<target name="compile" description="Compiles the java source code" depends="-initialize">
- <javac debug="yes" destdir="${lwjgl.bin}" includes="org/lwjgl/opengl/**" source="1.4" target="1.4" classpath="${lwjgl.lib}/jinput.jar" taskname="core">
+ <javac debug="yes" destdir="${lwjgl.bin}" includes="org/lwjgl/opengl/**" source="1.4" target="1.4" classpath="${lwjgl.lib}/jinput.jar:${lwjgl.lib}/jutils.jar" taskname="core">
<src path="${lwjgl.src}/java/"/>
<src path="${lwjgl.src}/generated/"/>
<include name="org/lwjgl/*.java"/>
@@ -573,7 +576,7 @@
</javac>
</target>
- <target name="generate-all" depends="generate-openal, generate-opengl, generate-opengl-capabilities, generate-opengl-references" description="Generates java and native source"/>
+ <target name="generate-all" depends="-initialize, generate-openal, generate-opengl, generate-opengl-capabilities, generate-opengl-references" description="Generates java and native source"/>
<target name="generate-openal" depends="generators" description="Generates java and native source for AL">
<!-- Generate OpenAL -->
@@ -777,6 +780,7 @@
<signjar jar="${lwjgl.temp}/jnlp/native_macosx.jar" alias="lwjgl" keystore="applet/lwjglkeystore" storepass="123456"/>
<signjar jar="${lwjgl.temp}/jnlp/native_win32.jar" alias="lwjgl" keystore="applet/lwjglkeystore" storepass="123456"/>
<signjar jar="${lwjgl.temp}/jnlp/jinput.jar" alias="lwjgl" keystore="applet/lwjglkeystore" storepass="123456"/>
+ <signjar jar="${lwjgl.temp}/jnlp/jutils.jar}" alisa="lwjgl" keystore="applet/lwjglkeystore" storepass="123456"/>
</target>
<!-- -->
diff -Nur lwjgl/platform_build/linux_ant/build.xml lwjgl-new/platform_build/linux_ant/build.xml
--- lwjgl/platform_build/linux_ant/build.xml 2006-07-11 21:46:44.000000000 +0000
+++ lwjgl-new/platform_build/linux_ant/build.xml 2006-09-11 00:57:27.000000000 +0000
@@ -4,8 +4,8 @@
<property name="native" location="../../src/native"/>
<property name="libname32" value="liblwjgl.so"/>
<property name="libname64" value="liblwjgl64.so"/>
- <property name="libs32" value="-L/usr/X11R6/lib -L/usr/X11/lib -lm -lX11 -lXext -lpthread -L${java.home}/lib/i386 -ljawt -Wl,-static,-lXxf86vm,-lXcursor,-lXrender,-lXrandr,-lXfixes,-call_shared"/>
- <property name="libs64" value="-L/usr/X11R6/lib64 -L/usr/X11/lib64 -lm -lX11 -lXext -lpthread -L${java.home}/lib/amd64 -ljawt -lXxf86vm -lXcursor -lXrender -lXrandr -lXfixes"/>
+ <property name="libs32" value="-L/usr/X11R6/lib -L/usr/X11/lib -lm -lX11 -lXext -lpthread -L${java.home}/jre/lib/i386 -ljawt -Wl,-static,-lXxf86vm,-lXcursor,-lXrender,-lXrandr,-lXfixes,-call_shared"/>
+ <property name="libs64" value="-L/usr/X11R6/lib64 -L/usr/X11/lib64 -lm -lX11 -lXext -lpthread -L${java.home}/jre/lib/amd64 -ljawt -lXxf86vm -lXcursor -lXrender -lXrandr -lXfixes"/>
<property name="cflags" value="-O2 -Wall -c -fPIC -std=c99 -pthread"/>
<target name="clean">
@@ -17,7 +17,7 @@
<target name="compile">
<exec executable="uname" outputproperty="hwplatform">
- <arg value="-i"/>
+ <arg value="-m"/>
</exec>
<condition property="libs" value="${libs64}" else="${libs32}">
<equals arg1="${hwplatform}" arg2="x86_64"/>
@@ -26,6 +26,9 @@
<equals arg1="${hwplatform}" arg2="x86_64"/>
</condition>
<property name="linker_flags" value="-Wl,--version-script=${native}/linux/lwjgl.map -shared -O2 -Wall -o ${libname} ${libs}"/>
+ <echo message="${java.home}"/>
+ <echo message="${native}"/>
+ <echo message="${cflags}"/>
<apply dir="." executable="cc" dest="." skipemptyfilesets="true" failonerror="true">
<arg line="${cflags}"/>
<arg value="-I${java.home}/include"/>
@@ -37,14 +40,12 @@
<fileset dir="${native}/generated" includes="*.c"/>
<fileset dir="${native}/common" includes="*.c"/>
</apply>
+ <echo message="${linker_flags}"/>
<apply dir="." parallel="true" executable="cc" failonerror="true">
<srcfile/>
<arg line="${linker_flags}"/>
<fileset dir="." includes="*.o"/>
</apply>
- <apply dir="." parallel="true" executable="strip" failonerror="true">
- <fileset file="${libname}"/>
- </apply>
</target>
</project>
-66
View File
@@ -1,66 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# uses the javah task
WANT_ANT_TASKS="ant-nodeps"
JAVA_PKG_IUSE="devil doc source"
inherit java-pkg-2 java-ant-2 eutils
# See for dev info
# http://overlays.gentoo.org/proj/java/wiki/
# Java_Games_ProjectLightWeightJavaGameLibraryLWJGL
MY_PV="$(delete_version_separator 2)"
DESCRIPTION="The Lightweigth Java Game Library (LWJGL)"
HOMEPAGE="http://www.lwjgl.org"
SRC_URI="mirror://sourceforge/java-game-lib/${PN}-source-${PV}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE=""
CDEPEND="virtual/opengl
media-libs/openal
dev-java/jinput
dev-java/jutils"
DEPEND=">=virtual/jdk-1.5
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXrandr
x11-proto/xf86vidmodeproto
x11-proto/xproto
${CDEPEND}"
#TODO: the library for devil seems to be only needed at runtime
# check how it behaves with code that is using it when the library is not there
RDEPEND=">=virtual/jre-1.5
devil? ( media-libs/devil )
x11-libs/libX11
x11-libs/libXext
${CDEPEND}"
S="${WORKDIR}"
src_unpack() {
unpack ${A}
cd "${S}"
#eant clean clean-generated
mkdir bin
java-ant_rewrite-classpath build.xml
}
#EANT_BUILD_TARGET="generate-all all"
EANT_BUILD_TARGET="all"
EANT_GENTOO_CLASSPATH="jinput,jutils"
# needs com.sun.* from tools.jar for code generation
# EANT_EXTRA_ARGS="-Dbuild.sysclasspath=first"
src_install() {
java-pkg_dojar libs/lwjgl*jar
java-pkg_doso libs/linux/*.so
use doc && java-pkg_dojavadoc doc/javadoc
use source && java-pkg_dosrc src/java/org
}
-74
View File
@@ -1,74 +0,0 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
WANT_ANT_TASKS="ant-nodeps"
inherit java-pkg-2 java-ant-2 eutils
# See for dev info
# http://overlays.gentoo.org/proj/java/wiki/
# Java_Games_ProjectLightWeightJavaGameLibraryLWJGL
MY_PV="$(delete_version_separator 2)"
DESCRIPTION="The Lightweigth Java Game Library (LWJGL)"
HOMEPAGE="http://www.lwjgl.org"
SRC_URI="http://www.counties.co.nz/alistair/distfiles/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc devil"
CDEPEND="virtual/opengl
media-libs/openal
dev-java/jinput
dev-java/jutils
x11-libs/libXrandr
x11-libs/libXxf86vm
x11-libs/libXcursor
devil? ( media-libs/devil )"
DEPEND=">=virtual/jdk-1.5
>=dev-java/ant-core-1.5
${CDEPEND}"
RDEPEND=">=virtual/jre-1.5
${CDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/fix-linux-build.patch"
eant clean clean-generated
# libs is the final install path for jars and so's
rm -vr libs/*
mkdir libs/linux
cd libs
java-pkg_jarfrom jinput
java-pkg_jarfrom jutils
cd linux
}
src_compile() {
# Using com.sun.mirror.declaration from tools.jar
eant -Djava.home=${JAVA_HOME} generate-all all $(use_doc javadoc) \
-Dbuild.sysclasspath=first
}
src_install() {
cd libs
java-pkg_dojar lwjgl.jar lwjgl_util.jar
use devil && java-pkg_dojar lwjgl_devil.jar
if use amd64; then
cp linux/liblwjgl64.so linux/liblwjgl.so || die
fi
java-pkg_doso linux/liblwjgl.so
#if use_doc; then
# cd ${S}/doc
# mv javadoc api
# java-pkg_dohtml -r api
#fi
cd "${S}"
use_doc && java-pkg_dojavadoc doc/javadoc
}
-67
View File
@@ -1,67 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
# Uses the javah task.
WANT_ANT_TASKS="ant-nodeps"
JAVA_PKG_IUSE="doc source"
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="The Lightweight Java Game Library (LWJGL)"
HOMEPAGE="http://www.lwjgl.org"
SRC_URI="mirror://sourceforge/java-game-lib/${PN}-source-${PV}.zip"
LICENSE="BSD"
SLOT="2.6"
KEYWORDS="~amd64 ~x86"
IUSE=""
CDEPEND="dev-java/apple-java-extensions-bin
dev-java/apt-mirror
dev-java/jinput
dev-java/jutils
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXrandr
x11-libs/libXxf86vm"
DEPEND="${CDEPEND}
>=virtual/jdk-1.5
x11-proto/xproto"
RDEPEND="${CDEPEND}
>=virtual/jre-1.5
media-libs/openal
virtual/opengl
x11-apps/xrandr"
S="${WORKDIR}"
JAVA_PKG_BSFIX_NAME="build.xml build-generator.xml"
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="apple-java-extensions-bin apt-mirror jinput jutils"
EANT_BUILD_TARGET="jars headers"
src_compile() {
# Build the JARs and headers.
java-pkg-2_src_compile
# Add "64" for amd64.
local BITS=
use amd64 && BITS=64
# Their native build script sucks.
cd "${S}/src/native" || die
LIBRARY_PATH="$(java-config -g LDPATH)" gcc -shared -fPIC -std=c99 -pthread -Wall -Wl,--version-script=linux/${PN}.map -Wl,-z -Wl,defs ${CFLAGS} ${LDFLAGS} $(java-pkg_get-jni-cflags) -I{common,linux} {linux,generated,common}/*.c -lm -lX11 -lXcursor -lXrandr -lXxf86vm -ljawt -ldl -o lib${PN}${BITS}.so || die
}
src_install() {
java-pkg_dojar libs/${PN}*.jar
java-pkg_doso src/native/lib${PN}*.so
use doc && java-pkg_dojavadoc doc/javadoc
use source && java-pkg_dosrc src/java/org
}
-18
View File
@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
<maintainer>
<email>alistair.bush at gmail.com</email>
<name>Alistair Bush</name>
</maintainer>
<longdescription lang="en">
The Lightweight Java Game Library (LWJGL) is a solution aimed directly at
professional and amateur Java programmers alike to enable commercial quality
games to be written in Java. LWJGL provides developers access to high
performance crossplatform libraries such as OpenGL (Open Graphics Library) and
OpenAL (Open Audio Library) allowing for state of the art 3D games and 3D sound
</longdescription>
<use><flag name="devil">TODO describe this use flag</flag></use>
</pkgmetadata>