Package: vavoom
Version: 1.33-5
Severity: wishlist
Tags: patch

Hi,

I think the vavoom package should also contain the glvis utility. It can be run
over WAD files and adds information for the "rendering engine to skip the
subsectors that can't be visible from viewer's subsector." [1] This greatly
improves the engine's rendering performance!

Since it needs the WAD files to get pre-processed by the glbsp utility (already
in Debian), I have added this to the Suggests. And since it is currently a
utility very specific to vavoom and because there is also another different
project out there with the same name but serving a more general purpose [2], I
have move it into /usr/lib/vavoom.

 - Fabian

[1] http://www.vavoom-engine.com/glvis.php
[2] https://code.google.com/p/glvis/



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (901, 'testing'), (502, 'unstable'), (501, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vavoom depends on:
ii  libc6                     2.13-35
ii  libflac++6                1.2.1-6
ii  libgcc1                   1:4.7.1-7
ii  libgl1-mesa-glx [libgl1]  8.0.4-2
ii  libjpeg8                  8d-1
ii  libmad0                   0.15.1b-7
ii  libmikmod2                3.1.12-4.1
ii  libogg0                   1.3.0-4
ii  libpng12-0                1.2.49-1
ii  libsdl-mixer1.2           1.2.12-3
ii  libsdl1.2debian           1.2.15-5
ii  libstdc++6                4.7.1-7
ii  libvorbis0a               1.3.2-1.3
ii  libwxbase2.8-0            2.8.12.1-12
ii  libwxgtk2.8-0             2.8.12.1-12
ii  zlib1g                    1:1.2.7.dfsg-13

Versions of packages vavoom recommends:
ii  doom-wad-shareware [doom-wad]  1.9.fixed-2
ii  freedoom [boom-wad]            0.8~beta1-1
ii  game-data-packager             30

vavoom suggests no packages.

-- no debconf information
>From 22a048ccc7204e8369c19d7d4b1fc450ac838d1e Mon Sep 17 00:00:00 2001
From: Fabian Greffrath <[email protected]>
Date: Wed, 14 Nov 2012 10:17:38 +0100
Subject: [PATCH] Install the glvis utility and add Suggests: glbsp.

---
 debian/control                     |    1 +
 debian/patches/install-glvis.patch |   12 ++++++++++++
 debian/patches/series              |    1 +
 debian/rules                       |    1 +
 4 files changed, 15 insertions(+)
 create mode 100644 debian/patches/install-glvis.patch

diff --git a/debian/control b/debian/control
index c35b89b..d67e812 100644
--- a/debian/control
+++ b/debian/control
@@ -25,6 +25,7 @@ Provides: doom-engine, heretic-engine, boom-engine
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Recommends: freedoom | doom-wad | heretic-wad | game-data-packager | boom-wad
+Suggests: glbsp
 Description: Advanced Doom/Heretic/Hexen/Strife engine
  Vavoom is an engine based on sources of Doom, Heretic, Hexen and
  a little bit from Quake.
diff --git a/debian/patches/install-glvis.patch b/debian/patches/install-glvis.patch
new file mode 100644
index 0000000..c094ea7
--- /dev/null
+++ b/debian/patches/install-glvis.patch
@@ -0,0 +1,12 @@
+From: Fabian Greffrath <[email protected]>
+Subject: Install the glvis utility.
+
+--- a/utils/glvis/CMakeLists.txt
++++ b/utils/glvis/CMakeLists.txt
+@@ -23,5 +23,6 @@ add_dependencies(glvis libglvis)
+ target_link_libraries(glvis libglvis core)
+ set_target_properties(glvis PROPERTIES OUTPUT_NAME ../bin/glvis)
+ add_dependencies(glvis core)
++install(TARGETS glvis DESTINATION ${BINDIR})
+ 
+ #EXTRA_DIST = glvis.txt
diff --git a/debian/patches/series b/debian/patches/series
index e3730ef..f4369a3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ freedoom-support.patch
 freedoom-vlaunch.patch
 fix-FTBFS-Hurd.patch
 fix-hardening
+install-glvis.patch
diff --git a/debian/rules b/debian/rules
index e993daa..296f27d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,7 @@ override_dh_installchangelogs:
 
 override_dh_install:
 	install -d debian/vavoom/usr/lib/vavoom
+	mv debian/vavoom/usr/games/glvis debian/vavoom/usr/lib/vavoom/
 	mv debian/vavoom/usr/games/vavoom.bin debian/vavoom/usr/lib/vavoom/
 	mv debian/vavoom/usr/games/vavoom-dedicated.bin debian/vavoom/usr/lib/vavoom/
 	dh_install
-- 
1.7.10.4

Reply via email to