Package: darkplaces / 0~20140513+svn12208-4

Metadata

Package Version Patches format
darkplaces 0~20140513+svn12208-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Add support for DP_LINK_VORBIS make variable.patch | (download)

BSDmakefile | 10 10 + 0 - 0 !
makefile | 15 15 + 0 - 0 !
makefile.inc | 6 3 + 3 - 0 !
3 files changed, 28 insertions(+), 3 deletions(-)

 add support for dp_link_vorbis make variable

Like the existing DP_LINK_TO_JPEG, this links libvorbisfile in the
normal way instead of dlopening it. Linux distributions like Debian
strongly prefer normal library linking: we have a lot of infrastructure for
tracking correct versioned dependencies in this mode of linking and
avoiding incompatible versions, and package systems like apt mean that
it's trivial to install dependencies.

This uses the existing support for linking to libvorbisfile in the normal
way, which is used on Android and iOS.  The default on other platforms
is the current behaviour: dlopen libvorbisfile.

Add support for DP_LINK_THEORA shared default is dlo.patch | (download)

cap_ogg.c | 58 58 + 0 - 0 !
makefile | 15 15 + 0 - 0 !
makefile.inc | 6 3 + 3 - 0 !
3 files changed, 76 insertions(+), 3 deletions(-)

 add support for dp_link_theora=shared (default is dlopen)

Like the existing DP_LINK_TO_JPEG, this can be configured to
link libtheora etc. in the normal way instead of dlopening them.

image_png.h change name of multiple inclusion guard .patch | (download)

image_png.h | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 image_png.h: change name of multiple-inclusion guard to not
 interfere with <png.h>

This is a prerequisite for using the system <png.h>.

Be a bit more type safe about using libpng.patch | (download)

image_png.c | 44 26 + 18 - 0 !
1 file changed, 26 insertions(+), 18 deletions(-)

 be a bit more type-safe about using libpng

The simplified libpng declarations in DarkPlaces just use "void **" for
various pointer-to-pointer arguments. However, this conflicts with
the system libpng headers (if used), which expect something like
"png_struct **" (which is not considered to be a compatible type by
ISO C), causing compiler warnings. This patch reduces the simplification
a bit by distinguishing between the various pointers-to-struct enough
that system libpng headers do not provoke warnings.

Similarly, assigning a function pointer provokes warnings if the
arguments' types are not exactly as expected. Avoiding those warnings
potentially makes genuine bugs easier to spot, so it seems worth being
a bit more precise.

Add support for DP_LINK_PNG shared default is dlopen.patch | (download)

image_png.c | 112 107 + 5 - 0 !
makefile | 15 15 + 0 - 0 !
makefile.inc | 4 2 + 2 - 0 !
3 files changed, 124 insertions(+), 7 deletions(-)

 add support for dp_link_png=shared (default is dlopen)

Like the existing DP_LINK_TO_JPEG, this can be configured to
link libpng in the normal way instead of dlopening it.

add DP_LINK_CURL option.patch | (download)

libcurl.c | 83 82 + 1 - 0 !
makefile | 15 15 + 0 - 0 !
makefile.inc | 4 2 + 2 - 0 !
3 files changed, 99 insertions(+), 3 deletions(-)

 add dp_link_curl option

In Debian we want library dependencies to work in the conventional way,
since many tools expect that and use it to generate package
dependencies.

Add DP_LINK_FREETYPE2 option.patch | (download)

ft2.c | 20 18 + 2 - 0 !
makefile | 14 14 + 0 - 0 !
makefile.inc | 4 2 + 2 - 0 !
3 files changed, 34 insertions(+), 4 deletions(-)

 add dp_link_freetype2 option

In Debian we want library dependencies to work in the conventional way,
since many tools expect that and use it to generate package
dependencies.

Add support for forcing d0_blind_id and d0_rijndael .patch | (download)

crypto.c | 18 18 + 0 - 0 !
makefile | 8 8 + 0 - 0 !
2 files changed, 26 insertions(+)

 add support for forcing d0_blind_id and d0_rijndael to never be
 dlopen'd

Until these libraries exist as Debian packages, we'd prefer a local copy
(which might not be compatible) to never be loaded accidentally.

Add support for disabling libavw.patch | (download)

cl_video_libavw.c | 20 20 + 0 - 0 !
makefile | 4 4 + 0 - 0 !
makefile.inc | 2 1 + 1 - 0 !
3 files changed, 25 insertions(+), 1 deletion(-)

 add support for disabling libavw

As with all the other dlopen()'d libraries, if we're going to use them,
we should link them properly so dpkg-shlibdeps can pick up the
right versioned dependencies. Xonotic 0.7.0 doesn't seem to ship
this one so we can probably just omit it.

Disable dlopen support and warn if it gets compiled .patch | (download)

sys.h | 2 1 + 1 - 0 !
sys_shared.c | 6 5 + 1 - 0 !
2 files changed, 6 insertions(+), 2 deletions(-)

 disable dlopen support, and warn if it gets compiled in

Fix OS detection of darkplaces makefile to not think.patch | (download)

makefile | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 fix os detection of darkplaces' makefile to not think it's on bsd on
 GNU/kFreeBSD

[The DarkPlaces build system mostly cares about userland, not the kernel,
and GNU/kFreeBSD is equivalent to GNU/Linux in that respect. -smcv]

Fix various typos dont don t doesnt doesn t arguemen.patch | (download)

clvm_cmds.c | 2 1 + 1 - 0 !
cmd.c | 2 1 + 1 - 0 !
dpdefs/csprogsdefs.qc | 4 2 + 2 - 0 !
gl_draw.c | 2 1 + 1 - 0 !
gl_rmain.c | 2 1 + 1 - 0 !
gl_textures.c | 2 1 + 1 - 0 !
menu.c | 2 1 + 1 - 0 !
netconn.c | 4 2 + 2 - 0 !
progsvm.h | 2 1 + 1 - 0 !
prvm_cmds.c | 8 4 + 4 - 0 !
prvm_edict.c | 6 3 + 3 - 0 !
r_sprites.c | 2 1 + 1 - 0 !
sbar.c | 2 1 + 1 - 0 !
svvm_cmds.c | 2 1 + 1 - 0 !
sys.h | 2 1 + 1 - 0 !
todo | 4 2 + 2 - 0 !
vid_sdl.c | 2 1 + 1 - 0 !
vid_wgl.c | 2 1 + 1 - 0 !
world.c | 4 2 + 2 - 0 !
19 files changed, 28 insertions(+), 28 deletions(-)

 fix various typos: dont -> don't, doesnt -> doesn't,
 arguements -> arguments

Picked up by Debian's Lintian package-checking tool.

Don t build SSE only software rasterizer on non x86 .patch | (download)

dpsoftrast.h | 4 4 + 0 - 0 !
gl_backend.c | 56 56 + 0 - 0 !
gl_rmain.c | 19 19 + 0 - 0 !
gl_textures.c | 18 18 + 0 - 0 !
makefile | 12 12 + 0 - 0 !
makefile.inc | 16 9 + 7 - 0 !
quakedef.h | 5 5 + 0 - 0 !
vid_glx.c | 8 7 + 1 - 0 !
vid_sdl.c | 6 5 + 1 - 0 !
vid_shared.c | 4 3 + 1 - 0 !
vid_wgl.c | 6 5 + 1 - 0 !
11 files changed, 143 insertions(+), 11 deletions(-)

 don't build sse-only software rasterizer on non-x86 cpus

Compilers for non-x86 platforms don't understand -msse or -msse2, and
these files aren't usable on non-x86 anyway.

Disable gpu skinning for skeletal models.patch | (download)

gl_rmain.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 disable gpu skinning for skeletal models

This feature is buggy and sometimes causes models to completely
lack animation and can cause very high frame rates.  Xonotic
developers are aware of this and disabling this feature is the
temporary work around. See http://dev.xonotic.org/issues/1459