Portage is a package management system used by Gentoo Linux
# ChangeLog for games-fps/anaglyph-stereo-quake
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/anaglyph-stereo-quake/ChangeLog,v 1.8 2006/12/04 22:55:45 wolf31o2 Exp $
04 Dec 2006; Chris Gianelloni
anaglyph-stereo-quake-130100-r1.ebuild:
Removing old virtual/x11 dependency.
22 Mar 2006; Michael Sterrett
anaglyph-stereo-quake-130100-r1.ebuild:
modular X deps
26 Sep 2005; Chris Gianelloni
anaglyph-stereo-quake-130100-r1.ebuild:
Making games last on inherit line.
13 Aug 2004; Danny van Dyk
+files/anaglyph-stereo-quake-130100-amd64.patch,
anaglyph-stereo-quake-130100-r1.ebuild:
Fixed BUG #53784.
*anaglyph-stereo-quake-130100-r1 (06 Oct 2003)
06 Oct 2003; Mike Frysinger
A lot to see a lot to do here ...
First up, ported the SDL fixes found in NPRQuake to this
so that the game can be used with a mouse ;) #26147.
Next fixed cflags so that only user defined flags get in.
Finally, fixed data file finding so the user can be
anywhere and the game will search the quake-data dir.
*anaglyph-stereo-quake-130100 (03 Aug 2003)
03 Aug 2003; Mike Frysinger
Initial import. Ebuild submitted by me.
AUX anaglyph-stereo-quake-130100-amd64.patch 262 RMD160 1144bd2c00f2a0ca634deacb2fdf831f7e2c7b59 SHA1 b439d913fab1e47c71f4466a9600021ab728975a SHA256 ad7c7db4f14c6dccc91197b09776dca181257133893e8860fb99ee32ba4c7264
AUX fix-sys_printf.patch 271 RMD160 6a1249fa4b4b089bb1fbdd510615b5f38c474442 SHA1 219fdd54f7a02109ee3a06d7d1b94f931b1ba3f2 SHA256 0dea690fe54d900470e858e6ce06c84b0a637a0b74459007394011513b291faf
AUX gentoo-paths.patch 1005 RMD160 5d1daff1378dfe132746eb0a91176032b0a155da SHA1 eb2673d33f065829737bd12d84fc14105373d04e SHA256 8eef2da29ec92f33bfab0973f68de14c8b23d7e1783da9409129a406f862cc08
AUX makefile-cflags.patch 721 RMD160 17acd244c44eeaf5e8e9e61cb2fe50ab8c5dc539 SHA1 766b862ced12644b3c08b93d4e400728a509e549 SHA256 34a0c94573a8c603d72056e9c391c16e7f1ee8c37e89bb197d89452235b3c5b3
AUX makefile-onlyglx.patch 464 RMD160 497cad7a1c0d8907ea5b20fe0846f5068f8bf86d SHA1 b76260ba77d7df5cbefd2e4fefecc691b34a4709 SHA256 031e7d49b14e04f128365d1e6c6177033860ffc09333eacf07fd7345be533649
AUX makefile-path-fixes.patch 928 RMD160 5f02be68c078016e1add888b05126fedc28ca127 SHA1 4af709ed5475f86a0c2c3abf3056941f6aafdb62 SHA256 c42f9c28af9805fc948e75a785727d597742177e4c0c1f7fa2982ea08aed9d26
AUX stupid-dosformat.patch 749 RMD160 7ef74540cf51e635a9e9794fde359a333f7ce8a5 SHA1 1b0f00b2ecb6275f374574abb6b3756586f41f0a SHA256 4e0f5b0efd19cf34509b60cdb59157d92bce0733235269da758d6575196808b6
DIST 3dGLQuake_SRC_130100.zip 1828997 RMD160 85d92fa2638288aba9264f60099b2d8dbf360112 SHA1 607055b38266d73a0586489225fca5587585d26c SHA256 fbb827fce689533289e9f0febb706ede61917b95310503f320ecc1abff99518b
DIST anaglyph-stereo-quake-130100-SDL.patch.bz2 6934 RMD160 760a992662f0cdd18408dc17d0eda7b1f3eca712 SHA1 d350aa9c4e6c6f730bfc53d6a474b6aa0d1bc59f SHA256 25004b60f32627d97f3821d8f455d9a4befd88fb4a956bfca30f25b493ac8c41
EBUILD anaglyph-stereo-quake-130100-r1.ebuild 1621 RMD160 452ee8f89f0de3040402968e0ed8b450a8fb927e SHA1 9bcb51b71b9111c374182274a0648c7f3fc1026f SHA256 c9d1e09d9f4f469aab7636e79c56783bd47ba9e25954fbea16460f34bd6bb1bf
MISC ChangeLog 1349 RMD160 e3486c51115d7096466acb0e7d1152667da65b26 SHA1 da0494f4285b90e78f8ea270ba45e630e9ebb72f SHA256 bf2897af9a80099fe75023fda9c6c67bfd9eed6f27bb4e9a1bb07f8a29a3a6d2
MISC metadata.xml 1163 RMD160 def61800adec806b87445552a94d0e2b9f2ad524 SHA1 7f0bcde79b7b3cd1c3843172a7b4a06ecd4bc588 SHA256 43f75c6f0f2ff617f1d4c3e3e2ba76130a063e640a8b4637ce622bca99b69a52
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/anaglyph-stereo-quake/anaglyph-stereo-quake-130100-r1.ebuild,v 1.13 2006/12/04 22:55:45 wolf31o2 Exp $
inherit eutils games
DESCRIPTION="play Quake in 3D with red - blue glasses"
HOMEPAGE="http://home.iprimus.com.au/crbean/"
SRC_URI="http://home.iprimus.com.au/crbean/zip/3dGLQuake_SRC_${PV}.zip
mirror://gentoo/${P}-SDL.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="virtual/opengl
x11-libs/libXxf86dga
x11-libs/libXext
x11-libs/libX11
x11-libs/libXxf86vm
media-libs/libsdl"
DEPEND="${RDEPEND}
x11-proto/xf86dgaproto
x11-proto/xextproto
x11-proto/xf86vidmodeproto
x11-proto/xproto
app-arch/unzip"
S=${WORKDIR}/WinQuake
src_unpack() {
unpack ${A}
cd "${S}"
mv GLQUAKE.H glquake.h
mv GL_DRAW.C gl_draw.c
mv GL_RMAIN.C gl_rmain.c
epatch "${FILESDIR}"/stupid-dosformat.patch
mv Makefile{.linuxi386,}
epatch "${FILESDIR}"/makefile-path-fixes.patch
epatch "${FILESDIR}"/fix-sys_printf.patch
epatch "${FILESDIR}"/makefile-cflags.patch
epatch "${FILESDIR}"/gentoo-paths.patch
edos2unix console.c "${WORKDIR}"/${P}-SDL.patch
epatch "${WORKDIR}"/${P}-SDL.patch
epatch "${FILESDIR}"/${P}-amd64.patch
}
src_compile() {
make \
OPTFLAGS="${CFLAGS}" \
GENTOO_DATADIR=${GAMES_DATADIR}/quake1 \
build_release \
|| die "failed to build WinQuake"
}
src_install() {
newgamesbin release*/bin/glquake.sdl anaglyph-stereo-quake || die
dodoc "${WORKDIR}"/readme.id.txt
dohtml "${WORKDIR}"/3dquake.html
prepgamesdirs
}
What is Anaglyph Quake?
Anaglyph Quake is a modified version of glQuake designed to be viewed
with Anaglyph Glasses. The purpose of viewing with Anaglyph glasses is
so that the image is viewed in stereo (a separate image for each eye),
which is the basis for depth perception. Thus, with this version of
Quake, red-cyan glasses, and a suitable computer, you can play Quake in
real 3D.
Anaglyph Glasses:
Anaglyph Glasses are red-blue glasses (the red lens is over the left eye
). They rely on the idea that the red light will only pass through the
red lens, and blue light will only pass through the blue lens. Thus by
printing the two different views in these opposing colours, the viewer
will see a stereo view, and hence depth (amusing that the two images are
appropriate viewpoints of the same scene ). Because red&blue are 2/3 of
the colours used by monitors for display , you can get red-cyan glasses,
cyan allowing both blue and green thorough.