Gentoo Archives: gentoo-commits

From: Brian Gloyer <brian.gloyer@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-action/netrek-cow/netrek-cow/, games-action/netrek-cow/files/, ...
Date: Tue, 11 Jan 2022 06:30:16
Message-Id: 1641881363.8db714d919cb688074303cdddcbbfd7635f557cf.brian.gloyer@gentoo
1 commit: 8db714d919cb688074303cdddcbbfd7635f557cf
2 Author: brian gloyer <brian.gloyer <AT> gmail <DOT> com>
3 AuthorDate: Tue Jan 11 05:56:20 2022 +0000
4 Commit: Brian Gloyer <brian.gloyer <AT> gmail <DOT> com>
5 CommitDate: Tue Jan 11 06:09:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8db714d9
7
8 games-action/netrek-cow: fix manifest
9
10 update EAPI 7 -> 8
11 delete duplicate files
12
13 Closes: https://bugs.gentoo.org/830928
14 Signed-off-by: brian gloyer <brian.gloyer <AT> gmail.com>
15
16 games-action/netrek-cow/autoupdate.patch | 103 ---------------------
17 .../files/netrek-cow-3.3.2-autoupdate.patch | 0
18 games-action/netrek-cow/netrek-cow-3.3.2.ebuild | 6 +-
19 games-action/netrek-cow/netrek-cow/Manifest | 4 -
20 games-action/netrek-cow/netrek-cow/metadata.xml | 16 ----
21 .../netrek-cow/netrek-cow/netrek-cow-3.3.2.ebuild | 45 ---------
22 6 files changed, 5 insertions(+), 169 deletions(-)
23
24 diff --git a/games-action/netrek-cow/autoupdate.patch b/games-action/netrek-cow/autoupdate.patch
25 deleted file mode 100644
26 index e9ededa2f..000000000
27 --- a/games-action/netrek-cow/autoupdate.patch
28 +++ /dev/null
29 @@ -1,103 +0,0 @@
30 -diff --git a/configure.ac b/configure.ac
31 -index ce956ee..5bb0866 100644
32 ---- a/configure.ac
33 -+++ b/configure.ac
34 -@@ -1,9 +1,10 @@
35 - dnl This file is an input file used by the GNU "autoconf" program to
36 - dnl generate the file "configure", which is run during Netrek installation
37 - dnl to configure the system for the local environment.
38 --AC_INIT(name.c)
39 --AC_CANONICAL_SYSTEM
40 --AC_CONFIG_HEADER(config.h)
41 -+AC_INIT
42 -+AC_CONFIG_SRCDIR([name.c])
43 -+AC_CANONICAL_TARGET
44 -+AC_CONFIG_HEADERS([config.h])
45 -
46 - AC_PROG_INSTALL
47 -
48 -@@ -11,7 +12,7 @@ AC_PROG_CC
49 - AC_PROG_CPP
50 - AC_PROG_LN_S
51 -
52 --AC_AIX
53 -+AC_USE_SYSTEM_EXTENSIONS
54 -
55 - AC_C_INLINE
56 -
57 -@@ -26,18 +27,24 @@ AC_C_INLINE
58 - #--------------------------------------------------------------------
59 -
60 - AC_MSG_CHECKING(if fd_set requires sys/select.h)
61 --AC_TRY_COMPILE( [#include <sys/types.h>], [fd_set readMask, writeMask;],
62 -- AC_MSG_RESULT(no) ,
63 -- AC_EGREP_HEADER(fd_set, sys/select.h,
64 -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>]], [[fd_set readMask, writeMask;]])],[AC_MSG_RESULT(no) ],[AC_EGREP_HEADER(fd_set, sys/select.h,
65 - AC_DEFINE(NEED_SYS_SELECT_H) AC_MSG_RESULT(yes),
66 -- AC_DEFINE(NO_FD_SET) AC_MSG_RESULT(fd_set missing)))
67 -+ AC_DEFINE(NO_FD_SET) AC_MSG_RESULT(fd_set missing))])
68 -
69 - #--------------------------------------------------------------------
70 - # Check for various typedefs and provide substitutes if
71 - # they don't exist.
72 - #--------------------------------------------------------------------
73 -
74 --AC_HEADER_STDC
75 -+m4_warn([obsolete],
76 -+[The preprocessor macro `STDC_HEADERS' is obsolete.
77 -+ Except in unusual embedded environments, you can safely include all
78 -+ ISO C90 headers unconditionally.])dnl
79 -+# Autoupdate added the next two lines to ensure that your configure
80 -+# script's behavior did not change. They are probably safe to remove.
81 -+AC_CHECK_INCLUDES_DEFAULT
82 -+AC_PROG_EGREP
83 -+
84 - AC_CHECK_HEADERS(unistd.h memory.h math.h stdlib.h)
85 - AC_CHECK_HEADERS(sys/timeb.h sys/ptyio.h sys/fcntl.h fcntl.h)
86 - AC_CHECK_HEADERS(ctype.h machine/endian.h sys/resource.h)
87 -@@ -46,7 +53,7 @@ AC_CHECK_HEADERS(sys/wait.h netinet/in.h netinet/tcp.h sys/filio.h)
88 - AC_TYPE_PID_T
89 - AC_TYPE_UID_T
90 - AC_TYPE_SIZE_T
91 --AC_FUNC_VFORK
92 -+AC_FUNC_FORK
93 - AC_STRUCT_TM
94 -
95 - AC_MSG_CHECKING(for itimer in time.h)
96 -@@ -80,7 +87,7 @@ if test -z "$NOX11" ; then
97 - if test -z "$x_libraries" ; then
98 - echo checking for X11 header files
99 - XINCLUDES=""
100 --AC_TRY_CPP([#include <X11/Intrinsic.h>], , XINCLUDES="nope")
101 -+AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <X11/Intrinsic.h>]])],[],[XINCLUDES="nope"])
102 - if test "$XINCLUDES" = nope; then
103 - dirs="/usr/unsupported/include /usr/local/include /usr/X386/include \
104 - /usr/include/X11R4 /usr/X11R5/include /usr/include/X11R5 \
105 -@@ -165,7 +172,19 @@ AC_CHECK_LIB(sun, main, [LIBS="$LIBS -lsun"])
106 - # Check for type of signals
107 - #--------------------------------------------------------------------
108 -
109 --AC_TYPE_SIGNAL
110 -+m4_warn([obsolete],
111 -+[your code may safely assume C89 semantics that RETSIGTYPE is void.
112 -+Remove this warning and the `AC_CACHE_CHECK' when you adjust the code.])dnl
113 -+AC_CACHE_CHECK([return type of signal handlers],[ac_cv_type_signal],[AC_COMPILE_IFELSE(
114 -+[AC_LANG_PROGRAM([#include <sys/types.h>
115 -+#include <signal.h>
116 -+],
117 -+ [return *(signal (0, 0)) (0) == 1;])],
118 -+ [ac_cv_type_signal=int],
119 -+ [ac_cv_type_signal=void])])
120 -+AC_DEFINE_UNQUOTED([RETSIGTYPE],[$ac_cv_type_signal],[Define as the return type of signal handlers
121 -+ (`int' or `void').])
122 -+
123 - AC_CHECK_FUNCS(usleep random setstate strftime ftime)
124 - AC_CHECK_LIB(m, main, [LIBS="$LIBS -lm"])
125 - AC_CHECK_FUNCS(nint)
126 -@@ -201,4 +220,5 @@ fi
127 - #--------------------------------------------------------------------
128 - # Emit output
129 - #--------------------------------------------------------------------
130 --AC_OUTPUT(system.mk)
131 -+AC_CONFIG_FILES([system.mk])
132 -+AC_OUTPUT
133
134 diff --git a/games-action/netrek-cow/netrek-cow/files/netrek-cow-3.3.2-autoupdate.patch b/games-action/netrek-cow/files/netrek-cow-3.3.2-autoupdate.patch
135 similarity index 100%
136 rename from games-action/netrek-cow/netrek-cow/files/netrek-cow-3.3.2-autoupdate.patch
137 rename to games-action/netrek-cow/files/netrek-cow-3.3.2-autoupdate.patch
138
139 diff --git a/games-action/netrek-cow/netrek-cow-3.3.2.ebuild b/games-action/netrek-cow/netrek-cow-3.3.2.ebuild
140 index 0617861f2..b5f04f1f7 100644
141 --- a/games-action/netrek-cow/netrek-cow-3.3.2.ebuild
142 +++ b/games-action/netrek-cow/netrek-cow-3.3.2.ebuild
143 @@ -1,7 +1,7 @@
144 # Copyright 1999-2020 Gentoo Authors
145 # Distributed under the terms of the GNU General Public License v2
146
147 -EAPI=7
148 +EAPI=8
149 inherit autotools
150
151 DESCRIPTION="cow client for netrek"
152 @@ -39,3 +39,7 @@ src_prepare() {
153 src_install() {
154 dobin netrek-client-cow
155 }
156 +
157 +PATCHES=(
158 + "${FILESDIR}/${P}-autoupdate.patch"
159 +)
160
161 diff --git a/games-action/netrek-cow/netrek-cow/Manifest b/games-action/netrek-cow/netrek-cow/Manifest
162 deleted file mode 100644
163 index 564830077..000000000
164 --- a/games-action/netrek-cow/netrek-cow/Manifest
165 +++ /dev/null
166 @@ -1,4 +0,0 @@
167 -AUX netrek-cow-3.3.2-autoupdate.patch 3820 BLAKE2B 41e9de377f196e64d8764cacc4e609b11edcfd73ae5f8b3151e7cc9d63603ce4ba9d2a23de215303b49d1914f62688c0bb5f42330595573a3872e3cae435d659 SHA512 b270a4f51720b7bc7ff6a85c076d92bb31fd492528ed12b85fa390b72b9e43d1b14824bbdcea40710c6b409b4f036625d914b9024aab10accb536c6cb4db921c
168 -DIST netrek-cow-3.3.2.tar.gz 2630673 BLAKE2B 1a54b58d112f0893275b57967573ce308e69b99e42a660670f3a5fc7f15f2dc110f2008e496282a58da181252a196feb8218a87f52db16444f1f50cef2a6809f SHA512 9a0ab78ed86d174f52d35d30a409efd985bd2d39062a993c3790f36ade1fa0a9b95b9d914f5c1fa57497f281e88ece0f6bc86abc962bd87ff44f68c1416f07f0
169 -EBUILD netrek-cow-3.3.2.ebuild 767 BLAKE2B 560e534e13708003e905d58d04944b1dc37e956baeae0f2c1dbcff28ce307570e2e10db781c83a2f073bdb77db4bd265677ae371b29443075aa112967e5088a9 SHA512 acc5cded53ba6a7df74c42afcf90a1e02b6a1a85b537e1948305c714f9a0e03e2bb546b665ae9a62c0123c0b1ccc959c46c2aea8c9bd59f78d969e073c13b2c4
170 -MISC metadata.xml 549 BLAKE2B 9f82dafe4f3010a8794c656f0b2d50c2adb18fd0a570c37cdd03dd21a910db089f2ac61ec5abe592fa5c7a47fe00753ea6581b0313665eee75cebeee36000ea8 SHA512 a7723c9a9d4e0ffa94dab929633d795ed3b077e18af3f277a2c0012eb91deb15cb1a9b8f1ac8e927f663fdab23eae26762c7987faa24e991bc49ffe5129ef614
171
172 diff --git a/games-action/netrek-cow/netrek-cow/metadata.xml b/games-action/netrek-cow/netrek-cow/metadata.xml
173 deleted file mode 100644
174 index bf36b0504..000000000
175 --- a/games-action/netrek-cow/netrek-cow/metadata.xml
176 +++ /dev/null
177 @@ -1,16 +0,0 @@
178 -<?xml version="1.0" encoding="UTF-8"?>
179 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
180 -<pkgmetadata>
181 - <maintainer type="person">
182 - <email>brian.gloyer@×××××.com</email>
183 - <name>brian gloyer</name>
184 - </maintainer>
185 - <upstream>
186 - <maintainer status="active">
187 - <email>brian.gloyer@×××××.com</email>
188 - <name>brian gloyer</name>
189 - </maintainer>
190 - <bugs-to>https://github.com/quozl/netrek-client-cow/issues/</bugs-to>
191 - <remote-id type="github">quozl/netrek-client-cow</remote-id>
192 - </upstream>
193 -</pkgmetadata>
194
195 diff --git a/games-action/netrek-cow/netrek-cow/netrek-cow-3.3.2.ebuild b/games-action/netrek-cow/netrek-cow/netrek-cow-3.3.2.ebuild
196 deleted file mode 100644
197 index a552ae655..000000000
198 --- a/games-action/netrek-cow/netrek-cow/netrek-cow-3.3.2.ebuild
199 +++ /dev/null
200 @@ -1,45 +0,0 @@
201 -# Copyright 1999-2022 Gentoo Authors
202 -# Distributed under the terms of the GNU General Public License v2
203 -
204 -EAPI=7
205 -inherit autotools
206 -
207 -DESCRIPTION="cow client for netrek"
208 -HOMEPAGE="https://netrek.org"
209 -SRC_URI="https://github.com/quozl/netrek-client-cow/archive/${PV}.tar.gz -> ${P}.tar.gz"
210 -
211 -LICENSE="MIT"
212 -SLOT="0"
213 -KEYWORDS="~amd64"
214 -
215 -S="${WORKDIR}/netrek-client-cow-${PV}"
216 -
217 -# upstream has a file named check that is unrelated to tests
218 -RESTRICT="test"
219 -
220 -RDEPEND="
221 - media-libs/imlib2
222 - media-libs/libsdl
223 - media-libs/sdl-mixer
224 - x11-base/xorg-proto
225 - x11-libs/libX11
226 - x11-libs/libXxf86vm
227 - x11-libs/libXmu
228 -"
229 -DEPEND="
230 - ${RDEPEND}
231 -"
232 -
233 -src_prepare() {
234 - default
235 - ./autogen.sh
236 - eautoreconf
237 -}
238 -
239 -src_install() {
240 - dobin netrek-client-cow
241 -}
242 -
243 -PATCHES=(
244 - "${FILESDIR}/${P}-autoupdate.patch"
245 -)