Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/asc/, games-strategy/asc/files/, profiles/
Date: Tue, 01 Dec 2020 21:10:13
Message-Id: 1606856999.6df684e77b96510d6c88484147dc81de895e16e6.marecki@gentoo
1 commit: 6df684e77b96510d6c88484147dc81de895e16e6
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 1 21:09:01 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 1 21:09:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6df684e7
7
8 games-strategy/asc: remove last-rited package
9
10 Bug: https://bugs.gentoo.org/635592
11 Bug: https://bugs.gentoo.org/752708
12 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
13
14 games-strategy/asc/Manifest | 4 --
15 games-strategy/asc/asc-2.6.0.0-r2.ebuild | 84 ----------------------
16 .../asc/files/asc-2.6.0.0-freetype_pkgconfig.patch | 28 --------
17 .../files/asc-2.6.0.0-gcc6-nothrow-in-dtors.patch | 32 ---------
18 games-strategy/asc/metadata.xml | 11 ---
19 profiles/package.mask | 5 --
20 6 files changed, 164 deletions(-)
21
22 diff --git a/games-strategy/asc/Manifest b/games-strategy/asc/Manifest
23 deleted file mode 100644
24 index 702debd6248..00000000000
25 --- a/games-strategy/asc/Manifest
26 +++ /dev/null
27 @@ -1,4 +0,0 @@
28 -DIST asc-2.6.0.0.tar.bz2 42280527 BLAKE2B a2ab8777f36d64924bb12359226792ea6d76a07f306bfe2f7204f50de5c103d524fbb69eb88106c293312650619cf3683a25a6afa6176941e8efb72edca9424c SHA512 e1dea48bf87424fd65772e6d9bad96cf63e4062df5717bbc925562683782afc2d9788ea28e7147d905c3c0f6db3ef7c102a59022988c9fcf8aa6adba91dc5540
29 -DIST frontiers.ogg 4691844 BLAKE2B 02909247293439b72ca2f94b515abd53ebf931ac4ffbcc7a4d7909cfdcc79cd1411c973f42760e6012197ead5ce2369895d52b8b4fea5107f62e852502f2428d SHA512 8c2ce497519b3842fba2d39b5c6de6194584d64c0375d404535628898cb2e7a82433fc6008781381a80a6cbb24ff49162de3634ebcf28b17b0631c30668fd8af
30 -DIST machine_wars.ogg 3138308 BLAKE2B 7c1f4e2c652b70dc9e41f313a8428a22844d1f98717b3c59061d462cf6d4a8f30c2ea2f7d2032afd8b6c9d50513286c409d8d21fb78c59bd246bd4cce3255029 SHA512 2c1bab89b9397f52dcf7eedfc0dbc88d49a586ac0474c76a09a87a880712bf0fa408c03a65a5f5d322dee86e3b12cbc66d53cd6728e8fa34fa8f2ee2bbc06cd8
31 -DIST time_to_strike.ogg 3830679 BLAKE2B ced7de55d8f52177ee5fac6a19a4f76df8b50f70f9d62e42b10d6868608ebf88fe5405e072ee7b1cbc2152f54f4ae66fe3e025c13faf9b57b09a6c117a2c3d13 SHA512 2ed946116cac2ea63d401eb7415d5b3e4e548bc5a5b00b01a6f1c4db6a242895810dfefdf1ace9652f01dc934a70b756aa74d01630cfac97b19ce84a93b772ee
32
33 diff --git a/games-strategy/asc/asc-2.6.0.0-r2.ebuild b/games-strategy/asc/asc-2.6.0.0-r2.ebuild
34 deleted file mode 100644
35 index 6f17949ef83..00000000000
36 --- a/games-strategy/asc/asc-2.6.0.0-r2.ebuild
37 +++ /dev/null
38 @@ -1,84 +0,0 @@
39 -# Copyright 1999-2018 Gentoo Foundation
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=6
43 -WX_GTK_VER=3.0
44 -inherit autotools toolchain-funcs flag-o-matic wxwidgets
45 -
46 -DESCRIPTION="turn based strategy game designed in the tradition of the Battle Isle series"
47 -HOMEPAGE="http://www.asc-hq.org/"
48 -SRC_URI="mirror://sourceforge/asc-hq/${P}.tar.bz2
49 - http://www.asc-hq.org/music/frontiers.ogg
50 - http://www.asc-hq.org/music/time_to_strike.ogg
51 - http://www.asc-hq.org/music/machine_wars.ogg"
52 -
53 -LICENSE="GPL-2+"
54 -SLOT="0"
55 -KEYWORDS="~amd64 ~x86"
56 -IUSE=""
57 -
58 -RDEPEND="app-arch/bzip2
59 - dev-games/physfs
60 - dev-lang/lua:0
61 - dev-libs/boost
62 - dev-libs/expat
63 - dev-libs/libsigc++:1.2
64 - media-libs/libpng:0
65 - media-libs/libsdl[video]
66 - media-libs/sdl-image[gif,jpeg,png]
67 - media-libs/sdl-mixer[vorbis]
68 - media-libs/sdl-sound
69 - media-libs/freetype
70 - media-libs/xvid
71 - x11-libs/wxGTK:${WX_GTK_VER}[X]"
72 -
73 -DEPEND="${RDEPEND}
74 - app-arch/zip
75 - dev-lang/perl
76 - virtual/pkgconfig"
77 -
78 -PATCHES=(
79 - "${FILESDIR}/"/${P}-gcc6-nothrow-in-dtors.patch
80 - "${FILESDIR}/"/${P}-freetype_pkgconfig.patch #657998
81 -)
82 -
83 -src_unpack() {
84 - local f
85 -
86 - unpack ${P}.tar.bz2
87 - for f in ${A}
88 - do
89 - case ${f} in
90 - *ogg)
91 - cp "${DISTDIR}/${f}" "${S}/data/music" || die
92 - ;;
93 - esac
94 - done
95 -}
96 -
97 -src_prepare() {
98 - default
99 - # required for freetype_pkgconfig patch
100 - eautoreconf
101 -}
102 -
103 -src_configure() {
104 - need-wxwidgets unicode
105 - # Added --disable-paraguitest for bugs 26402 and 4488
106 - # Added --disable-paragui for bug 61154 since it's not really used much
107 - # and the case is well documented at http://www.asc-hq.org/
108 - if [[ $(gcc-major-version) -eq 4 ]] ; then
109 - replace-flags -O3 -O2
110 - fi
111 - local myeconfargs=(
112 - --disable-paraguitest
113 - --disable-paragui
114 - --datadir="/usr/share"
115 - )
116 - econf "${myeconfargs[@]}"
117 -}
118 -
119 -src_install() {
120 - default
121 - dodoc -r doc/*
122 -}
123
124 diff --git a/games-strategy/asc/files/asc-2.6.0.0-freetype_pkgconfig.patch b/games-strategy/asc/files/asc-2.6.0.0-freetype_pkgconfig.patch
125 deleted file mode 100644
126 index a07cd2f8627..00000000000
127 --- a/games-strategy/asc/files/asc-2.6.0.0-freetype_pkgconfig.patch
128 +++ /dev/null
129 @@ -1,28 +0,0 @@
130 -https://bugs.gentoo.org/657998
131 -
132 ---- asc-2.6.0.0/configure.ac
133 -+++ asc-2.6.0.0/configure.ac
134 -@@ -401,22 +401,7 @@
135 - FREETYPE_CFLAGS="`$ac_cv_path_freetype_config --cflags`"
136 - FREETYPE_LIBS="`$ac_cv_path_freetype_config --libs`"
137 - else
138 -- AC_CHECK_LIB(freetype,FT_Init_FreeType,have_freetype=yes)
139 -- AC_CHECK_HEADER(ft2build.h,have_ft2build=yes)
140 -- if test "$have_ft2build" != "yes"; then
141 -- have_freetype="no"
142 -- elif test "$have_freetype" = "yes"; then
143 -- FREETYPE_LIBS="-lfreetype"
144 -- ft2inc="no"
145 -- AC_MSG_CHECKING(freetype2 include directory)
146 -- if test -d /usr/local/include/freetype2; then
147 -- ft2inc="/usr/local/include/freetype2"
148 -- elif test -d /usr/include/freetype2; then
149 -- ft2inc="/usr/include/freetype2"
150 -- fi
151 -- AC_MSG_RESULT($ft2inc)
152 -- FREETYPE_CFLAGS="-I$ft2inc"
153 -- fi
154 -+ PKG_CHECK_MODULES(FREETYPE, freetype2, have_freetype=yes)
155 - fi
156 -
157 - if test x$have_freetype = xno; then
158
159 diff --git a/games-strategy/asc/files/asc-2.6.0.0-gcc6-nothrow-in-dtors.patch b/games-strategy/asc/files/asc-2.6.0.0-gcc6-nothrow-in-dtors.patch
160 deleted file mode 100644
161 index e710b22f8c8..00000000000
162 --- a/games-strategy/asc/files/asc-2.6.0.0-gcc6-nothrow-in-dtors.patch
163 +++ /dev/null
164 @@ -1,32 +0,0 @@
165 -Bug: https://bugs.gentoo.org/612934
166 -Upstream Bug: https://sourceforge.net/p/asc-hq/patches/2/
167 -
168 ---- a/source/basestrm.cpp
169 -+++ b/source/basestrm.cpp
170 -@@ -1728,7 +1728,6 @@
171 - }
172 - } catch ( ... ) {
173 - displayLogMessage( 9, ASCString("~tn_c_lzw_filestream : caught exception") );
174 -- throw;
175 - }
176 - }
177 -
178 ---- a/source/simplestream.cpp
179 -+++ b/source/simplestream.cpp
180 -@@ -43,6 +43,7 @@
181 - #endif
182 - #endif
183 -
184 -+#include "util/messaginghub.h"
185 -
186 - tnbufstream::tnbufstream ( )
187 - {
188 -@@ -270,7 +271,7 @@
189 -
190 - int res = fclose( fp );
191 - if ( res != 0 )
192 -- throw tfileerror ( getDeviceName() + " : " + strerror(errno));
193 -+ displayLogMessage( 9, ASCString( getDeviceName() + " : " + strerror(errno) ) );
194 -
195 - _mode = uninitialized;
196 -
197
198 diff --git a/games-strategy/asc/metadata.xml b/games-strategy/asc/metadata.xml
199 deleted file mode 100644
200 index 33170f2a754..00000000000
201 --- a/games-strategy/asc/metadata.xml
202 +++ /dev/null
203 @@ -1,11 +0,0 @@
204 -<?xml version="1.0" encoding="UTF-8"?>
205 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
206 -<pkgmetadata>
207 - <maintainer type="project">
208 - <email>games@g.o</email>
209 - <name>Gentoo Games Project</name>
210 - </maintainer>
211 - <upstream>
212 - <remote-id type="sourceforge">asc-hq</remote-id>
213 - </upstream>
214 -</pkgmetadata>
215
216 diff --git a/profiles/package.mask b/profiles/package.mask
217 index fc77001eafc..415ef0457d9 100644
218 --- a/profiles/package.mask
219 +++ b/profiles/package.mask
220 @@ -499,11 +499,6 @@ gnome-base/libbonobo
221 gnome-base/libgnome-keyring
222 gnome-base/orbit
223
224 -# Michał Górny <mgorny@g.o> (2020-10-23)
225 -# Fails to build. Needs a dedicated maintainer and a version bump.
226 -# Removal in 30 days. Bug #635592.
227 -games-strategy/asc
228 -
229 # David Seifert <soap@g.o> (2020-10-21)
230 # No releases in over 3 years, no more revdeps in tree
231 # upstream mostly unresponsive to requests for proper