1 |
commit: e90d528782405cd4d082ce9a3229d4b0ca02b140 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 18 16:21:40 2022 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 18 16:21:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e90d5287 |
7 |
|
8 |
app-misc/linux-logo: drop 5.11-r4, 5.11-r5 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/836038 |
11 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
12 |
|
13 |
app-misc/linux-logo/Manifest | 1 - |
14 |
.../linux-logo-5.11-add-aarch64-support.patch | 13 ---- |
15 |
.../files/linux-logo-5.11-configure.patch | 78 --------------------- |
16 |
app-misc/linux-logo/linux-logo-5.11-r4.ebuild | 78 --------------------- |
17 |
app-misc/linux-logo/linux-logo-5.11-r5.ebuild | 80 ---------------------- |
18 |
5 files changed, 250 deletions(-) |
19 |
|
20 |
diff --git a/app-misc/linux-logo/Manifest b/app-misc/linux-logo/Manifest |
21 |
index d9fe570152f6..ac5e5f3c7706 100644 |
22 |
--- a/app-misc/linux-logo/Manifest |
23 |
+++ b/app-misc/linux-logo/Manifest |
24 |
@@ -1,2 +1 @@ |
25 |
-DIST linux_logo-5.11.tar.gz 103623 BLAKE2B 5790bae07a9496a690e0ef2d6426a68365c4ab91df058a31a5bffed38b8f3caac01b80ce49d52583f77632cc5e3061a20a5530437ca3508e823eeb88eb2e94cb SHA512 3c11d59eeb1ea613eb66d3ea5ef2d7c9ef906cb12430b9350570a6a1937ec174bdd974e6227358339c3fd2e0647a5066a0bea22289c4aa9bc8b03afb0033f114 |
26 |
DIST linux_logo-6.0.tar.gz 117486 BLAKE2B 3340b893574f0c18561b208824cd80cff19c387d981af6ca63f56e691cebd2030e058ef367d91a999fd662592582da38b21a5a31f3f8364dbd87a43bd2c2b608 SHA512 ebd7513f90e79bb21acd984c671a1d1ce8421411d2b2948b01e6e08f7c9826184f9b9d528e0cfc814df8d8015d444a09c45025c344115ac9a6c2cff5743f03ad |
27 |
|
28 |
diff --git a/app-misc/linux-logo/files/linux-logo-5.11-add-aarch64-support.patch b/app-misc/linux-logo/files/linux-logo-5.11-add-aarch64-support.patch |
29 |
deleted file mode 100644 |
30 |
index 8ea15ebab6ac..000000000000 |
31 |
--- a/app-misc/linux-logo/files/linux-logo-5.11-add-aarch64-support.patch |
32 |
+++ /dev/null |
33 |
@@ -1,13 +0,0 @@ |
34 |
-diff -Nuar a/libsysinfo-0.2.2/Linux/Makefile b/libsysinfo-0.2.2/Linux/Makefile |
35 |
---- a/libsysinfo-0.2.2/Linux/Makefile 2010-02-15 18:15:07.000000000 +0100 |
36 |
-+++ b/libsysinfo-0.2.2/Linux/Makefile 2018-01-03 20:16:48.299998620 +0100 |
37 |
-@@ -6,6 +6,9 @@ |
38 |
- ifneq (,$(findstring arm,$(ARCH))) |
39 |
- ARCH := arm |
40 |
- endif |
41 |
-+ifneq (,$(findstring aarch64,$(ARCH))) |
42 |
-+ ARCH := arm |
43 |
-+endif |
44 |
- ifneq (,$(findstring sh,$(ARCH))) |
45 |
- ARCH := sh |
46 |
- endif |
47 |
|
48 |
diff --git a/app-misc/linux-logo/files/linux-logo-5.11-configure.patch b/app-misc/linux-logo/files/linux-logo-5.11-configure.patch |
49 |
deleted file mode 100644 |
50 |
index a699db0485e1..000000000000 |
51 |
--- a/app-misc/linux-logo/files/linux-logo-5.11-configure.patch |
52 |
+++ /dev/null |
53 |
@@ -1,78 +0,0 @@ |
54 |
-diff -Naur linux_logo-5.11.orig/configure linux_logo-5.11/configure |
55 |
---- linux_logo-5.11.orig/configure 2010-02-19 23:47:46.000000000 +0100 |
56 |
-+++ linux_logo-5.11/configure 2020-04-23 23:35:47.468728737 +0200 |
57 |
-@@ -41,31 +41,8 @@ |
58 |
- XGETTEXT=xgettext |
59 |
- fi |
60 |
- |
61 |
--which gcc |
62 |
--GCC_MISSING=$? |
63 |
-- |
64 |
--if [ $GCC_MISSING -eq 1 ]; then |
65 |
-- which cc |
66 |
-- CC_MISSING=$? |
67 |
-- if [ $CC_MISSING -eq 1 ]; then |
68 |
-- echo "C compiler not found!" |
69 |
-- else |
70 |
-- CC=cc |
71 |
-- fi |
72 |
--else |
73 |
-- CC=gcc |
74 |
--fi |
75 |
-- |
76 |
- LIBSYSINFO=libsysinfo-0.2.2 |
77 |
- |
78 |
--LDFLAGS="" |
79 |
-- |
80 |
--if [ $CC = gcc ]; then |
81 |
-- CFLAGS="-Wall -O2" |
82 |
--else |
83 |
-- CFLAGS="-O2" |
84 |
--fi |
85 |
-- |
86 |
- $CROSS$CC $CFLAGS -c intl_test.c |
87 |
- INTL_MISSING=$? |
88 |
- |
89 |
-diff -Naur linux_logo-5.11.orig/libsysinfo-0.2.2/configure linux_logo-5.11/libsysinfo-0.2.2/configure |
90 |
---- linux_logo-5.11.orig/libsysinfo-0.2.2/configure 2009-06-05 20:53:44.000000000 +0200 |
91 |
-+++ linux_logo-5.11/libsysinfo-0.2.2/configure 2020-04-23 23:39:32.874812532 +0200 |
92 |
-@@ -15,39 +15,6 @@ |
93 |
- PREFIX=/usr/local |
94 |
- INSTALL=`which install` |
95 |
- |
96 |
--which gcc |
97 |
--GCC_MISSING=$? |
98 |
-- |
99 |
--if [ $GCC_MISSING -eq 1 ]; then |
100 |
-- which cc |
101 |
-- CC_MISSING=$? |
102 |
-- if [ $CC_MISSING -eq 1 ]; then |
103 |
-- echo "C compiler not found!" |
104 |
-- else |
105 |
-- CC=cc |
106 |
-- fi |
107 |
--else |
108 |
-- CC=gcc |
109 |
--fi |
110 |
-- |
111 |
--which ar |
112 |
--AR_MISSING=$? |
113 |
-- |
114 |
--if [ $AR_MISSING -eq 0 ]; then |
115 |
-- AR=ar |
116 |
--fi |
117 |
-- |
118 |
-- |
119 |
--if [ $OS = SunOS ]; then |
120 |
-- AR=/usr/ccs/bin/ar |
121 |
--fi |
122 |
-- |
123 |
--if [ $CC = gcc ]; then |
124 |
-- CFLAGS="-Wall -O2" |
125 |
--else |
126 |
-- CFLAGS="-O2" |
127 |
--fi |
128 |
-- |
129 |
- LIBSYSINFO_INCLUDE="-I.." |
130 |
- LFLAGS="" |
131 |
- |
132 |
|
133 |
diff --git a/app-misc/linux-logo/linux-logo-5.11-r4.ebuild b/app-misc/linux-logo/linux-logo-5.11-r4.ebuild |
134 |
deleted file mode 100644 |
135 |
index 7a01642f4e7b..000000000000 |
136 |
--- a/app-misc/linux-logo/linux-logo-5.11-r4.ebuild |
137 |
+++ /dev/null |
138 |
@@ -1,78 +0,0 @@ |
139 |
-# Copyright 1999-2018 Gentoo Foundation |
140 |
-# Distributed under the terms of the GNU General Public License v2 |
141 |
- |
142 |
-EAPI=6 |
143 |
- |
144 |
-inherit toolchain-funcs systemd |
145 |
- |
146 |
-MY_P=${PN/-/_}-${PV} |
147 |
-S=${WORKDIR}/${MY_P} |
148 |
-DESCRIPTION="A utility that displays an ANSI/ASCII logo and some system information" |
149 |
-HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/" |
150 |
-SRC_URI="http://www.deater.net/weave/vmwprod/linux_logo/${MY_P}.tar.gz" |
151 |
- |
152 |
-LICENSE="GPL-2" |
153 |
-SLOT="0" |
154 |
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux" |
155 |
-IUSE="nls" |
156 |
- |
157 |
-RDEPEND="nls? ( virtual/libintl )" |
158 |
-DEPEND="${RDEPEND} |
159 |
- nls? ( sys-devel/gettext )" |
160 |
- |
161 |
-src_prepare() { |
162 |
- cp "${FILESDIR}"/logo-config "${S}/logo_config" || die |
163 |
- cp "${FILESDIR}"/linux_logo_creator "${S}/" || die |
164 |
- cp "${FILESDIR}"/linux-logo.service "${S}/" || die |
165 |
- cp "${FILESDIR}"/gentoo-*.logo "${S}"/logos/ || die |
166 |
- |
167 |
- eapply "${FILESDIR}"/"${P}"-add-aarch64-support.patch |
168 |
- # Remove warn_unused_result warning |
169 |
- sed -i -e 's/FILE \*fff;/FILE \*fff;\n char *stemp;/' \ |
170 |
- -e 's/fgets/stemp=fgets/' "${S}"/load_logo.c || die |
171 |
- eapply_user |
172 |
-} |
173 |
- |
174 |
-src_configure() { |
175 |
- ARCH="" ./configure --prefix="${ED}"/usr || die |
176 |
-} |
177 |
- |
178 |
-src_compile() { |
179 |
- emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" |
180 |
-} |
181 |
- |
182 |
-src_install() { |
183 |
- emake install |
184 |
- |
185 |
- dodoc BUGS README README.CUSTOM_LOGOS TODO USAGE LINUX_LOGO.FAQ |
186 |
- |
187 |
- dobin "${FILESDIR}"/linux_logo_creator |
188 |
- newinitd "${FILESDIR}"/${PN}.init.d ${PN} |
189 |
- newconfd "${FILESDIR}"/${P}.conf ${PN} |
190 |
- |
191 |
- # systemd support |
192 |
- systemd_newunit "${FILESDIR}/linux-logo.service" "linux-logo.service" |
193 |
-} |
194 |
- |
195 |
-pkg_postinst() { |
196 |
- echo |
197 |
- elog "Linux_logo ebuild for Gentoo comes with two Gentoo logos." |
198 |
- elog "" |
199 |
- elog "To display the first Gentoo logo type: linux_logo -L gentoo" |
200 |
- elog "To display the second Gentoo logo type: linux_logo -L gentoo-alt" |
201 |
- elog "To display all the logos available type: linux_logo -L list." |
202 |
- elog "" |
203 |
- elog "To start linux_logo on boot, please type:" |
204 |
- elog " rc-update add linux-logo default" |
205 |
- elog "or for systemd" |
206 |
- elog " systemctl enable linux-logo.service" |
207 |
- elog "which uses the settings found in" |
208 |
- elog " /etc/conf.d/linux-logo" |
209 |
- echo |
210 |
-} |
211 |
- |
212 |
-pkg_prerm() { |
213 |
- # Restore issue files |
214 |
- mv /etc/issue.linux-logo.backup /etc/issue 2> /dev/null |
215 |
- mv /etc/issue.net.linux-logo.backup /etc/issue.net 2> /dev/null |
216 |
-} |
217 |
|
218 |
diff --git a/app-misc/linux-logo/linux-logo-5.11-r5.ebuild b/app-misc/linux-logo/linux-logo-5.11-r5.ebuild |
219 |
deleted file mode 100644 |
220 |
index f63e15d1e14c..000000000000 |
221 |
--- a/app-misc/linux-logo/linux-logo-5.11-r5.ebuild |
222 |
+++ /dev/null |
223 |
@@ -1,80 +0,0 @@ |
224 |
-# Copyright 1999-2020 Gentoo Authors |
225 |
-# Distributed under the terms of the GNU General Public License v2 |
226 |
- |
227 |
-EAPI=7 |
228 |
- |
229 |
-inherit toolchain-funcs systemd |
230 |
- |
231 |
-MY_P=${PN/-/_}-${PV} |
232 |
-DESCRIPTION="A utility that displays an ANSI/ASCII logo and some system information" |
233 |
-HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/" |
234 |
-SRC_URI="http://www.deater.net/weave/vmwprod/linux_logo/${MY_P}.tar.gz" |
235 |
- |
236 |
-LICENSE="GPL-2" |
237 |
-SLOT="0" |
238 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" |
239 |
-IUSE="nls" |
240 |
- |
241 |
-RDEPEND="nls? ( virtual/libintl )" |
242 |
-DEPEND="${RDEPEND}" |
243 |
-BDEPEND="nls? ( sys-devel/gettext )" |
244 |
- |
245 |
-PATCHES=( |
246 |
- "${FILESDIR}"/"${P}"-add-aarch64-support.patch |
247 |
- "${FILESDIR}"/"${P}"-configure.patch |
248 |
-) |
249 |
- |
250 |
-DOCS=( BUGS README README.CUSTOM_LOGOS TODO USAGE LINUX_LOGO.FAQ ) |
251 |
- |
252 |
-S=${WORKDIR}/${MY_P} |
253 |
- |
254 |
-src_prepare() { |
255 |
- cp "${FILESDIR}"/logo-config "${S}/logo_config" || die |
256 |
- cp "${FILESDIR}"/linux_logo_creator "${S}/" || die |
257 |
- cp "${FILESDIR}"/linux-logo.service "${S}/" || die |
258 |
- cp "${FILESDIR}"/gentoo-*.logo "${S}"/logos/ || die |
259 |
- |
260 |
- # Remove warn_unused_result warning |
261 |
- sed -i -e 's/FILE \*fff;/FILE \*fff;\n char *stemp;/' \ |
262 |
- -e 's/fgets/stemp=fgets/' "${S}"/load_logo.c || die |
263 |
- default |
264 |
-} |
265 |
- |
266 |
-src_configure() { |
267 |
- ARCH="" CC="$(tc-getCC)" AR="$(tc-getAR)" LDFLAGS="${LDFLAGS}" \ |
268 |
- ./configure --prefix="${ED}"/usr || die |
269 |
-} |
270 |
- |
271 |
-src_install() { |
272 |
- default |
273 |
- |
274 |
- dobin "${FILESDIR}"/linux_logo_creator |
275 |
- newinitd "${FILESDIR}"/${PN}.init.d ${PN} |
276 |
- newconfd "${FILESDIR}"/${P}.conf ${PN} |
277 |
- |
278 |
- # systemd support |
279 |
- systemd_newunit "${FILESDIR}/linux-logo.service" "linux-logo.service" |
280 |
-} |
281 |
- |
282 |
-pkg_postinst() { |
283 |
- echo |
284 |
- elog "Linux_logo ebuild for Gentoo comes with two Gentoo logos." |
285 |
- elog "" |
286 |
- elog "To display the first Gentoo logo type: linux_logo -L gentoo" |
287 |
- elog "To display the second Gentoo logo type: linux_logo -L gentoo-alt" |
288 |
- elog "To display all the logos available type: linux_logo -L list." |
289 |
- elog "" |
290 |
- elog "To start linux_logo on boot, please type:" |
291 |
- elog " rc-update add linux-logo default" |
292 |
- elog "or for systemd" |
293 |
- elog " systemctl enable linux-logo.service" |
294 |
- elog "which uses the settings found in" |
295 |
- elog " /etc/conf.d/linux-logo" |
296 |
- echo |
297 |
-} |
298 |
- |
299 |
-pkg_prerm() { |
300 |
- # Restore issue files |
301 |
- mv /etc/issue.linux-logo.backup /etc/issue 2> /dev/null |
302 |
- mv /etc/issue.net.linux-logo.backup /etc/issue.net 2> /dev/null |
303 |
-} |