[Lunar-commits] r23275 - in moonbase/trunk: audio audio/fmodapi games games/dn3d_hrp games/jfduke3d

Dennis Veatch stumbles at lunar-linux.org
Thu Feb 15 21:10:00 CET 2007


Author: stumbles
Date: 2007-02-15 21:10:00 +0100 (Thu, 15 Feb 2007)
New Revision: 23275

Added:
   moonbase/trunk/audio/fmodapi/
   moonbase/trunk/audio/fmodapi/BUILD
   moonbase/trunk/audio/fmodapi/DETAILS
   moonbase/trunk/games/dn3d_hrp/
   moonbase/trunk/games/dn3d_hrp/BUILD
   moonbase/trunk/games/dn3d_hrp/DEPENDS
   moonbase/trunk/games/dn3d_hrp/DETAILS
   moonbase/trunk/games/dn3d_hrp/PRE_BUILD
   moonbase/trunk/games/jfduke3d/
   moonbase/trunk/games/jfduke3d/BUILD
   moonbase/trunk/games/jfduke3d/DEPENDS
   moonbase/trunk/games/jfduke3d/DETAILS
   moonbase/trunk/games/jfduke3d/PRE_BUILD
Log:

Initial import. I believe all the dependencies are covered. If
not let me know.

There is one minor nit. When run /tmp/tmpsong.mid gets created 
with the current user permissions. So if another user logs in to
run jfduke3d, it will not. So you can either delete it or change
it to something like games:games.

Also just so everyone is aware. The duke3d.grp files are not something
that can be freely passed around. All else is GPLed or very end
user flexible.



Added: moonbase/trunk/audio/fmodapi/BUILD
===================================================================
--- moonbase/trunk/audio/fmodapi/BUILD	                        (rev 0)
+++ moonbase/trunk/audio/fmodapi/BUILD	2007-02-15 20:10:00 UTC (rev 23275)
@@ -0,0 +1,9 @@
+(
+
+  prepare_install &&
+
+  cp api/inc/*.h /usr/include/                        &&
+  cp api/libfmod-3.75.so /usr/lib/libfmod-3.75.so     &&
+  ln -sf /usr/lib/libfmod-3.75.so /usr/lib/libfmod.so
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/audio/fmodapi/DETAILS
===================================================================
--- moonbase/trunk/audio/fmodapi/DETAILS	                        (rev 0)
+++ moonbase/trunk/audio/fmodapi/DETAILS	2007-02-15 20:10:00 UTC (rev 23275)
@@ -0,0 +1,19 @@
+          MODULE=fmodapi
+         VERSION=375linux
+          SOURCE=$MODULE$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VERSION
+      SOURCE_URL=http://www.fmod.org/files/
+      SOURCE_VFY=sha1:70ee5938ebad57a825aa567273699f5d042be4ac
+        WEB_SITE=http://www.fmod.org/
+         ENTERED=20070215
+         UPDATED=20070215
+      MAINTAINER=dennisveatch at bellsouth.net
+           SHORT="cross platform audio library and toolset"
+cat << EOF
+FMOD is a cross platform audio library and toolset to let you easily
+implement the latest audio technologies into your title.
+
+FMOD now supports 13 platforms!
+  Win32, Win64, WinCE, Linux, Linux64, Macintosh (os8/9/10/x86)
+  PS2, PSP, PS3, Xbox, Xbox 360,GameCube, Wii
+EOF

Added: moonbase/trunk/games/dn3d_hrp/BUILD
===================================================================
--- moonbase/trunk/games/dn3d_hrp/BUILD	                        (rev 0)
+++ moonbase/trunk/games/dn3d_hrp/BUILD	2007-02-15 20:10:00 UTC (rev 23275)
@@ -0,0 +1,43 @@
+(
+
+  cd $SOURCE_DIRECTORY &&
+
+  PREFIX=/usr/games/jfduke3d/
+
+  HRP_DIRS="`find -type d -print | cut -c 3-`"
+  HRP_FILES="`find -type f -print | cut -c 3-`"
+
+# Fix a few character case issues
+  cd highres/sprites   &&
+  sedit "s:enforcerArm:enforcerarm:" jibs.def
+  sedit "s:enforcerLeg:enforcerleg:" jibs.def
+  sedit "s:Props:props:g" props.def
+  sedit "s:MD2:md2:g" signs.def
+  sedit "s:_Eye:_eye:g" jibs.def
+  sedit "s:Sushiplate4:sushiplate4:g" props.def
+  sedit "s:Donuts.:donuts.:g" props.def
+  sedit "s:Mailbag.:mailbag.:g" props.def
+  sedit "s:Meter.:meter.:g" props.def
+  sedit "s:Foodobject11.:foodobject11.:g" props.def
+  sedit "s:Foodobject13.:foodobject13.:g" props.def
+  sedit "s:Foodobject14.:foodobject14.:g" props.def
+  sedit "s:Foodobject15.:foodobject15.:g" props.def
+  sedit "s:Foodobject16.:foodobject16.:g" props.def
+
+  cd $SOURCE_DIRECTORY &&
+  prepare_install      &&
+
+  install -g games duke3d.def $PREFIX      &&
+  install -g games duke3d_hrp.def $PREFIX  &&
+
+  for i in $HRP_DIRS; do
+    install -g games -d $i $PREFIX/$i
+  done
+
+  for i in $HRP_FILES; do
+    install -g games $i $PREFIX/$i
+  done
+
+  gather_docs hrp_readme.txt
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/games/dn3d_hrp/DEPENDS
===================================================================
--- moonbase/trunk/games/dn3d_hrp/DEPENDS	                        (rev 0)
+++ moonbase/trunk/games/dn3d_hrp/DEPENDS	2007-02-15 20:10:00 UTC (rev 23275)
@@ -0,0 +1 @@
+depends jfduke3d

Added: moonbase/trunk/games/dn3d_hrp/DETAILS
===================================================================
--- moonbase/trunk/games/dn3d_hrp/DETAILS	                        (rev 0)
+++ moonbase/trunk/games/dn3d_hrp/DETAILS	2007-02-15 20:10:00 UTC (rev 23275)
@@ -0,0 +1,15 @@
+          MODULE=dn3d_hrp
+         VERSION=2005-11-01
+          SOURCE=$MODULE-$VERSION.zip
+      SOURCE_URL=http://plagman.free.fr/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+      SOURCE_VFY=sha1:efa2497ef001582d1a0b5a73038b733b4086fe9c
+        WEB_SITE=http://hrp.duke4.net/download.php
+         ENTERED=20070215
+         UPDATED=20070215
+      MAINTAINER=dennisveatch at bellsouth.net
+           SHORT="Duke Nukem High Resolution Pack"
+
+cat << EOF
+This is the high resolutin pack for Duke Numkem.
+EOF

Added: moonbase/trunk/games/dn3d_hrp/PRE_BUILD
===================================================================
--- moonbase/trunk/games/dn3d_hrp/PRE_BUILD	                        (rev 0)
+++ moonbase/trunk/games/dn3d_hrp/PRE_BUILD	2007-02-15 20:10:00 UTC (rev 23275)
@@ -0,0 +1,9 @@
+mkdir -p $SOURCE_DIRECTORY  &&
+cd $SOURCE_DIRECTORY        &&
+unzip -LL -o $SOURCE_CACHE/$SOURCE &&
+unzip -LL -o duke3d_hrp.zip        &&
+unzip -LL -o maphacks_13d/maphacks.zip -d maphacks_13d &&
+unzip -LL -o maphacks_atomic/maphacks.zip -d maphacks_atomic
+
+# Don't need these anymore.
+rm duke3d_hrp.zip maphacks_13d/maphacks.zip maphacks_atomic/maphacks.zip

Added: moonbase/trunk/games/jfduke3d/BUILD
===================================================================
--- moonbase/trunk/games/jfduke3d/BUILD	                        (rev 0)
+++ moonbase/trunk/games/jfduke3d/BUILD	2007-02-15 20:10:00 UTC (rev 23275)
@@ -0,0 +1,35 @@
+(
+
+# First we need to setup the game engine.
+  cd jfbuild_src_$VERSION            &&
+  patch_it $SOURCE_CACHE/$SOURCE4 1  &&
+  sedit "s:-march=pentium::" Makefile
+
+# Need the fmodapi headers in the jfbuild include src tree
+  cp -f /usr/include/fmod*.h include/  &&
+  make                                 &&
+
+# Now lets conjure up Duke himself
+  cd ..  &&
+  patch_it $SOURCE_CACHE/$SOURCE3 1 &&
+  sedit "s:../build:jfbuild_src_$VERSION:" Makefile
+  sedit "s:-march=pentium::" Makefile
+  make              &&
+  prepare_install   &&
+
+  if [ ! -d /usr/games/jfduke3d ]; then
+     mkdir /usr/games/jfduke3d
+   else
+     chown games:games /usr/games/jfduke3d
+  fi
+
+  install -g games -m 755 build* /usr/games/jfduke3d  &&
+  install -g games -m 755 duke3d* /usr/games/jfduke3d &&
+
+  gather_docs duke3d.map GNU.TXT readme.txt releasenotes.html \
+              build.cfg jfbuild_src_$VERSION/buildlic.txt     \
+              jfbuild_src_$VERSION/ChangeLog                  \
+              jfbuild_src_$VERSION/LICENSE                    \
+              jfbuild_src_$VERSION/README
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/games/jfduke3d/DEPENDS
===================================================================
--- moonbase/trunk/games/jfduke3d/DEPENDS	                        (rev 0)
+++ moonbase/trunk/games/jfduke3d/DEPENDS	2007-02-15 20:10:00 UTC (rev 23275)
@@ -0,0 +1,5 @@
+depends  nasm        &&
+depends  atk         &&
+depends  pango       &&
+depends  SDL_mixer   &&
+depends  fmodapi

Added: moonbase/trunk/games/jfduke3d/DETAILS
===================================================================
--- moonbase/trunk/games/jfduke3d/DETAILS	                        (rev 0)
+++ moonbase/trunk/games/jfduke3d/DETAILS	2007-02-15 20:10:00 UTC (rev 23275)
@@ -0,0 +1,31 @@
+          MODULE=jfduke3d
+         VERSION=20051009
+          SOURCE=$MODULE\_src\_$VERSION.zip
+         SOURCE2=jfbuild\_src\_$VERSION.zip
+         SOURCE3=$MODULE\_src\_$VERSION.patch
+         SOURCE4=jfbuild\_src\_$VERSION.patch
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE\_src\_$VERSION
+      SOURCE_URL=http://jonof.edgenetwork.org/dl/buildport/
+     SOURCE2_URL=http://jonof.edgenetwork.org/dl/buildport/
+     SOURCE3_URL=http://www.mephisto.ma.cx/mephisto/patches/
+     SOURCE4_URL=http://www.mephisto.ma.cx/mephisto/patches/
+      SOURCE_VFY=sha1:7f4ee98de1d4a4bd1b1da384d6ef8562dbfac5a9
+     SOURCE2_VFY=sha1:fae3888f89c2dfdc7381776095e6c4071f7ecb97
+     SOURCE3_VFY=sha1:9898ea98ade92956c2714598d5bdc9f0e3a769a7
+     SOURCE4_VFY=sha1:7e5380e212767ac4f0f3d8110013ee934804bad2
+        WEB_SITE=http://jonof.edgenetwork.org/
+         ENTERED=20070215
+         UPDATED=20070215
+      MAINTAINER=dennisveatch at bellsouth.net
+           SHORT="Duke Nukem 3D"
+
+cat << EOF
+This is a release of the source code of JonoF port of Ken Silverman's
+Build game engine. The port intends to bring the engine source up to
+speed so that it may be used more easily with modern operating systems
+on the x86 platform, like Microsoft Windows and *nix-like ones such as
+Linux and BSD.
+
+All you need is a DUKE3D.GRP file copied from your Duke Nukem 3D or Duke
+Nukem 3D: Atomic Edition CD into your /usr/games/jfduke3d.
+EOF

Added: moonbase/trunk/games/jfduke3d/PRE_BUILD
===================================================================
--- moonbase/trunk/games/jfduke3d/PRE_BUILD	                        (rev 0)
+++ moonbase/trunk/games/jfduke3d/PRE_BUILD	2007-02-15 20:10:00 UTC (rev 23275)
@@ -0,0 +1,4 @@
+# Lets not do things outside the source tree.
+
+unzip -o $SOURCE_CACHE/$SOURCE -d $BUILD_DIRECTORY   &&
+unzip -o $SOURCE_CACHE/$SOURCE2 -d $SOURCE_DIRECTORY



More information about the Lunar-commits mailing list