1 |
commit: 90634c11e58fb05e344b8259225cea15fd6ff75f |
2 |
Author: Nils Freydank <holgersson <AT> posteo <DOT> de> |
3 |
AuthorDate: Mon Oct 8 11:37:22 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 12 00:56:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90634c11 |
7 |
|
8 |
games-fps/urbanterror: Cleanup old files |
9 |
|
10 |
Signed-off-by: Nils Freydank <holgersson <AT> posteo.de> |
11 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/10103 |
13 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
14 |
|
15 |
games-fps/urbanterror/Manifest | 1 - |
16 |
.../files/urbanterror-4.3-fix-build_system.patch | 99 ------------ |
17 |
.../urbanterror-4.3.3_p20180218-fix-loop.patch | 59 ------- |
18 |
.../urbanterror/urbanterror-4.3.4_p20180627.ebuild | 170 --------------------- |
19 |
4 files changed, 329 deletions(-) |
20 |
|
21 |
diff --git a/games-fps/urbanterror/Manifest b/games-fps/urbanterror/Manifest |
22 |
index d5f6b196cf1..2fe3e1ecd71 100644 |
23 |
--- a/games-fps/urbanterror/Manifest |
24 |
+++ b/games-fps/urbanterror/Manifest |
25 |
@@ -1,2 +1 @@ |
26 |
-DIST urbanterror-4.3.4_p20180627.tar.gz 10069715 BLAKE2B 179a952d51448af39636560e71c33dba8491fa195dd29d149f3d87d11ca2efff9a50041cdb585df9944361cfef8ac2b9efd2967cb6ffeeceb553fbc6aa17b218 SHA512 8eb314143fb336ff32d5b4a97075e54d5577570f1193c2220648ba7866373c8aa158015efebcb8325ade7964f4622baff8a30d89e889f64141d748bba28712ef |
27 |
DIST urbanterror-4.3.4_p20180708.tar.gz 6177724 BLAKE2B 36439a1facc83a6151f0f6f28351bd56c196822832abbbab885312a216593b65a359187560c962caf2923b69f5519b17fe901a88c03f61ac576b6998a51ab227 SHA512 97c36d9ebcb4b915d077bb944808f45e88e0f544e6d0261f1e97e5a4bb33f3fd4120cf73d9463ea8da16848e4acb18218afe4042f00d9f759e7481b3e7aecd58 |
28 |
|
29 |
diff --git a/games-fps/urbanterror/files/urbanterror-4.3-fix-build_system.patch b/games-fps/urbanterror/files/urbanterror-4.3-fix-build_system.patch |
30 |
deleted file mode 100644 |
31 |
index e0c4eb27f53..00000000000 |
32 |
--- a/games-fps/urbanterror/files/urbanterror-4.3-fix-build_system.patch |
33 |
+++ /dev/null |
34 |
@@ -1,99 +0,0 @@ |
35 |
-Author: Nils Freydank <holgersson@××××××.de> |
36 |
-Date: Fri Nov 17 20:30:00 2017 +0100 |
37 |
- |
38 |
-Respect CFLAGS, CPPFLAGS etc. This patch is inspired |
39 |
-by hasufell’s patch. |
40 |
- |
41 |
-Edit 2018-03-19: Now with server support! |
42 |
- |
43 |
---- a/Makefile 2018-03-19 11:00:00.000000000 +0100 |
44 |
-+++ b/Makefile 2018-03-19 11:00:00.000000001 +0100 |
45 |
-@@ -223,7 +223,7 @@ |
46 |
- ifndef USE_ALTGAMMA |
47 |
- # Clearskies - X11-based gamma for Linux |
48 |
- USE_ALTGAMMA=1 |
49 |
--endif |
50 |
-+ endif |
51 |
- |
52 |
- ifndef USE_SKEETMOD |
53 |
- USE_SKEETMOD=0 |
54 |
-@@ -306,34 +306,33 @@ |
55 |
- CLIENT_EXTRA_FILES= |
56 |
- |
57 |
- ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu" "gnu")) |
58 |
-- BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \ |
59 |
-- -pipe -DUSE_ICON -DARCH_STRING=\\\"$(ARCH)\\\" |
60 |
-+ BASE_CFLAGS = -DUSE_ICON -DARCH_STRING=\\\"$(ARCH)\\\" |
61 |
- CLIENT_CFLAGS += $(SDL_CFLAGS) |
62 |
- |
63 |
-- OPTIMIZEVM = -O3 |
64 |
-- OPTIMIZE = $(OPTIMIZEVM) -ffast-math |
65 |
-+ OPTIMIZEVM = |
66 |
-+ OPTIMIZE = $(OPTIMIZEVM) |
67 |
- |
68 |
- ifeq ($(ARCH),x86_64) |
69 |
-- OPTIMIZEVM = -O3 |
70 |
-- OPTIMIZE = $(OPTIMIZEVM) -ffast-math |
71 |
-+ OPTIMIZEVM = |
72 |
-+ OPTIMIZE = $(OPTIMIZEVM) |
73 |
- HAVE_VM_COMPILED = true |
74 |
- else |
75 |
- ifeq ($(ARCH),x86) |
76 |
-- OPTIMIZEVM = -O3 -march=i586 |
77 |
-- OPTIMIZE = $(OPTIMIZEVM) -ffast-math |
78 |
-+ OPTIMIZEVM = |
79 |
-+ OPTIMIZE = $(OPTIMIZEVM) |
80 |
- HAVE_VM_COMPILED=true |
81 |
- else |
82 |
- ifeq ($(ARCH),ppc) |
83 |
-- BASE_CFLAGS += -maltivec |
84 |
-+ BASE_CFLAGS += |
85 |
- HAVE_VM_COMPILED=true |
86 |
- endif |
87 |
- ifeq ($(ARCH),ppc64) |
88 |
-- BASE_CFLAGS += -maltivec |
89 |
-+ BASE_CFLAGS += |
90 |
- HAVE_VM_COMPILED=true |
91 |
- endif |
92 |
- ifeq ($(ARCH),sparc) |
93 |
-- OPTIMIZE += -mtune=ultrasparc3 -mv8plus |
94 |
-- OPTIMIZEVM += -mtune=ultrasparc3 -mv8plus |
95 |
-+ OPTIMIZE += |
96 |
-+ OPTIMIZEVM += |
97 |
- HAVE_VM_COMPILED=true |
98 |
- endif |
99 |
- ifeq ($(ARCH),armv7l) |
100 |
-@@ -1130,12 +1129,12 @@ |
101 |
- |
102 |
- define DO_CC |
103 |
- $(echo_cmd) "CC $<" |
104 |
--$(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $< |
105 |
-+$(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(CPPFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $< |
106 |
- endef |
107 |
- |
108 |
- define DO_REF_CC |
109 |
- $(echo_cmd) "REF_CC $<" |
110 |
--$(Q)$(CC) $(SHLIBCFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $< |
111 |
-+$(Q)$(CC) $(SHLIBCFLAGS) $(CFLAGS) $(CPPFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $< |
112 |
- endef |
113 |
- |
114 |
- define DO_REF_STR |
115 |
-@@ -1148,7 +1147,7 @@ |
116 |
- |
117 |
- define DO_BOT_CC |
118 |
- $(echo_cmd) "BOT_CC $<" |
119 |
--$(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(BOTCFLAGS) $(OPTIMIZE) -DBOTLIB -o $@ -c $< |
120 |
-+$(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(CPPFLAGS) $(BOTCFLAGS) $(OPTIMIZE) -DBOTLIB -o $@ -c $< |
121 |
- endef |
122 |
- |
123 |
- ifeq ($(GENERATE_DEPENDENCIES),1) |
124 |
-@@ -1162,7 +1161,7 @@ |
125 |
- |
126 |
- define DO_DED_CC |
127 |
- $(echo_cmd) "DED_CC $<" |
128 |
--$(Q)$(CC) $(NOTSHLIBCFLAGS) -DDEDICATED $(CFLAGS) $(SERVER_CFLAGS) $(OPTIMIZE) -o $@ -c $< |
129 |
-+$(Q)$(CC) $(NOTSHLIBCFLAGS) -DDEDICATED $(CFLAGS) $(CPPFLAGS) $(SERVER_CFLAGS) $(OPTIMIZE) -o $@ -c $< |
130 |
- endef |
131 |
- |
132 |
- define DO_WINDRES |
133 |
- |
134 |
|
135 |
diff --git a/games-fps/urbanterror/files/urbanterror-4.3.3_p20180218-fix-loop.patch b/games-fps/urbanterror/files/urbanterror-4.3.3_p20180218-fix-loop.patch |
136 |
deleted file mode 100644 |
137 |
index c34ebe84ced..00000000000 |
138 |
--- a/games-fps/urbanterror/files/urbanterror-4.3.3_p20180218-fix-loop.patch |
139 |
+++ /dev/null |
140 |
@@ -1,59 +0,0 @@ |
141 |
-Author: Nils Freydank <holgersson@××××××.de> |
142 |
-Date: Wed Mar 14 21:00:00 2017 +0100 |
143 |
- |
144 |
-Imported patch written by Tom Murphy via github.com: |
145 |
- |
146 |
-https://github.com/ioquake/ioq3/pull/356 |
147 |
- |
148 |
-diff --git a/code/sys/con_tty.c b/code/sys/con_tty.c |
149 |
-index 2c2b595cf..58f178ade 100644 |
150 |
---- a/code/sys/con_tty.c |
151 |
-+++ b/code/sys/con_tty.c |
152 |
-@@ -73,20 +73,6 @@ static int hist_current = -1, hist_count = 0; |
153 |
- #define TTY_CONSOLE_PROMPT "]" |
154 |
- #endif |
155 |
- |
156 |
--/* |
157 |
--================== |
158 |
--CON_FlushIn |
159 |
-- |
160 |
--Flush stdin, I suspect some terminals are sending a LOT of shit |
161 |
--FIXME relevant? |
162 |
--================== |
163 |
--*/ |
164 |
--static void CON_FlushIn( void ) |
165 |
--{ |
166 |
-- char key; |
167 |
-- while (read(STDIN_FILENO, &key, 1)!=-1); |
168 |
--} |
169 |
-- |
170 |
- /* |
171 |
- ================== |
172 |
- CON_Back |
173 |
-@@ -441,7 +427,7 @@ char *CON_Input( void ) |
174 |
- TTY_con = *history; |
175 |
- CON_Show(); |
176 |
- } |
177 |
-- CON_FlushIn(); |
178 |
-+ tcflush(STDIN_FILENO, TCIFLUSH); |
179 |
- return NULL; |
180 |
- break; |
181 |
- case 'B': |
182 |
-@@ -455,7 +441,7 @@ char *CON_Input( void ) |
183 |
- Field_Clear(&TTY_con); |
184 |
- } |
185 |
- CON_Show(); |
186 |
-- CON_FlushIn(); |
187 |
-+ tcflush(STDIN_FILENO, TCIFLUSH); |
188 |
- return NULL; |
189 |
- break; |
190 |
- case 'C': |
191 |
-@@ -467,7 +453,7 @@ char *CON_Input( void ) |
192 |
- } |
193 |
- } |
194 |
- Com_DPrintf("droping ISCTL sequence: %d, TTY_erase: %d\n", key, TTY_erase); |
195 |
-- CON_FlushIn(); |
196 |
-+ tcflush(STDIN_FILENO, TCIFLUSH); |
197 |
- return NULL; |
198 |
- } |
199 |
- if (TTY_con.cursor >= sizeof(text) - 1) |
200 |
|
201 |
diff --git a/games-fps/urbanterror/urbanterror-4.3.4_p20180627.ebuild b/games-fps/urbanterror/urbanterror-4.3.4_p20180627.ebuild |
202 |
deleted file mode 100644 |
203 |
index 04d4459533e..00000000000 |
204 |
--- a/games-fps/urbanterror/urbanterror-4.3.4_p20180627.ebuild |
205 |
+++ /dev/null |
206 |
@@ -1,170 +0,0 @@ |
207 |
-# Copyright 1999-2018 Gentoo Foundation |
208 |
-# Distributed under the terms of the GNU General Public License v2 |
209 |
- |
210 |
-EAPI="6" |
211 |
- |
212 |
-inherit desktop eapi7-ver flag-o-matic toolchain-funcs xdg-utils |
213 |
- |
214 |
-DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine" |
215 |
-HOMEPAGE="https://urbanterror.info https://github.com/mickael9/ioq3" |
216 |
- |
217 |
-if [[ ${PV} == *9999 ]]; then |
218 |
- inherit git-r3 |
219 |
- EGIT_REPO_URI="https://github.com/mickael9/ioq3.git" |
220 |
- EGIT_BRANCH="urt" |
221 |
-else |
222 |
- COMMIT_ID="e8c941ec8b753b9ecb4f8c4fcec07e4fe3babc64" |
223 |
- SRC_URI="https://github.com/mickael9/ioq3/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" |
224 |
- S="${WORKDIR}/ioq3-${COMMIT_ID}" |
225 |
- KEYWORDS="~amd64 ~x86" |
226 |
-fi |
227 |
- |
228 |
-LICENSE="GPL-2" |
229 |
-SLOT="0" |
230 |
-IUSE="+altgamma +client +curl debug mumble openal +opus server +skeetshootmod voip vorbis" |
231 |
-REQUIRED_USE="|| ( client server ) |
232 |
- voip? ( opus )" |
233 |
- |
234 |
-DOCS=( ChangeLog README.md README.ioq3.md md4-readme.txt ) |
235 |
- |
236 |
-PATCHES=( |
237 |
- "${FILESDIR}"/${PN}-4.3-fix-build_system.patch |
238 |
- "${FILESDIR}"/${PN}-4.3.3_p20180218-fix-loop.patch |
239 |
-) |
240 |
- |
241 |
-RDEPEND=" |
242 |
- client? ( |
243 |
- media-libs/libsdl2:=[X,sound,joystick,opengl,video] |
244 |
- mumble? ( media-sound/mumble:= ) |
245 |
- openal? ( media-libs/openal:= ) |
246 |
- opus? ( media-libs/opusfile:= ) |
247 |
- vorbis? ( media-libs/libvorbis:= ) |
248 |
- ) |
249 |
- curl? ( net-misc/curl ) |
250 |
- ~games-fps/urbanterror-data-4.3.4 |
251 |
- sys-libs/zlib:=[minizip] |
252 |
- virtual/jpeg:0 |
253 |
-" |
254 |
- |
255 |
-DEPEND="${RDEPEND}" |
256 |
- |
257 |
-pkg_pretend() { |
258 |
- if use client; then |
259 |
- if ! use openal && ! use opus && ! use vorbis; then |
260 |
- ewarn |
261 |
- ewarn "No sound implementation selected. Enable 'openal', 'opus' or 'vorbis' USE flag to get sound!" |
262 |
- fi |
263 |
- fi |
264 |
-} |
265 |
- |
266 |
-src_configure() { |
267 |
- default |
268 |
- |
269 |
- tc-export CC |
270 |
-} |
271 |
- |
272 |
-src_compile() { |
273 |
- # Workaround for used zlib macro, which got renamed in Gentoo |
274 |
- # wrt bug #449510 |
275 |
- append-cppflags "-DOF=_Z_OF" |
276 |
- |
277 |
- local myemakeargs=( |
278 |
- ARCH=$(usex amd64 "x86_64" "i686" ) |
279 |
- DEFAULT_BASEDIR="/usr/share/urbanterror" |
280 |
- BUILD_CLIENT=$(usex "client" 1 0) |
281 |
- BUILD_SERVER=$(usex "server" 1 0) |
282 |
- BUILD_BASEGAME=1 |
283 |
- BUILD_MISSIONPACK=0 |
284 |
- BUILD_GAME_SO=0 |
285 |
- BUILD_GAME_QVM=0 |
286 |
- BUILD_STANDALONE=1 |
287 |
- SERVERBIN="Quake3-UrT-Ded" |
288 |
- CLIENTBIN="Quake3-UrT" |
289 |
- USE_RENDERER_DLOPEN=0 |
290 |
- USE_YACC=0 |
291 |
- BASEGAME="q3ut4" |
292 |
- BASEGAME_CFLAGS="${CFLAGS}" |
293 |
- USE_OPENAL=$(usex "openal" 1 0) |
294 |
- USE_OPENAL_DLOPEN=$(usex "openal" 1 0) |
295 |
- USE_CURL=$(usex "curl" 1 0) |
296 |
- USE_CURL_DLOPEN=$(usex "curl" 1 0) |
297 |
- USE_CODEC_VORBIS=$(usex "vorbis" 1 0) |
298 |
- USE_CODEC_OPUS=$(usex "opus" 1 0) |
299 |
- USE_MUMBLE=$(usex "mumble" 1 0) |
300 |
- USE_SKEETMOD=$(usex "skeetshootmod" 1 0) |
301 |
- USE_VOIP=$(usex "mumble" 1 0) |
302 |
- USE_INTERNAL_LIBS=0 |
303 |
- USE_LOCAL_HEADERS=0 |
304 |
- USE_ALTGAMMA=$(usex "altgamma" 1 0) |
305 |
- $(usex "debug" "debug" "release") |
306 |
- ) |
307 |
- emake "${myemakeargs[@]}" |
308 |
-} |
309 |
- |
310 |
-src_install() { |
311 |
- local myarch=$(usex amd64 "x86_64" "i386") |
312 |
- local myreleasetype=$(usex debug "debug" "release") |
313 |
- |
314 |
- if use client; then |
315 |
- newbin build/${myreleasetype}-linux-${myarch}/Quake3-UrT.${myarch} ${PN} |
316 |
- # Shooter as defined in https://specifications.freedesktop.org/menu-spec/latest/apas02.html |
317 |
- make_desktop_entry ${PN} "UrbanTerror" ${PN} |
318 |
- fi |
319 |
- |
320 |
- if use server && ! use client; then |
321 |
- # dedicated server only |
322 |
- newbin build/${myreleasetype}-linux-${myarch}/Quake3-UrT-Ded.${myarch} ${PN}-ded |
323 |
- fi |
324 |
- |
325 |
- einstalldocs |
326 |
-} |
327 |
- |
328 |
-pkg_postinst() { |
329 |
- use client && xdg_desktop_database_update |
330 |
- |
331 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
332 |
- # ^this is a new installation, so: |
333 |
- if use openal; then |
334 |
- elog "" |
335 |
- elog "You might need to set:" |
336 |
- elog " seta s_useopenal \"1\"" |
337 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work." |
338 |
- fi |
339 |
- |
340 |
- if use altgamma; then |
341 |
- elog "" |
342 |
- elog "You might need to set:" |
343 |
- elog " seta r_altgamma \"1\"" |
344 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg for altgamma to work." |
345 |
- elog "Be aware that altgamme works on a global scale, so external" |
346 |
- elog "applications like redshift can cause trouble. Disabling" |
347 |
- elog "these while playing is a usable workaround." |
348 |
- fi |
349 |
- |
350 |
- if ! use altgamma; then |
351 |
- elog "" |
352 |
- elog "If you are using a modesetting graphics driver you might" |
353 |
- elog "consider setting USE=\"altgamma\"." |
354 |
- elog "For details take a look at:" |
355 |
- elog "https://bugs.freedesktop.org/show_bug.cgi?id=27222" |
356 |
- fi |
357 |
- |
358 |
- if ! use client; then |
359 |
- elog "" |
360 |
- elog "You disabled client support. You won't be able to connect" |
361 |
- elog "to any servers and play. If you want to do so, enable" |
362 |
- elog "USE=\"client\"." |
363 |
- fi |
364 |
- |
365 |
- if use skeetshootmod; then |
366 |
- elog "" |
367 |
- elog "You might need to set:" |
368 |
- elog " seta sv_skeetshoot \"1\"" |
369 |
- elog "in your ~/.q3a/q3ut4/q3config.cfg to use the skeetshoot mod." |
370 |
- fi |
371 |
- fi |
372 |
-} |
373 |
- |
374 |
-pkg_postrm() { |
375 |
- use client && xdg_desktop_database_update |
376 |
-} |