Updated the Debian packages. They seem to work on my machine.

This commit is contained in:
Jeff Teunissen 2002-04-16 08:07:40 +00:00
parent 313c82efef
commit a27452539f
10 changed files with 94 additions and 4 deletions

18
debian/changelog vendored
View file

@ -1,3 +1,21 @@
quakeforge (0.5.1-0cvs20020416) frozen unstable; urgency=low
* New snapshot.
-- Jeff Teunissen <deek@d2dc.net> Sat, 16 Apr 2002 04:07:02 -0400
quakeforge (0.5.1-0cvs20011117) frozen unstable; urgency=low
* New snapshot.
-- Jeff Teunissen <deek@d2dc.net> Sat, 17 Nov 2001 18:13:02 -0500
quakeforge (0.5.1-0cvs20011103) frozen unstable; urgency=low
* New snapshot.
-- Jeff Teunissen <deek@d2dc.net> Sat, 3 Nov 2001 16:13:02 -0500
quakeforge (0.5.1-0cvs20011015) frozen unstable; urgency=low quakeforge (0.5.1-0cvs20011015) frozen unstable; urgency=low
* New snapshot * New snapshot

15
debian/control vendored
View file

@ -3,7 +3,7 @@ Section: contrib/games
Priority: optional Priority: optional
Maintainer: Jeff Teunissen <deek@debian.org> Maintainer: Jeff Teunissen <deek@debian.org>
Standards-Version: 3.1.1 Standards-Version: 3.1.1
Build-Depends: automake, autoconf, libtool, bison, flex, debhelper, libsdl1.2-dev, zlib1g-dev, libncurses5-dev, svgalibg1-dev, xlibs-dev (>= 4) Build-Depends: automake, autoconf, libtool, bison, flex, debhelper, libsdl1.2-dev, zlib1g-dev, libncurses5-dev, svgalibg1-dev, xlibs-dev (>= 4), libasound2-dev
Package: quakeforge Package: quakeforge
Architecture: any Architecture: any
@ -172,3 +172,16 @@ Depends: quakeforge-common, ${shlibs:Depends}
Description: ALSA 0.9 digital audio output plugin for QuakeForge Description: ALSA 0.9 digital audio output plugin for QuakeForge
The ALSA 0.9 plugin for QuakeForge provides digital audio output for QuakeForge The ALSA 0.9 plugin for QuakeForge provides digital audio output for QuakeForge
targets that contain clients. targets that contain clients.
Package: qfcc
Architecture: any
Depends: cpp, ${shlibs:Depends}
Description: The QuakeForge Code Compiler
QFCC is an optimizing byte-code compiler for the Ruamoko language, a language
based strongly on Id Software's QuakeC. The bytecode interpreter for QuakeC
and Ruamoko is located inside the Quake engine (though there is a standalone
interpreter available).
.
QFCC is designed to work with the QuakeForge engines, but will work with
most non-QuakeForge servers with a couple of changes to its command-line
options.

7
debian/quakeforge-alsa.postinst vendored Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh -e
update-alternatives --install /usr/lib/quakeforge/libsnd_output_default.so quakeforge-audio-default /usr/lib/quakeforge/libsnd_output_alsa0_9.so 100
#DEBHELPER#
exit 0

7
debian/quakeforge-alsa.prerm vendored Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh
update-alternatives --remove quakeforge-audio-default /usr/lib/quakeforge/libsnd_output_alsa0_9.so
#DEBHELPER#
exit 0

9
debian/quakeforge-common.shlibs vendored Normal file
View file

@ -0,0 +1,9 @@
libQFcd 1 quakeforge-common (>= 0.5.1)
libQFconsole 1 quakeforge-common (>= 0.5.1)
libQFcsqc 1 quakeforge-common (>= 0.5.1)
libQFgamecode 1 quakeforge-common (>= 0.5.1)
libQFgamecode_builtins 1 quakeforge-common (>= 0.5.1)
libQFjs 1 quakeforge-common (>= 0.5.1)
libQFmodels 1 quakeforge-common (>= 0.5.1)
libQFsound 1 quakeforge-common (>= 0.5.1)
libQFutil 1 quakeforge-common (>= 0.5.1)

2
debian/quakeforge-libs-gl.shlibs vendored Normal file
View file

@ -0,0 +1,2 @@
libQFrenderer_gl 1 quakeforge-libs-gl (>= 0.5.1)
libQFmodels_gl 1 quakeforge-libs-gl (>= 0.5.1)

2
debian/quakeforge-libs-sw.shlibs vendored Normal file
View file

@ -0,0 +1,2 @@
libQFrenderer_sw 1 quakeforge-libs-sw (>= 0.5.1)
libQFmodels_sw 1 quakeforge-libs-sw (>= 0.5.1)

7
debian/quakeforge-oss.postinst vendored Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh -e
update-alternatives --install /usr/lib/quakeforge/libsnd_output_default.so quakeforge-audio-default /usr/lib/quakeforge/libsnd_output_oss.so 90
#DEBHELPER#
exit 0

7
debian/quakeforge-oss.prerm vendored Normal file
View file

@ -0,0 +1,7 @@
#!/bin/sh
update-alternatives --remove quakeforge-audio-default /usr/lib/quakeforge/libsnd_output_oss.so
#DEBHELPER#
exit 0

24
debian/rules vendored
View file

@ -21,6 +21,7 @@ x11 := $(PACKAGE)-x11
alsa := $(PACKAGE)-alsa alsa := $(PACKAGE)-alsa
oss := $(PACKAGE)-oss oss := $(PACKAGE)-oss
QFCC := qfcc
build := $(shell pwd)/debian/tmp build := $(shell pwd)/debian/tmp
tmp := debian/tmp tmp := debian/tmp
@ -37,6 +38,8 @@ configure-stamp:
# Add here commands to configure the package. # Add here commands to configure the package.
[ -d CVS ] && ./bootstrap [ -d CVS ] && ./bootstrap
./configure --prefix=/usr $(RETARGET) --bindir=/usr/games \ ./configure --prefix=/usr $(RETARGET) --bindir=/usr/games \
--without-fbdev \
--disable-xmms \
--mandir=\$${prefix}/share/man \ --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \ --infodir=\$${prefix}/share/info \
--with-plugin-path=/usr/lib/quakeforge \ --with-plugin-path=/usr/lib/quakeforge \
@ -79,19 +82,22 @@ install: build
# quakeforge-common # quakeforge-common
find $(tmp)/etc ! -type d | sed -e "s:^$(tmp)::" > debian/$(common).conffiles find $(tmp)/etc ! -type d | sed -e "s:^$(tmp)::" > debian/$(common).conffiles
install -D -m755 debian/$(common).shlibs debian/$(common)/DEBIAN/shlibs
dh_movefiles -p$(common) --sourcedir=$(tmp) \ dh_movefiles -p$(common) --sourcedir=$(tmp) \
etc/quakeforge.conf \ etc/quakeforge.conf \
usr/lib/libQFcd.so.* \ usr/lib/libQFcd.so.* \
usr/lib/libQFconsole.so.* \ usr/lib/libQFconsole.so.* \
usr/lib/libQFcsqc.so.* \
usr/lib/libQFgamecode.so.* \ usr/lib/libQFgamecode.so.* \
usr/lib/libQFgamecode_builtins.so.* \ usr/lib/libQFgamecode_builtins.so.* \
usr/lib/libQFgib.so.* \
usr/lib/libQFjs.so.* \ usr/lib/libQFjs.so.* \
usr/lib/libQFmodels.so.* \ usr/lib/libQFmodels.so.* \
usr/lib/libQFsound.so.* \ usr/lib/libQFsound.so.* \
usr/lib/libQFutil.so.* \ usr/lib/libQFutil.so.* \
usr/lib/quakeforge/libcd_null.so* \ usr/lib/quakeforge/libcd_null.so* \
usr/lib/quakeforge/libconsole_client.so* \
usr/lib/quakeforge/libsnd_output_disk.so* \ usr/lib/quakeforge/libsnd_output_disk.so* \
usr/lib/quakeforge/libsnd_output_null.so* \
usr/lib/quakeforge/libsnd_render_default.so* usr/lib/quakeforge/libsnd_render_default.so*
dh_installdocs -p$(common) NEWS TODO dh_installdocs -p$(common) NEWS TODO
dh_installchangelogs -p$(common) ChangeLog dh_installchangelogs -p$(common) ChangeLog
@ -102,10 +108,10 @@ install: build
usr/lib/libQFcd.so \ usr/lib/libQFcd.so \
usr/lib/libQFconsole.*a \ usr/lib/libQFconsole.*a \
usr/lib/libQFconsole.so \ usr/lib/libQFconsole.so \
usr/lib/libQFcsqc.*a \
usr/lib/libQFcsqc.so \
usr/lib/libQFgamecode.*a \ usr/lib/libQFgamecode.*a \
usr/lib/libQFgamecode.so \ usr/lib/libQFgamecode.so \
usr/lib/libQFgib.*a \
usr/lib/libQFgib.so \
usr/lib/libQFjs.*a \ usr/lib/libQFjs.*a \
usr/lib/libQFjs.so \ usr/lib/libQFjs.so \
usr/lib/libQFmodels.*a \ usr/lib/libQFmodels.*a \
@ -125,6 +131,7 @@ install: build
dh_movefiles -p$(gllib) --sourcedir=$(tmp) \ dh_movefiles -p$(gllib) --sourcedir=$(tmp) \
usr/lib/libQFmodels_gl.so.* \ usr/lib/libQFmodels_gl.so.* \
usr/lib/libQFrenderer_gl.so.* usr/lib/libQFrenderer_gl.so.*
install -D -m755 debian/$(gllib).shlibs debian/$(gllib)/DEBIAN/shlibs
install -d -m755 debian/$(gllib)/usr/share/doc install -d -m755 debian/$(gllib)/usr/share/doc
ln -s $(common) debian/$(gllib)/usr/share/doc/$(gllib) ln -s $(common) debian/$(gllib)/usr/share/doc/$(gllib)
@ -132,6 +139,7 @@ install: build
dh_movefiles -p$(swlib) --sourcedir=$(tmp) \ dh_movefiles -p$(swlib) --sourcedir=$(tmp) \
usr/lib/libQFmodels_sw.so.* \ usr/lib/libQFmodels_sw.so.* \
usr/lib/libQFrenderer_sw.so.* usr/lib/libQFrenderer_sw.so.*
install -D -m755 debian/$(swlib).shlibs debian/$(swlib)/DEBIAN/shlibs
install -d -m755 debian/$(swlib)/usr/share/doc install -d -m755 debian/$(swlib)/usr/share/doc
ln -s $(common) debian/$(swlib)/usr/share/doc/$(swlib) ln -s $(common) debian/$(swlib)/usr/share/doc/$(swlib)
@ -191,6 +199,15 @@ install: build
install -d -m755 debian/$(oss)/usr/share/doc install -d -m755 debian/$(oss)/usr/share/doc
ln -s $(common) debian/$(oss)/usr/share/doc/$(oss) ln -s $(common) debian/$(oss)/usr/share/doc/$(oss)
# qfcc
install -D -m755 $(tmp)/usr/games/qfcc $(tmp)/usr/bin/qfcc
rm -f $(tmp)/usr/games/qfcc
dh_movefiles -p$(QFCC) --sourcedir=$(tmp) \
usr/bin/qfcc \
usr/share/man/man1/qfcc.1
install -d -m755 debian/$(QFCC)/usr/share/doc
ln -s $(common) debian/$(QFCC)/usr/share/doc/$(QFCC)
# quakeforge # quakeforge
find $(tmp) -type d -empty | xargs -r rmdir -p --ignore-fail-on-non-empty find $(tmp) -type d -empty | xargs -r rmdir -p --ignore-fail-on-non-empty
dh_movefiles -p$(PACKAGE) --sourcedir=$(tmp) dh_movefiles -p$(PACKAGE) --sourcedir=$(tmp)
@ -212,6 +229,7 @@ binary-arch: build install
dh_testroot dh_testroot
dh_installexamples dh_installexamples
dh_installmenu dh_installmenu
dh_installman -p$(QFCC)
dh_undocumented dh_undocumented
dh_strip dh_strip
dh_link dh_link