r6079 - in packages/trunk/game-package: . supported

Jon Dowland jmtd-guest at alioth.debian.org
Sat Mar 15 17:53:20 UTC 2008


Author: jmtd-guest
Date: 2008-03-15 17:53:20 +0000 (Sat, 15 Mar 2008)
New Revision: 6079

Removed:
   packages/trunk/game-package/make-quake3-package
   packages/trunk/game-package/make-quake3-package.6
   packages/trunk/game-package/quake3-data/
   packages/trunk/game-package/supported/quake3
Modified:
   packages/trunk/game-package/Makefile
Log:
remove quake3 support: unfinished, getting in the way

Modified: packages/trunk/game-package/Makefile
===================================================================
--- packages/trunk/game-package/Makefile	2008-03-15 17:51:36 UTC (rev 6078)
+++ packages/trunk/game-package/Makefile	2008-03-15 17:53:20 UTC (rev 6079)
@@ -2,8 +2,6 @@
 DATADIR=$(DESTDIR)/usr/share/games/game-package
 MANDIR=$(DESTDIR)/usr/share/man
 
-QUAKE3VER=$(word 2, $(shell grep '^Version' quake3-data/DEBIAN/control))
-QUAKE3DEB=quake3-data_$(QUAKE3VER)_all.deb
 DOOM2VER=$(word 2, $(shell grep '^Version' doom2-wad/DEBIAN/control))
 DOOM2DEB=doom2-wad_$(DOOM2VER)_all.deb
 DOOMVER=$(word 2, $(shell grep '^Version' doom-wad/DEBIAN/control))
@@ -14,8 +12,8 @@
 default: $(DOOM2DEB) $(QUAKE3DEB) $(DOOMDEB)
 
 # necessary as dpkg-source will honour the shell's umask
-fixperms: fixperms_doom2 fixperms_quake3 fixperms_doom
-clean:    clean_doom2 clean_quake3 clean_doom
+fixperms: fixperms_doom2 fixperms_doom
+clean:    clean_doom2 clean_doom
 
 .PHONY: clean doom2-wad/DEBIAN/md5sums fixperms
 
@@ -66,30 +64,3 @@
 
 clean_doom:
 	rm -f $(DOOMDEB) doom-wad/DEBIAN/md5sums
-
-
-# QUAKE3 stuff ###############################################################
-
-
-$(QUAKE3DEB): quake3-data/DEBIAN/md5sums fixperms
-	if [ `id -u` -eq 0 ]; then \
-		dpkg-deb -b quake3-data $@ ; \
-	else \
-		fakeroot dpkg-deb -b quake3-data $@ ; \
-	fi
-
-quake3-data/DEBIAN/md5sums:
-	cd quake3-data && find usr/ -type f  -print0 |\
-		xargs -0 md5sum >DEBIAN/md5sums
-
-fixperms_quake3:
-	find quake3-data -type f -print0 | xargs -0 chmod 644
-	find quake3-data -type d -print0 | xargs -0 chmod 755
-
-install_quake3:
-	install -p -m 0755 make-quake3-package   $(BINDIR)/
-	install -p -m 0644 make-quake3-package.6 $(MANDIR)/man6/
-	install -p -m 0644 $(QUAKE3DEB) $(DATADIR)/
-
-clean_quake3:
-	rm -f $(QUAKE3DEB) quake3-data/DEBIAN/md5sums

Deleted: packages/trunk/game-package/make-quake3-package
===================================================================
--- packages/trunk/game-package/make-quake3-package	2008-03-15 17:51:36 UTC (rev 6078)
+++ packages/trunk/game-package/make-quake3-package	2008-03-15 17:53:20 UTC (rev 6079)
@@ -1,74 +0,0 @@
-#!/bin/sh
-set -u
-set -e
-
-if [ -f ./game-package-shared ]; then
-	echo "DEBUG: using local game-package-shared" >&2
-	. ./game-package-shared
-else
-	. /usr/lib/game-package/game-package-shared
-fi
-
-WORKDIR=`mktemp -dt make-quake3-package.XXXXXX`
-trap "rmdir \"$WORKDIR\"" INT QUIT KILL
-
-# first, obtain the pak0.pk3 file from the CD-ROM ############################
-echo "please mount the Quake3 CD-ROM and enter the mount-point here:"
-read CDROM
-verify_directory "$CDROM"
-
-# TODO: we could let the user enter a direct path, too
-PAKFILE=
-for i in Quake3/baseq3 baseq3 ""; do
-	if [ -f "$CDROM/$i/pak0.pk3" ]; then
-		PAKFILE=$CDROM/$i/pak0.pk3
-		break
-	fi
-done
-if [ -z "$PAKFILE" ]; then
-	echo "error: I couldn't find the pak0.pk3 file." >&2
-	echo "giving up." >&2
-	exit 1
-fi
-
-# next, we need to grab a point release for the other paks ###################
-POINTFILE=linuxq3apoint-1.32b-3.x86.run
-POINTMD5=c71fdddccb20e8fc393d846e9c61d685
-
-echo "I now need the point release ($POINTFILE)"
-echo "How should I obtain this?"
-
-echo "please enter the path to the directory containing $POINTFILE"
-read PFPATH
-verify_directory "$PFPATH"
-POINTFILENAME="$PFPATH/$POINTFILE"
-verify_file "$POINTFILENAME"
-verify_md5sum "$POINTFILENAME" "$POINTMD5"
-
-# Extract the tarball from the Loki Installer
-dd if="$POINTFILENAME" of=$WORKDIR/Q3TGZ \
-	ibs=1 obs=1024 skip=8251 \
-	>/dev/null 2>&1
-
-mkdir $WORKDIR/quake3
-tar -C $WORKDIR/quake3 -xzf $WORKDIR/Q3TGZ
-
-# ensure we've extracted all the necessary pak files
-for i in `seq 1 8`; do test -f $WORKDIR/quake3/baseq3/pak$i.pk3; done
-
-# finally, we assemble the .deb ##############################################
-
-xOLDPWD=`pwd`
-cd "$WORKDIR"
-
-cd quake3/baseq3
-ln -s "$PAKFILE"
-cd ../..
-
-cp -p /usr/share/games/game-package/quake3*deb .
-slipstream ./quake3*deb \
-	usr/share/games/quake3/baseq3 \
-	$WORKDIR/quake3/baseq3/pak*.pk3
-mv quake3*deb "$xOLDPWD"
-
-cd "$xOLDPWD"

Deleted: packages/trunk/game-package/make-quake3-package.6
===================================================================

Deleted: packages/trunk/game-package/supported/quake3
===================================================================
--- packages/trunk/game-package/supported/quake3	2008-03-15 17:51:36 UTC (rev 6078)
+++ packages/trunk/game-package/supported/quake3	2008-03-15 17:53:20 UTC (rev 6079)
@@ -1,2 +0,0 @@
-SHORTNAME=quake3
-LONGNAME="Quake 3: Arena"




More information about the Pkg-games-commits mailing list