diff options
author | snj <snj@pkgsrc.org> | 2015-02-02 22:24:48 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2015-02-02 22:24:48 +0000 |
commit | c065ec48ac264066394b10d24577e9ad9bd8d09f (patch) | |
tree | 1af04f6ec4844ee379cf29b675258c569a12e6c3 /games | |
parent | a37253e62c774c19cff0c3cf120ab6f2f2a2375d (diff) | |
download | pkgsrc-c065ec48ac264066394b10d24577e9ad9bd8d09f.tar.gz |
Update quakespasm to 0.90.0.
Changes in 0.90.0
Fix issues on Windows systems with DPI scaling.
Unix/Mac user directories support. Disabled by default, 'make DO_USERDIRS=1' to enable it.
SDL2 support. Disabled by default, 'make USE_SDL2=1' to enable it.
Revised keyboard input code.
Revised/improved the 'game' command, i.e. on-the-fly mod changing. It now accepts an optional second argument for mission packs or quoth support i.e. -hipnotic, -rogue, or -quoth. For example, for WarpSpasm: "game warp -quoth"
Command line: "-game {quoth/hipnotic/rogue}" is now treated the same as -quoth, -hipnotic, or -rogue.
Console speed now resolution-independent.
Disabled gl_zfix, which caused glitches and is undesirable for new maps. Replacement .ent files to fix z-fighting for several id1 maps added to quakespasm.pak.
PF_VarString buffer bumped to 1024, avoids truncated centerprints from the 'In The Shadows' mod.
Support for opengl non-power-of-two-textures extension (disable with command line: "-notexturenpot".)
Support for OpenGL vertex buffer objects (VBO, OpenGL 1.5 or newer) for world and brush models (disable with command line: "-novbo".)
Antialiasing (FSAA) support (command line: -fsaa x, where x can be 0, 2, 4, 8).
Fence textures support.
Dynamic light speedup. Speedup loading of tga and pcx external images.
Brush model drawing speedup.
Support for BSP2 and 2PSB map formats.
Support for Opus, FLAC, and tracker music (S3M, IT, UMX, etc.), as compile-time options.
Music and sfx now mixed at 44100Hz to avoid downsampling music. Low-pass filter applied to the sfx if -sndspeed is 11025 (the default), to preserve the same sound quality as 0.85.9. New -mixspeed option sets the rate for mixing sfx and music, and output to the OS (default 44100), setting it to 11025 reverts to 0.85.9 behaviour. New snd_filterquality cvar, value can be between 1 (emulate OS X resampler) and 5 (emulate Windows resampler), controls the sound of the low-pass filter.
Better Hor+ field of view (FOV) scaling behavior.
Better cross-map demo playback support.
Fix screenshots when screen width isn't a multiple of 4.
Fix a lighting glitch due to floating point precision.
Fix a looping sounds glitch.
Fix a vulnerability in file extension handling. Tighten path handling safety.
Initialize opengl with 24-bit depth buffer at 32 bpp.
Reset all models upon gamedir changes. (Fixes failures with mods using custom content.)
Fix broken behavior upon gamedir changes if -basedir is specified on the command line.
NET_MAXMESSAGE and MAX_MSGLEN limits bumped to 64000.
MAX_EFRAGS bumped to 4096, and MAX_CHANNELS to 1024.
MAX_ENT_LEAFS bumped from 16 to 32 to work around disappearing or flickering brush models in some situations. Also, if an entity is visible from MAX_ENT_LEAFS or more leafs, we now always send it to the client.
Fix cvar cycle command not working sometimes.
Host_Error upon missing models. (Prevents segmentation faults.)
Change sv_aim default value to 1 (i.e. turn off autoaim)
Add 'prev' and 'next' keywords to the 'cd' command.
Work around a linux cdrom issue (playback might not start for a while after a stop).
Quakespasm content customization moved from engine-embedded into a new optional quakespasm.pak file.
Version bumped to 0.90.0 (because Quakespasm has a decent life of its own)
Other fixes and clean-ups.
Changes in 0.85.9
Fixes for several undefined behaviors in C code (gcc-4.8 support.)
Implemented Hor+ style field of view (FOV) scaling, useful for widescreen resolutions. Configured by new cvar fov_adapt: set it to 1 and your fov will be scaled automatically according to the resolution. Enabled by default.
Adjusted string buffers for PR_ValueString and friends to fix crashes with excessively long global strings seen in some rude mods.
Toned down warning messages from PF_VarString() a bit.
Fixed Fitzquake's map existence check in changelevel (used to leak file handles which would end up in a Sys_Error() due to consuming all free handles if many maps reside not in pak files.)
Fixes/cleanups in chat mode handling. Client no longer gets stuck in chat mode upon disconnect.
Mouse grab/key_dest fixes and key cleanups.
The "speedkey" now acts as "slowkey" when "always run" is on.
Support for demo recording after connection to server. (thanks to Baker for a patch)
Corner case fixes in COM_Parse() for quoted strings and support for C-style /*..*/ comments.
Changed lightmaps to GL_RGBA instead of GL_RGB.
Better parse for opengl extensions list (from quakeforge.)
Vsync saving/loading fixes.
Fixed pointfile loading.
Multiple cleanups in gl_vidsdl.c.
Opus music decoding support (as an optional patch only.)
Several other minor fixes/cleanups.
Changes in 0.85.8
Made Quake shareware 1.00 and 1.01 versions to be recognized properly.
Fixed control-character handling in unicode mode. Keyboard input tweaks.
Made the keypad keys to send separate key events in game mode.
Text pasting support from OS clipboard to console. (Windows and Mac OS X.)
Support for the Apple (Command) key on Mac OS X.
Fixed increased (more than 32) dynamic lights.
Music playback: Made sure that the file's channels count is supported.
Support for Solaris.
Switched to using libmad instead of libmpg123 for MP3 playback on Mac OS X.
Better support for building the Mac OS X version using a makefile, support for cross-compiling on Linux.
Fixed a minor intermissions glitch.
Increased string buffer size from 256 to 384 for PF_VarString to work around broken mods such as UQC.
Restored original behavior for Quake registered version detection.
Minor demo recording/playback tweaks.
Minor tweaks to the scale menu option.
unbindall before loading stored bindings (configurable by new cvar cfg_unbindall, enabled by default.)
New icon.
Miscellaneous source code cleanups.
Changes in 0.85.7
Added support for cross-level demo playback
gl_texturemode is reimplemented as a cvar with a callback and the setting is automatically saved to the config
Fixed execution of external files without a newline at the end
Reduced memory usage during reloading of textures
Fixed compilation on GNU/kFreeBSD (Debian bug #657793)
Fixed backspace key on Mac OS X
Disable mouse acceleration in Mac OS X
Worked around recursive calling of the anisotropic filter callback
Console word wrap and long input line fixes
Verified correct compilation by clang (using v3.0)
Several other small changes mostly invisible to the end-user
Changes in 0.85.6
More work for string buffer safety
Reverted v0.85.5 change of not allowing deathmatch and coop cvars to be set at the same time (was reported for possibility of causing compatibility issues with mods)
Several cleanups/changes in the cvar layer
Minor SDL video fixes.
Changes in 0.85.5
SDL input driver updated, adding native keymap and dead key support to the console
Fixed a crash in net play in maps with extended limits
Verified successful compilation using gcc-4.6.x
Added workaround against GL texture flicker (z fighting), controlled by new cvar 'gl_zfix'
Read video variables early so that a vid_restart isn't necessary after init
mlook and lookspring fixes
Added support for loading external entity files, controlled by new cvar 'external_ents'
Made mp3 playback to allocate system memory instead of zone
Some updates to the progs interpreter code
Fixed r_nolerp_list parsing code of fitzquake
Made sure that deathmatch and coop are not set at the same time
Several code updates from uHexen2 project, several code cleanups.
Changes in 0.85.4
Implemented music (OGG, MP3, WAV) playback
A better fix for the infamous SV_TouchLinks problem, no more hard lockups with maps such as "whiteroom"
Added support for mouse buttons 4 and 5
Fixed the "unalias" console command
Restored the "screen size" menu item
Fixed an erroneous protocol check in the server code
Raised the default zone memory size to 384 kb
Raised the default max_edicts from 1024 to 2048
Revised lit file loading, the lit file must be from the same game directory as the map itself or from a searchpath with a higher priority
Fixed rest of the compiler warnings
Other minor sound and cdaudio updates
Other, mostly user-invisible changes
Changes in 0.85.3
Fix the "-dedicated" option (thanks Oz) and add platform specific networking code (default) rather than SDL_net
Much needed OSX framework stuff from Kristian
Add a persistent history feature (thanks Baker)
Add a slider for scr_sbaralpha, which now defaults to 0.95 (slightly transparent, allowing for a nicer status bar)
Allow player messages longer than 32 chars
Sockaddr fix for FreeBSD/OSX/etc networking
Connect status bar size to the scale slider
Include an ISNAN (is not-a-number) fix to catch the occassional quake C bug giving traceline problems
Enumerate options menus
Add a "prev weapon" menu item (from Sander)
Small fix to Sound Block/Unblock on win32
Lots of code fixes (some from uhexen2)
Sys_Error calls Host_Shutdown
Added MS Visual Studio support
Add a "-cd" option to let the CD Player work in dedicated mode, and some other CD tweaks.
Changes in 0.85.2
Replace the old "Screen size" slider with a "Scale" slider
Don't constantly open and close condebug log
Heap of C clean-ups
Fix mapname sorting
Alias the "mods" command to "games"
Block/Unblock sound upon focus loss/gain
NAT fix (networking protocol fix)
SDLNet_ResolveHost bug-fix allowing connection to ports other than 26000
Bumped array size of sv_main.c::localmodels from 5 to 6 fixing an old fitzquake-0.85 bug which used to cause segfaults depending on the compiler.
Accept commandline options like "+connect ip:port"
Add OSX Makefile (tested?)
Diffstat (limited to 'games')
-rw-r--r-- | games/quakespasm/Makefile | 12 | ||||
-rw-r--r-- | games/quakespasm/distinfo | 10 | ||||
-rw-r--r-- | games/quakespasm/patches/patch-aa | 47 |
3 files changed, 26 insertions, 43 deletions
diff --git a/games/quakespasm/Makefile b/games/quakespasm/Makefile index f48d7d67788..f6ede976bfb 100644 --- a/games/quakespasm/Makefile +++ b/games/quakespasm/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.2 2012/10/06 11:54:52 asau Exp $ +# $NetBSD: Makefile,v 1.3 2015/02/02 22:24:48 snj Exp $ -DISTNAME= quakespasm-0.85.1 +DISTNAME= quakespasm-0.90.0 CATEGORIES= games x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quakespasm/} EXTRACT_SUFX= .tgz @@ -9,18 +9,20 @@ MAINTAINER= snj@NetBSD.org HOMEPAGE= http://quakespasm.sourceforge.net/ COMMENT= Enhanced Quake engine using SDL -# needs fm{ax,in}, which NetBSD doesn't have prior to 5.1 -NOT_FOR_PLATFORM= NetBSD-4*-* NetBSD-5.0*-* +LICENSE= gnu-gpl-v2 USE_TOOLS+= gmake INSTALLATION_DIRS= bin WRKSRC= ${WRKDIR}/${DISTNAME}/Quake +BUILD_TARGET= quakespasm do-install: ${INSTALL_PROGRAM} ${WRKSRC}/quakespasm ${DESTDIR}${PREFIX}/bin -.include "../../net/SDL_net/buildlink3.mk" +.include "../../audio/libmad/buildlink3.mk" +.include "../../audio/libvorbis/buildlink3.mk" +.include "../../devel/SDL/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/games/quakespasm/distinfo b/games/quakespasm/distinfo index 3e9dbde6fb6..8ca4e41be34 100644 --- a/games/quakespasm/distinfo +++ b/games/quakespasm/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2011/12/14 00:11:33 marino Exp $ +$NetBSD: distinfo,v 1.3 2015/02/02 22:24:48 snj Exp $ -SHA1 (quakespasm-0.85.1.tgz) = 4877148c09662c153a92c276116222e6c444f76d -RMD160 (quakespasm-0.85.1.tgz) = d1ac2c9c96ea1b877e575351d5018730822169d3 -Size (quakespasm-0.85.1.tgz) = 1519477 bytes -SHA1 (patch-aa) = a382add943fbbd98a243de41045a7ad1631c8ae8 +SHA1 (quakespasm-0.90.0.tgz) = 975bd05d21bca695a87831e5b48f40c378ae30fc +RMD160 (quakespasm-0.90.0.tgz) = 8db85cf7b8ca912e7f420d52804b786112450ff6 +Size (quakespasm-0.90.0.tgz) = 6221873 bytes +SHA1 (patch-aa) = 3c46fbc72ffa736be66aa4b96e683406a6b05832 diff --git a/games/quakespasm/patches/patch-aa b/games/quakespasm/patches/patch-aa index 101f3f736d6..3b72ae9ec6c 100644 --- a/games/quakespasm/patches/patch-aa +++ b/games/quakespasm/patches/patch-aa @@ -1,34 +1,15 @@ -$NetBSD: patch-aa,v 1.2 2011/12/14 00:11:33 marino Exp $ +$NetBSD: patch-aa,v 1.3 2015/02/02 22:24:48 snj Exp $ ---- Makefile.orig 2010-02-18 16:55:28.000000000 +0000 -+++ Makefile -@@ -20,13 +20,13 @@ check_gcc = $(shell if echo | $(CC) $(1) - DEBUG ?= 0 - BUILDDIR := . - --SYSNAME := $(shell uname -s) -+SYSNAME := $(shell uname -s) - - ifneq (,$(findstring MINGW32,$(SYSNAME))) - HOST_OS = WIN32 - TOPDIR := $(shell pwd -W) - else --ifneq (,$(findstring $(SYSNAME),FreeBSD NetBSD OpenBSD)) -+ifneq (,$(findstring $(SYSNAME),FreeBSD NetBSD OpenBSD DragonFly)) - HOST_OS = UNIX - UNIX = bsd - TOPDIR := $(shell pwd) -@@ -138,7 +138,7 @@ common.o gl_rlight.o host_cmd.o ne - # ------------------------ - - quakespasm: $(OBJS) -- $(CC) $(CFLAGS) -o quakespasm $(OBJS) $(X11_LFLAGS) $(SDL_LFLAGS) $(LIBS) -+ $(CC) $(CFLAGS) -o quakespasm $(OBJS) $(X11_LFLAGS) $(SDL_LFLAGS) $(LIBS) $(LDFLAGS) - $(STRIP_CMD) $@ - - release: quakespasm -@@ -151,3 +151,4 @@ install: quakespasm - clean: - rm -f $(shell find . \( -name '*~' -o -name '#*#' -o -name '*.o' -o -name '*.res' -o -name $(DEFAULT_TARGET) \) -print) - -+all: quakespasm +Don't clobber LDFLAGS. + +--- Makefile.orig 2014-09-20 13:37:35.000000000 -0700 ++++ Makefile 2015-02-02 12:26:17.000000000 -0800 +@@ -52,7 +52,7 @@ STRIP ?= strip + #CPUFLAGS= -mtune=k8 + #CPUFLAGS= -march=atom + CPUFLAGS= +-LDFLAGS = ++#LDFLAGS = + DFLAGS ?= + CFLAGS ?= -Wall -Wno-trigraphs + CFLAGS += $(CPUFLAGS) |