diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/bfm | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/bfm')
-rw-r--r-- | app-misc/bfm/Manifest | 5 | ||||
-rw-r--r-- | app-misc/bfm/bfm-1.2-r2.ebuild | 64 | ||||
-rw-r--r-- | app-misc/bfm/files/1.2-r2-build.xml | 75 | ||||
-rw-r--r-- | app-misc/bfm/files/1.2-r2-package.patch | 313 | ||||
-rw-r--r-- | app-misc/bfm/metadata.xml | 16 |
5 files changed, 473 insertions, 0 deletions
diff --git a/app-misc/bfm/Manifest b/app-misc/bfm/Manifest new file mode 100644 index 000000000000..00bb0aae2a3a --- /dev/null +++ b/app-misc/bfm/Manifest @@ -0,0 +1,5 @@ +AUX 1.2-r2-build.xml 2020 BLAKE2B 7432c22c7d0ba7b4297455724d365e95ebbc1f0470c06b83539c93275e1cbe281ada6be7cf3578a783782be4911be2bc094a5d36d1343c1e355d4d5e024964bf SHA512 422208eb70459b94b6d5eb831c5796cfe178b2042dd6aee4fc0c1ed15949b46eac5e817460ba3391fbaad7f287e6260f6ed436e49d84ab41fac2453518aae6a4 +AUX 1.2-r2-package.patch 10235 BLAKE2B f767f00a81b8ffe5c831604f2ecc7b6c0b7f3bb86ff22925c4a8e5c2fc2010947c1f5775cb5da857fd66f5d6bd70f5a9c031c1ae59ddfe89ebdd9b9eb2ca5919 SHA512 9b754c0dac3f7f8763acc80ae9fe618dca32df319dc2b928ec856debc4f539f6f39fa6dde92eb871dcccb9197f7aecbac6b65b7705d476c0b73e6611e979dbce +DIST bfm-1.2.tar.gz 193924 BLAKE2B 8d398188333519b581a8eb4e38fc123672ba0a68077347f4049e5f0ec9dc06010b5e6003500452dad71deb67fe97e5ea896ec9ab425eca82022a12e03320b3ec SHA512 39a9a250a8f3cf3b148c31a9fa5a89ac9a5873884dc1a98840b2f21879b30bd7cc6cc5dd9c5f7e657090a56276dbef2a72594e095aec8c05f3e003f89e91daee +EBUILD bfm-1.2-r2.ebuild 1342 BLAKE2B ba316b23f2aa3d0885c791decef0ceadbf15e56933a6ab4f0cd2a322b946576fb9bae58eda0a34798f44a0abcf49452ce0e1d7d23070adda6490a944a1320a18 SHA512 847c1da49ca1d39301a46fc522f8c1c2143cff3ba613413a3aba8c624908aef2401931285b1a003be73bcd7610f6b94bd9a84351fd1fbb74718e952167f5d677 +MISC metadata.xml 550 BLAKE2B df05e7ad2cc4aca624ad2a377fd7e555cb6c5c600b2860558628746ae6361649b0dcdb4e76a4740a4b37e3bfa91b2debbd8019db1a87caa804bee552461e9283 SHA512 755c28c22ed330af89b04ee96ed3912016dc473813b8730bca2eea7548c4e9f4953a7f645512e46627b4e9a6bddb243fe8e41a4a489325a4bd13209b4d83cfdd diff --git a/app-misc/bfm/bfm-1.2-r2.ebuild b/app-misc/bfm/bfm-1.2-r2.ebuild new file mode 100644 index 000000000000..b28cee6a8636 --- /dev/null +++ b/app-misc/bfm/bfm-1.2-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="File manager and first person shooter written in Java3D, shoot to remove files" +HOMEPAGE="http://bfm.webhop.net" +SRC_URI="http://bfm.webhop.net/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +CDEPEND="dev-java/sun-java3d-bin:0" + +RDEPEND=">=virtual/jre-1.4 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.4 + ${CDEPEND}" + +java_prepare() { + cp "${FILESDIR}"/${PVR}-build.xml ./build.xml || die + + mkdir lib || die + pushd lib + java-pkg_jar-from sun-java3d-bin + popd + + epatch "${FILESDIR}"/${PVR}-package.patch + + mkdir -p net/webhop/bfm || die + mv src/* net/webhop/bfm/ || die +} + +EANT_DOC_TARGET="docs" + +src_install() { + local java3d="sun-java3d-bin" + + java-pkg_dojar dist/${PN}.jar + java-pkg_dolauncher ${PN} --main net.webhop.bfm.Bfm + + insinto /etc/bfm + doins "${S}/bfm.conf" + + if use doc; then + dodoc README ChangeLog bindings NEWS + java-pkg_dohtml -r docs/* + fi + + use source && java-pkg_dosrc src/* +} + +pkg_postinst() { + elog "A system wide config file has been installed to /etc/bfm/bfm.conf" + elog "Copy the file to ~/.bfm/bfm.conf to set local settings" + echo + ewarn "Be sure to run bfm in safe mode if you don't want to delete files" +} diff --git a/app-misc/bfm/files/1.2-r2-build.xml b/app-misc/bfm/files/1.2-r2-build.xml new file mode 100644 index 000000000000..3c056688129d --- /dev/null +++ b/app-misc/bfm/files/1.2-r2-build.xml @@ -0,0 +1,75 @@ +<?xml version="1.0"?> + +<project name="bfm" default="jar"> + <!-- some properties --> + <property name="src.dir" value="net" /> + <property name="build.dir" value="build" /> + <property name="docs.dir" value="docs" /> + <property name="dist.dir" value="dist" /> + <property name="lib.dir" value="lib" /> + <property name="jarfile" value="${dist.dir}/${ant.project.name}.jar" /> + <property name="target.jdk" value="1.4" /> + + <!-- init --> + <target name="init"> + <mkdir dir="${dist.dir}" /> + <mkdir dir="${build.dir}" /> + <mkdir dir="${docs.dir}" /> + </target> + + <!-- classpath --> + <path id="refcp"> + <fileset dir="${lib.dir}"> + <include name="**/*.jar" /> + </fileset> + </path> + + <!-- compile everything --> + <target name="compile" depends="init"> + <mkdir dir="${build.dir}" /> + <javac srcdir="${src.dir}" + destdir="${build.dir}" + source="${target.jdk}" + target="${target.jdk}" + classpathref="refcp" /> + + <copy todir="${build.dir}"> + <fileset file="${src.dir}/webhop/bfm/data" /> + </copy> + <copy todir="${build.dir}/net/webhop/bfm/data"> + <fileset dir="${src.dir}/webhop/bfm/data" /> + </copy> + </target> + + <!-- build the jar file --> + <target name="jar" depends="compile"> + <jar jarfile="${jarfile}" basedir="${build.dir}" + manifest="${src.dir}/webhop/bfm/data/manifest" /> + </target> + + <!-- generate javadocs --> + <target name="docs" depends="init"> + <javadoc sourcepath="." + packagenames="*" + destdir="${docs.dir}" + author="true" + version="true" + use="true" + windowtitle="${ant.project.name} API" /> + </target> + + <!-- clean up --> + <target name="clean"> + <delete dir="${build.dir}" /> + <delete dir="${docs.dir}" /> + <delete dir="${dist.dir}" /> + </target> + + <!-- zip the sources --> + <target name="sourcezip"> + <zip destfile="${dist.dir}/${ant.project.name}-src.zip"> + <zipfileset dir="${src.dir}" /> + </zip> + </target> + +</project> diff --git a/app-misc/bfm/files/1.2-r2-package.patch b/app-misc/bfm/files/1.2-r2-package.patch new file mode 100644 index 000000000000..7b3db3a4415d --- /dev/null +++ b/app-misc/bfm/files/1.2-r2-package.patch @@ -0,0 +1,313 @@ +diff -urN a/src/Bfm.java b/src/Bfm.java +--- a/src/Bfm.java 2005-02-22 03:07:39.000000000 +0100 ++++ b/src/Bfm.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import javax.swing.*;
+ import com.sun.j3d.utils.universe.*;
+diff -urN a/src/Blood.java b/src/Blood.java +--- a/src/Blood.java 2005-01-08 23:45:41.000000000 +0100 ++++ b/src/Blood.java 2013-06-10 08:37:16.978094948 +0200 +@@ -26,6 +26,8 @@ + A big thank to Andrew for letting us use his code! + */ + ++package net.webhop.bfm; ++ + import javax.media.j3d.*; + import javax.vecmath.*; + import com.sun.j3d.utils.image.*; +diff -urN a/src/DroppedDynamite.java b/src/DroppedDynamite.java +--- a/src/DroppedDynamite.java 2004-12-31 14:23:44.000000000 +0100 ++++ b/src/DroppedDynamite.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Dynamite.java b/src/Dynamite.java +--- a/src/Dynamite.java 2005-02-18 21:24:29.000000000 +0100 ++++ b/src/Dynamite.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Explotion.java b/src/Explotion.java +--- a/src/Explotion.java 2005-02-20 23:55:12.000000000 +0100 ++++ b/src/Explotion.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import com.sun.j3d.utils.geometry.*; + import javax.media.j3d.*; + import javax.vecmath.*; +diff -urN a/src/FSDefault.java b/src/FSDefault.java +--- a/src/FSDefault.java 2005-01-04 16:02:08.000000000 +0100 ++++ b/src/FSDefault.java 2013-06-10 08:37:16.978094948 +0200 +@@ -20,6 +20,8 @@ + /* FS stands for FileShape but is actually an transformgroup
+ containing the visuall shape of the FileObjet*/
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSDocument.java b/src/FSDocument.java +--- a/src/FSDocument.java 2005-01-04 16:02:08.000000000 +0100 ++++ b/src/FSDocument.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSPicture.java b/src/FSPicture.java +--- a/src/FSPicture.java 2005-02-22 02:29:54.000000000 +0100 ++++ b/src/FSPicture.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSVideo.java b/src/FSVideo.java +--- a/src/FSVideo.java 2005-01-04 16:02:08.000000000 +0100 ++++ b/src/FSVideo.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FileObject.java b/src/FileObject.java +--- a/src/FileObject.java 2005-02-20 23:55:12.000000000 +0100 ++++ b/src/FileObject.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/GrapplingHook.java b/src/GrapplingHook.java +--- a/src/GrapplingHook.java 2005-01-03 06:03:50.000000000 +0100 ++++ b/src/GrapplingHook.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Hud.java b/src/Hud.java +--- a/src/Hud.java 2005-02-21 19:14:18.000000000 +0100 ++++ b/src/Hud.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import com.sun.j3d.utils.geometry.*; + import java.awt.*; + import javax.media.j3d.*; +diff -urN a/src/OpenDialog.java b/src/OpenDialog.java +--- a/src/OpenDialog.java 2005-02-21 18:36:44.000000000 +0100 ++++ b/src/OpenDialog.java 2013-06-10 08:37:16.978094948 +0200 +@@ -16,6 +16,9 @@ + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ ++ ++package net.webhop.bfm; ++ + import javax.swing.plaf.*; + import java.awt.*; + import java.awt.event.*; +diff -urN a/src/Pattern.java b/src/Pattern.java +--- a/src/Pattern.java 2004-12-31 14:22:27.000000000 +0100 ++++ b/src/Pattern.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import javax.vecmath.*; + + public abstract class Pattern { +diff -urN a/src/PatternCircle.java b/src/PatternCircle.java +--- a/src/PatternCircle.java 2004-12-31 14:22:27.000000000 +0100 ++++ b/src/PatternCircle.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import javax.vecmath.*; + + public class PatternCircle extends Pattern { +diff -urN a/src/PhysicsHandler.java b/src/PhysicsHandler.java +--- a/src/PhysicsHandler.java 2005-02-21 18:36:44.000000000 +0100 ++++ b/src/PhysicsHandler.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import java.io.*;
+diff -urN a/src/Player.java b/src/Player.java +--- a/src/Player.java 2005-02-21 18:30:54.000000000 +0100 ++++ b/src/Player.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import com.sun.j3d.utils.universe.*; + import javax.media.j3d.*; + import javax.vecmath.*; +diff -urN a/src/Rocket.java b/src/Rocket.java +--- a/src/Rocket.java 2004-12-31 14:22:27.000000000 +0100 ++++ b/src/Rocket.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/RocketLauncher.java b/src/RocketLauncher.java +--- a/src/RocketLauncher.java 2005-01-08 01:22:40.000000000 +0100 ++++ b/src/RocketLauncher.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Room.java b/src/Room.java +--- a/src/Room.java 2005-02-20 23:55:12.000000000 +0100 ++++ b/src/Room.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import java.io.*;
+diff -urN a/src/RoomObject.java b/src/RoomObject.java +--- a/src/RoomObject.java 2005-02-20 23:55:12.000000000 +0100 ++++ b/src/RoomObject.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import javax.media.j3d.*; + + public abstract class RoomObject extends BranchGroup { +diff -urN a/src/Shotgun.java b/src/Shotgun.java +--- a/src/Shotgun.java 2005-01-08 01:22:40.000000000 +0100 ++++ b/src/Shotgun.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/SniperRifle.java b/src/SniperRifle.java +--- a/src/SniperRifle.java 2005-02-20 18:16:14.000000000 +0100 ++++ b/src/SniperRifle.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Spear.java b/src/Spear.java +--- a/src/Spear.java 2005-01-03 02:00:41.000000000 +0100 ++++ b/src/Spear.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Wall.java b/src/Wall.java +--- a/src/Wall.java 2005-01-03 20:40:55.000000000 +0100 ++++ b/src/Wall.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/Weapon.java b/src/Weapon.java +--- a/src/Weapon.java 2005-02-21 18:36:44.000000000 +0100 ++++ b/src/Weapon.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import javax.media.j3d.*; + import javax.vecmath.*; + import com.sun.j3d.utils.picking.*; diff --git a/app-misc/bfm/metadata.xml b/app-misc/bfm/metadata.xml new file mode 100644 index 000000000000..46e235531ce3 --- /dev/null +++ b/app-misc/bfm/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> +</maintainer> + +<longdescription> + BFM, the Brutal File Manager is a combined file manager and first + person shooter game. The basic idea is to represent different folders + on your computer as rooms in a 3D environment. Then, armed to your + teeths you go through these rooms and delete files by shooting at them. +</longdescription> + +</pkgmetadata> |