diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2012-11-13 07:14:30 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2012-11-13 07:14:30 +0000 |
commit | f2db1494ba519d4e4df94858d70bd8f2c611a015 (patch) | |
tree | 21d885bed590008cb50cedcf8e57c809b4ffaed5 /games-fps/warsow | |
parent | dev-python/rpy: Support python-3, #442868 (diff) | |
download | historical-f2db1494ba519d4e4df94858d70bd8f2c611a015.tar.gz historical-f2db1494ba519d4e4df94858d70bd8f2c611a015.tar.bz2 historical-f2db1494ba519d4e4df94858d70bd8f2c611a015.zip |
old
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64
Diffstat (limited to 'games-fps/warsow')
-rw-r--r-- | games-fps/warsow/ChangeLog | 10 | ||||
-rw-r--r-- | games-fps/warsow/Manifest | 31 | ||||
-rw-r--r-- | games-fps/warsow/files/warsow-0.5-build.patch | 86 | ||||
-rw-r--r-- | games-fps/warsow/files/warsow-0.5-openal.patch | 11 | ||||
-rw-r--r-- | games-fps/warsow/files/warsow-0.5-pic.patch | 11 | ||||
-rw-r--r-- | games-fps/warsow/files/warsow-0.62-build.patch | 495 | ||||
-rw-r--r-- | games-fps/warsow/files/warsow-1.01-build.patch | 546 | ||||
-rw-r--r-- | games-fps/warsow/warsow-0.5-r1.ebuild | 136 | ||||
-rw-r--r-- | games-fps/warsow/warsow-0.62.ebuild | 143 | ||||
-rw-r--r-- | games-fps/warsow/warsow-1.01.ebuild | 168 |
10 files changed, 9 insertions, 1628 deletions
diff --git a/games-fps/warsow/ChangeLog b/games-fps/warsow/ChangeLog index 2f91a3a6c6db..165a03e93f9e 100644 --- a/games-fps/warsow/ChangeLog +++ b/games-fps/warsow/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-fps/warsow # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.44 2012/10/21 15:43:49 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/ChangeLog,v 1.45 2012/11/13 07:14:25 mr_bones_ Exp $ + + 13 Nov 2012; Michael Sterrett <mr_bones_@gentoo.org> + -files/warsow-0.5-build.patch, -files/warsow-0.5-openal.patch, + -files/warsow-0.5-pic.patch, -files/warsow-0.62-build.patch, + -files/warsow-1.01-build.patch, -warsow-0.5-r1.ebuild, -warsow-0.62.ebuild, + -warsow-1.01.ebuild: + old 21 Oct 2012; Julian Ospald <hasufell@gentoo.org> +files/warsow-1.02-build.patch: @@ -189,4 +196,3 @@ 07 Nov 2006; Tristan Heaven <nyhm@gentoo.org> +metadata.xml, +warsow-0.21.ebuild: Initial commit, bug #98322 by Paul Bredbury - diff --git a/games-fps/warsow/Manifest b/games-fps/warsow/Manifest index fbd44bf0307c..be65227e11a3 100644 --- a/games-fps/warsow/Manifest +++ b/games-fps/warsow/Manifest @@ -1,40 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX warsow-0.5-build.patch 2995 SHA256 cbd7ddbfa45e12644f33a910dc453ff3b7d60a5e9e1dc14b71fb818e8bbd0e8c SHA512 8c2a518632a1e8150913cb05e405b7d0e5d0c4d8e926582821036a76efdba4b60d839ab740a47df045796e31f0f85ebb1220cdcdd1ac1ab5c3c9d38f7b5c4cca WHIRLPOOL 603f65ff408fc70e09871de7bc5bbeaec999e43e53a1f21df98c9ecbc432b991a8ba21c99bee4c10dd1fec7eb1707a223b75bb4fb276408b9f20188a1c625894 -AUX warsow-0.5-openal.patch 304 SHA256 6eb943201d4c5d6b8a902cda4efc75ea6ce6c8849d5ea10b39e12650c810d4df SHA512 5c4fcbfe0efa7e98ce0da8205f1cb2bb6c14093015e470c5fe330cd0daceaa3b723067ea67d392dd179579cbb34c6ba11e9f732e6ebdd7ad27d64465aea2ba21 WHIRLPOOL b2123d5afc8e24c6db63cf06e47c85c08d27733bfa8e50cf134374bbe5d75ffc3f7d45d563905c7c2a3424b7c63b044783654be1ba6d49d00f0b4cf06d639b9b -AUX warsow-0.5-pic.patch 377 SHA256 300c220fb833424be66da460ad4ac1ef6c61cde0dc5b76e1e8e0b75f5ece3782 SHA512 1f712dbf83c3bca6a2f0424f2250133a23903da86c9045d0917ef5a18b311f6485af6cd5afc1bbcc8b47ff0e0f880154fc17f978c2e7400b6edb4b2ba33b2e18 WHIRLPOOL 536ddb836e09c15d0a3e5645066042164a556d608022c9892a82cd56552a489d6d424909878fe89ddf035a1a604d9ba4a73eabe563c6de51f44ccec1f9b7d854 -AUX warsow-0.62-build.patch 13349 SHA256 82ad996d1d925ffc849737c2e4bc028bf4c95e4e86a445fae3b66c59269764d5 SHA512 794defe657558386a23c63d47e86aa4fb54f7ce709f7de532519071fb3e99146d4ac36d58194692fee6febfb91eb6ebbaae036b74d40d3c17473e8e367e66c4a WHIRLPOOL d294b51a270b4f7e3ebe42e85cf8f2dff763f49363d37eff2ea703a8bf9eba5e4c6bf0ba4d620faee4ae94b113b4ebcfb7ab11a046e5fffaa695c0e9132fe41f AUX warsow-1.0-build.patch 16346 SHA256 626f23dc9c99eec2d1e1760e9247eb81079569ea139c165cb3ec908235e3aee7 SHA512 50131166cbd4ea39e9d77936d47ee9ca602f78f37f4f0351c188528deaebee1312b757ec4703b20a104cd23dbb5b68a948af774d67da07d1dac671c752bee4cf WHIRLPOOL 866797b10d0513269e72d2e71cda2d4860c8ca90322a426232dbcbd00cde68350a56ac484dacf350de11263ef329c5632dab5f8d0d8b08795191d6ac671ebe51 -AUX warsow-1.01-build.patch 15562 SHA256 5f85026c8ceeadc8de10797f6eaabce1f485a2846aec4a2f05e1f117234f55c1 SHA512 cf77b79142cd2ac6082781e8c6186fa3b23357703396cc65e975834877d7798600729652c7aa4ec53dbce64c40b0c2bcffa70d5455a2257b6ecadb6b985560ac WHIRLPOOL 9b32dcc602cbe49d3bad0b2523a784f6c755d8d9a744669597ce3c934f5cf21f239f43290a9b716010b1f67d0c049cb2ebc4607d92699b3911f0d6778483c398 AUX warsow-1.02-build.patch 15562 SHA256 5f85026c8ceeadc8de10797f6eaabce1f485a2846aec4a2f05e1f117234f55c1 SHA512 cf77b79142cd2ac6082781e8c6186fa3b23357703396cc65e975834877d7798600729652c7aa4ec53dbce64c40b0c2bcffa70d5455a2257b6ecadb6b985560ac WHIRLPOOL 9b32dcc602cbe49d3bad0b2523a784f6c755d8d9a744669597ce3c934f5cf21f239f43290a9b716010b1f67d0c049cb2ebc4607d92699b3911f0d6778483c398 DIST warsow.png 1692 SHA256 086968e72271b248ef32609ed1818ff9f5c355297b1eee3cbee9e41f4e18a954 SHA512 76476fd6f624b4043405fbddeaa0fa46338b96bf46a9b64434940d9a84738a20c25243ef1316048159698b6a70b3e0f26218da3332203a93944312e77ba22c8f WHIRLPOOL 94b7c77641d5a8f581de4eb0e4e91b71f25347248a6aa6c1160e8fefda92951daa3fbbf04aee4920fc9b53fb07872d3fb7d870d4207d13844e07afa51c93e85b -DIST warsow_0.5_sdk.zip 34213675 SHA256 35cc937b4b38659df803d84f6b3fd6e9d5a5480ecadb4b642d991b99e3401f05 -DIST warsow_0.5_unified.zip 256768515 SHA256 66ac784277def8d90a8368d44e7ca72cd1d3a50b63cee4ad7c3e102cf16f5100 -DIST warsow_0.61_unified.zip 473053649 SHA256 fbabfd3e531ce5371fb5e8cd5113ed7606d5c89e6c52ec083bf178aa1bd9abac SHA512 9784f8f4908496339b562a23f79d1f39b362fcd4eb28c786f7cc67ca63ba3f9501fcbfc6535b4f19b9822c9ba3d774aebc1b31ee8151b8a20e5b524415f05312 WHIRLPOOL 387c0489975c7b15d9cb0e54f39810cdaef52c248864c80879c65fe64eb6e74c73738b33d82a9762fe6db8f02058a5f62f610e1d647ea2d198caa33f96986749 -DIST warsow_0.62_sdk.zip 36600605 SHA256 e1a86c355307539b8f427a76fc54e7279f39567a9eb570accd8ad74f4bf96159 SHA512 e9efc91aaf0c945a9d2b68201a4a496916b7833bff4e2f23af74ed916ee63f046786caa47a77a8c248add9cf639ee5317f576af02199789789e123af2273cf1d WHIRLPOOL 644ed0b8af9205d16a320949f5466670bd317a2d5f6a15e410ae571291330a548d884afa98c1ec307f68fe3388925a298d8b0075d8d6cf65781bba3d317e9598 -DIST warsow_0.62_update.zip 11553787 SHA256 d16309bfc39929a47efe71d5dd28a790c16a7de07232f68fc9672407bebda278 SHA512 568d8523103c23679128dfd2cb8ecd5b47a5b14e26b33e837268e10d8e4fe04b8cb5addd51031f2d90938a0b35f82adbfcf910146a7c40d32ae8e912a7e78a8c WHIRLPOOL e4881c58533b1810bdf45af9610c8f076f0511f22b940727db840aef14be53b259b9751d5aa7e6e6064ccd2ab2441f440cd6fd143751ed91eedd56fdaa1c0c6e -DIST warsow_1.01_sdk.tar.gz 56537475 SHA256 a9c7766f96290e58e0707fbbed412162af7a4711eae988744e61861cf7db5a91 SHA512 e1f6526176535c61e9d270672a340d11d7861ca398e0af0c13049b162615dfaf71799d73079d9179e90411ef2e3fce013b15a2e2d9a5098a461571a87b8ef468 WHIRLPOOL 040020995f1319ef69d7ba54788396f3e4ed0a272f6d244688702fd4e4d05ce1c586255f02d54998e27116b2ec20a40f61382fed28fc09af0dc5d216ade00456 -DIST warsow_1.01_update.tar.gz 14557600 SHA256 f09696c4a4a13a9e3da0a0499bbe471a8c552be8524574c78a9946f7776e6586 SHA512 c80a18c00db9a9bce137cfef74fef79f8cc4e4c534cdfecf737a6caef682e0532aa8d6a6455600ed9549cb46720abba41f17b81d02e75a51f0cfb8a4129df7c1 WHIRLPOOL 8a23ea53d1b4fe5be80c5327529d7c3dd4094adbaf72f53de1fe1c2e917a4c14f8771417dfc8bc96c56a20dd6a87d82c5822607d30433e32de7abace8eb01057 DIST warsow_1.02_sdk.tar.gz 56541955 SHA256 bec1f0ec26c39defad393578b28eb955504f054599142b096773c28889cabb2c SHA512 d62399baa13341bc87863d123a9d852ec688d0aa279eb626b8c95bda28b7ac1d602c7571e02dfda7dd8ea83a231cd8c3310a0126c1235968291e9e700679fbca WHIRLPOOL 7c44fb252b95b400e829c752c58a4d715b695d56f7e9b35504be9c1e1566c513f101090f7bbe0eabba5aef11ff3f320106fe7ce1d4b7b17e7368979b0b193621 DIST warsow_1.02_update.zip 20582996 SHA256 23efd46590be99140b836125335dc973f606625785926377b60bd1467e661ac1 SHA512 4f0985c9a17e4562d46d289bfc78bf44fa544bdc30af3b0b670572e819966a2fa8f38902cb6810b09ce38a49f7de956177f31bf2858883ad2b3f27d41e6c2276 WHIRLPOOL 978987c70aa8b82a4252505fab95717056701a599d8e52a308206aee59a4cd36520be4f6b202411733d22dcca82f64919423bbd4bcd227d71b6e59cf6859e5b2 DIST warsow_1.0_sdk.tar.gz 56525636 SHA256 2e394b5c50ad206723a59636ab93448f69d8602e710ab334451badf746870e22 SHA512 dee6591fb5ed7150e3e18db20b18366777dbacd4a465074eb3c978a04b7df5140e8a7817a5248542af06d2a6eb972ad986690f16e57ac08f753cccb2470d7bfe WHIRLPOOL e30772b49f37dede19d54e129cc1ca05bf9f01c9a10f372c9c420ceba25514c6a928c12ba61e140efc5ea8d46cbd6db403ca03aee215964173662127b9dbfd59 DIST warsow_1.0_unified.tar.gz 518459004 SHA256 f933d251de4c92b6107d4db1eef5326baf4873d32a6e2f1c3daae14bc92e85ec SHA512 78706093fb4b8684893d9b497fd10f1ce3ef096b68bbf7d36ed2bc775fa649738f0153a723b2788ef6a54d30826ec96bc36899d2e5c230bf09022b98cc105aad WHIRLPOOL efdffd7f358c704a6c08eb1d8c91543db3b76805edba775f88570debfa1b4a9ac64772958831fff7d0be4d72f2d29abbb7610d115e92cdb0fd897a8e31b1059c -EBUILD warsow-0.5-r1.ebuild 3307 SHA256 c255ca80016a3ebed54d30ed965307b938b77a675f4ef47ab59ad5629a778302 SHA512 adf3e2a7f934a3d6d4589087f25c7db748d9bfea35f92bfff6018973354aa9c9271797565f8afd6e72c34c98928a3977dd4e72c5d726d48e824990fda180f402 WHIRLPOOL ae508adccd0eeef5e28c0147cf4d820e80058fa6192963a565ef741763994861c4ae99af6bc10ea791cc78e49926e05375ba1e701c4a9ee0fab1e3c2d1f48f57 -EBUILD warsow-0.62.ebuild 3455 SHA256 e15b191b283a2c9ccd36b83d250119564ac326922f1d5700a3112223ba314a6c SHA512 9b9eb9bc00aef219722733eb249e796436c8d9c5812c4ab1591c495279086a803c452f68665149d1948d1e96194e434f856e396e72d8078006fddfd909d27755 WHIRLPOOL f3c166b4d89b28e8e9406ae8326762c1365bce779cb7574d18889d8292ee21ccc99fd737fc85be96f72196f76e348f045cbfb52ddd5b3d2e04453f15546300ff EBUILD warsow-1.0.ebuild 3383 SHA256 8cd92ac8f52b73fe2d10c32284ca45f24d5803aeef6899f5baf009518b5edbbf SHA512 23e0baf3b4bbfba245d8a0eacc3cdb301a4bd89427aea49d0a2b7f48f4fc32ffe90dd42530f2b97bae0426516e765e5a4d8f652a2241f1de4c3f3b5dc29515d7 WHIRLPOOL 4d23ea88a5d0d471de8950dd2407ff189d004bcb55d6b7d5d9a657fd133ab0afd33179fe3bfe9bc7d0ca1dc3e31a88f50a9e2eb65faab3b239207e753646467e -EBUILD warsow-1.01.ebuild 3550 SHA256 d0632396aa4e1d0b00b9dfd76514249614cad060838c13545d3cafb69044386e SHA512 74b6f411adfb076d2f7fee3531fd08d1305cc10d503c453c0f1f6751a4a20b7c9a4bf9224204617fc3e1348036876d206fe9947ecdfe370f5858cbe27556e9c4 WHIRLPOOL b35d00c570f341293f70dc31213ad52eb11d79c404dd34cf9aeb6713fd43852c1f5c8ce59094c095609e791d346d4a2c9f4c650e2e068839698e7d3f04ba1a52 EBUILD warsow-1.02.ebuild 3713 SHA256 973bd8128832a465530245293a9c840d9f6edf1c2c4813118e74966642d88350 SHA512 bb8f097e120662220a8e5eac4665fa607ccb1a563ff13528b9ee3e04c8586dfa01de4e04a0ae88ca24d3fc44cb68a756708afb96244eba9bf1186497075a33d9 WHIRLPOOL b0c24299c7d7c99a7642440a4b47ade9ae1e32e97ffa30617bc0c0ebb2badee3a2938b887952e619dd116561d038a48ab9df0eee43467e9e4db2931636099e8e -MISC ChangeLog 6170 SHA256 4931a7eec9c3fcf311d6e0dcb69024b9e9ab0ac0839096d4dc7825612446061f SHA512 5f89823aa545423cd3b40926446f5f53f909c47c0e43bf2ffc36ecd41e746aa1557e6673b14fdefef9cfd1317497fbc92e8409addb72d87e3d52a2812ee1d677 WHIRLPOOL 102f6d68bdc15b132716ea4dfbf2ff90f51f8a91530a5e3659e0b2d220520d2b48ec2d52d3ba28a67d19c09a1ab2be124b2445f0151ed603921b6bdbc4d04db7 +MISC ChangeLog 6461 SHA256 92554bb8e74e75f0b6c8f92d1bfac2ca6bf55396ab5b68e5d555a98017273efd SHA512 b875c43ffb6c3b57290579fd19625aaec70707f1cb0f74d996c7529fec2c44600fd181ee8817fa53abbe7b5f279650d76437580bc5997e99f68e4e82a6bba1e3 WHIRLPOOL b5f80e2f59d7fb0cbe859ac62d542f1ee81afa2dd5d04522dde316c953519d55a99c3163695a84381ab764cc1ffa1f9db6a421d32eeb74144f99dbe72ce47474 MISC metadata.xml 347 SHA256 016dbabb997c28f241f054760d9b81b1c43f5161de6d53936a2ebeb78bccdbea SHA512 34e3d6eae3b4665eac573b096d83a2841aee4488cc1a237e54e6e12c0c7ad8caefbbde6b563d1421c9d68cf7fb2b6c2446dfeddb1390971a7630b5efa494cb77 WHIRLPOOL 9d4cbde23eacc798cb4f1ac0c504963d349619229a5c2e926d8fc1348b1fefc53e999cc21e0be0cdca58affd1bfd4a275ae633709af78ca3dc808431fa365db3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQEcBAEBCAAGBQJQhBg4AAoJEFpvPKfnPDWzKDIH/AxlmktTGm6k/YHzvEJujUrC -l3ws4GMPkdaBPOBSLVqAqZnozvDAIuMyrmQrFFxswv9iviyUlr60Yjhl/xTTADHs -zLzfkX8TdB/NFrXyPCoy8AjJKGuU01g4pbMlzQE+idg5DPkLbyu1ucfykMa4TYP3 -CP6m4zahLjp0D9yHXSw1Z45Vj2EdSUK77Skv2mnuknREP7arhAa7cbSKL/v+wz5S -9rlajAZ6LSjTv4L6JUtal2of7Lij+JOa7obSSRSLot0lzYxVH/L58CoPIMIvbOA6 -kKA3CwMCtE7k5f01iPYoeGqno0IwDvWbLThEBpc5Rj1mfEeENWEOCrrKKd3TgTU= -=cTr/ ------END PGP SIGNATURE----- diff --git a/games-fps/warsow/files/warsow-0.5-build.patch b/games-fps/warsow/files/warsow-0.5-build.patch deleted file mode 100644 index b5989e582786..000000000000 --- a/games-fps/warsow/files/warsow-0.5-build.patch +++ /dev/null @@ -1,86 +0,0 @@ ---- libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile -+++ libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile -@@ -12,7 +12,9 @@ - INCDIR = ../../include - OBJDIR = obj - --CXX = gcc -+CXX ?= g++ -+# FIXME: https://bugs.gentoo.org/show_bug.cgi?id=285448 -+#CXXFLAGS += -Wall -fPIC -fno-strict-aliasing - CXXFLAGS = -g -Wall -fPIC - DELETER = rm -f - COPIER = cp -@@ -59,8 +61,8 @@ - all: $(BIN) - - $(BIN): $(OBJ) -- ar r $(BIN) $(OBJ) -- ranlib $(BIN) -+ $(AR) r $(BIN) $(OBJ) -+ $(RANLIB) $(BIN) - @echo ------------------------------------------------------------------- - @echo Done. As root, type 'make install' to install the library. - ---- source/Makefile -+++ source/Makefile -@@ -52,7 +52,7 @@ - #LD=gcc - else - CC?=gcc --LD=gcc -+LD=$(CC) - - # this nice line comes from the linux kernel makefile - BASE_ARCH:=$(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc/ -e s/sparc64/sparc/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/alpha/axp/) -@@ -134,9 +134,9 @@ - LOCALBASE?=/usr/local - X11BASE?=/usr/X11R6 - --CFLAGS_COMMON=$(CFLAGS) -pipe -I. -I$(LOCALBASE)/include -I$(X11BASE)/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall --CFLAGS_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops -DNDEBUG --CFLAGS_DEBUG=-O0 -ggdb -D_DEBUG -+CFLAGS_COMMON=$(CFLAGS) -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -fno-strict-aliasing -+CFLAGS_RELEASE=-DNDEBUG -+CFLAGS_DEBUG=-D_DEBUG - ifeq ($(DEBUG_BUILD),YES) - CFLAGS_COMMON+=$(CFLAGS_DEBUG) - else -@@ -152,7 +152,7 @@ - ifeq ($(OS),FreeBSD) - LDFLAGS_COMMON=-L/usr/local/lib -lm -pthread - else --LDFLAGS_COMMON=-L/usr/local/lib -ldl -lm -Wl -O1 --as-needed -+LDFLAGS_COMMON=$(LDFLAGS) -ldl -lm - endif - - ifeq ($(ARCH),x86_64) -@@ -168,7 +168,7 @@ - - # openal - ifeq ($(BUILD_SND_OPENAL),YES) --OPENAL_CONFIG?=openal-config -+OPENAL_CONFIG?=pkg-config openal - - CFLAGS_OPENAL=$(shell $(OPENAL_CONFIG) --cflags) - LDFLAGS_OPENAL=-lvorbisfile -@@ -400,16 +400,16 @@ - - all: client openal qf ded cgame game ui irc angelwrap tv_server - --client: $(BUILDDIRS) message-client compile-client link-client start-script-client -+client: $(BUILDDIRS) message-client compile-client link-client - openal: $(BUILDDIRS) message-openal compile-openal link-openal - qf: $(BUILDDIRS) message-qf compile-qf link-qf --ded: $(BUILDDIRS) message-ded compile-ded link-ded start-script-ded -+ded: $(BUILDDIRS) message-ded compile-ded link-ded - cgame: $(BUILDDIRS) message-cgame compile-cgame link-cgame - game: $(BUILDDIRS) message-game compile-game link-game - ui: $(BUILDDIRS) message-ui compile-ui link-ui - irc: $(BUILDDIRS) message-irc compile-irc link-irc - angelwrap: $(BUILDDIRS) message-angelwrap compile-angelwrap link-angelwrap --tv_server: $(BUILDDIRS) message-tv_server compile-tv_server link-tv_server start-script-tv_server -+tv_server: $(BUILDDIRS) message-tv_server compile-tv_server link-tv_server - - clean: clean-msg clean-depend clean-client clean-openal clean-qf clean-ded clean-cgame clean-game clean-ui clean-irc clean-angelwrap clean-tv_server - diff --git a/games-fps/warsow/files/warsow-0.5-openal.patch b/games-fps/warsow/files/warsow-0.5-openal.patch deleted file mode 100644 index 21f9f6e9eb5d..000000000000 --- a/games-fps/warsow/files/warsow-0.5-openal.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- source/snd_openal/snd_main.c -+++ source/snd_openal/snd_main.c -@@ -231,7 +231,7 @@ - #define ALDRIVER "/System/Library/Frameworks/OpenAL.framework/OpenAL" - #define ALDEVICE_DEFAULT NULL - #else --#define ALDRIVER "libopenal.so.0" -+#define ALDRIVER "libopenal.so" - #define ALDEVICE_DEFAULT NULL - #endif - diff --git a/games-fps/warsow/files/warsow-0.5-pic.patch b/games-fps/warsow/files/warsow-0.5-pic.patch deleted file mode 100644 index 71c4d8eed690..000000000000 --- a/games-fps/warsow/files/warsow-0.5-pic.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- source/snd_qf/snd_mix.c -+++ source/snd_qf/snd_mix.c -@@ -27,7 +27,7 @@ - int *snd_p, snd_linear_count, snd_vol, music_vol; - short *snd_out; - --#if !defined ( id386 ) || defined ( __MACOSX__ ) -+#if defined ( PIC ) || !defined ( id386 ) || defined ( __MACOSX__ ) - #ifdef _WIN32 - #pragma warning( push ) - #pragma warning( disable : 4310 ) // cast truncates constant value diff --git a/games-fps/warsow/files/warsow-0.62-build.patch b/games-fps/warsow/files/warsow-0.62-build.patch deleted file mode 100644 index 5bca66b8d55c..000000000000 --- a/games-fps/warsow/files/warsow-0.62-build.patch +++ /dev/null @@ -1,495 +0,0 @@ -From: Julian Ospald <hasufell@gentoo.org> -Date: Fri May 11 11:57:40 UTC 2012 -Subject: fix build system - -source/Makefile: -a) respect flags/linker -b) don't take ARCH from env (we set BASE_ARCH in the ebuild) -c) split LDFLAGS and LDFLAGS_COMMON as per bug - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347650 -d) don't remove angel-lib (compilation fails, why is this?) -e) make output verbose -f) remove start-scripts - -source/matchmaker/Makefile: -respect flags/linker - -libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile: -a) add -fno-strict-aliasing - see https://bugs.gentoo.org/show_bug.cgi?id=285448 -b) correct CXX - ---- source/Makefile -+++ source/Makefile -@@ -48,9 +48,9 @@ - else - CC?=gcc - CXX?=g++ --LD=gcc --AR=ar --RANLIB=ranlib -+LD=$(CC) -+AR?=ar -+RANLIB=?ranlib - - # this nice line comes from the linux kernel makefile - BASE_ARCH:=$(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc/ -e s/sparc64/sparc/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/alpha/axp/) -@@ -59,7 +59,7 @@ - ifeq ($(OS),FreeBSD) - ARCH?=freebsd_$(BASE_ARCH) - else --ARCH?=$(BASE_ARCH) -+ARCH=$(BASE_ARCH) - endif - - SHARED_LIBRARY_EXTENSION=so -@@ -69,7 +69,7 @@ - - ifeq ($(DEBUG_BUILD), YES) - BINDIR=debug --CFLAGS_DEBUG=-O0 -ggdb -D_DEBUG -+CFLAGS_DEBUG=-D_DEBUG - else - BINDIR=release - endif -@@ -166,9 +166,9 @@ - LOCALBASE?=/usr/local - X11BASE?=/usr/X11R6 - --CFLAGS_COMMON=$(CFLAGS) -pipe -I. -I$(LOCALBASE)/include -I$(X11BASE)/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wno-unused-function --CFLAGS_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops -DNDEBUG --CFLAGS_DEBUG=-O0 -ggdb -D_DEBUG -+CFLAGS_COMMON=$(CFLAGS) -I. -I$(LOCALBASE)/include -I$(X11BASE)/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wno-unused-function -+CFLAGS_RELEASE=-fno-strict-aliasing -DNDEBUG -+CFLAGS_DEBUG=-D_DEBUG - ifeq ($(DEBUG_BUILD),YES) - CFLAGS_COMMON+=$(CFLAGS_DEBUG) - else -@@ -180,14 +180,14 @@ - CFLAGS_MODULE=-DPIC -fPIC - CFLAGS_TV_SERVER=-DDEDICATED_ONLY -DTV_SERVER_ONLY -DC_ONLY -DTV_MODULE_HARD_LINKED - --LDFLAGS_COMMON=$(LDFLAGS) -+LDFLAGS_COMMON= - ifeq ($(OS),FreeBSD) - LDFLAGS_COMMON+= -L/usr/local/lib -lm -pthread - else --LDFLAGS_COMMON+= -L/usr/local/lib -ldl -lm -Wl -O1 --as-needed -+LDFLAGS_COMMON+= -ldl -lm - endif - ifneq ($(DEBUG_BUILD),YES) --LDFLAGS_COMMON+= -s -+LDFLAGS_COMMON+= - endif - - ifeq ($(ARCH),x86_64) -@@ -252,12 +252,9 @@ - ###################################################################################################### - # Helper functions - ###################################################################################################### --DO_CC=echo " > Compiling $<" && \ -- $(CC) $(CFLAGS_COMMON) -c $< -o $@ --DO_CXX=echo " > Compiling (c++) $<" && \ -- $(CXX) $(CFLAGS_COMMON) $(CXXFLAGS_COMMON) -c $< -o $@ --DO_RES=echo " > Compiling resource $<" && \ -- $(RES) $(RESFLAGS_COMMON) -i $< -o $@ -+DO_CC=$(CC) $(CFLAGS_COMMON) -c $< -o $@ -+DO_CXX=$(CXX) $(CFLAGS_COMMON) $(CXXFLAGS_COMMON) -c $< -o $@ -+DO_RES=$(RES) $(RESFLAGS_COMMON) -i $< -o $@ - - DO_CC_CLIENT=$(DO_CC) $(CFLAGS_CLIENT) - DO_CC_DED=$(DO_CC) $(CFLAGS_DED) -@@ -477,16 +474,16 @@ - - all: client openal qf ded cgame game ui irc angelwrap tv_server - --client: $(BUILDDIRS) message-client compile-client link-client start-script-client -+client: $(BUILDDIRS) message-client compile-client link-client - openal: $(BUILDDIRS) message-openal compile-openal link-openal - qf: $(BUILDDIRS) message-qf compile-qf link-qf --ded: $(BUILDDIRS) message-ded compile-ded link-ded start-script-ded -+ded: $(BUILDDIRS) message-ded compile-ded link-ded - cgame: $(BUILDDIRS) message-cgame compile-cgame link-cgame - game: $(BUILDDIRS) message-game compile-game link-game - ui: $(BUILDDIRS) message-ui compile-ui link-ui - irc: $(BUILDDIRS) message-irc compile-irc link-irc - angelwrap: $(BUILDDIRS) message-angelwrap compile-angelwrap link-angelwrap --tv_server: $(BUILDDIRS) message-tv_server compile-tv_server link-tv_server start-script-tv_server -+tv_server: $(BUILDDIRS) message-tv_server compile-tv_server link-tv_server - - clean: clean-msg clean-depend clean-client clean-openal clean-qf clean-ded clean-cgame clean-game clean-ui clean-irc clean-angelwrap clean-tv_server - -@@ -604,7 +601,6 @@ - @echo "> *********************************************************" - @echo "> * Building angelwrap" - @echo "> *********************************************************" -- -@rm $(ANGELSCRIPT_LIB) - $(ANGELSCRIPT_INC)/angelscript.h: - @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" - @echo "!!!" -@@ -650,64 +646,53 @@ - # DED - ######## - $(BINDIR)/$(SERVER_EXE): $(OBJS_DED) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_DED) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_DED) - - ######### - # CLIENT - ######### - ifeq ($(OS),Darwin) - $(BINDIR)/$(CLIENT_EXE): $(OBJS_CLIENT) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $(OBJS_CLIENT) mac/SDLMain.m $(LDFLAGS_COMMON) $(LDFLAGS_CLIENT) -+ $(LD) $(LDFLAGS) -o $@ $(OBJS_CLIENT) mac/SDLMain.m $(LDFLAGS_COMMON) $(LDFLAGS_CLIENT) - else - $(BINDIR)/$(CLIENT_EXE): $(OBJS_CLIENT) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $(OBJS_CLIENT) $(LDFLAGS_COMMON) $(LDFLAGS_CLIENT) -+ $(LD) $(LDFLAGS) -o $@ $(OBJS_CLIENT) $(LDFLAGS_COMMON) $(LDFLAGS_CLIENT) - endif - - ######### - # OPENAL - ######### - $(BINDIR)/libs/snd_openal_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_OPENAL) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_OPENAL) $(DEF_SND_OPENAL) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_OPENAL) $(DEF_SND_OPENAL) - - ######### - # QF - ######### - $(BINDIR)/libs/snd_qf_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_QF) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_QF) $(DEF_SND_QF) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_QF) $(DEF_SND_QF) - - ######## - # .SO - ######## - $(BINDIR)/basewsw/cgame_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_CGAME) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(DEF_CGAME) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(DEF_CGAME) - - $(BINDIR)/basewsw/game_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_GAME) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(DEF_GAME) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(DEF_GAME) - - $(BINDIR)/basewsw/ui_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_UI) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(DEF_UI) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(DEF_UI) - - $(BINDIR)/libs/irc_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_IRC) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(DEF_IRC) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(DEF_IRC) - - $(BINDIR)/libs/angelwrap_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_ANGELWRAP) -- @echo " > Linking $@" && \ -- $(CXX) -o $@ $^ $(LDFLAGS_ANGELWRAP) $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(DEF_ANGELWRAP) -+ $(CXX) $(LDFLAGS) -o $@ $^ $(LDFLAGS_ANGELWRAP) $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(DEF_ANGELWRAP) - ######## - # TV - ######## - $(BINDIR)/$(TV_SERVER_EXE): $(OBJS_TV_SERVER) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_TV_SERVER) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_TV_SERVER) - - ###################################################################################################### - # Meta Rules -@@ -719,49 +704,48 @@ - # CLIENT - ######## - $(BUILDDIR)/client/%.o: qcommon/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: server/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: client/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: ref_gl/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: null/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: matchmaker/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - ifeq ($(USE_MINGW),YES) - $(BUILDDIR)/client/%.o: win32/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: win32/%.rc -- @$(DO_RES_CLIENT) -+ $(DO_RES_CLIENT) - else - ifeq ($(OS),Darwin) - $(BUILDDIR)/client/%.o: mac/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - $(BUILDDIR)/client/%.o: unix/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - else - $(BUILDDIR)/client/%.o: unix/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - endif - endif - - $(BUILDDIR)/client/%.o: game/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: gameshared/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BINDIR)/warsow: unix/start_script.sh -- @echo " > Installing client start script" && \ - cp $< $@ && \ - chmod a+x $@ - -@@ -769,60 +753,59 @@ - # OPENAL - ######## - $(BUILDDIR)/openal/%.o: snd_openal/%.c -- @$(DO_CC_MODULE) $(CFLAGS_OPENAL) -+ $(DO_CC_MODULE) $(CFLAGS_OPENAL) - - $(BUILDDIR)/openal/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - ######## - # QF - ######## - $(BUILDDIR)/qf/%.o: snd_qf/%.c -- @$(DO_CC_MODULE) $(CFLAGS_QF) -+ $(DO_CC_MODULE) $(CFLAGS_QF) - - ifeq ($(USE_MINGW),YES) - $(BUILDDIR)/qf/win_snd.o: win32/win_snd.c -- @$(DO_CC_MODULE) $(CFLAGS_DSOUND) -+ $(DO_CC_MODULE) $(CFLAGS_DSOUND) - else - $(BUILDDIR)/qf/unix_snd.o: unix/unix_snd.c -- @$(DO_CC_MODULE) $(CFLAGS_SDL) -+ $(DO_CC_MODULE) $(CFLAGS_SDL) - endif - - $(BUILDDIR)/qf/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - - ######## - # DED - ######## - $(BUILDDIR)/ded/%.o: qcommon/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BUILDDIR)/ded/%.o: server/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - ifeq ($(USE_MINGW),YES) - $(BUILDDIR)/ded/%.o: win32/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - else - $(BUILDDIR)/ded/%.o: unix/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - endif - - $(BUILDDIR)/ded/%.o: null/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BUILDDIR)/ded/%.o: game/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BUILDDIR)/ded/%.o: gameshared/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BUILDDIR)/ded/%.o: matchmaker/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BINDIR)/wsw_server: unix/start_script.sh -- @echo " > Installing dedicated server start script" && \ - cp $< $@ && \ - chmod a+x $@ - -@@ -830,91 +813,90 @@ - # CGAME - ######## - $(BUILDDIR)/cgame/%.o: cgame/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/cgame/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - ######## - # GAME - ######## - $(BUILDDIR)/game/%.o: game/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/game/%.o: game/ai/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/game/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - ######## - # UI - ######## - $(BUILDDIR)/ui/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/ui/%.o: ui.old/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/ui/%.o: ui.old/%.cpp -- @$(DO_CXX_MODULE) -+ $(DO_CXX_MODULE) - - $(BUILDDIR)/ui/%.o: matchmaker/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - ######## - # IRC - ######## - $(BUILDDIR)/irc/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/irc/%.o: irc/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - ######## - # ANGELWRAP - ######## - $(BUILDDIR)/angelwrap/%.o: gameshared/%.c -- @$(DO_CC_MODULE) $(CFLAGS_ANGELWRAP) -+ $(DO_CC_MODULE) $(CFLAGS_ANGELWRAP) - - $(BUILDDIR)/angelwrap/%.o: angelwrap/%.c -- @$(DO_CC_MODULE) $(CFLAGS_ANGELWRAP) -+ $(DO_CC_MODULE) $(CFLAGS_ANGELWRAP) - - $(BUILDDIR)/angelwrap/%.o: angelwrap/%.cpp -- @$(DO_CXX_MODULE) $(CFLAGS_ANGELWRAP) -+ $(DO_CXX_MODULE) $(CFLAGS_ANGELWRAP) - - - ######## - # TV SERVER - ######## - $(BUILDDIR)/tv_server/%.o: qcommon/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - $(BUILDDIR)/tv_server/%.o: client/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - $(BUILDDIR)/tv_server/%.o: tv_server/tv_module/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - $(BUILDDIR)/tv_server/%.o: tv_server/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - ifeq ($(USE_MINGW),YES) - $(BUILDDIR)/tv_server/%.o: win32/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - else - $(BUILDDIR)/tv_server/%.o: unix/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - endif - - $(BUILDDIR)/tv_server/%.o: null/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - $(BUILDDIR)/tv_server/%.o: gameshared/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - $(BINDIR)/wswtv_server: unix/start_script.sh -- @echo " > Installing TV server start script" && \ - cp $< $@ && \ - chmod a+x $@ - ---- source/matchmaker/Makefile -+++ source/matchmaker/Makefile -@@ -9,7 +9,7 @@ - DEBUG_BUILD?=YES - - CC?=gcc --LD=gcc -+LD=$(CC) - RM?=rm - - BUILDDIR=build$(ARCH) -@@ -26,9 +26,9 @@ - CFLAGS_MM=$(CFLAGS) -pipe -I. -I$(LOCALBASE)/include -I$(X11BASE)/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall - - ifeq ($(DEBUG_BUILD),YES) --CFLAGS_MM += -O0 -ggdb -D_DEBUG -+CFLAGS_MM += -D_DEBUG - else --CFLAGS_MM += -O2 -fno-strict-aliasing -ffast-math -funroll-loops -DNDEBUG -+CFLAGS_MM += -fno-strict-aliasing -DNDEBUG - endif - - CFLAGS_MM+=-DDEDICATED_ONLY -DMATCHMAKER -DC_ONLY ---- libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile -+++ libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile -@@ -12,10 +12,10 @@ - INCDIR = ../../include - OBJDIR = obj - --CXX ?= gcc -+CXX ?= g++ - AR ?= ar - RANLIB ?= ranlib --CXXFLAGS_AS = $(CXXFLAGS) -g -Wall -fPIC -+CXXFLAGS_AS = $(CXXFLAGS) -Wall -fPIC -fno-strict-aliasing - DELETER = rm -f - COPIER = cp - diff --git a/games-fps/warsow/files/warsow-1.01-build.patch b/games-fps/warsow/files/warsow-1.01-build.patch deleted file mode 100644 index 003c391f6721..000000000000 --- a/games-fps/warsow/files/warsow-1.01-build.patch +++ /dev/null @@ -1,546 +0,0 @@ -From: Julian Ospald <hasufell@gentoo.org> -Date: Thu Oct 11 15:00:18 UTC 2012 -Subject: build system - -a) respect flags/linker -b) don't take ARCH from env (we set BASE_ARCH in the ebuild) -c) split LDFLAGS and LDFLAGS_COMMON as per bug - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347650 -d) don't remove angel-lib (compilation fails, why is this?) -e) make output verbose -f) remove start-scripts -g) address parallel make issues - ---- source/Makefile -+++ source/Makefile -@@ -50,10 +50,10 @@ - else - CC?=gcc - CXX?=g++ --LD=gcc --LXX?=g++ --AR=ar --RANLIB=ranlib -+LD=$(CC) -+LXX=$(CXX) -+AR?=ar -+RANLIB?=ranlib - - # this nice line comes from the linux kernel makefile - BASE_ARCH:=$(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc/ -e s/sparc64/sparc/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/alpha/axp/) -@@ -62,7 +62,7 @@ - ifeq ($(OS),FreeBSD) - ARCH?=freebsd_$(BASE_ARCH) - else --ARCH?=$(BASE_ARCH) -+ARCH=$(BASE_ARCH) - endif - - SHARED_LIBRARY_EXTENSION=so -@@ -72,7 +72,7 @@ - - ifeq ($(DEBUG_BUILD), YES) - BINDIR=debug --CFLAGS_DEBUG=-O0 -ggdb -D_DEBUG -+CFLAGS_DEBUG=-D_DEBUG - else - BINDIR=release - endif -@@ -196,8 +196,8 @@ - X11BASE?=/usr/X11R6 - - CFLAGS_COMMON=$(CFLAGS) -pipe -I. -I$(LOCALBASE)/include -I$(X11BASE)/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wno-unused-function -fvisibility=hidden --CFLAGS_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops -DNDEBUG -msse2 --CFLAGS_DEBUG=-O0 -ggdb -D_DEBUG -+CFLAGS_RELEASE=-fno-strict-aliasing -ffast-math -funroll-loops -DNDEBUG -+CFLAGS_DEBUG=-D_DEBUG - ifeq ($(DEBUG_BUILD),YES) - CFLAGS_COMMON+=$(CFLAGS_DEBUG) - else -@@ -209,18 +209,18 @@ - CFLAGS_MODULE=-DPIC -fPIC - CFLAGS_TV_SERVER=-DDEDICATED_ONLY -DTV_SERVER_ONLY -DC_ONLY -DTV_MODULE_HARD_LINKED - --LDFLAGS_COMMON=$(LDFLAGS) --LXXFLAGS_COMMON=$(LDFLAGS) -lstdc++ -lsupc++ -+LDFLAGS_COMMON= -+LXXFLAGS_COMMON=-lstdc++ -lsupc++ - - ifeq ($(OS),FreeBSD) - LDFLAGS_COMMON+= -L/usr/local/lib -lm -pthread - else --LDFLAGS_COMMON+= -L/usr/local/lib -ldl -lm -O1 -Wl,--as-needed -+LDFLAGS_COMMON+= -ldl -lm - endif - - ifneq ($(DEBUG_BUILD),YES) --LDFLAGS_COMMON+= -s --LXXFLAGS_COMMON+= -s -+LDFLAGS_COMMON+= -+LXXFLAGS_COMMON+= - endif - - ifeq ($(ARCH),x86_64) -@@ -298,12 +298,9 @@ - ###################################################################################################### - # Helper functions - ###################################################################################################### --DO_CC=echo " > Compiling $<" && \ -- $(CC) $(CFLAGS_COMMON) -c $< -o $@ --DO_CXX=echo " > Compiling (c++) $<" && \ -- $(CXX) $(CFLAGS_COMMON) $(CXXFLAGS_COMMON) -c $< -o $@ --DO_RES=echo " > Compiling resource $<" && \ -- $(RES) $(RESFLAGS_COMMON) -i $< -o $@ -+DO_CC=$(CC) $(CFLAGS_COMMON) -c $< -o $@ -+DO_CXX=$(CXX) $(CFLAGS_COMMON) $(CXXFLAGS_COMMON) -c $< -o $@ -+DO_RES=$(RES) $(RESFLAGS_COMMON) -i $< -o $@ - - DO_CC_CLIENT=$(DO_CC) $(CFLAGS_CLIENT) - DO_CC_DED=$(DO_CC) $(CFLAGS_DED) -@@ -505,17 +502,17 @@ - - all: client openal qf ded cgame game ui irc cin angelwrap tv_server - --client: $(BUILDDIRS) message-client compile-client link-client start-script-client -+client: $(BUILDDIRS) message-client compile-client link-client - openal: $(BUILDDIRS) message-openal compile-openal link-openal - qf: $(BUILDDIRS) message-qf compile-qf link-qf --ded: $(BUILDDIRS) message-ded compile-ded link-ded start-script-ded -+ded: $(BUILDDIRS) message-ded compile-ded link-ded - cgame: $(BUILDDIRS) message-cgame compile-cgame link-cgame - game: $(BUILDDIRS) message-game compile-game link-game - ui: $(BUILDDIRS) message-ui compile-ui link-ui - irc: $(BUILDDIRS) message-irc compile-irc link-irc - cin: $(BUILDDIRS) message-cin compile-cin link-cin - angelwrap: $(BUILDDIRS) message-angelwrap compile-angelwrap link-angelwrap --tv_server: $(BUILDDIRS) message-tv_server compile-tv_server link-tv_server start-script-tv_server -+tv_server: $(BUILDDIRS) message-tv_server compile-tv_server link-tv_server - - clean: clean-msg clean-depend clean-client clean-openal clean-qf clean-ded clean-cgame clean-game clean-ui clean-librocket clean-irc clean-cin clean-angelwrap clean-tv_server - -@@ -611,13 +608,14 @@ - @echo "> *********************************************************" - compile-ui: $(OBJS_UI_ROCKET) $(LIBROCKET_LIB) - link-ui: $(BINDIR)/basewsw $(BINDIR)/basewsw/ui_$(ARCH).$(SHARED_LIBRARY_EXTENSION) -+$(BINDIR)/basewsw/ui_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(LIBROCKET_LIB) - clean-ui: - @echo " > Removing ui objects" && \ - $(RM) $(OBJS_UI_ROCKET) - - $(LIBROCKET_LIB): - @echo "> * Building Rocket library" -- @CXX=$(CXX) AR=$(AR) RANLIB=$(RANLIB) CXXFLAGS="$(CFLAGS)" DEBUG_BUILD=$(DEBUG_BUILD) USE_MINGW=$(USE_MINGW) $(MAKE) -C $(LIBROCKET_DIR) -f $(LIBROCKET_MAKEFILE) DEBUG_BUILD=$(DEBUG_BUILD) -+ @CXX=$(CXX) AR=$(AR) RANLIB=$(RANLIB) CXXFLAGS="$(CXXFLAGS)" DEBUG_BUILD=$(DEBUG_BUILD) USE_MINGW=$(USE_MINGW) $(MAKE) -C $(LIBROCKET_DIR) -f $(LIBROCKET_MAKEFILE) DEBUG_BUILD=$(DEBUG_BUILD) - @echo "> * Done building RocketCore library." - @echo "> *********************************************************" - @echo "> * Continuing ui building..." -@@ -656,7 +654,6 @@ - @echo "> *********************************************************" - @echo "> * Building angelwrap" - @echo "> *********************************************************" -- -@rm $(ANGELSCRIPT_LIB) - $(ANGELSCRIPT_INC)/angelscript.h: - @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" - @echo "!!!" -@@ -668,7 +665,7 @@ - - $(ANGELSCRIPT_LIB): $(ANGELSCRIPT_INC)/angelscript.h - @echo "> * Building Angelscript library first" -- @CXX=$(CXX) AR=$(AR) RANLIB=$(RANLIB) CXXFLAGS="$(CFLAGS)" $(MAKE) -C $(ANGELSCRIPT_PROJECT_DIR) -+ @CXX=$(CXX) AR=$(AR) RANLIB=$(RANLIB) CXXFLAGS="$(CXXFLAGS)" $(MAKE) -C $(ANGELSCRIPT_PROJECT_DIR) - @echo "> * Done building angelscript library." - @echo "> *********************************************************" - @echo "> * Continuing angelwrap building..." -@@ -702,69 +699,57 @@ - # DED - ######## - $(BINDIR)/$(SERVER_EXE): $(OBJS_DED) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_DED) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_DED) - - ######### - # CLIENT - ######### - ifeq ($(OS),Darwin) - $(BINDIR)/$(CLIENT_EXE): $(OBJS_CLIENT) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $(OBJS_CLIENT) mac/SDLMain.m $(LDFLAGS_COMMON) $(LDFLAGS_CLIENT) -+ $(LD) $(LDFLAGS) -o $@ $(OBJS_CLIENT) mac/SDLMain.m $(LDFLAGS_COMMON) $(LDFLAGS_CLIENT) - else - $(BINDIR)/$(CLIENT_EXE): $(OBJS_CLIENT) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $(OBJS_CLIENT) $(LDFLAGS_COMMON) $(LDFLAGS_CLIENT) -+ $(LD) $(LDFLAGS) -o $@ $(OBJS_CLIENT) $(LDFLAGS_COMMON) $(LDFLAGS_CLIENT) - endif - - ######### - # OPENAL - ######### - $(BINDIR)/libs/snd_openal_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_OPENAL) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_OPENAL) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_OPENAL) - - ######### - # QF - ######### - $(BINDIR)/libs/snd_qf_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_QF) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_QF) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_QF) - - ######## - # .SO - ######## - $(BINDIR)/basewsw/cgame_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_CGAME) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) - - $(BINDIR)/basewsw/game_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_GAME) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) - - $(BINDIR)/basewsw/ui_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_UI_ROCKET) -- @echo " > Linking $@" && \ -- $(LXX) -o $@ $^ $(LXXFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_ROCKET) -+ $(LXX) $(LDFLAGS) -o $@ $^ $(LXXFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_ROCKET) - - $(BINDIR)/libs/irc_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_IRC) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_IRC) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_IRC) - - $(BINDIR)/libs/cin_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_CIN) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_CIN) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_CIN) - - $(BINDIR)/libs/angelwrap_$(ARCH).$(SHARED_LIBRARY_EXTENSION): $(OBJS_ANGELWRAP) -- @echo " > Linking $@" && \ -- $(LXX) -o $@ $^ $(LXXFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_ANGELWRAP) -+ $(LXX) $(LDFLAGS) -o $@ $^ $(LXXFLAGS_COMMON) $(LDFLAGS_MODULE) $(LDFLAGS_ANGELWRAP) - - ######## - # TV - ######## - $(BINDIR)/$(TV_SERVER_EXE): $(OBJS_TV_SERVER) -- @echo " > Linking $@" && \ -- $(LD) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_TV_SERVER) -+ $(LD) $(LDFLAGS) -o $@ $^ $(LDFLAGS_COMMON) $(LDFLAGS_TV_SERVER) - - ###################################################################################################### - # Meta Rules -@@ -776,49 +761,48 @@ - # CLIENT - ######## - $(BUILDDIR)/client/%.o: qcommon/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: server/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: client/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: ref_gl/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: null/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: matchmaker/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - ifeq ($(USE_MINGW),YES) - $(BUILDDIR)/client/%.o: win32/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: win32/%.rc -- @$(DO_RES_CLIENT) -+ $(DO_RES_CLIENT) - else - ifeq ($(OS),Darwin) - $(BUILDDIR)/client/%.o: mac/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - $(BUILDDIR)/client/%.o: unix/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - else - $(BUILDDIR)/client/%.o: unix/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - endif - endif - - $(BUILDDIR)/client/%.o: game/%.c -- @$(DO_CC_CLIENT) -+ $(DO_CC_CLIENT) - - $(BUILDDIR)/client/%.o: gameshared/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BINDIR)/warsow: unix/start_script.sh -- @echo " > Installing client start script" && \ - cp $< $@ && \ - chmod a+x $@ - -@@ -826,60 +810,59 @@ - # OPENAL - ######## - $(BUILDDIR)/openal/%.o: snd_openal/%.c -- @$(DO_CC_MODULE) $(CFLAGS_OPENAL) -+ $(DO_CC_MODULE) $(CFLAGS_OPENAL) - - $(BUILDDIR)/openal/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - ######## - # QF - ######## - $(BUILDDIR)/qf/%.o: snd_qf/%.c -- @$(DO_CC_MODULE) $(CFLAGS_QF) -+ $(DO_CC_MODULE) $(CFLAGS_QF) - - ifeq ($(USE_MINGW),YES) - $(BUILDDIR)/qf/win_snd.o: win32/win_snd.c -- @$(DO_CC_MODULE) $(CFLAGS_DSOUND) -+ $(DO_CC_MODULE) $(CFLAGS_DSOUND) - else - $(BUILDDIR)/qf/unix_snd.o: unix/unix_snd.c -- @$(DO_CC_MODULE) $(CFLAGS_SDL) -+ $(DO_CC_MODULE) $(CFLAGS_SDL) - endif - - $(BUILDDIR)/qf/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - - ######## - # DED - ######## - $(BUILDDIR)/ded/%.o: qcommon/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BUILDDIR)/ded/%.o: server/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - ifeq ($(USE_MINGW),YES) - $(BUILDDIR)/ded/%.o: win32/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - else - $(BUILDDIR)/ded/%.o: unix/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - endif - - $(BUILDDIR)/ded/%.o: null/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BUILDDIR)/ded/%.o: game/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BUILDDIR)/ded/%.o: gameshared/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BUILDDIR)/ded/%.o: matchmaker/%.c -- @$(DO_CC_DED) -+ $(DO_CC_DED) - - $(BINDIR)/wsw_server: unix/start_script.sh -- @echo " > Installing dedicated server start script" && \ - cp $< $@ && \ - chmod a+x $@ - -@@ -887,117 +870,116 @@ - # CGAME - ######## - $(BUILDDIR)/cgame/%.o: cgame/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/cgame/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - ######## - # GAME - ######## - $(BUILDDIR)/game/%.o: game/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/game/%.o: game/ai/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/game/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/game/%.o: matchmaker/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - ######## - # UI.ROCKET - ######## - $(BUILDDIR)/ui/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/ui/%.o: ui/%.cpp -- @$(DO_CXX_MODULE) $(CFLAGS_ROCKET) -+ $(DO_CXX_MODULE) $(CFLAGS_ROCKET) - - $(BUILDDIR)/ui/%.o: ui/kernel/%.cpp -- @$(DO_CXX_MODULE) $(CFLAGS_ROCKET) -+ $(DO_CXX_MODULE) $(CFLAGS_ROCKET) - - $(BUILDDIR)/ui/%.o: ui/as/%.cpp -- @$(DO_CXX_MODULE) $(CFLAGS_ROCKET) -+ $(DO_CXX_MODULE) $(CFLAGS_ROCKET) - - $(BUILDDIR)/ui/%.o: ui/datasources/%.cpp -- @$(DO_CXX_MODULE) $(CFLAGS_ROCKET) -+ $(DO_CXX_MODULE) $(CFLAGS_ROCKET) - - $(BUILDDIR)/ui/%.o: ui/widgets/%.cpp -- @$(DO_CXX_MODULE) $(CFLAGS_ROCKET) -+ $(DO_CXX_MODULE) $(CFLAGS_ROCKET) - - $(BUILDDIR)/ui/%.o: ui/decorators/%.cpp -- @$(DO_CXX_MODULE) $(CFLAGS_ROCKET) -+ $(DO_CXX_MODULE) $(CFLAGS_ROCKET) - - #$(BUILDDIR)/ui.as/%.o: matchmaker/%.c --# @$(DO_CC_MODULE) -+# $(DO_CC_MODULE) - - ######## - # IRC - ######## - $(BUILDDIR)/irc/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/irc/%.o: irc/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - ######## - # CIN - ######## - $(BUILDDIR)/cin/%.o: gameshared/%.c -- @$(DO_CC_MODULE) -+ $(DO_CC_MODULE) - - $(BUILDDIR)/cin/%.o: cin/%.c -- @$(DO_CC_MODULE) $(CFLAGS_CIN) -+ $(DO_CC_MODULE) $(CFLAGS_CIN) - - ######## - # ANGELWRAP - ######## - $(BUILDDIR)/angelwrap/%.o: gameshared/%.c -- @$(DO_CC_MODULE) $(CFLAGS_ANGELWRAP) -+ $(DO_CC_MODULE) $(CFLAGS_ANGELWRAP) - - $(BUILDDIR)/angelwrap/%.o: angelwrap/%.c -- @$(DO_CC_MODULE) $(CFLAGS_ANGELWRAP) -+ $(DO_CC_MODULE) $(CFLAGS_ANGELWRAP) - - $(BUILDDIR)/angelwrap/%.o: angelwrap/%.cpp -- @$(DO_CXX_MODULE) $(CFLAGS_ANGELWRAP) -+ $(DO_CXX_MODULE) $(CFLAGS_ANGELWRAP) - - $(BUILDDIR)/angelwrap/%.o : angelwrap/addon/%.cpp -- @$(DO_CXX_MODULE) $(CFLAGS_ANGELWRAP) -+ $(DO_CXX_MODULE) $(CFLAGS_ANGELWRAP) - - ######## - # TV SERVER - ######## - $(BUILDDIR)/tv_server/%.o: qcommon/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - $(BUILDDIR)/tv_server/%.o: client/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - $(BUILDDIR)/tv_server/%.o: tv_server/tv_module/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - $(BUILDDIR)/tv_server/%.o: tv_server/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - ifeq ($(USE_MINGW),YES) - $(BUILDDIR)/tv_server/%.o: win32/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - else - $(BUILDDIR)/tv_server/%.o: unix/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - endif - - $(BUILDDIR)/tv_server/%.o: null/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - $(BUILDDIR)/tv_server/%.o: gameshared/%.c -- @$(DO_CC_TV_SERVER) -+ $(DO_CC_TV_SERVER) - - $(BINDIR)/wswtv_server: unix/start_script.sh -- @echo " > Installing TV server start script" && \ - cp $< $@ && \ - chmod a+x $@ - ---- libsrcs/libRocket/libRocket/Makefile.warsow -+++ libsrcs/libRocket/libRocket/Makefile.warsow -@@ -13,9 +13,9 @@ - endif - - ifeq ($(DEBUG_BUILD),YES) -- CXXFLAGS += -g -DROCKET_DEBUG -+ CXXFLAGS += -DROCKET_DEBUG - else -- CXXFLAGS += -O2 -+ CXXFLAGS += - endif - - BUILDDIR=Build/obj ---- libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile -+++ libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc/makefile -@@ -47,7 +47,7 @@ - CXX ?= gcc - # On i686 architecture you may need to add -march=i686 if you get - # an undefined symbol for __sync_sub_and_fetch_4 in as_atomic.cpp. -- CXXFLAGS += -g -Wall -fPIC -fno-strict-aliasing -+ CXXFLAGS += -Wall -fPIC -fno-strict-aliasing - endif - - AR ?= ar diff --git a/games-fps/warsow/warsow-0.5-r1.ebuild b/games-fps/warsow/warsow-0.5-r1.ebuild deleted file mode 100644 index 6de51aa9ba66..000000000000 --- a/games-fps/warsow/warsow-0.5-r1.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/warsow-0.5-r1.ebuild,v 1.8 2012/08/29 22:47:28 hasufell Exp $ - -EAPI=2 -inherit eutils toolchain-funcs versionator games - -MY_P=${PN}_${PV} -DESCRIPTION="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)" -HOMEPAGE="http://www.warsow.net/" -SRC_URI="http://static.warsow.net/release/${MY_P}_unified.zip - http://static.warsow.net/release/${MY_P}_sdk.zip - mirror://gentoo/${PN}.png" - -LICENSE="GPL-2 warsow" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+angelscript debug dedicated irc openal opengl" - -UIRDEPEND="virtual/jpeg - media-libs/libvorbis - media-libs/libsdl - virtual/opengl - x11-libs/libXinerama - x11-libs/libXxf86dga - x11-libs/libXxf86vm - openal? ( media-libs/openal )" -RDEPEND="net-misc/curl - opengl? ( ${UIRDEPEND} ) - !opengl? ( !dedicated? ( ${UIRDEPEND} ) )" -UIDEPEND="x11-proto/xineramaproto - x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto - openal? ( virtual/pkgconfig )" -DEPEND="${RDEPEND} - app-arch/unzip - x11-misc/makedepend - opengl? ( ${UIDEPEND} ) - !opengl? ( !dedicated? ( ${UIDEPEND} ) )" - -S=${WORKDIR}/source - -src_prepare() { - sed -i \ - -e "/fs_basepath =/ s:\.:${GAMES_DATADIR}/${PN}:" \ - qcommon/files.c \ - || die "sed files.c failed" - - sed -i \ - -e "s:jpeg_mem_src:_&:" \ - ref_gl/r_image.c || die - - cd "${WORKDIR}" - rm -rf docs/old - epatch \ - "${FILESDIR}"/${P}-build.patch \ - "${FILESDIR}"/${P}-openal.patch \ - "${FILESDIR}"/${P}-pic.patch - epatch_user -} - -src_compile() { - yesno() { use ${1} && echo YES || echo NO ; } - - local client="NO" irc="NO" openal="NO" - if use opengl || ! use dedicated ; then - client="YES" - use irc && irc="YES" - use openal && openal="YES" - fi - - if use angelscript ; then - tc-export AR RANLIB - emake \ - -C ../libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc \ - || die "emake angelscript failed" - fi - - local arch - if use amd64 ; then - arch=x86_64 - elif use x86 ; then - arch=i386 - fi - - emake \ - BASE_ARCH=${arch} \ - BINDIR=bin \ - BUILD_CLIENT=${client} \ - BUILD_SERVER=$(yesno dedicated) \ - BUILD_TV_SERVER=$(yesno dedicated) \ - BUILD_ANGELWRAP=$(yesno angelscript) \ - BUILD_IRC=${irc} \ - BUILD_SND_OPENAL=${openal} \ - BUILD_SND_QF=${client} \ - DEBUG_BUILD=$(yesno debug) \ - || die "emake failed" -} - -src_install() { - cd bin - - if use opengl || ! use dedicated ; then - newgamesbin ${PN}.* ${PN} || die "newgamesbin ${PN} failed" - doicon "${DISTDIR}"/${PN}.png - make_desktop_entry ${PN} Warsow - fi - - if use dedicated ; then - newgamesbin wsw_server.* ${PN}-ded || die "newgamesbin ${PN}-ded failed" - newgamesbin wswtv_server.* ${PN}-tv || die "newgamesbin ${PN}-tv failed" - fi - - exeinto "$(games_get_libdir)"/${PN} - doexe */*.so || die "doexe failed" - - insinto "${GAMES_DATADIR}"/${PN} - doins -r "${WORKDIR}"/basewsw || die "doins failed" - - local so - for so in basewsw/*.so ; do - dosym "$(games_get_libdir)"/${PN}/${so##*/} \ - "${GAMES_DATADIR}"/${PN}/${so} || die "dosym ${so} failed" - done - - if [[ -e libs ]] ; then - dodir "${GAMES_DATADIR}"/${PN}/libs - for so in libs/*.so ; do - dosym "$(games_get_libdir)"/${PN}/${so##*/} \ - "${GAMES_DATADIR}"/${PN}/${so} || die "dosym ${so} failed" - done - fi - - dodoc "${WORKDIR}"/docs/* - prepgamesdirs -} diff --git a/games-fps/warsow/warsow-0.62.ebuild b/games-fps/warsow/warsow-0.62.ebuild deleted file mode 100644 index 0c4d278f805e..000000000000 --- a/games-fps/warsow/warsow-0.62.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/warsow-0.62.ebuild,v 1.4 2012/08/29 22:47:28 hasufell Exp $ - -EAPI=2 -inherit eutils toolchain-funcs versionator games - -MY_P=${PN}_${PV} -BASE_P=${PN}_0.61 -DESCRIPTION="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)" -HOMEPAGE="http://www.warsow.net/" -SRC_URI="http://www.zcdn.org/dl/${BASE_P}_unified.zip - http://www.zcdn.org/dl/${MY_P}_update.zip - http://www.zcdn.org/dl/${MY_P}_sdk.zip - mirror://gentoo/${PN}.png" - -LICENSE="GPL-2 warsow" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+angelscript debug dedicated irc openal opengl" - -UIRDEPEND="virtual/jpeg - media-libs/libvorbis - media-libs/libsdl - virtual/opengl - x11-libs/libXinerama - x11-libs/libXxf86dga - x11-libs/libXxf86vm - openal? ( media-libs/openal )" -RDEPEND="net-misc/curl - opengl? ( ${UIRDEPEND} ) - !opengl? ( !dedicated? ( ${UIRDEPEND} ) )" -UIDEPEND="x11-proto/xineramaproto - x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto - openal? ( virtual/pkgconfig )" -DEPEND="${RDEPEND} - app-arch/unzip - x11-misc/makedepend - opengl? ( ${UIDEPEND} ) - !opengl? ( !dedicated? ( ${UIDEPEND} ) )" - -S=${WORKDIR}/source - -src_unpack() { - unpack ${BASE_P}_unified.zip ${MY_P}_sdk.zip - cd ${BASE_P}_unified || die - unpack ${MY_P}_update.zip -} - -src_prepare() { - sed -i \ - -e "/fs_basepath =/ s:\.:${GAMES_DATADIR}/${PN}:" \ - qcommon/files.c \ - || die "sed files.c failed" - - sed -i \ - -e "s:jpeg_mem_src:_&:" \ - ref_gl/r_image.c || die - - cd "${WORKDIR}" - rm -rf docs/old - epatch \ - "${FILESDIR}"/${P}-build.patch \ - "${FILESDIR}"/${PN}-0.5-pic.patch - epatch_user -} - -src_compile() { - yesno() { use ${1} && echo YES || echo NO ; } - - local client="NO" irc="NO" openal="NO" - if use opengl || ! use dedicated ; then - client="YES" - use irc && irc="YES" - use openal && openal="YES" - fi - - if use angelscript ; then - tc-export AR RANLIB - emake \ - -C ../libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc \ - || die "emake angelscript failed" - fi - - local arch - if use amd64 ; then - arch=x86_64 - elif use x86 ; then - arch=i386 - fi - - emake \ - BASE_ARCH=${arch} \ - BINDIR=bin \ - BUILD_CLIENT=${client} \ - BUILD_SERVER=$(yesno dedicated) \ - BUILD_TV_SERVER=$(yesno dedicated) \ - BUILD_ANGELWRAP=$(yesno angelscript) \ - BUILD_IRC=${irc} \ - BUILD_SND_OPENAL=${openal} \ - BUILD_SND_QF=${client} \ - DEBUG_BUILD=$(yesno debug) \ - || die "emake failed" -} - -src_install() { - cd bin - - if use opengl || ! use dedicated ; then - newgamesbin ${PN}.* ${PN} || die "newgamesbin ${PN} failed" - doicon "${DISTDIR}"/${PN}.png - make_desktop_entry ${PN} Warsow - fi - - if use dedicated ; then - newgamesbin wsw_server.* ${PN}-ded || die "newgamesbin ${PN}-ded failed" - newgamesbin wswtv_server.* ${PN}-tv || die "newgamesbin ${PN}-tv failed" - fi - - exeinto "$(games_get_libdir)"/${PN} - doexe */*.so || die "doexe failed" - - insinto "${GAMES_DATADIR}"/${PN} - doins -r "${WORKDIR}/${BASE_P}_unified"/basewsw || die "doins failed" - - local so - for so in basewsw/*.so ; do - dosym "$(games_get_libdir)"/${PN}/${so##*/} \ - "${GAMES_DATADIR}"/${PN}/${so} || die "dosym ${so} failed" - done - - if [[ -e libs ]] ; then - dodir "${GAMES_DATADIR}"/${PN}/libs - for so in libs/*.so ; do - dosym "$(games_get_libdir)"/${PN}/${so##*/} \ - "${GAMES_DATADIR}"/${PN}/${so} || die "dosym ${so} failed" - done - fi - - dodoc "${WORKDIR}"/docs/* - prepgamesdirs -} diff --git a/games-fps/warsow/warsow-1.01.ebuild b/games-fps/warsow/warsow-1.01.ebuild deleted file mode 100644 index aa7c9ffc871f..000000000000 --- a/games-fps/warsow/warsow-1.01.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/warsow/warsow-1.01.ebuild,v 1.2 2012/10/12 12:30:54 hasufell Exp $ - -EAPI=4 -inherit eutils check-reqs gnome2-utils games - -MY_P=${PN}_${PV} -DESCRIPTION="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)" -HOMEPAGE="http://www.warsow.net/" -SRC_URI="http://funpark.warsow-esport.net/~${PN}/1.0/${PN}_1.0_unified.tar.gz - http://funpark.warsow-esport.net/~${PN}/${PV}/${MY_P}_sdk.tar.gz - http://funpark.warsow-esport.net/~${PN}/${PV}/${MY_P}_update.tar.gz - mirror://gentoo/${PN}.png" - -LICENSE="GPL-2 warsow" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+angelscript debug dedicated irc openal server" - -RDEPEND="media-libs/freetype - net-misc/curl - sys-libs/zlib - !dedicated? ( - media-libs/libpng:0 - media-libs/libsdl - media-libs/libtheora - media-libs/libvorbis - x11-libs/libX11 - x11-libs/libXinerama - x11-libs/libXrandr - x11-libs/libXxf86dga - x11-libs/libXxf86vm - virtual/jpeg - virtual/opengl - openal? ( media-libs/openal ) - )" -DEPEND="${RDEPEND} - x11-misc/makedepend - !dedicated? ( - x11-proto/xineramaproto - x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto - ) - openal? ( virtual/pkgconfig )" - -S=${WORKDIR}/${MY_P}_sdk/source -S_U=${WORKDIR}/${PN}_1.0 -S_UPDATE=${WORKDIR}/${MY_P}_update - -CHECKREQS_DISK_BUILD="1G" -CHECKREQS_DISK_USR="500M" - -src_prepare() { - sed -i \ - -e "/fs_basepath =/ s:\.:${GAMES_DATADIR}/${PN}:" \ - qcommon/files.c \ - || die "sed files.c failed" - - sed -i \ - -e "s:q_jpeg_mem_src:_&:" \ - ref_gl/r_image.c || die "sed r_image.c failed" - - rm -r "${S_U}"/docs/old* || die - - cd "${WORKDIR}"/${MY_P}_sdk || die - epatch "${FILESDIR}"/${P}-build.patch \ - "${FILESDIR}"/${PN}-0.5-pic.patch - epatch_user -} - -src_compile() { - yesno() { use ${1} && echo YES || echo NO ; } - - use angelscript && - emake -C ../libsrcs/angelscript/angelSVN/sdk/angelscript/projects/gnuc - - local arch - if use amd64 ; then - arch=x86_64 - elif use x86 ; then - arch=i386 - fi - - local myconf - if use dedicated ; then - myconf=( - BUILD_CLIENT=NO - BUILD_IRC=NO - BUILD_SND_OPENAL=NO - BUILD_SND_QF=NO - BUILD_CIN=NO - BUILD_SERVER=YES - BUILD_TV_SERVER=YES - ) - else - myconf=( - BUILD_CLIENT=YES - BUILD_IRC=$(yesno irc) - BUILD_SND_OPENAL=$(yesno openal) - BUILD_SND_QF=YES - BUILD_CIN=YES - BUILD_SERVER=$(yesno server) - BUILD_TV_SERVER=$(yesno server) - ) - fi - - emake \ - BASE_ARCH=${arch} \ - BINDIR=lib \ - BUILD_ANGELWRAP=$(yesno angelscript) \ - DEBUG_BUILD=$(yesno debug) \ - ${myconf[@]} -} - -src_install() { - cd lib - - if ! use dedicated ; then - newgamesbin ${PN}.* ${PN} - doicon -s 48 "${DISTDIR}"/${PN}.png - make_desktop_entry ${PN} Warsow - fi - - if use dedicated || use server ; then - newgamesbin wsw_server.* ${PN}-ded - newgamesbin wswtv_server.* ${PN}-tv - fi - - exeinto "$(games_get_libdir)"/${PN} - doexe */*.so - - insinto "${GAMES_DATADIR}"/${PN} - doins -r "${S_U}"/basewsw - doins -r "${S_UPDATE}"/basewsw - - local so - for so in basewsw/*.so ; do - dosym "$(games_get_libdir)"/${PN}/${so##*/} \ - "${GAMES_DATADIR}"/${PN}/${so} - done - - if [[ -e libs ]] ; then - dodir "${GAMES_DATADIR}"/${PN}/libs - for so in libs/*.so ; do - dosym "$(games_get_libdir)"/${PN}/${so##*/} \ - "${GAMES_DATADIR}"/${PN}/${so} - done - fi - - dodoc "${S_U}"/docs/* - dodoc "${S_UPDATE}"/docs/* - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} |