Quake2-LNX project aims to further develop and bug fix original Quake II
code released by id Software in 1998, as well as support multiple
architectures (currently i386, alpha, sparc64, and powerpc are supported).
It also includes additional rendering drivers, eyecandy stuff from
Quake2Max project, and experimental IPv6 support.
===> The following configuration options are available for quake2lnx-0.16.2_16:
AA=off: Build ASCII graphics renderer
CLIENT=on: Build original client
CTF=off: Build Capture The Flag mod
DOCS=on: Build and/or install documentation
EYECANDY=off: Build client with fancier GL graphics
GAME=off: Build main game (default mod)
GLX=on: Build OpenGL (GLX) renderer
IPV6=on: IPv6 protocol support
JOYSTICK=off: Joystick support
OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
REDBLUE=off: Enable 3D glasses rendering
RETEXTURE=off: Retextured graphics support
SDLCLIENT=off: Build SDL client
SDLGL=off: Build SDL OpenGL renderer
SERVER=on: Build dedicated server
SOFTSDL=off: Build software SDL renderer
X11=on: Build X11 (software) renderer
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
- Do not suppress -Wall from default CFLAGS, it is always good to see if the
code needs some attention, and move macro definition behind other flags
- Fix the build against the LLD linker on i386 when using optimized assembly
routines by allowing relocations in read-only segments (normally, Quake II
builds its shared libraries with -fPIC and they link fine except these few
files written in assembly)
PR: 234866
Submitted by: emaste
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
Attempt to unbreak the build against newer versions of libXxf86dga:
In file included from src/linux/gl_glx.c:57:
/usr/local/include/X11/extensions/xf86dga.h:9:2: warning: "xf86dga.h
is obsolete and may be removed in the future." [-W#$warnings]
/usr/local/include/X11/extensions/xf86dga.h:10:2: warning: "include
<X11/extensions/Xxf86dga.h> instead." [-W#warnings]
While here, add missing USE_XORG components per `stage-qa' note; this
also unbreaks the build when X11 option is not being selected (the bug
previously went unnoticed because it is selected by default).
Reported by: Victor Sudakov
Fix a couple of bugs that prevented `games/quake2lnx' from fully working
on amd64 (and likely other 64-bit architectures):
- Prototype for `void *qwglGetProcAddress(char *symbol)' was guarded by
#ifdef __linux__; this was not a problem on i386, where sizeof(void *)
/actual return type/ == sizeof(int) /assumed return type of undeclared
function/. On amd64, returned pointer would sometimes get truncated,
leading to a program's crash. Mend this by turning `#ifdef __linux__'
condition essentially into `#ifndef _WIN32'
- Software renderer was typedef'ing PIXEL24 as `unsigned long'; fix it
by using `unsigned int' type instead
- Remove `-s' from OPTIMIZED_CFLAGS: stripping is taken care of during
installation (subject to WITH_DEBUG); also remove optimization flag
`-fexpensive-optimizations' as it is not being supported by Clang
- While here, fix `version' console command to report correct operating
system and architecture names
- Employ options helper target to install documentation; add more useful
changelogs and drop `quake2.3dfxgl' file (meaningless these days)
Remove support for WANT_SDL/HAVE_SDL knobs
WANT_SDL/HAVE_SDL macros allowed a port to check which SDL components
are installed. This goes against the policy of avoiding automatic
dependencies, and there are actually no cases in the portstree where
these knobs are used properly, so axe them out.
Approved by: portmgr (mat)
Differential Revision: D4093
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
Mostly cosmetic fixes over various Quake2 ports:
- Wrap overly long lines to fit standard terminal width
- When installing pre-generated docs, do not check PORT_OPTIONS:MDOCS
which is useless in post-stage era
- Simplify MASTER_SITES, optimize away MASTER_SITE_SUBDIR if possible
- Amend COMMENT text and pkg-descr in `quake2-lights' port
- Unbreak installation of Quake2-LNX (icculus.org port)
- Some time ago, original (non-SDL) client executable started to yield
choppy sound (when using standard OSS API). It happens because the
SNDCTL_DSP_GETOSPACE ioctl() was issued before setting other important
parameters; to remedy the problem, it should be moved below the mmap()
call. While here, cleanup few more potential problems: avoid using
AFMT_S16_LE as it would break on big-endian machines, align mmap()'ed
buffer to the page size, and fix resource leaks here and there.
- In the port's Makefile: bump PORTREVISION and convert USE_GMAKE
Submitted by: Ozkan Sezer (via icculus.org quake2 mailing list)
- Unbreak the build with EYECANDY option (required libGLU and fixing famous
jpeg_mem_src() collision) [*]
- Use new syntax when setting LIB_DEPENDS (per r322328)
- Get rid of TGTDIR, cleanup Makefile a bit while here
- Reduce the differences between games/quake2lnx and games/quake2max
Reported by: tigerby on #bsdports [*]
- Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions
Tested by: exp-run by pav
- Bump PORTREVISION.
- Remove code from patch-security which was causing a "Bad challenge" error
when connecting to password protected servers.
- Turn GAME option to "off" by default (a functional game.so is installed by
games/quake2-data) as in other Quake II engine ports.
PR: ports/111048
Submitted by: alepulver (myself)
Approved by: danfe (maintainer, timeout)
Reported by: Kyle Hunter <keletmaster@gmail.com>
- Remove invalid entry from MASTER_SITE (is a redirect to the other one).
- Remove unneeded ":icc" group.
- Remove unavoidable autodetection of installed libraries to use them.
- Change nonexistent dependency games/quake2-retexture to games/quake2-extras.
PR: 107199
Submitted by: alepulver (myself)
Approved by: maintainer (timeout)
- Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
binary)
- Update graphics/sdl_ttf to version 2.0.8
- Update graphics/sdl_image to version 1.2.5
- Update audio/sdl_mixer to version 1.2.7
- Update net/sdl_net to version 1.2.6
- Update Mk/bsd.sdl.mk accordingly
- Fix dependent ports to fit the new directory structure and avoid several
API breakages
- Bump up portrevisions for all dependent ports to allow them to be upgraded
by portupgrade/portmaster etc tools
Approved by: kris (portmgr), sem (mentor)
- Bump PORTREVISION.
- Remove ROGUE and XATRIX options (moved to "games/quake2-rogue" and
"games/quake2-xatrix").
- Rename "sdlquake2" to "quake2-sdl" to avoid conflicting with
"games/sdlquake2".
- Depend on "games/quake2-extras" for the RETEXTURE option instead of
installing them directly (most Q2 engines in ports support them).
- Install maxpak.pak in ${LIBDIR} (private directory) and not in ${Q2DIR}
(global directory). Other engines have their own pak/pk3 files.
- Fix reversed mouse when doing very slow movements (like when aiming at a long
distance). It's the same fix as sent to "games/warsow".
- Follow the rules in "games/quake2-data/Makefile.include": fix handling of
search paths (DATADIR/LIBDIR weren't used when playing a modification, also
use the right order).
PR: ports/101010
Submitted by: alepulver
Approved by: maintainer (timeout)
[PATCH] bsd.sites.mk and relevant ports: add MASTER_SITE_IDSOFTWARE
This patch adds the MASTER_SITE_IDSOFTWARE list of mirrors to
bsd.sites.mk and adds it to the following ports:
games/doom
games/linux-quake3
games/linux-quake4
games/qcc
games/quake-data
games/quake-source
games/quake2-data
games/quake2-source
games/quake2forge
games/quake2lnx
games/quake3
games/quake3-data
games/rtcw
PR: ports/93546
Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Further work on my beloved port:
- Rework the way we handle BASEDIR/LIBDIR, keeping ability to set basedir
from command line. Only ref_*.so files path left hardcoded
- Tiny fix for dedicated server build (Makefile typo)
- Most importantly, help Quake II always find libGL.so (no more LD_PRELOAD
magic). Bump PORTREVISION for that [*]
- Restore my nifty comments in pkg-plist
References: http://utah-glx.sourceforge.net/faq.html#AEN262 [*]
- Resort OPTIONS. Alphabetical order isn't really the best choice here
- Add ${ARCH} != i386 check for SVGA renderer
- Restore some cosmetic comments of mine
[MAINTAINER UPDATE] games/quake2-data: redesign, patch dependant ports
- Changed quake2-data/Makefile.include to be more similar
to bsd.*.mk files, also it doesn't override port's
variables.
- Change dependant ports.
PR: ports/90147
Subnmitted by: Alejandro Pulver <alejandro@varnet.biz>
[UPDATE] games/quake2lnx: integrate with "quake2-data"
Changes:
* Integrate with "quake2-data".
* Add OPTIONS (21).
* Clean-up (sort knobs alphabetically, etc.).
* Automatically extract Rogue and Xatrix mission packs.
* Remove ARCH from library names (gamei386.so -> game.so).
Also increases portability (the library name was manually
defined between #ifdefs checking the architecture, and a
#error at the end).
* Change patch names (using "_" instead of "::"), and also some patches.
PR: ports/87181
Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Approved by: maintainer timeout
Update my email address to `@FreeBSD.org'.
Relinquish ports I happen to no longer use. They seem to be of the latest
versions, and non-broken, so this is a "clean" dump.
Approved by: fjoe (mentor)
New port: games/quake2lnx
Quake2-LNX project aims to further develop and bug fix original Quake II
code released by id Software in 1998, as well as support multiple
architectures. It also includes additional rendering drivers, eyecandy stuff
from Quake2Max project, and experimental IPv6 support.
Submitted by: Alexey Dokuchaev <danfe (at) regency.nsu.ru>