Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, games-sports/toycars/files/, games-sports/toycars/
Date: Sun, 26 Jun 2016 15:17:41
Message-Id: 1466954061.75701fb0f45f07e4529aa03f5817a36c8dc98262.mgorny@gentoo
1 commit: 75701fb0f45f07e4529aa03f5817a36c8dc98262
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 15:14:21 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 15:14:21 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75701fb0
7
8 games-sports/toycars: Remove last rited packages
9
10 games-sports/toycars/Manifest | 1 -
11 .../toycars/files/toycars-0.3.10-gcc45.patch | 37 --------
12 .../toycars/files/toycars-0.3.10-gcc46.patch | 10 --
13 .../toycars/files/toycars-0.3.10-glibc-2.10.patch | 101 ---------------------
14 games-sports/toycars/metadata.xml | 18 ----
15 games-sports/toycars/toycars-0.3.10.ebuild | 55 -----------
16 profiles/package.mask | 5 -
17 7 files changed, 227 deletions(-)
18
19 diff --git a/games-sports/toycars/Manifest b/games-sports/toycars/Manifest
20 deleted file mode 100644
21 index c2b7f78..0000000
22 --- a/games-sports/toycars/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST toycars-0.3.10.tar.gz 6390760 SHA256 8ead77f160128231e909e9c34dc158cbffe5917eb13effcfda4712484d609658 SHA512 48de5b4fccd39058bb32a6b4f4514d1d25ddcb3e39ac72798162a29975d0d6fe48ef1324237f7096edda7c3f927ad620679fa8b3e42be2e05f1293ed9358982e WHIRLPOOL 36ac699c136eec7b7b9583c4c5a1c307654c28ac5355172e4084e0bee9111f6966b2e551756dbed8385385efa70a2b32e664000ab588b959f5e8fc497d0274b0
26
27 diff --git a/games-sports/toycars/files/toycars-0.3.10-gcc45.patch b/games-sports/toycars/files/toycars-0.3.10-gcc45.patch
28 deleted file mode 100644
29 index 0e4f350..0000000
30 --- a/games-sports/toycars/files/toycars-0.3.10-gcc45.patch
31 +++ /dev/null
32 @@ -1,37 +0,0 @@
33 -Fixing compilation with gcc-4.5
34 -
35 -http://bugs.gentoo.org/show_bug.cgi?id=317751
36 -
37 -Patch written by Kacper Kowalik <xarthisius.kk@×××××.com>
38 -
39 ---- toycars_vehicle_editor/src/VehicleEditorUI.cxx
40 -+++ toycars_vehicle_editor/src/VehicleEditorUI.cxx
41 -@@ -228,7 +228,7 @@
42 - sprintf(str, "%d", n);
43 - convexChoice->add(str);
44 - convexChoice->value(n);
45 --vehicleObj.getGeometry()->push_back(std::list<Vec2D>::list());
46 -+vehicleObj.getGeometry()->push_back(std::list<Vec2D>());
47 - spriteView->setConvexChoice(n);
48 - spriteView->redraw();
49 - }
50 ---- toycars_vehicle_editor/src/VehicleObject.cpp
51 -+++ toycars_vehicle_editor/src/VehicleObject.cpp
52 -@@ -152,7 +152,7 @@
53 - short count;
54 - geometry.clear();
55 - for (xConvex = xGeometry->FirstChild(); xConvex != NULL; xConvex = xConvex->NextSibling("convex")) {
56 -- geometry.push_back(std::list<Vec2D>::list());
57 -+ geometry.push_back(std::list<Vec2D>());
58 - std::list<Vec2D> &convex = geometry.back();
59 - readPointsFromString(xConvex->FirstChild()->ToText()->Value(), convex, count);
60 - }
61 -@@ -411,7 +411,7 @@
62 - short count;
63 - geometry.clear();
64 - for (xConvex = xGeometry->FirstChild(); xConvex != NULL; xConvex = xConvex->NextSibling("convex")) {
65 -- geometry.push_back(std::list<Vec2D>::list());
66 -+ geometry.push_back(std::list<Vec2D>());
67 - std::list<Vec2D> &convex = geometry.back();
68 - readPointsFromString(xConvex->FirstChild()->ToText()->Value(), convex, count);
69 - }
70
71 diff --git a/games-sports/toycars/files/toycars-0.3.10-gcc46.patch b/games-sports/toycars/files/toycars-0.3.10-gcc46.patch
72 deleted file mode 100644
73 index 127b759..0000000
74 --- a/games-sports/toycars/files/toycars-0.3.10-gcc46.patch
75 +++ /dev/null
76 @@ -1,10 +0,0 @@
77 ---- toycars/src/MyFisix/Convex.h.old 2011-04-09 21:17:43.000000000 +0200
78 -+++ toycars/src/MyFisix/Convex.h 2011-04-09 21:18:22.000000000 +0200
79 -@@ -21,6 +21,7 @@
80 - #include "config.h"
81 - #endif
82 -
83 -+#include <cstddef>
84 - #include <list>
85 - using namespace std;
86 -
87
88 diff --git a/games-sports/toycars/files/toycars-0.3.10-glibc-2.10.patch b/games-sports/toycars/files/toycars-0.3.10-glibc-2.10.patch
89 deleted file mode 100644
90 index e3c1847..0000000
91 --- a/games-sports/toycars/files/toycars-0.3.10-glibc-2.10.patch
92 +++ /dev/null
93 @@ -1,101 +0,0 @@
94 -diff --git a/toycars_track_editor/src/TrackView.cxx b/toycars_track_editor/src/TrackView.cxx
95 -index d52daba..e1a66df 100644
96 ---- a/toycars_track_editor/src/TrackView.cxx
97 -+++ b/toycars_track_editor/src/TrackView.cxx
98 -@@ -89,7 +89,7 @@ TiXmlDocument *findXMLFile(const char *filename, SearchDirectories *dirs, char *
99 - //{jpg,png,bmp,pnm,pbm,pgm,ppm}
100 - Fl_Image* loadImage(const char *filename)
101 - {
102 -- char *suffix = strrchr(filename, '.');
103 -+ const char *suffix = strrchr(filename, '.');
104 - if (suffix == NULL)
105 - return NULL;
106 - if (strcmp(suffix,".jpg") == 0)
107 -@@ -969,13 +969,13 @@ void TrackView::installMap(const char *name)
108 - uninstallMap(name);
109 -
110 - // chop off any .xml suffix
111 -- temp = strrchr(name, '.');
112 -+ temp = const_cast<char*>( strrchr(name, '.') );
113 - if (temp) {
114 - if (strcmp(temp, ".xml") == 0)
115 - temp[0] = '\0';
116 - }
117 - // remove path
118 -- temp = strrchr(name, '/');
119 -+ temp = const_cast<char*>( strrchr(name, '/') );
120 - if (temp) {
121 - strncpy(trackname, temp+1, 255);
122 - }
123 -@@ -1044,13 +1044,13 @@ void TrackView::uninstallMap(const char *name)
124 - char *temp;
125 -
126 - // chop off any .xml suffix
127 -- temp = strrchr(name, '.');
128 -+ temp = const_cast<char*>( strrchr(name, '.') );
129 - if (temp) {
130 - if (strcmp(temp, ".xml") == 0)
131 - temp[0] = '\0';
132 - }
133 - // remove path
134 -- temp = strrchr(name, '/');
135 -+ temp = const_cast<char*>( strrchr(name, '/') );
136 - if (temp) {
137 - strncpy(trackname, temp+1, 255);
138 - }
139 -diff --git a/toycars_vehicle_editor/src/LoadSpriteFromImage.cpp b/toycars_vehicle_editor/src/LoadSpriteFromImage.cpp
140 -index 4b6ff50..7aa6c40 100644
141 ---- a/toycars_vehicle_editor/src/LoadSpriteFromImage.cpp
142 -+++ b/toycars_vehicle_editor/src/LoadSpriteFromImage.cpp
143 -@@ -23,7 +23,7 @@
144 - //{jpg,png,bmp,pnm,pbm,pgm,ppm}
145 - Fl_Image* loadImage(const char *filename)
146 - {
147 -- char *suffix = strrchr(filename, '.');
148 -+ const char *suffix = strrchr(filename, '.');
149 - if (suffix == NULL)
150 - return NULL;
151 - if (strcmp(suffix,".jpg") == 0)
152 -diff --git a/toycars_vehicle_editor/src/VehicleObject.cpp b/toycars_vehicle_editor/src/VehicleObject.cpp
153 -index 3f61114..0bd2978 100644
154 ---- a/toycars_vehicle_editor/src/VehicleObject.cpp
155 -+++ b/toycars_vehicle_editor/src/VehicleObject.cpp
156 -@@ -533,13 +533,13 @@ void VehicleObject::installVehicle(const char *name)
157 - uninstallVehicle(name);
158 -
159 - // chop off any .xml suffix
160 -- temp = strrchr(name, '.');
161 -+ temp = const_cast<char*>( strrchr(name, '.') );
162 - if (temp) {
163 - if (strcmp(temp, ".xml") == 0)
164 - temp[0] = '\0';
165 - }
166 - // remove path
167 -- temp = strrchr(name, '/');
168 -+ temp = const_cast<char*>( strrchr(name, '/') );
169 - if (temp) {
170 - strncpy(carname, temp+1, 255);
171 - }
172 -@@ -610,13 +610,13 @@ void VehicleObject::uninstallVehicle(const char *name)
173 - char *temp;
174 -
175 - // chop off any .xml suffix
176 -- temp = strrchr(name, '.');
177 -+ temp = const_cast<char*>( strrchr(name, '.') );
178 - if (temp) {
179 - if (strcmp(temp, ".xml") == 0)
180 - temp[0] = '\0';
181 - }
182 - // remove path
183 -- temp = strrchr(name, '/');
184 -+ temp = const_cast<char*>( strrchr(name, '/') );
185 - if (temp) {
186 - strncpy(carname, temp+1, 255);
187 - }
188 -@@ -675,4 +675,4 @@ void VehicleObject::uninstallVehicle(const char *name)
189 - system(str);
190 - */
191 - #endif
192 --}
193 -\ No newline at end of file
194 -+}
195
196 diff --git a/games-sports/toycars/metadata.xml b/games-sports/toycars/metadata.xml
197 deleted file mode 100644
198 index 66f76be..0000000
199 --- a/games-sports/toycars/metadata.xml
200 +++ /dev/null
201 @@ -1,18 +0,0 @@
202 -<?xml version="1.0" encoding="UTF-8"?>
203 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
204 -<pkgmetadata>
205 - <maintainer type="project">
206 - <email>games@g.o</email>
207 - <name>Gentoo Games Project</name>
208 - </maintainer>
209 - <longdescription lang="en">
210 -Toy Cars is a physics based 2-D racer. In Timed Race mode the aim is to complete
211 -four laps in the best time you can. In Hot Potato mode the aim is to avoid
212 -having the bomb when the fuse runs out. The bomb can be transfered between
213 -players if they crash into each other. In Knock 'em Out mode the aim is to
214 -race around the track and to try and prevent your car from going off the screen.
215 -</longdescription>
216 - <upstream>
217 - <remote-id type="sourceforge">toycars</remote-id>
218 - </upstream>
219 -</pkgmetadata>
220
221 diff --git a/games-sports/toycars/toycars-0.3.10.ebuild b/games-sports/toycars/toycars-0.3.10.ebuild
222 deleted file mode 100644
223 index c0a9ae0..0000000
224 --- a/games-sports/toycars/toycars-0.3.10.ebuild
225 +++ /dev/null
226 @@ -1,55 +0,0 @@
227 -# Copyright 1999-2015 Gentoo Foundation
228 -# Distributed under the terms of the GNU General Public License v2
229 -# $Id$
230 -
231 -EAPI=5
232 -inherit eutils flag-o-matic games
233 -
234 -DESCRIPTION="a physics based 2-D racer inspired by Micro Machines"
235 -HOMEPAGE="http://sourceforge.net/projects/toycars"
236 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
237 -
238 -LICENSE="GPL-2"
239 -SLOT="0"
240 -KEYWORDS="amd64 x86"
241 -IUSE=""
242 -
243 -DEPEND="media-libs/libsdl[sound,video,joystick]
244 - media-libs/sdl-image[png]
245 - x11-libs/fltk:1[opengl]
246 - >=media-libs/fmod-4.25.07-r1:1
247 - virtual/glu
248 - virtual/opengl"
249 -RDEPEND="${DEPEND}"
250 -
251 -src_prepare() {
252 - epatch \
253 - "${FILESDIR}"/${P}-glibc-2.10.patch \
254 - "${FILESDIR}"/${P}-gcc45.patch \
255 - "${FILESDIR}"/${P}-gcc46.patch
256 - mv data/tracks/Corner/{c,C}orner.map
257 -}
258 -
259 -src_configure() {
260 - append-ldflags -L/opt/fmodex/api/lib
261 - egamesconf
262 -}
263 -
264 -src_install() {
265 - default
266 - local d f
267 -
268 - newicon toycars/celica-render.png ${PN}.png
269 - make_desktop_entry ${PN} "Toy Cars"
270 -
271 - for d in toycars toycars_track_editor toycars_vehicle_editor
272 - do
273 - for f in ChangeLog README TODO
274 - do
275 - if [[ -s $d/$f ]] ; then
276 - newdoc $d/$f $d.$f
277 - fi
278 - done
279 - done
280 - prepgamesdirs
281 -}
282
283 diff --git a/profiles/package.mask b/profiles/package.mask
284 index badd33b..a1f987d 100644
285 --- a/profiles/package.mask
286 +++ b/profiles/package.mask
287 @@ -294,11 +294,6 @@ www-client/luakit
288 # Security mask of older branches, wrt bug #5567810
289 <dev-vcs/subversion-1.8
290
291 -# Michael Sterrett <mr_bones_@g.o> (19 Apr 2016)
292 -# No release in 6 years and segfaults on modern systems. (bug #311809)
293 -# Masked for removal on 20160519
294 -games-sports/toycars
295 -
296 # Andreas K. Hüttel <dilfridge@g.o> (16 Apr 2016)
297 # Masked because of security bug 580210
298 =www-misc/monitorix-3.6.0