Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/netpanzer/files/, games-strategy/netpanzer/
Date: Wed, 02 Oct 2019 18:17:16
Message-Id: 1570040039.48eaff3ec1bad52a506052b475741cdc13c0435f.dilfridge@gentoo
1 commit: 48eaff3ec1bad52a506052b475741cdc13c0435f
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 2 18:13:59 2019 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 2 18:13:59 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48eaff3e
7
8 games-strategy/netpanzer: Remove last-rited package
9
10 Closes: https://bugs.gentoo.org/375237
11 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
12
13 games-strategy/netpanzer/Manifest | 2 -
14 .../netpanzer/files/netpanzer-0.8.2-gcc43.patch | 62 -----------------
15 .../netpanzer/files/netpanzer-0.8.2-gcc47.patch | 11 ---
16 games-strategy/netpanzer/files/netpanzer-ded | 15 ----
17 games-strategy/netpanzer/files/netpanzer-ded.ini | 80 ----------------------
18 games-strategy/netpanzer/files/netpanzer.rc | 33 ---------
19 games-strategy/netpanzer/metadata.xml | 11 ---
20 games-strategy/netpanzer/netpanzer-0.8.2.ebuild | 70 -------------------
21 8 files changed, 284 deletions(-)
22
23 diff --git a/games-strategy/netpanzer/Manifest b/games-strategy/netpanzer/Manifest
24 deleted file mode 100644
25 index 45cae931e76..00000000000
26 --- a/games-strategy/netpanzer/Manifest
27 +++ /dev/null
28 @@ -1,2 +0,0 @@
29 -DIST netpanzer-0.8.2.tar.bz2 10416147 BLAKE2B d3c704c5244b00c15abfe45256c2bc9d2f84856cf221aa2b969af24dde3bcc7f28df1678fe5833b5caac9384c209cea2e2bfea9b6fb128c76dad75307f125c33 SHA512 7d7f5b485b20b2cefc71061412367edd963e59612767f6b69751915eda3f2939eebedfa29cb77ba0986cf4966b0fc12456b1bb6cfc2bd794c47fbce0b5f6f57a
30 -DIST netpanzer-data-0.8.tar.bz2 10123751 BLAKE2B 3c0baf7f5df93f7bc907bbcd627cdac9a9844e9ff12297bdd9b82074e26fe45010fe19efab1fd5725d29f1d52a5d0bc2873aa32371461fca5955ae4f53808f81 SHA512 9120d8d3a190069206ed327f1d7d2b2d36f40feefa823956cf6db66e8d0622959449b9385d81b08fdfc59b3b44b7e4d6f6ca2c7362f1a857e1110d61e7c08ce6
31
32 diff --git a/games-strategy/netpanzer/files/netpanzer-0.8.2-gcc43.patch b/games-strategy/netpanzer/files/netpanzer-0.8.2-gcc43.patch
33 deleted file mode 100644
34 index cf73ba4c225..00000000000
35 --- a/games-strategy/netpanzer/files/netpanzer-0.8.2-gcc43.patch
36 +++ /dev/null
37 @@ -1,62 +0,0 @@
38 -Index: netpanzer-0.8.2/src/Lib/2D/ColorTable.cpp
39 -===================================================================
40 ---- netpanzer-0.8.2.orig/src/Lib/2D/ColorTable.cpp 2008-02-05 16:36:27.000000000 +0000
41 -+++ netpanzer-0.8.2/src/Lib/2D/ColorTable.cpp 2008-02-05 16:36:39.000000000 +0000
42 -@@ -17,6 +17,8 @@
43 - */
44 - #include <config.h>
45 -
46 -+#include <memory>
47 -+
48 - #include "Util/FileSystem.hpp"
49 - #include "Util/Log.hpp"
50 - #include "Util/Exception.hpp"
51 -Index: netpanzer-0.8.2/src/Lib/2D/Palette.cpp
52 -===================================================================
53 ---- netpanzer-0.8.2.orig/src/Lib/2D/Palette.cpp 2008-02-05 16:36:27.000000000 +0000
54 -+++ netpanzer-0.8.2/src/Lib/2D/Palette.cpp 2008-02-05 16:36:39.000000000 +0000
55 -@@ -18,6 +18,7 @@
56 - #include <config.h>
57 -
58 - #include <math.h>
59 -+#include <memory>
60 -
61 - #include "Palette.hpp"
62 - #include "Util/FileSystem.hpp"
63 -Index: netpanzer-0.8.2/src/NetPanzer/Network/ProxyServer.cpp
64 -===================================================================
65 ---- netpanzer-0.8.2.orig/src/NetPanzer/Network/ProxyServer.cpp 2008-02-05 16:36:27.000000000 +0000
66 -+++ netpanzer-0.8.2/src/NetPanzer/Network/ProxyServer.cpp 2008-02-05 16:36:39.000000000 +0000
67 -@@ -17,6 +17,7 @@
68 - */
69 - #include <config.h>
70 -
71 -+#include <cstdlib>
72 - #include <string>
73 - #include <stdexcept>
74 - #include <ctype.h>
75 -Index: netpanzer-0.8.2/src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp
76 -===================================================================
77 ---- netpanzer-0.8.2.orig/src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp 2008-02-05 16:36:27.000000000 +0000
78 -+++ netpanzer-0.8.2/src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp 2008-02-05 16:36:39.000000000 +0000
79 -@@ -17,6 +17,7 @@
80 - */
81 - #include <config.h>
82 -
83 -+#include <memory>
84 - #include <vector>
85 - #include <string>
86 - #include "MapSelectionView.hpp"
87 -Index: netpanzer-0.8.2/src/Lib/Util/Log.cpp
88 -===================================================================
89 ---- netpanzer-0.8.2.orig/src/Lib/Util/Log.cpp 2008-02-05 17:13:36.000000000 +0000
90 -+++ netpanzer-0.8.2/src/Lib/Util/Log.cpp 2008-02-05 17:13:43.000000000 +0000
91 -@@ -26,6 +26,7 @@
92 - #include <vector>
93 - #include <exception>
94 - #include <iomanip>
95 -+#include <algorithm>
96 -
97 - #include "Exception.hpp"
98 - #include "FileSystem.hpp"
99 -
100
101 diff --git a/games-strategy/netpanzer/files/netpanzer-0.8.2-gcc47.patch b/games-strategy/netpanzer/files/netpanzer-0.8.2-gcc47.patch
102 deleted file mode 100644
103 index 432f40a9f9a..00000000000
104 --- a/games-strategy/netpanzer/files/netpanzer-0.8.2-gcc47.patch
105 +++ /dev/null
106 @@ -1,11 +0,0 @@
107 ---- src/Lib/ArrayUtil/QueueTemplate.hpp.old 2012-10-16 13:57:33.000000000 +0200
108 -+++ src/Lib/ArrayUtil/QueueTemplate.hpp 2012-10-16 13:58:16.000000000 +0200
109 -@@ -42,7 +42,7 @@
110 -
111 - bool enqueue(const TYPE& object )
112 - {
113 -- add( object, (rear + 1) % this->size );
114 -+ this->add( object, (rear + 1) % this->size );
115 - rear = (rear + 1) % this->size;
116 -
117 - if ( front == rear )
118
119 diff --git a/games-strategy/netpanzer/files/netpanzer-ded b/games-strategy/netpanzer/files/netpanzer-ded
120 deleted file mode 100644
121 index d6dd8519364..00000000000
122 --- a/games-strategy/netpanzer/files/netpanzer-ded
123 +++ /dev/null
124 @@ -1,15 +0,0 @@
125 -#!/bin/sh
126 -
127 -running=yes
128 -while [[ $running = yes ]] ; do
129 - /usr/games/bin/netpanzer --game_config=/etc/netpanzer-ded.ini -d $@
130 - if [[ $? -ge 128 ]] ; then
131 - echo "`date`: Restarting server after crash"
132 - # wait a bit to not blow cpu and logfiles on constant crashs
133 - sleep 30
134 - else
135 - #normal exit
136 - running=no
137 - fi
138 -done
139 -
140
141 diff --git a/games-strategy/netpanzer/files/netpanzer-ded.ini b/games-strategy/netpanzer/files/netpanzer-ded.ini
142 deleted file mode 100644
143 index 903fb3b493b..00000000000
144 --- a/games-strategy/netpanzer/files/netpanzer-ded.ini
145 +++ /dev/null
146 @@ -1,80 +0,0 @@
147 -[game]
148 -
149 -[interface]
150 -attacknotificationtime=5
151 -consoletextdelay=3
152 -consoletextusage=25
153 -drawunitdamage=yes
154 -drawunitflags=yes
155 -drawunitreload=no
156 -gameinfoposition_x=0
157 -gameinfoposition_y=0
158 -minimapdrawtype=0
159 -minimapposition_x=0
160 -minimapposition_y=0
161 -minimapsize_x=194
162 -minimapsize_y=194
163 -playerflag=26
164 -rankposition_x=0
165 -rankposition_y=0
166 -scrollrate=1000
167 -toolbarposition_x=0
168 -toolbarposition_y=0
169 -unitcolor=0
170 -unitinfodrawlayer=0
171 -unitselectionmode=1
172 -vehicleselectioncolor=1
173 -viewdrawbackgroundmode=0
174 -
175 -[player]
176 -masterservers=81.169.185.36,81.173.119.122
177 -name=Gentoo NetPanzer Server
178 -proxyserver=
179 -proxyserverpass=
180 -proxyserveruser=
181 -
182 -[radar]
183 -alliedoutpostcolor=11
184 -alliedunitcolor=11
185 -displayclouds=no
186 -enemyoutpostcolor=4
187 -objectivedrawmode=1
188 -playeroutpostcolor=1
189 -playerunitcolor=0
190 -resizerate=400
191 -unitsize=0
192 -
193 -[server]
194 -allowallies=yes
195 -bindaddress=
196 -cloudcoverage=0
197 -fraglimit=500
198 -gametype=0
199 -logging=yes
200 -mapcycle=Cramped, Tight Quarters, Two Villages, Cramped
201 -maxplayers=8
202 -maxunits=160
203 -objectivepercentage=75
204 -powerups=yes
205 -public=yes
206 -respawntype=1
207 -serverport=3030
208 -timelimit=50
209 -windspeed=30
210 -
211 -[sound]
212 -effects=yes
213 -effectsvolume=100
214 -enable=yes
215 -music=yes
216 -musicvolume=80
217 -
218 -[visuals]
219 -blendsmoke=yes
220 -displayshadows=yes
221 -fullscreen=yes
222 -gamma=50
223 -hardwareDoubleBuffer=yes
224 -hardwareSurface=yes
225 -resolution=0
226 -
227
228 diff --git a/games-strategy/netpanzer/files/netpanzer.rc b/games-strategy/netpanzer/files/netpanzer.rc
229 deleted file mode 100644
230 index b1d29df5be3..00000000000
231 --- a/games-strategy/netpanzer/files/netpanzer.rc
232 +++ /dev/null
233 @@ -1,33 +0,0 @@
234 -#!/sbin/openrc-run
235 -# Copyright 1999-2007 Gentoo Foundation
236 -# Distributed under the terms of the GNU General Public License v2
237 -
238 -depend() {
239 - need net
240 -}
241 -
242 -start() {
243 - ebegin "Starting netpanzer dedicated server"
244 - screen -A -m -d -S netpanzer-ded su - GAMES_USER_DED -c "GENTOO_DIR/netpanzer-ded"
245 - eend $?
246 -}
247 -
248 -stop() {
249 - ebegin "Stopping netpanzer dedicated server"
250 - local pid=`screen -list | grep netpanzer-ded | awk -F . '{print $1}' | sed -e s/.//`
251 - if [[ -z "${pid}" ]] ; then
252 - eend 1 "Lost screen session"
253 - else
254 - pid=`pstree -p ${pid} | sed -e 's:^.*netpanzer-ded(\([0-9]*\)).*:\1:'`
255 - if [[ -z "${pid}" ]] ; then
256 - eend 1 "Lost netpanzer-ded session"
257 - else
258 - kill ${pid}
259 - eend $? "Could not kill netpanzer-ded"
260 - fi
261 - fi
262 -}
263 -
264 -status() {
265 - screen -list | grep netpanzer-ded
266 -}
267
268 diff --git a/games-strategy/netpanzer/metadata.xml b/games-strategy/netpanzer/metadata.xml
269 deleted file mode 100644
270 index 6bb77c4ca82..00000000000
271 --- a/games-strategy/netpanzer/metadata.xml
272 +++ /dev/null
273 @@ -1,11 +0,0 @@
274 -<?xml version="1.0" encoding="UTF-8"?>
275 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
276 -<pkgmetadata>
277 - <maintainer type="project">
278 - <email>games@g.o</email>
279 - <name>Gentoo Games Project</name>
280 - </maintainer>
281 - <upstream>
282 - <remote-id type="sourceforge">netpanzer.berlios</remote-id>
283 - </upstream>
284 -</pkgmetadata>
285
286 diff --git a/games-strategy/netpanzer/netpanzer-0.8.2.ebuild b/games-strategy/netpanzer/netpanzer-0.8.2.ebuild
287 deleted file mode 100644
288 index 9a70ba26b16..00000000000
289 --- a/games-strategy/netpanzer/netpanzer-0.8.2.ebuild
290 +++ /dev/null
291 @@ -1,70 +0,0 @@
292 -# Copyright 1999-2015 Gentoo Foundation
293 -# Distributed under the terms of the GNU General Public License v2
294 -
295 -EAPI=5
296 -inherit eutils games
297 -
298 -DATAVERSION="0.8"
299 -DESCRIPTION="Fast-action multiplayer strategic network game"
300 -HOMEPAGE="http://www.netpanzer.info/"
301 -SRC_URI="mirror://sourceforge/netpanzer.berlios/${P}.tar.bz2
302 - mirror://sourceforge/netpanzer.berlios/${PN}-data-${DATAVERSION}.tar.bz2"
303 -
304 -LICENSE="GPL-2"
305 -SLOT="0"
306 -KEYWORDS="~x86"
307 -IUSE="dedicated"
308 -
309 -RDEPEND="dedicated? ( app-misc/screen )
310 - media-libs/libsdl[sound,video]
311 - media-libs/sdl-mixer
312 - media-libs/sdl-image
313 - dev-games/physfs"
314 -DEPEND="${RDEPEND}
315 - dev-util/ftjam"
316 -
317 -src_prepare() {
318 - epatch \
319 - "${FILESDIR}"/${P}-gcc43.patch \
320 - "${FILESDIR}"/${P}-gcc47.patch
321 -}
322 -
323 -src_configure() {
324 - egamesconf
325 - cd "${WORKDIR}"/${PN}-data-${DATAVERSION} \
326 - && egamesconf
327 -}
328 -
329 -src_compile() {
330 - AR="${AR} cru" jam -q || die
331 -
332 - cd "${WORKDIR}"/${PN}-data-${DATAVERSION}
333 - jam -q || die
334 -}
335 -
336 -src_install() {
337 - jam -sDESTDIR="${D}" -sappdocdir=/usr/share/doc/${PF} install || die
338 -
339 - cd "${WORKDIR}"/${PN}-data-${DATAVERSION}
340 - jam -sDESTDIR="${D}" -sappdocdir=/usr/share/doc/${PF} install || die
341 -
342 - if use dedicated ; then
343 - newinitd "${FILESDIR}"/${PN}.rc ${PN}
344 - sed -i \
345 - -e "s:GAMES_USER_DED:${GAMES_USER_DED}:" \
346 - -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \
347 - "${D}"/etc/init.d/${PN} || die
348 -
349 - insinto /etc
350 - doins "${FILESDIR}"/${PN}-ded.ini
351 - dogamesbin "${FILESDIR}"/${PN}-ded
352 - sed -i \
353 - -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \
354 - "${D}/${GAMES_BINDIR}"/${PN}-ded || die
355 - fi
356 -
357 - rm -rf "${D}/${GAMES_DATADIR}"/{applications,pixmaps}
358 - doicon "${S}"/${PN}.png
359 - make_desktop_entry ${PN} NetPanzer
360 - prepgamesdirs
361 -}