Merging debian/ from stable

This commit is contained in:
Joseph Carter 2000-01-25 05:57:50 +00:00
parent ba7ab28fe4
commit 392ba79ded
18 changed files with 100 additions and 13 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
quakeforge (0.1-20000117-1) frozen unstable; urgency=HIGH
quakeforge (0.1.0-1) frozen unstable; urgency=HIGH
* "0.0.9-1" was actually "0.1-20000103-1"
* Fixed the sig4's in the SVGALib-using targets

14
debian/control vendored
View File

@ -6,7 +6,7 @@ Standards-Version: 3.0.1
Package: quake-svga
Architecture: i386
Depends: ${shlibs:Depends}, quake-lib (>= 1.06-5) | quake-lib-stub
Depends: ${shlibs:Depends}, quake-game
Replaces: squake, quake-common
Provides: quake
Description: First person shooting game - SVGALib version
@ -20,7 +20,7 @@ Description: First person shooting game - SVGALib version
Package: quake-x11
Architecture: any
Replaces: xquake, quake-common
Depends: ${shlibs:Depends}, quake-lib (>= 1.06-5) | quake-lib-stub
Depends: ${shlibs:Depends}, quake-game
Provides: quake
Description: First person shooting game - X11 version
QuakeForge is a source port of Quake, the successor to Id Software's very
@ -31,7 +31,7 @@ Description: First person shooting game - X11 version
Package: quake-ggi
Architecture: any
Depends: ${shlibs:Depends}, quake-lib (>= 1.06-5) | quake-lib-stub
Depends: ${shlibs:Depends}, quake-game
Provides: quake
Description: First person shooting game - GGI version
QuakeForge is a source port of Quake, the successor to Id Software's very
@ -42,7 +42,7 @@ Description: First person shooting game - GGI version
Package: quake-gl
Architecture: any
Depends: ${shlibs:Depends}, quake-lib (>= 1.06-5) | quake-lib-stub
Depends: ${shlibs:Depends}, quake-game
Provides: quake
Replaces: glquake-glx, quake-common
Description: First person shooting game - GL version
@ -54,7 +54,7 @@ Description: First person shooting game - GL version
Package: quake-3dfx
Architecture: any
Depends: ${shlibs:Depends}, mesag3-glide2 (>= 3.1-1), libglide2, quake-lib (>= 1.06-5) | quake-lib-stub
Depends: ${shlibs:Depends}, mesag3-glide2 (>= 3.1-1), libglide2, quake-game
Provides: quake
Replaces: glquake-3dfxgl, quake-common
Description: First person shooting game - 3dfx GL version
@ -66,7 +66,7 @@ Description: First person shooting game - 3dfx GL version
Package: quake-sdl
Architecture: any
Depends: ${shlibs:Depends}, quake-lib (>= 1.06-5) | quake-lib-stub
Depends: ${shlibs:Depends}, quake-game
Provides: quake
Description: First person shooting game - SDL version
QuakeForge is a source port of Quake, the successor to Id Software's very
@ -77,7 +77,7 @@ Description: First person shooting game - SDL version
Package: quake-server
Architecture: any
Depends: ${shlibs:Depends}, quake-lib (>= 1.06-5) | quake-lib-stub
Depends: ${shlibs:Depends}, quake-game
Provides: quake
Description: First person shooting game - dedicated server
QuakeForge is a source port of Quake, the successor to Id Software's very

View File

@ -2,3 +2,4 @@ INSTALL
README
TODO
doc
NEWS

View File

@ -1,2 +1,4 @@
usr/games/qw-client-3dfx.real
usr/games/quake-3dfx.real
usr/games/qw-client-3dfx
usr/games/quake-3dfx

View File

@ -2,3 +2,4 @@ INSTALL
README
TODO
doc
NEWS

View File

@ -1,2 +1,4 @@
usr/games/qw-client-ggi.real
usr/games/quake-ggi.real
usr/games/qw-client-ggi
usr/games/quake-ggi

View File

@ -2,3 +2,4 @@ INSTALL
README
TODO
doc
NEWS

View File

@ -1,2 +1,4 @@
usr/games/qw-client-gl.real
usr/games/quake-gl.real
usr/games/qw-client-gl
usr/games/quake-gl

View File

@ -2,3 +2,4 @@ INSTALL
README
TODO
doc
NEWS

View File

@ -1,2 +1,4 @@
usr/games/qw-client-sdl.real
usr/games/quake-sdl.real
usr/games/qw-client-sdl
usr/games/quake-sdl

View File

@ -2,3 +2,4 @@ INSTALL
README
TODO
doc
NEWS

View File

@ -1 +1,2 @@
usr/games/qw-server.real
usr/games/qw-server

View File

@ -2,3 +2,4 @@ INSTALL
README
TODO
doc
NEWS

View File

@ -1,2 +1,4 @@
usr/games/qw-client-svga.real
usr/games/quake-svga.real
usr/games/qw-client-svga
usr/games/quake-svga

View File

@ -2,3 +2,4 @@ INSTALL
README
TODO
doc
NEWS

View File

@ -1,2 +1,4 @@
usr/games/qw-client-x11.real
usr/games/quake-x11.real
usr/games/qw-client-x11
usr/games/quake-x11

17
debian/rules vendored
View File

@ -17,7 +17,8 @@ build-stamp:
dh_testdir
./configure --prefix=/usr --mandir=\$${prefix}/share/man \
--enable-release --with-3dfxgl-name=GL
--bindir=/usr/games --enable-release \
--with-3dfxgl-name=GL --enable-newstyle
$(MAKE)
touch build-stamp
@ -40,7 +41,13 @@ install: build
$(MAKE) install DESTDIR=$(PWD)/debian/tmp
for i in debian/tmp/usr/games/*; do \
mv $$i $$i.real ;\
install -m 755 debian/wrapper $$i ;\
done
dh_movefiles
install -m 644 gamedata/quakeworld/qwprogs.dat \
debian/quake-server/usr/share/games/quake/qw
@ -64,10 +71,10 @@ binary-arch: build install
dh_compress
dh_fixperms
# need to make -svga and -3dfx bins suid for svgalib
chmod 4755 debian/quake-svga/usr/games/quake-svga
chmod 4755 debian/quake-svga/usr/games/qw-client-svga
chmod 4755 debian/quake-3dfx/usr/games/quake-3dfx
chmod 4755 debian/quake-3dfx/usr/games/qw-client-3dfx
chmod 4755 debian/quake-svga/usr/games/quake-svga.real
chmod 4755 debian/quake-svga/usr/games/qw-client-svga.real
chmod 4755 debian/quake-3dfx/usr/games/quake-3dfx.real
chmod 4755 debian/quake-3dfx/usr/games/qw-client-3dfx.real
dh_suidregister
dh_installdeb
dh_shlibdeps

60
debian/wrapper vendored Executable file
View File

@ -0,0 +1,60 @@
#!/bin/sh
quakedir=/usr/share/games/quake # Where quake is installed
symtree=$HOME/.quake # Where to put the symlink tree
# returns what symlink actually points to
readlink () {
perl -e '
$l = shift;
exit 1 unless -l $l;
$r = readlink $l;
exit 1 unless $r;
print "$r\n"
' $1;
}
if test \! -d "$quakedir"; then
echo "$0: directory \"$quakedir\" not found" >&2
exit 2
fi
if test \! -d $symtree; then
mkdir -p $symtree
fi
# Remove all old symlinks in $symtree directory.
cd $symtree
for i in `find -type l`; do
if test "x`readlink $i | grep $quakedir`" != x; then
echo "Removing symlink $i"
rm -f $i
fi
done
# build the symlink tree
cd $quakedir
for i in `find -type d -maxdepth 1`; do
files=`find $i \! -type d`
for j in $files; do
oldj=$j
j=`echo "$j" | tr A-Z a-z`
mkdir -p $symtree/`dirname $j`
ln -s "$quakedir/$oldj" $symtree/$j
done
done
# Remove any empty directories.
cd $symtree
find -type d | xargs rmdir 2>/dev/null
# base is special, we need to handle that ourselves
rm -f base
ourbase=`readlink /etc/alternatives/quake-game-base`
echo "ourbase $ourbase"
echo "basename of ourbase `basename $ourbase`"
ln -s `basename $ourbase` base
$0.real $@