diff options
-rw-r--r-- | games-action/chromium/Manifest | 20 | ||||
-rw-r--r-- | games-action/chromium/chromium-0.9.12-r6.ebuild | 89 | ||||
-rw-r--r-- | games-action/chromium/chromium-0.9.12-r7.ebuild | 89 | ||||
-rw-r--r-- | games-action/chromium/files/0.9.12-configure.patch | 22 | ||||
-rw-r--r-- | games-action/chromium/files/0.9.12-freealut.patch | 260 | ||||
-rw-r--r-- | games-action/chromium/files/0.9.12-gcc3-gentoo.patch | 21 | ||||
-rw-r--r-- | games-action/chromium/files/0.9.12-gcc43.patch | 724 | ||||
-rw-r--r-- | games-action/chromium/files/0.9.12-png.patch | 62 | ||||
-rw-r--r-- | games-action/chromium/files/0.9.12-qt3.patch | 22 |
9 files changed, 0 insertions, 1309 deletions
diff --git a/games-action/chromium/Manifest b/games-action/chromium/Manifest index 21ae08cce1cc..579ae9a683ba 100644 --- a/games-action/chromium/Manifest +++ b/games-action/chromium/Manifest @@ -1,27 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX 0.9.12-configure.patch 598 RMD160 06d7d596f5706ee681a90590662badcdac4d093c SHA1 6fd3ac50d7bc5b34b3f4fc442f496c69e16a34a9 SHA256 a41fa468d922083a0483c933388b76ed73f7acd8941a239174a0f0447510fe5d -AUX 0.9.12-freealut.patch 7006 RMD160 e14eed7b6006dbf4b08d8766fa2279db7483b850 SHA1 fc6041b069bd10d55969cb92d37e25ee71cb154c SHA256 50b221196a057eb2d0800cdc987d3156be15747f093dbd752d3ac06343e21696 -AUX 0.9.12-gcc3-gentoo.patch 530 RMD160 2599f72b8a4cdb81cbad7802085321dbb2aa096d SHA1 49c2dca0dc05a29872d743bed457c984fae179ce SHA256 e10024adff892effc7ad2230234260c00106020c920180c69539f6f4e43b5d50 -AUX 0.9.12-gcc43.patch 13538 RMD160 10d8b5ea2abebf1f8d950b689666b01a10c8c00a SHA1 86072680e31afae187550f8dfbe4df7a291e8eca SHA256 745da97713891d517c8ee2b9a15d798ec6274b0460c7e120a73fc15e98f3d827 -AUX 0.9.12-png.patch 1782 RMD160 a29e92481b9680d4e825e74f3333d1dc8a37ef5f SHA1 e49efcb0e5ab59e21faf59d0f1a909a1af785411 SHA256 3b6f3a161e5b9122d67d2643dc70fd33e2d794fddd868ca018703072e58be43b -AUX 0.9.12-qt3.patch 979 RMD160 efe12c75b8d83b85292d974b0b4fe17f554a463b SHA1 0ce024be66d6ab60b72bb0d7c29764de18f1fee2 SHA256 3671171967c89b6ab675e49fd228cef0398bb01b9b60f77d26f749e4ea4f9861 AUX chromium-0.9.14-pkgconfig.patch 233 RMD160 535f639ee24259a75a2505b78635346feb7b36d3 SHA1 d1eb0fb1280feeb42f30b014fdc1aa12ffb795c3 SHA256 b06e06c0c117b5331f93e6a62b2f349e031648e15739956b798394a4aecab05d DIST chromium-0.9.13.3.tar.gz 1504097 RMD160 0d64b60b2a4de66a2254350faee47e8041793189 SHA1 079c069a94f30084a7a8966e3a9def53cdf47b76 SHA256 60affa635624a992483da40de353c2681cd15aaaa52b2ae9753d38c865574c40 DIST chromium-bsu-0.9.14.tar.gz 1615989 RMD160 ecdb542fc393404184db555d829efe32acab30a8 SHA1 a273318b89d68309bc812c4b06a9035e88dc26a7 SHA256 17e6f846458dff790d1d9c534bb5c9087ce97d6a4616f4cbd4851abdfb2d1709 -DIST chromium-data-0.9.12.tar.gz 1111134 RMD160 b05510d8b4a5a868b632108f688ec187a89ed805 SHA1 7828f54f8570b27736a9bf1da004ac297bbd0dfb SHA256 749d10bcedeff7a82701da97701f9d31b4a057dfa84f33e197085ac71975b195 -DIST chromium-src-0.9.12.tar.gz 640283 RMD160 f422098a67efedb53fafbbb08119596c6b87a1d8 SHA1 d333f4100c9b5b4eb6d6bdf4bc4ebd3a7066c5a0 SHA256 a4a2c929dfd462a9281d8c0dae485c70362140e038f532608550f6528b6ab745 -EBUILD chromium-0.9.12-r6.ebuild 2385 RMD160 e34c04030fe72d98a5171b29b61e877529b01529 SHA1 edd78b8c07dbb461362e14ce6e40e8d43ad5a222 SHA256 3846c4461b061e4a20b2880ca30494c12633b97087a61d59057ef42e86c0c9f2 -EBUILD chromium-0.9.12-r7.ebuild 2408 RMD160 108a75e60d9fe1298a80abe9c97b1474467fb48a SHA1 077082431af3e7deb0cbc886f939392f9eeafea4 SHA256 b299eca0f32f1efb0523ceb3bcaa620a259908a1794fd26148a18390bf383b29 EBUILD chromium-0.9.13.3.ebuild 1496 RMD160 4fd285cde910ab3a8fe06b1c2c2f20c5be912af8 SHA1 7ad7162dbd0d989aee7ffe80307245478ff5869c SHA256 0c575abc45b9b65d1ba22661e6a6583bceca765d99f48f7b284b27ddcd122930 EBUILD chromium-0.9.14.ebuild 1841 RMD160 69746fe3c6776c6233b61f4d960c848a2dee45ca SHA1 713fefa20a889b69aa647ea7c2cc6f15ca746ecb SHA256 a07393c5f90e54749c7395e1e13cccdb4ef4c44bb95f9bb00e537ba59de05f31 MISC ChangeLog 6754 RMD160 ab39d3dae09368a3a20b68c58ee25de4946f5359 SHA1 f63806d792ff120734cb1793b8db7908ee718471 SHA256 33901ae61d2906b1126243424950a7056c1ee419a0456d078b1d5e728d19c49f MISC metadata.xml 304 RMD160 1da8516345a4eeb8db811a054c3429b29151f05b SHA1 7c38e43ac799cb11e7bf525dd120148f877f4898 SHA256 d324fcae59c6db598b818d799bc57939908f41c7d8c138d1472532091d607979 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAknh+A0ACgkQdz7hIScOURForACg2GE7HX/4J7/5azQ+5cpORddM -EWIAniCiqYlwGULa6uTwXRfiDO3E+Z+A -=oBE8 ------END PGP SIGNATURE----- diff --git a/games-action/chromium/chromium-0.9.12-r6.ebuild b/games-action/chromium/chromium-0.9.12-r6.ebuild deleted file mode 100644 index 55749fc04944..000000000000 --- a/games-action/chromium/chromium-0.9.12-r6.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/chromium-0.9.12-r6.ebuild,v 1.8 2008/07/27 20:17:27 carlo Exp $ - -EAPI=1 - -inherit eutils flag-o-matic qt3 toolchain-funcs versionator games - -MY_PV=$(get_version_component_range -2) -DESCRIPTION="Chromium B.S.U. - an arcade game" -HOMEPAGE="http://www.reptilelabour.com/software/chromium/" -SRC_URI="http://www.reptilelabour.com/software/files/${PN}/${PN}-src-${PV}.tar.gz - http://www.reptilelabour.com/software/files/${PN}/${PN}-data-${PV}.tar.gz" - -LICENSE="Artistic" -SLOT="0" -KEYWORDS="amd64 ppc sparc x86" -IUSE="sdl qt3 vorbis" - -DEPEND="virtual/opengl - virtual/glu - x11-libs/libXmu - sdl? ( media-libs/libsdl - media-libs/smpeg ) - !sdl? ( virtual/glut ) - vorbis? ( media-libs/libvorbis ) - qt3? ( x11-libs/qt:3 ) - media-libs/openal - media-libs/freealut" - -S=${WORKDIR}/Chromium-${MY_PV} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch \ - "${FILESDIR}"/${PV}-gcc3-gentoo.patch \ - "${FILESDIR}"/${PV}-freealut.patch \ - "${FILESDIR}"/${PV}-configure.patch - if use qt3 ; then - epatch "${FILESDIR}/${PV}-qt3.patch" - fi - append-flags -DPKGDATADIR="'\"${GAMES_DATADIR}/${PN}\"'" - append-flags -DPKGBINDIR="'\"${GAMES_BINDIR}\"'" - sed -i \ - -e "s:-O2 -DOLD_OPENAL:${CXXFLAGS}:" src/Makefile \ - || die "sed src/Makefile failed" - sed -i \ - -e "s:-g:${CXXFLAGS}:" src-setup/Makefile \ - || die "sed src-setup/Makefile failed" - sed -i \ - -e "s:-O2:${CFLAGS}:" support/glpng/src/Makefile \ - || die "sed support/glpng/src/Makefile failed" - find "${S}" -type d -name CVS -exec rm -rf '{}' \; >& /dev/null -} - -src_compile() { - if use sdl ; then - export ENABLE_SDL="yes" - export ENABLE_SMPEG="yes" - else - export ENABLE_SDL="no" - export ENABLE_SMPEG="no" - fi - use vorbis \ - && export ENABLE_VORBIS="yes" \ - || export ENABLE_VORBIS="no" - if use qt3 ; then - export ENABLE_SETUP="yes" - else - export ENABLE_SETUP="no" - fi - ./configure || die "configure failed" - emake -j1 \ - CC=$(tc-getCC) \ - CXX=$(tc-getCXX) \ - LINK=$(tc-getCXX) \ - || die "emake failed" -} - -src_install() { - dogamesbin bin/chromium* || die "dogamesbin failed" - insinto "${GAMES_DATADIR}/${PN}" - rm -rf data/png/.xvpics - doins -r data || die "doins failed" - newicon data/png/hero.png ${PN}.png - make_desktop_entry chromium "Chromium B.S.U" - prepgamesdirs -} diff --git a/games-action/chromium/chromium-0.9.12-r7.ebuild b/games-action/chromium/chromium-0.9.12-r7.ebuild deleted file mode 100644 index ee1453fa5782..000000000000 --- a/games-action/chromium/chromium-0.9.12-r7.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/chromium-0.9.12-r7.ebuild,v 1.3 2008/07/27 20:17:27 carlo Exp $ - -EAPI=1 - -inherit eutils flag-o-matic qt3 toolchain-funcs versionator games - -MY_PV=$(get_version_component_range -2) -DESCRIPTION="Chromium B.S.U. - an arcade game" -HOMEPAGE="http://www.reptilelabour.com/software/chromium/" -SRC_URI="http://www.reptilelabour.com/software/files/${PN}/${PN}-src-${PV}.tar.gz - http://www.reptilelabour.com/software/files/${PN}/${PN}-data-${PV}.tar.gz" - -LICENSE="Artistic" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="sdl qt3 vorbis" - -DEPEND="virtual/opengl - virtual/glu - x11-libs/libXmu - sdl? ( media-libs/libsdl - media-libs/smpeg ) - !sdl? ( virtual/glut ) - vorbis? ( media-libs/libvorbis ) - qt3? ( x11-libs/qt:3 ) - media-libs/libpng - media-libs/openal - media-libs/freealut" - -S=${WORKDIR}/Chromium-${MY_PV} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch \ - "${FILESDIR}"/${PV}-freealut.patch \ - "${FILESDIR}"/${PV}-configure.patch \ - "${FILESDIR}"/${PV}-qt3.patch \ - "${FILESDIR}"/${PV}-png.patch \ - "${FILESDIR}"/${PV}-gcc43.patch - append-flags -DPKGDATADIR="'\"${GAMES_DATADIR}/${PN}\"'" - append-flags -DPKGBINDIR="'\"${GAMES_BINDIR}\"'" - sed -i \ - -e "s:-O2 -DOLD_OPENAL:${CXXFLAGS}:" src/Makefile \ - || die "sed src/Makefile failed" - sed -i \ - -e "s:-g:${CXXFLAGS}:" src-setup/Makefile \ - || die "sed src-setup/Makefile failed" - sed -i \ - -e "s:-O2:${CFLAGS}:" support/glpng/src/Makefile \ - || die "sed support/glpng/src/Makefile failed" - find "${S}" -type d -name CVS -exec rm -rf '{}' \; >& /dev/null -} - -src_compile() { - if use sdl ; then - export ENABLE_SDL="yes" - export ENABLE_SMPEG="yes" - else - export ENABLE_SDL="no" - export ENABLE_SMPEG="no" - fi - use vorbis \ - && export ENABLE_VORBIS="yes" \ - || export ENABLE_VORBIS="no" - if use qt3 ; then - export ENABLE_SETUP="yes" - else - export ENABLE_SETUP="no" - fi - ./configure || die "configure failed" - emake -j1 \ - CC=$(tc-getCC) \ - CXX=$(tc-getCXX) \ - LINK=$(tc-getCXX) \ - || die "emake failed" -} - -src_install() { - dogamesbin bin/chromium* || die "dogamesbin failed" - insinto "${GAMES_DATADIR}/${PN}" - rm -rf data/png/.xvpics - doins -r data || die "doins failed" - newicon data/png/hero.png ${PN}.png - make_desktop_entry chromium "Chromium B.S.U" - prepgamesdirs -} diff --git a/games-action/chromium/files/0.9.12-configure.patch b/games-action/chromium/files/0.9.12-configure.patch deleted file mode 100644 index ed15aeb81594..000000000000 --- a/games-action/chromium/files/0.9.12-configure.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- configure.orig 2008-04-14 20:15:16.000000000 +0200 -+++ configure 2008-04-14 20:15:44.000000000 +0200 -@@ -1,18 +1,14 @@ --#!/bin/sh -+#!/bin/bash - - ## Minimum versions of libs - ################################### - SDL_MIN_VERSION="1.1.6" - SMPEG_MIN_VERSION="0.4.2" - - ## Defaults - ################################### --ENABLE_SDL="yes" --ENABLE_SMPEG="yes" --ENABLE_VORBIS="no" --ENABLE_SETUP="yes" - - ## Where do we look for stuff? - ################################### - std_bin_dirs="/usr/bin /usr/X11R6/bin /usr/local/bin $HOME/bin" - std_lib_dirs="/usr/lib /usr/X11R6/lib /usr/local/lib $HOME/lib" diff --git a/games-action/chromium/files/0.9.12-freealut.patch b/games-action/chromium/files/0.9.12-freealut.patch deleted file mode 100644 index ad2accb830ef..000000000000 --- a/games-action/chromium/files/0.9.12-freealut.patch +++ /dev/null @@ -1,260 +0,0 @@ ---- configure -+++ configure -@@ -158,8 +158,8 @@ - ## set up other config.mak variables - ###################################################################### - GL_LIBS="-lglpng -lGL -lGLU -lm" --AL_LIBS="-L../support/openal/lib -lopenal -ldl" --AL_CFLAGS="-I../support/openal/linux/include -I../support/openal/include" -+AL_LIBS="-lopenal -lalut" -+AL_CFLAGS="" - - ## write out config.mak - ###################################################################### - ---- scripts/Makefile.all -+++ scripts/Makefile.all -@@ -1,5 +1,4 @@ - SUPPORT_DIRS = \ -- ./support/openal/ \ - ./support/glpng/src - - CHROMIUM_DIRS = \ - ---- scripts/Makefile.no-setup -+++ scripts/Makefile.no-setup -@@ -1,5 +1,4 @@ - SUPPORT_DIRS = \ -- ./support/openal/ \ - ./support/glpng/src - - CHROMIUM_DIRS = \ - ---- src/AudioOpenAL.cpp -+++ src/AudioOpenAL.cpp -@@ -43,8 +43,7 @@ - //try to use OpenAL alc[GS]etAudioChannel extensions in linux... - #ifdef __linux__ - #define CD_VOLUME 1 --// #include <AL/alext.h> -- #include <AL/alkludgetypes.h> -+ #include <AL/alext.h> - #endif //__linux__ - #endif //USE_SDL - #else -@@ -52,8 +51,7 @@ - //try to use OpenAL alc[GS]etAudioChannel extensions in linux... - #ifdef __linux__ - #define CD_VOLUME 1 --// #include <AL/alext.h> -- #include <AL/alexttypes.h> -+ #include <AL/alext.h> - #endif //__linux__ - #endif //USE_SDL - #endif -@@ -124,6 +122,7 @@ - audioScale[0] = 0.5; - audioScale[1] = 0.3; - audioScale[2] = 0.3; -+ alDistanceModel(AL_NONE); - } - - if(config->swapStereo()) -@@ -235,6 +234,7 @@ - printExtensions(stderr, (const char*)alGetString( AL_EXTENSIONS )); - fprintf(stderr, "------------------------------------------------------------\n"); - -+ alutInitWithoutContext(NULL, NULL); - checkForExtensions(); - - alListenerfv(AL_POSITION, pos); -@@ -310,7 +310,7 @@ - - //-- check AttenuationScale extension - alAttenuationScale = (void (*)(ALfloat param)) -- alGetProcAddress((ALubyte *)"alAttenuationScale_LOKI"); -+ alGetProcAddress("alAttenuationScale_LOKI"); - if(alAttenuationScale == NULL) - fprintf(stderr, "ATTENTION!! Could not load alAttenuationScale\n"); - else -@@ -318,9 +318,9 @@ - - //-- check Audio Channel extension - alcGetAudioChannel = (float (*)(ALuint channel)) -- alGetProcAddress((const ALubyte *)"alcGetAudioChannel_LOKI"); -+ alGetProcAddress("alcGetAudioChannel_LOKI"); - alcSetAudioChannel = (void (*)(ALuint channel, ALfloat volume)) -- alGetProcAddress((const ALubyte *)"alcSetAudioChannel_LOKI"); -+ alGetProcAddress("alcSetAudioChannel_LOKI"); - #ifdef CD_VOLUME - if(alcGetAudioChannel) - origCDvolume = alcGetAudioChannel(ALC_CHAN_CD_LOKI); -@@ -328,10 +328,10 @@ - - //-- check MP3 extension - alutLoadMP3 = (ALboolean (*)(ALuint, ALvoid *, ALint)) -- alGetProcAddress((const ALubyte *)"alutLoadMP3_LOKI"); -+ alGetProcAddress("alutLoadMP3_LOKI"); - //-- check Ogg/Vorbis extension - alutLoadVorbis = (ALboolean (*)(ALuint, ALvoid *, ALint)) -- alGetProcAddress((const ALubyte *)"alutLoadVorbis_LOKI"); -+ alGetProcAddress("alutLoadVorbis_LOKI"); - - #endif //_WIN32 - } -@@ -468,9 +468,6 @@ - void AudioOpenAL::loadSounds() - { - int i; -- ALsizei size, freq, bits; -- ALenum format; -- ALvoid *data; - - for(i = 0; i < NumSoundTypes; i++) - { -@@ -481,9 +478,7 @@ - else - { - #ifndef _WIN32 -- alutLoadWAV(dataLoc(fileNames[i]), &data, &format, &size, &bits, &freq); -- alBufferData (buffer[i], format, data, size, freq); -- free(data); -+ buffer[i] = alutCreateBufferFromFile(dataLoc(fileNames[i])); - #else //_WIN32 - char nameBuffer[256]; - sprintf(nameBuffer, "%s", dataLoc(fileNames[i])); -@@ -842,17 +837,8 @@ - fprintf(stderr, " PlayList support not compiled into Chromium (AudioOpenAL.cpp)\n"); - return false; - #else //USE_PLAYLIST -- bool retVal; -- ALsizei size, freq, bits; -- ALenum format; -- ALvoid *data; -- retVal = alutLoadWAV(filename, &data, &format, &size, &bits, &freq); -- if(retVal) -- { -- alBufferData (buffer[MusicGame], format, data, size, freq); -- free(data); -- } -- return retVal; -+ buffer[MusicGame] = alutCreateBufferFromFile(filename); -+ return true; - #endif//USE_PLAYLIST - } - ---- src/AudioOpenAL.h -+++ src/AudioOpenAL.h -@@ -16,6 +16,7 @@ - #include <openal.h> - #else //macintosh - #include <AL/al.h> -+#include <AL/alc.h> - #endif //macintosh - - /** -@@ -89,7 +90,7 @@ - - float origCDvolume; - -- void *context_id; -+ ALCcontext *context_id; - bool initialized; - float audioScale[3]; - ---- src-setup/Audio.cpp -+++ src-setup/Audio.cpp -@@ -56,7 +56,7 @@ - { - fprintf(stderr, "stopping OpenAL..."); - if(initialized) -- alcDestroyContext(context_id); -+ alutExit(); - initialized = false; - fprintf(stderr, "done.\n"); - } -@@ -71,8 +71,7 @@ - if(!initialized) - { - fprintf(stderr, "starting OpenAL..."); -- context_id = alcCreateContext(NULL); -- initialized = (bool)context_id; -+ initialized = alutInit(NULL, NULL); - fprintf(stderr, "done.\n"); - - if(initialized) -@@ -81,21 +80,21 @@ - - #ifndef _WIN32 - alAttenuationScale = (void (*)(ALfloat param)) -- alGetProcAddress((const ALubyte *)"alAttenuationScale_LOKI"); -+ alGetProcAddress("alAttenuationScale_LOKI"); - if(alAttenuationScale == NULL) - fprintf(stderr, "alAttenuationScale NOT present\n"); - else - alAttenuationScale(1.0); - - alutLoadMP3 = (ALboolean (*)(ALuint, ALvoid *, ALint)) -- alGetProcAddress((const ALubyte *)"alutLoadMP3_LOKI"); -+ alGetProcAddress("alutLoadMP3_LOKI"); - if(alutLoadMP3) - fprintf(stderr, "alutLoadMP3_LOKI present\n"); - else - fprintf(stderr, "alutLoadMP3_LOKI NOT present\n"); - - alutLoadVorbis = (ALboolean (*)(ALuint, ALvoid *, ALint)) -- alGetProcAddress((const ALubyte *)"alutLoadVorbis_LOKI"); -+ alGetProcAddress("alutLoadVorbis_LOKI"); - if(alutLoadVorbis) - fprintf(stderr, "alutLoadVorbis_LOKI present\n"); - else -@@ -271,12 +270,8 @@ - //---------------------------------------------------------- - bool Audio::loadWAV(const char *filename) - { -- bool retVal = false; - if(initialized) - { -- ALsizei size, freq, bits; -- ALenum format; -- ALvoid *data; - struct stat sbuf; - - if(stat(filename, &sbuf) == -1) -@@ -286,19 +281,16 @@ - return false; - } - -- retVal = alutLoadWAV(filename, &data, &format, &size, &bits, &freq); -- if(retVal) -- { -- alBufferData (buffer[MusicGame], format, data, size, freq); -- free(data); -- } -- else -+ alGetError(); -+ buffer[MusicGame] = alutCreateBufferFromFile(filename); -+ if (buffer[MusicGame] == AL_NONE) - { -- sprintf(errorBuffer, "ERROR: alutLoadWAV failed for\n\"%s\"\nin Audio::loadWAV", filename); -+ sprintf(errorBuffer, "ERROR: failed to load\n\"%s\"\nin Audio::loadWAV", filename); - fprintf(stderr, "%s\n", errorBuffer); -+ return false; - } - } -- return retVal; -+ return true; - } - - //---------------------------------------------------------- - ---- src-setup/Audio.h -+++ src-setup/Audio.h -@@ -46,7 +46,6 @@ - ALuint buffer[NumSoundTypes]; - ALuint source[NumSoundTypes]; - -- void *context_id; - bool initialized; - - char errorBuffer[512]; diff --git a/games-action/chromium/files/0.9.12-gcc3-gentoo.patch b/games-action/chromium/files/0.9.12-gcc3-gentoo.patch deleted file mode 100644 index 8eaa91518e86..000000000000 --- a/games-action/chromium/files/0.9.12-gcc3-gentoo.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ur Chromium-0.9/src/NCString.cpp Chromium-0.9.m/src/NCString.cpp ---- src/NCString.cpp 2001-05-20 12:04:58.000000000 -0500 -+++ src/NCString.cpp 2002-07-25 22:57:03.000000000 -0500 -@@ -5,6 +5,7 @@ - #include <stdlib.h> - #include <string.h> - #include <limits.h> -+#include <stdarg.h> - - /** - * ctor ---- src/MainGLUT.cpp.~1.6.~ 2001-05-21 03:36:55.000000000 +0200 -+++ src/MainGLUT.cpp 2004-12-30 01:22:00.734250944 +0100 -@@ -11,6 +11,7 @@ - - #include <stdio.h> - #include <unistd.h> -+#include <stdlib.h> - - #include <GL/glut.h> - diff --git a/games-action/chromium/files/0.9.12-gcc43.patch b/games-action/chromium/files/0.9.12-gcc43.patch deleted file mode 100644 index 9dd74128fe14..000000000000 --- a/games-action/chromium/files/0.9.12-gcc43.patch +++ /dev/null @@ -1,724 +0,0 @@ ---- src-setup/Audio.cpp -+++ src-setup/Audio.cpp -@@ -7,13 +7,13 @@ - */ - #include "Audio.h" - --#include <stdio.h> --#include <stdlib.h> --#include <string.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cstring> - - #ifndef _WIN32 - #include <unistd.h> --#include <errno.h> -+#include <cerrno> - #include <fcntl.h> - #include <sys/stat.h> - #include <sys/types.h> -@@ -23,6 +23,7 @@ - #include <AL/alc.h> - #include <AL/alut.h> - -+ - //==================================================================== - Audio::Audio() - { ---- src-setup/ConfigFile.cpp -+++ src-setup/ConfigFile.cpp -@@ -7,8 +7,8 @@ - */ - #include "ConfigFile.h" - --#include <stdio.h> --#include <stdlib.h> -+#include <cstdio> -+#include <cstdlib> - - #include <qapp.h> - #include <qfiledialog.h> ---- src-setup/HelpPage.cpp -+++ src-setup/HelpPage.cpp -@@ -7,7 +7,7 @@ - */ - #include "HelpPage.h" - --#include <stdio.h> -+#include <cstdio> - - #include <qwidget.h> - #include <qapplication.h> ---- src-setup/HiScoreWidget.cpp -+++ src-setup/HiScoreWidget.cpp -@@ -1,7 +1,7 @@ - #include "HiScoreWidget.h" - --#include <stdio.h> --#include <stdlib.h> -+#include <cstdio> -+#include <cstdlib> - - #include <qfileinfo.h> - ---- src-setup/HiScoreWidget.h -+++ src-setup/HiScoreWidget.h -@@ -8,7 +8,7 @@ - #ifndef HiScoreWidget_h - #define HiScoreWidget_h - --#include <time.h> -+#include <ctime> - - #include <qlabel.h> - #include <qlayout.h> ---- src-setup/MainWidget.cpp -+++ src-setup/MainWidget.cpp -@@ -7,8 +7,8 @@ - */ - #include "MainWidget.h" - --#include <stdio.h> --#include <stdlib.h> -+#include <cstdio> -+#include <cstdlib> - - #include <qapp.h> - #include <qfile.h> ---- src-setup/PlayList.cpp -+++ src-setup/PlayList.cpp -@@ -7,8 +7,8 @@ - */ - #include "PlayList.h" - --#include <stdio.h> --#include <stdlib.h> -+#include <cstdio> -+#include <cstdlib> - - #include <qapp.h> - #include <qtooltip.h> ---- src/Ammo.cpp -+++ src/Ammo.cpp -@@ -7,7 +7,7 @@ - */ - #include "Ammo.h" - --#include <stdio.h> -+#include <cstdio> - - - int ActiveAmmo::ammoCount = 0; ---- src/AudioOpenAL.cpp -+++ src/AudioOpenAL.cpp -@@ -15,14 +15,14 @@ - void alcDestroyContext(void*) { alExit(); } - #endif //macintosh - --#include <stdio.h> --#include <stdlib.h> --#include <stdarg.h> --#include <string.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cstdarg> -+#include <cstring> - - #ifndef _WIN32 - #include <unistd.h> -- #include <errno.h> -+ #include <cerrno> - #include <fcntl.h> - #include <sys/stat.h> - #include <sys/types.h> ---- src/AudioSDLMixer.cpp -+++ src/AudioSDLMixer.cpp -@@ -9,14 +9,14 @@ - - #include "AudioSDLMixer.h" - --#include <stdio.h> --#include <stdlib.h> -+#include <cstdio> -+#include <cstdlib> - #include <stdarg.h> --#include <string.h> -+#include <cstring> - - #ifndef _WIN32 - #include <unistd.h> --#include <errno.h> -+#include <cerrno> - #include <fcntl.h> - #include <sys/stat.h> - #endif // _WIN32 ---- src/Config.cpp -+++ src/Config.cpp -@@ -10,9 +10,9 @@ - #include "HiScore.h" - - //==================================================================== --#include <stdio.h> --#include <stdlib.h> --#include <string.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cstring> - - #include "NCString.h" - ---- src/EnemyAircraft.cpp -+++ src/EnemyAircraft.cpp -@@ -7,9 +7,9 @@ - */ - #include "EnemyAircraft.h" - --#include <stdio.h> --#include <stdlib.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #include "Config.h" - ---- src/EnemyAircraft_Boss00.cpp -+++ src/EnemyAircraft_Boss00.cpp -@@ -7,9 +7,9 @@ - */ - #include "EnemyAircraft_Boss00.h" - --#include <stdio.h> --#include <stdlib.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #include "Config.h" - ---- src/EnemyAircraft_Boss01.cpp -+++ src/EnemyAircraft_Boss01.cpp -@@ -7,9 +7,9 @@ - */ - #include "EnemyAircraft_Boss01.h" - --#include <stdio.h> --#include <stdlib.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #include "Config.h" - ---- src/EnemyAircraft_Gnat.cpp -+++ src/EnemyAircraft_Gnat.cpp -@@ -7,9 +7,9 @@ - */ - #include "EnemyAircraft_Gnat.h" - --#include <stdio.h> --#include <stdlib.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #include "Config.h" - ---- src/EnemyAircraft_Omni.cpp -+++ src/EnemyAircraft_Omni.cpp -@@ -7,9 +7,9 @@ - */ - #include "EnemyAircraft_Omni.h" - --#include <stdio.h> --#include <stdlib.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #include "Config.h" - ---- src/EnemyAircraft_RayGun.cpp -+++ src/EnemyAircraft_RayGun.cpp -@@ -7,9 +7,9 @@ - */ - #include "EnemyAircraft_RayGun.h" - --#include <stdio.h> --#include <stdlib.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #include "Config.h" - ---- src/EnemyAircraft_Straight.cpp -+++ src/EnemyAircraft_Straight.cpp -@@ -7,9 +7,9 @@ - */ - #include "EnemyAircraft_Straight.h" - --#include <stdio.h> --#include <stdlib.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #include "Config.h" - ---- src/EnemyAircraft_Tank.cpp -+++ src/EnemyAircraft_Tank.cpp -@@ -7,9 +7,9 @@ - */ - #include "EnemyAircraft_Tank.h" - --#include <stdio.h> --#include <stdlib.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #include "Config.h" - ---- src/EnemyAmmo.cpp -+++ src/EnemyAmmo.cpp -@@ -7,9 +7,9 @@ - */ - #include "EnemyAmmo.h" - --#include <stdio.h> --#include <stdlib.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #include "compatibility.h" - #include <GL/gl.h> ---- src/EnemyFleet.cpp -+++ src/EnemyFleet.cpp -@@ -7,8 +7,8 @@ - */ - #include "EnemyFleet.h" - --#include <stdio.h> --#include <math.h> -+#include <cstdio> -+#include <cmath> - - #include "compatibility.h" - #include <GL/gl.h> ---- src/Explosions.cpp -+++ src/Explosions.cpp -@@ -7,7 +7,7 @@ - */ - #include "Explosions.h" - --#include <stdlib.h> -+#include <cstdlib> - - #include "compatibility.h" - #include <GL/gl.h> ---- src/Global.h -+++ src/Global.h -@@ -8,8 +8,8 @@ - #ifndef Global_h - #define Global_h - --#include <stdio.h> --#include <time.h> -+#include <cstdio> -+#include <ctime> - - #include "define.h" - #include "TexFont.h" ---- src/GroundMetal.cpp -+++ src/GroundMetal.cpp -@@ -8,7 +8,7 @@ - #include "GroundMetal.h" - - #include <GL/glpng.h> --#include <math.h> -+#include <cmath> - - #include "extern.h" - #include "Global.h" ---- src/GroundMetalSegment.cpp -+++ src/GroundMetalSegment.cpp -@@ -7,7 +7,7 @@ - */ - #include "GroundMetalSegment.h" - --#include <math.h> -+#include <cmath> - - #include "compatibility.h" - #include <GL/gl.h> ---- src/GroundSea.cpp -+++ src/GroundSea.cpp -@@ -7,7 +7,7 @@ - */ - #include "GroundSea.h" - --#include <stdlib.h> -+#include <cstdlib> - #include <GL/glpng.h> - - #include "extern.h" ---- src/GroundSeaSegment.cpp -+++ src/GroundSeaSegment.cpp -@@ -7,7 +7,7 @@ - */ - #include "GroundSeaSegment.h" - --#include <math.h> -+#include <cmath> - - #include "compatibility.h" - #include <GL/gl.h> ---- src/HeroAircraft.cpp -+++ src/HeroAircraft.cpp -@@ -7,9 +7,9 @@ - */ - #include "HeroAircraft.h" - --#include <stdio.h> --#include <stdlib.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #include "compatibility.h" - #include <GL/gl.h> ---- src/HeroAmmo.cpp -+++ src/HeroAmmo.cpp -@@ -7,8 +7,8 @@ - */ - #include "HeroAmmo.h" - --#include <stdio.h> --#include <stdlib.h> -+#include <cstdio> -+#include <cstdlib> - - #include "compatibility.h" - #include <GL/gl.h> ---- src/HiScore.cpp -+++ src/HiScore.cpp -@@ -11,9 +11,9 @@ - #include "HeroAircraft.h" - - //==================================================================== --#include <stdio.h> --#include <stdlib.h> --#include <string.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cstring> - - HiScore *HiScore::instance = 0; - ---- src/HiScore.h -+++ src/HiScore.h -@@ -8,8 +8,8 @@ - #ifndef HiScore_h - #define HiScore_h - --#include <stdio.h> --#include <time.h> -+#include <cstdio> -+#include <ctime> - - #include "define.h" - ---- src/MainGL.cpp -+++ src/MainGL.cpp -@@ -7,10 +7,10 @@ - */ - #include "MainGL.h" - --#include <stdio.h> --#include <stdlib.h> --#include <string.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cstring> -+#include <cmath> - - #include "compatibility.h" - #include <GL/gl.h> ---- src/MainGLUT.cpp -+++ src/MainGLUT.cpp -@@ -9,7 +9,8 @@ - - #ifdef USE_GLUT - --#include <stdio.h> -+#include <cstdio> -+#include <cstdlib> - #include <unistd.h> - - #include <GL/glut.h> ---- src/MainSDL.cpp -+++ src/MainSDL.cpp -@@ -9,8 +9,8 @@ - - #ifdef USE_SDL - --#include <stdlib.h> --#include <math.h> -+#include <cstdlib> -+#include <cmath> - #include <SDL.h> - - #include "compatibility.h" ---- src/MainSDL_Event.cpp -+++ src/MainSDL_Event.cpp -@@ -9,9 +9,9 @@ - - #ifdef USE_SDL - --#include <stdlib.h> --#include <stdio.h> --#include <string.h> -+#include <cstdlib> -+#include <cstdio> -+#include <cstring> - - #include "Config.h" - ---- src/MenuGL.cpp -+++ src/MenuGL.cpp -@@ -7,9 +7,9 @@ - */ - #include "MenuGL.h" - --#include <stdlib.h> --#include <string.h> --#include <math.h> -+#include <cstdlib> -+#include <cstring> -+#include <cmath> - - #include "compatibility.h" - #include <GL/gl.h> ---- src/NCString.cpp -+++ src/NCString.cpp -@@ -1,10 +1,11 @@ - #include "NCString.h" - --#include <stdio.h> --#include <ctype.h> --#include <stdlib.h> --#include <string.h> --#include <limits.h> -+#include <cstdio> -+#include <cctype> -+#include <cstdlib> -+#include <cstring> -+#include <climits> -+#include <cstdarg> - - /** - * ctor -@@ -1463,7 +1464,7 @@ - NCString operator + (const char *s1, const NCString &s2) { NCString tmp(s1); tmp += s2; return tmp; } - NCString operator + (const NCString &s1, const char *s2) { NCString tmp(s1); tmp += s2; return tmp; } - //----------------------------------------------------- --ostream& operator << (ostream &os, const NCString &s1) -+std::ostream& operator << (std::ostream &os, const NCString &s1) - { - return os << (const char*)s1; - } ---- src/NCString.h -+++ src/NCString.h -@@ -1,7 +1,7 @@ - #ifndef NCString_h - #define NCString_h - --#include <stream.h> -+#include <iostream> - - typedef unsigned int uint; - typedef unsigned short ushort; -@@ -123,7 +123,7 @@ - /** add @relates NCString */ NCString operator + (const NCString &s1, const NCString &s2); - /** add @relates NCString */ NCString operator + (const char *s1, const NCString &s2); - /** add @relates NCString */ NCString operator + (const NCString &s1, const char *s2); --/** stream @relates NCString */ ostream& operator << (ostream &os, const NCString &s1); -+/** stream @relates NCString */ std::ostream& operator << (std::ostream &os, const NCString &s1); - - #endif // NCString_h - ---- src/PowerUps.cpp -+++ src/PowerUps.cpp -@@ -7,9 +7,9 @@ - */ - #include "PowerUps.h" - --#include <stdio.h> --#include <stdlib.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #include "compatibility.h" - #include <GL/gl.h> ---- src/ScreenItem.cpp -+++ src/ScreenItem.cpp -@@ -7,7 +7,7 @@ - */ - #include "ScreenItem.h" - --#include <stdio.h> -+#include <cstdio> - - - int ScreenItem::itemCount = 0; ---- src/ScreenItemAdd.cpp -+++ src/ScreenItemAdd.cpp -@@ -7,8 +7,8 @@ - */ - #include "ScreenItemAdd.h" - --#include <stdio.h> --#include <stdlib.h> -+#include <cstdio> -+#include <cstdlib> - - #include "define.h" - #include "Global.h" ---- src/StatusDisplay.cpp -+++ src/StatusDisplay.cpp -@@ -7,10 +7,10 @@ - */ - #include "StatusDisplay.h" - --#include <stdio.h> --#include <stdlib.h> --#include <string.h> --#include <math.h> -+#include <cstdio> -+#include <cstdlib> -+#include <cstring> -+#include <cmath> - - #include "compatibility.h" - #include <GL/gl.h> ---- src/TexFont.cpp -+++ src/TexFont.cpp -@@ -5,12 +5,12 @@ - provided without guarantee or warrantee expressed or implied. This - program is -not- in the public domain. */ - #include "compatibility.h" --#include <assert.h> --#include <ctype.h> --#include <stdlib.h> --#include <stdio.h> --#include <string.h> --#include <math.h> -+#include <cassert> -+#include <cctype> -+#include <cstdlib> -+#include <cstdio> -+#include <cstring> -+#include <cmath> - #include <GL/glu.h> - #include "TexFont.h" - ---- src/extern.h -+++ src/extern.h -@@ -8,7 +8,7 @@ - #ifndef extern_h - #define extern_h - --#include <stdio.h> -+#include <cstdio> - - const char *dataLoc(const char *filename, bool doCheck = true); - const char *alterPathForPlatform(char *filename); ---- src/main.cpp -+++ src/main.cpp -@@ -8,15 +8,15 @@ - #include "compatibility.h" - #include <GL/gl.h> - --#include <stdlib.h> --#include <stdio.h> --#include <string.h> --#include <time.h> -+#include <cstdlib> -+#include <cstdio> -+#include <cstring> -+#include <ctime> - - #ifndef _WIN32 - #include <unistd.h> - #include <fcntl.h> --#include <errno.h> -+#include <cerrno> - #include <sys/stat.h> - #endif // _WIN32 - ---- support/glpng/include/GL/glpng.h -+++ support/glpng/include/GL/glpng.h -@@ -23,7 +23,11 @@ - #ifndef _GLPNG_H_ - #define _GLPNG_H_ - --#include <stdio.h> -+#ifdef __cplusplus -+# include <cstdio> -+#else -+# include <stdio.h> -+#endif - - #ifdef __cplusplus - extern "C" { ---- support/glpng/src/glpng.c -+++ support/glpng/src/glpng.c -@@ -4,6 +4,8 @@ - #endif - - #include <GL/glpng.h> -+/* needed to get the glext prototypes */ -+#define GL_GLEXT_PROTOTYPES - #include <GL/gl.h> - #include <stdlib.h> - #include <math.h> -@@ -47,7 +49,7 @@ - - static char gammaExplicit = 0; /*if */ - --static void checkForGammaEnv() -+static void checkForGammaEnv(void) - { - double viewingGamma; - char *gammaEnv = getenv("VIEWING_GAMMA"); -@@ -91,6 +93,7 @@ - } - } - -+#ifdef _WIN32 - static int ExtSupported(const char *x) { - static const GLubyte *ext = NULL; - const char *c; -@@ -107,6 +110,7 @@ - - return 0; - } -+#endif - - #define GET(o) ((int)*(data + (o))) - diff --git a/games-action/chromium/files/0.9.12-png.patch b/games-action/chromium/files/0.9.12-png.patch deleted file mode 100644 index 0b72bd245b0f..000000000000 --- a/games-action/chromium/files/0.9.12-png.patch +++ /dev/null @@ -1,62 +0,0 @@ ---- src/Makefile -+++ src/Makefile -@@ -12,10 +12,10 @@ - CXX = g++ - CFLAGS = -pipe $(PKG_CFLAGS) $(AL_CFLAGS) $(SDL_CFLAGS) $(SMPEG_CFLAGS) -O2 -DOLD_OPENAL -DAUDIO_OPENAL -D_REENTRANT - CXXFLAGS= -pipe $(PKG_CFLAGS) $(AL_CFLAGS) $(SDL_CFLAGS) $(SMPEG_CFLAGS) -O2 -DOLD_OPENAL -DAUDIO_OPENAL -D_REENTRANT --INCPATH = -I../support/include -I../support/glpng/include -I/usr/X11R6/include -+INCPATH = -I../support/glpng/include -I/usr/X11R6/include - LINK = g++ - LFLAGS = --LIBS = $(SUBLIBS) -L../support/glpng/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib $(GL_LIBS) $(AL_LIBS) $(SDL_LIBS) $(SMPEG_LIBS) $(VORBIS_LIBS) -+LIBS = $(SUBLIBS) -L../support/glpng/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib $(GL_LIBS) $(AL_LIBS) $(SDL_LIBS) $(SMPEG_LIBS) $(VORBIS_LIBS) -lpng - MOC = $(QTDIR)/bin/moc - UIC = $(QTDIR)/bin/uic - ---- support/glpng/src/glpng.c -+++ support/glpng/src/glpng.c -@@ -3,11 +3,12 @@ - #include <windows.h> - #endif - -+#define GL_GLEXT_PROTOTYPES 1 - #include <GL/glpng.h> - #include <GL/gl.h> - #include <stdlib.h> - #include <math.h> --#include "png/png.h" -+#include <png.h> - - /* Used to decide if GL/gl.h supports the paletted extension */ - #ifdef GL_COLOR_INDEX1_EXT ---- support/glpng/src/Makefile -+++ support/glpng/src/Makefile -@@ -54,27 +54,7 @@ - zlib/inftrees.c \ - zlib/infutil.c \ - zlib/zutil.c --OBJECTS = glpng.o \ -- png/png.o \ -- png/pngerror.o \ -- png/pngget.o \ -- png/pngmem.o \ -- png/pngpread.o \ -- png/pngread.o \ -- png/pngrio.o \ -- png/pngrtran.o \ -- png/pngrutil.o \ -- png/pngset.o \ -- png/pngtrans.o \ -- zlib/adler32.o \ -- zlib/crc32.o \ -- zlib/infblock.o \ -- zlib/infcodes.o \ -- zlib/inffast.o \ -- zlib/inflate.o \ -- zlib/inftrees.o \ -- zlib/infutil.o \ -- zlib/zutil.o -+OBJECTS = glpng.o - INTERFACES = - UICDECLS = - UICIMPLS = diff --git a/games-action/chromium/files/0.9.12-qt3.patch b/games-action/chromium/files/0.9.12-qt3.patch deleted file mode 100644 index bd0f45bf9335..000000000000 --- a/games-action/chromium/files/0.9.12-qt3.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- Chromium-0.9/src-setup/HelpPage.cpp.qt3 Thu Feb 8 06:18:59 2001 -+++ Chromium-0.9/src-setup/HelpPage.cpp Thu Apr 11 10:46:22 2002 -@@ -22,8 +22,6 @@ - cgroup.setColor(QColorGroup::Base, QColor(70, 60, 100)); - cgroup.setColor(QColorGroup::Text, QColor(220, 220, 220)); - QFont font("Helvetica", 12, false); -- page->setPaperColorGroup(cgroup); -- page->setLinkColor(QColor(192, 192, 255)); - page->setFont(font); - - backBut = new QPushButton(this); ---- Chromium-0.9/src-setup/Makefile.qt3 Thu Apr 11 10:49:17 2002 -+++ Chromium-0.9/src-setup/Makefile Thu Apr 11 10:49:27 2002 -@@ -15,7 +15,7 @@ - INCPATH = -I$(QTDIR)/include - LINK = g++ - LFLAGS = --LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib $(AL_LIBS) $(SDL_LIBS) $(SMPEG_LIBS) $(VORBIS_LIBS) -lm -pthread -lqt -lXext -lX11 -lm -+LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib $(AL_LIBS) $(SDL_LIBS) $(SMPEG_LIBS) $(VORBIS_LIBS) -lm -pthread -lqt-mt -lXext -lX11 -lm - MOC = $(QTDIR)/bin/moc - UIC = $(QTDIR)/bin/uic - |