Bug#1000302: warzone2100: datadir patch is a poor solution
Russell Coker
russell at coker.com.au
Sun Nov 21 05:25:11 GMT 2021
Package: warzone2100
Version: 4.2.1-1
Severity: minor
The patch datadir.patch makes warzone2100 use /usr/share/games/warzone2100/
as the directory for data files (base.wz etc). I expect that there is some
way of passing a parameter to cmake to get this result without a code change.
I've tried setting -DWZ_DATADIR=/usr/share/games/warzone2100/ but that
resulted in "cmake install" failing due to lack of write access to /usr.
This is probably an easy problem to solve for someone who is good at cmake.
-- System Information:
Debian Release: 11.1
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Enforcing - Policy name: default
Versions of packages warzone2100 depends on:
ii libc6 2.32-4
ii libcurl3-gnutls 7.74.0-1.3+b1
ii libfreetype6 2.10.4+dfsg-1
ii libgcc-s1 10.2.1-6
ii libharfbuzz0b 2.7.4-1
ii libminiupnpc17 2.2.1-1
ii libogg0 1.3.4-0.1
ii libopenal1 1:1.19.1-2
ii libphysfs1 3.0.2-5
ii libpng16-16 1.6.37-3
ii libsdl2-2.0-0 2.0.14+dfsg2-3
ii libsodium23 1.0.18-1
ii libsqlite3-0 3.34.1-3
ii libstdc++6 11.2.0-10
ii libtheora0 1.1.1+dfsg.1-15
ii libvorbis0a 1.3.7-1
ii libvorbisfile3 1.3.7-1
ii warzone2100-data 4.2.1-1
ii zlib1g 1:1.2.11.dfsg-2
Versions of packages warzone2100 recommends:
pn warzone2100-music <none>
warzone2100 suggests no packages.
-- no debconf information
More information about the Pkg-games-devel
mailing list