1 |
commit: f306ecedbdd430efacf5fe8b3f9b018f24716e3b |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 17 07:14:01 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 17 07:58:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f306eced |
7 |
|
8 |
games-puzzle/xlogical: drop 1.0.7-r1 |
9 |
|
10 |
Broken with gcc11 alongside other issues. |
11 |
|
12 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
13 |
|
14 |
games-puzzle/xlogical/Manifest | 2 - |
15 |
.../xlogical/files/xlogical-1.0.7-gcc41.patch | 49 -------------- |
16 |
.../xlogical/files/xlogical-1.0.7-gcc43.patch | 51 -------------- |
17 |
games-puzzle/xlogical/metadata.xml | 3 - |
18 |
games-puzzle/xlogical/xlogical-1.0.7-r1.ebuild | 79 ---------------------- |
19 |
5 files changed, 184 deletions(-) |
20 |
|
21 |
diff --git a/games-puzzle/xlogical/Manifest b/games-puzzle/xlogical/Manifest |
22 |
index ced2bdce6d0..4ecce72f525 100644 |
23 |
--- a/games-puzzle/xlogical/Manifest |
24 |
+++ b/games-puzzle/xlogical/Manifest |
25 |
@@ -1,4 +1,2 @@ |
26 |
-DIST xlogical-1.0-7.tar.bz2 1853575 BLAKE2B 6f78f92a14313cf65f171b99c28a4377f7685bf73705a91b92fcf370ad1f3555b7aefe99e6004aa32c62cf8b71f2d754d64acadf3bda345cc8cf3e3f91647d02 SHA512 b47aadff91a7d3057fe8657bdda5c16a910f84f6d324bee82f1beba55de7faf6a599231c8d53ed68cc30f9edfe18f57f31dfc9fe06b8e03fa6120905f37c290d |
27 |
DIST xlogical-1.0-8.tar.bz2 1789699 BLAKE2B 5d33cc7345c43a21bea8e899e36c87ccf57752f8b96aaa52b61a9042f6531adf6944dff9e57684a86a0f759a8e4e24253618fc2c2e3cdd3c70d20a9cb0a27398 SHA512 3cbba38c430b1f2a6786d1d6893249812e75941fd7ab336ca5d111ec526ef61bb7e09d5365dbcaae23f32a336d8ab840c0e343656054d252043c6c7962b39d18 |
28 |
DIST xlogical.png 4477 BLAKE2B 276abddabc3b26c7b9a3322e34079073a517ae1c7477307ff3429739eb3a88f9cc23dc0e3c637cf0a7aed13c9cf5cf12b40cb8858eaa0c67246d5d1bf746dedf SHA512 761953cc61bf1cea1b0d306006b71cabee800c6ea74aae4ed31f2fcf2e5cb9fa672c6c226c5444ab6b0af858a54522dafe0a1eb0351bb0c9f359fa447d0fbfa0 |
29 |
-DIST xlogical_gfx.zip 347801 BLAKE2B b9c2f963e8ddc5af9fcd7adac691a71c6ee12bc3b3164ce243d076f85c36044b4aa523d27c5dd1480388ff97356ddabd3c7f2c4d223aeeff1a8660fc7c595995 SHA512 14322ae1c8fb7f50513ef47e05372c5dc1ec1b658b33c53477e6b05bbee1de0250b21127891f205d16adc386e7ce37c4b834a62794ee105754b97e49eb5d2a42 |
30 |
|
31 |
diff --git a/games-puzzle/xlogical/files/xlogical-1.0.7-gcc41.patch b/games-puzzle/xlogical/files/xlogical-1.0.7-gcc41.patch |
32 |
deleted file mode 100644 |
33 |
index 5c77527dc59..00000000000 |
34 |
--- a/games-puzzle/xlogical/files/xlogical-1.0.7-gcc41.patch |
35 |
+++ /dev/null |
36 |
@@ -1,49 +0,0 @@ |
37 |
---- a/properties.h |
38 |
-+++ b/properties.h |
39 |
-@@ -33,9 +33,7 @@ |
40 |
- #include <map> |
41 |
- #include <string> |
42 |
- |
43 |
--#ifdef WIN32 |
44 |
- using namespace std; |
45 |
--#endif |
46 |
- |
47 |
- #include "defs.h" |
48 |
- |
49 |
---- a/anim.h |
50 |
-+++ b/anim.h |
51 |
-@@ -27,9 +27,7 @@ |
52 |
- // Language Includes |
53 |
- #include <list> |
54 |
- |
55 |
--#ifdef WIN32 |
56 |
- using namespace std; |
57 |
--#endif |
58 |
- |
59 |
- // Application Includes |
60 |
- #include "graph.h" |
61 |
---- a/exception.h |
62 |
-+++ b/exception.h |
63 |
-@@ -27,10 +27,9 @@ |
64 |
- |
65 |
- // Language Includes |
66 |
- #include <string> |
67 |
-+#include <iostream> |
68 |
- |
69 |
--#ifdef WIN32 |
70 |
- using namespace std; |
71 |
--#endif |
72 |
- |
73 |
- #define CatchEx(aEx) catch( CXLException aEx ) |
74 |
- #define ThrowEx(aError) throw CXLException(aError,__FILE__,__LINE__) |
75 |
---- a/gamelogic.cpp |
76 |
-+++ b/gamelogic.cpp |
77 |
-@@ -154,7 +154,7 @@ |
78 |
- levelFile = NULL; |
79 |
- } |
80 |
- |
81 |
-- currentMap = NULL; |
82 |
-+ currentMap = gameLevels.begin(); |
83 |
- |
84 |
- playerName = new char[32+1]; |
85 |
- strcpy( playerName, "nobody" ); |
86 |
|
87 |
diff --git a/games-puzzle/xlogical/files/xlogical-1.0.7-gcc43.patch b/games-puzzle/xlogical/files/xlogical-1.0.7-gcc43.patch |
88 |
deleted file mode 100644 |
89 |
index 594298c93d4..00000000000 |
90 |
--- a/games-puzzle/xlogical/files/xlogical-1.0.7-gcc43.patch |
91 |
+++ /dev/null |
92 |
@@ -1,51 +0,0 @@ |
93 |
---- a/gamelogic.cpp |
94 |
-+++ b/gamelogic.cpp |
95 |
-@@ -25,6 +25,7 @@ |
96 |
- #include<fstream> |
97 |
- #include<cstdio> |
98 |
- #include<cctype> |
99 |
-+#include <cstdlib> |
100 |
- |
101 |
- #ifndef WIN32 |
102 |
- #include<unistd.h> |
103 |
---- a/levelmap.cpp |
104 |
-+++ b/levelmap.cpp |
105 |
-@@ -21,6 +21,7 @@ |
106 |
- //////////////////////////////////////////////////////////////////////// |
107 |
- |
108 |
- // Language Includes |
109 |
-+#include <cstdlib> |
110 |
- #include <cstdio> |
111 |
- #include <cctype> |
112 |
- #include <cstring> |
113 |
---- a/mapedit.cpp |
114 |
-+++ b/mapedit.cpp |
115 |
-@@ -26,6 +26,8 @@ |
116 |
- #include<cstdio> |
117 |
- #include<list> |
118 |
- #include<vector> |
119 |
-+#include <cstdlib> |
120 |
-+#include <cstring> |
121 |
- |
122 |
- #ifndef WIN32 |
123 |
- #include<unistd.h> |
124 |
---- a/modlist.cpp |
125 |
-+++ b/modlist.cpp |
126 |
-@@ -22,6 +22,7 @@ |
127 |
- |
128 |
- #include <iostream> |
129 |
- #include <fstream> |
130 |
-+#include <cstdlib> |
131 |
- |
132 |
- #ifdef WIN32 |
133 |
- #include <afxwin.h> |
134 |
---- a/tile_spinner.cpp |
135 |
-+++ b/tile_spinner.cpp |
136 |
-@@ -24,6 +24,7 @@ |
137 |
- |
138 |
- |
139 |
- // Application Includes |
140 |
-+#include <cstdlib> |
141 |
- #include "audio.h" |
142 |
- #include "properties.h" |
143 |
- #include "defs.h" |
144 |
|
145 |
diff --git a/games-puzzle/xlogical/metadata.xml b/games-puzzle/xlogical/metadata.xml |
146 |
index e41e6cb4ba5..26079e608be 100644 |
147 |
--- a/games-puzzle/xlogical/metadata.xml |
148 |
+++ b/games-puzzle/xlogical/metadata.xml |
149 |
@@ -5,7 +5,4 @@ |
150 |
<email>games@g.o</email> |
151 |
<name>Gentoo Games Project</name> |
152 |
</maintainer> |
153 |
- <use> |
154 |
- <flag name="alt_gfx">Use alternate graphics which are closer to the original Amiga version</flag> |
155 |
- </use> |
156 |
</pkgmetadata> |
157 |
|
158 |
diff --git a/games-puzzle/xlogical/xlogical-1.0.7-r1.ebuild b/games-puzzle/xlogical/xlogical-1.0.7-r1.ebuild |
159 |
deleted file mode 100644 |
160 |
index 835489919ed..00000000000 |
161 |
--- a/games-puzzle/xlogical/xlogical-1.0.7-r1.ebuild |
162 |
+++ /dev/null |
163 |
@@ -1,79 +0,0 @@ |
164 |
-# Copyright 1999-2021 Gentoo Authors |
165 |
-# Distributed under the terms of the GNU General Public License v2 |
166 |
- |
167 |
-EAPI=7 |
168 |
- |
169 |
-inherit autotools desktop edos2unix |
170 |
- |
171 |
-MY_PV=$(ver_rs 2 '-') |
172 |
-MY_P=${PN}-${MY_PV} |
173 |
-DESCRIPTION="SDL logical clone" |
174 |
-HOMEPAGE="https://changeling.ixionstudios.com/xlogical/" |
175 |
-SRC_URI="https://changeling.ixionstudios.com/xlogical/downloads/${MY_P}.tar.bz2 |
176 |
- alt_gfx? ( https://changeling.ixionstudios.com/xlogical/downloads/${PN}_gfx.zip )" |
177 |
-S="${WORKDIR}"/${PN}-$(ver_cut 1-2) |
178 |
- |
179 |
-LICENSE="GPL-2" |
180 |
-SLOT="0" |
181 |
-KEYWORDS="~amd64 ~x86" |
182 |
-IUSE="alt_gfx" |
183 |
- |
184 |
-DEPEND=" |
185 |
- media-libs/libsdl[sound,video] |
186 |
- media-libs/sdl-image[jpeg] |
187 |
- media-libs/sdl-mixer[mod] |
188 |
-" |
189 |
-RDEPEND=" |
190 |
- ${DEPEND} |
191 |
- acct-group/gamestat |
192 |
-" |
193 |
-BDEPEND="alt_gfx? ( app-arch/unzip )" |
194 |
- |
195 |
-PATCHES=( |
196 |
- "${FILESDIR}"/${P}-gcc41.patch |
197 |
- "${FILESDIR}"/${P}-gcc43.patch |
198 |
-) |
199 |
- |
200 |
-src_unpack() { |
201 |
- unpack ${MY_P}.tar.bz2 |
202 |
- |
203 |
- if use alt_gfx ; then |
204 |
- cd "${S}"/images || die |
205 |
- unpack xlogical_gfx.zip |
206 |
- fi |
207 |
-} |
208 |
- |
209 |
-src_prepare() { |
210 |
- sed -i '/^CXXFLAGS/d' Makefile.am || die |
211 |
- |
212 |
- edos2unix properties.h anim.h exception.h |
213 |
- |
214 |
- default |
215 |
- |
216 |
- mv configure.in configure.ac || die |
217 |
- eautoreconf |
218 |
-} |
219 |
- |
220 |
-src_configure() { |
221 |
- # localstatedir is only used for the score file |
222 |
- # NOTE: Check on bumps! |
223 |
- econf --localstatedir="/var/games" |
224 |
-} |
225 |
- |
226 |
-src_install() { |
227 |
- dobin ${PN} |
228 |
- |
229 |
- insinto /usr/share/${PN} |
230 |
- doins -r ${PN}.{properties,levels} music sound images |
231 |
- find "${ED}" -name "Makefile*" -exec rm -f '{}' + || die |
232 |
- |
233 |
- insinto /var/games/${PN} |
234 |
- doins ${PN}.scores |
235 |
- |
236 |
- fowners root:gamestat /var/games/${PN}/${PN}.scores |
237 |
- fperms 660 /var/games/${PN}/${PN}.scores |
238 |
- fperms g+s /usr/bin/${PN} |
239 |
- |
240 |
- dodoc AUTHORS ChangeLog NEWS README TODO |
241 |
- make_desktop_entry ${PN} "Xlogical" |
242 |
-} |