Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/links/
Date: Thu, 26 May 2022 16:08:19
Message-Id: 1653578686.b71f39db6bf015a359e930930422d2aa0c8db7b1.bkohler@gentoo
1 commit: b71f39db6bf015a359e930930422d2aa0c8db7b1
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 26 15:24:46 2022 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Thu May 26 15:24:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b71f39db
7
8 www-client/links: drop 2.25-r3, 2.26
9
10 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
11
12 www-client/links/Manifest | 1 -
13 www-client/links/links-2.25-r3.ebuild | 173 ---------------------------------
14 www-client/links/links-2.26.ebuild | 177 ----------------------------------
15 3 files changed, 351 deletions(-)
16
17 diff --git a/www-client/links/Manifest b/www-client/links/Manifest
18 index 6a6f0d018681..c2e2908d5633 100644
19 --- a/www-client/links/Manifest
20 +++ b/www-client/links/Manifest
21 @@ -1,2 +1 @@
22 -DIST links-2.25.tar.bz2 6505187 BLAKE2B 3efe9d43b9a8dad498101800ccdefd094a6371a2c74b264aaaaac2abf951db38729abcf00f74a45fdb7f0d24196413996aa02cd9d2ea3ee2cf008faf4062e365 SHA512 b094e3b2096b07da8385d6021e5a5794f5b602c90ec824c48b897e6b69def6d69cb879af3008a4af43effaa7d9359bf09e4feb8ed5371bb7ff22ffcb0794f690
23 DIST links-2.26.tar.bz2 6508447 BLAKE2B e0bf5ac4e05a8e14ae7342aed7bb7ac0f5f6c2d9e23adda221cc3ba73f39020c95cef90d10d5c9d0697797683ff1edf1ed55a4d8aca0930b2eb01b547a21bf00 SHA512 b732f88ae0e9f63f577fc3041058c56b43ffec3b797328453d0770e326010b05fcc04128287ef35b0d189bd0768446057d8773e10f8e0a76bab72fb252cdd530
24
25 diff --git a/www-client/links/links-2.25-r3.ebuild b/www-client/links/links-2.25-r3.ebuild
26 deleted file mode 100644
27 index f5dafcb468ad..000000000000
28 --- a/www-client/links/links-2.25-r3.ebuild
29 +++ /dev/null
30 @@ -1,173 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=8
35 -
36 -inherit autotools desktop toolchain-funcs xdg-utils
37 -
38 -DESCRIPTION="A fast and lightweight web browser running in both graphics and text mode"
39 -HOMEPAGE="http://links.twibright.com/"
40 -SRC_URI="http://${PN}.twibright.com/download/${P}.tar.bz2"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="2"
44 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
45 -IUSE="brotli bzip2 fbcon freetype gpm ipv6 jpeg libevent livecd lzip lzma ssl suid svga tiff unicode X zlib zstd"
46 -
47 -GRAPHICS_DEPEND="media-libs/libpng:0="
48 -
49 -RDEPEND="
50 - dev-libs/libbsd
51 - brotli? (
52 - app-arch/brotli
53 - )
54 - bzip2? (
55 - app-arch/bzip2
56 - )
57 - fbcon? (
58 - ${GRAPHICS_DEPEND}
59 - )
60 - freetype? (
61 - media-libs/fontconfig
62 - media-libs/freetype
63 - )
64 - gpm? (
65 - sys-libs/gpm
66 - )
67 - jpeg? (
68 - virtual/jpeg:0
69 - )
70 - libevent? (
71 - dev-libs/libevent:0=
72 - )
73 - livecd? (
74 - ${GRAPHICS_DEPEND}
75 - sys-libs/gpm
76 - virtual/jpeg:0
77 - )
78 - lzip? (
79 - app-arch/lzip
80 - )
81 - lzma? (
82 - app-arch/xz-utils
83 - )
84 - ssl? (
85 - dev-libs/openssl:0=
86 - )
87 - svga? (
88 - ${GRAPHICS_DEPEND}
89 - media-libs/svgalib
90 - )
91 - tiff? (
92 - media-libs/tiff:0
93 - )
94 - X? (
95 - ${GRAPHICS_DEPEND}
96 - x11-libs/libXext
97 - )
98 - zlib? (
99 - sys-libs/zlib
100 - )
101 - zstd? (
102 - app-arch/zstd
103 - )"
104 -
105 -DEPEND="${RDEPEND}
106 - fbcon? ( virtual/os-headers )
107 - livecd? ( virtual/os-headers )"
108 -
109 -BDEPEND="virtual/pkgconfig"
110 -
111 -IDEPEND="X? ( dev-util/desktop-file-utils )"
112 -
113 -REQUIRED_USE="!livecd? ( fbcon? ( gpm ) )
114 - svga? ( suid )"
115 -
116 -DOCS=( AUTHORS BRAILLE_HOWTO ChangeLog KEYS NEWS README SITES )
117 -
118 -src_prepare() {
119 - use X && xdg_environment_reset
120 -
121 - if use unicode; then
122 - pushd intl > /dev/null || die
123 - ./gen-intl || die
124 - ./synclang || die
125 - popd > /dev/null || die
126 - fi
127 -
128 - # error: conditional "am__fastdepCXX" was never defined (for eautoreconf)
129 - sed -i \
130 - -e '/AC_PROG_CXX/s:dnl ::' \
131 - -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
132 - configure.in || die #467020
133 -
134 - # Upstream configure produced by broken autoconf-2.13. This also fixes
135 - # toolchain detection.
136 - mv configure.in configure.ac || die
137 -
138 - default
139 - eautoreconf #131440 and #103483#c23
140 -}
141 -
142 -src_configure() {
143 - local myconf
144 -
145 - if use livecd; then
146 - export ac_cv_lib_gpm_Gpm_Open=yes
147 - myconf+=' --with-fb --with-libjpeg'
148 - else
149 - export ac_cv_lib_gpm_Gpm_Open=$(usex gpm)
150 - fi
151 -
152 - if use X || use fbcon || use svga || use livecd; then
153 - myconf+=' --enable-graphics'
154 - fi
155 -
156 - tc-export PKG_CONFIG
157 -
158 - econf \
159 - --without-directfb \
160 - --without-librsvg \
161 - $(use_with brotli) \
162 - $(use_with bzip2) \
163 - $(use_with fbcon fb) \
164 - $(use_with freetype) \
165 - $(use_with ipv6) \
166 - $(use_with jpeg libjpeg) \
167 - $(use_with libevent) \
168 - $(use_with lzip) \
169 - $(use_with lzma) \
170 - $(use_with ssl) \
171 - $(use_with svga svgalib) \
172 - $(use_with tiff libtiff) \
173 - $(use_with X x) \
174 - $(use_with zlib) \
175 - $(use_with zstd) \
176 - ${myconf}
177 -}
178 -
179 -src_install() {
180 - HTML_DOCS="doc/links_cal/*"
181 - default
182 -
183 - if use X; then
184 - newicon Links_logo.png links.png
185 - make_desktop_entry 'links -g %u' Links links 'Network;WebBrowser'
186 - local d="${ED}"/usr/share/applications
187 - echo 'MimeType=x-scheme-handler/http;' >> "${d}"/*.desktop || die
188 - if use ssl; then
189 - sed -i -e 's:x-scheme-handler/http;:&x-scheme-handler/https;:' \
190 - "${d}"/*.desktop || die
191 - fi
192 - fi
193 -
194 - use suid && fperms 4755 /usr/bin/links
195 -}
196 -
197 -pkg_postinst() {
198 - use X && xdg_desktop_database_update
199 -}
200 -
201 -pkg_postrm() {
202 - use X && xdg_desktop_database_update
203 -}
204
205 diff --git a/www-client/links/links-2.26.ebuild b/www-client/links/links-2.26.ebuild
206 deleted file mode 100644
207 index cd2e60dc5f94..000000000000
208 --- a/www-client/links/links-2.26.ebuild
209 +++ /dev/null
210 @@ -1,177 +0,0 @@
211 -# Copyright 1999-2022 Gentoo Authors
212 -# Distributed under the terms of the GNU General Public License v2
213 -
214 -EAPI=8
215 -
216 -inherit autotools desktop toolchain-funcs xdg-utils
217 -
218 -DESCRIPTION="A fast and lightweight web browser running in both graphics and text mode"
219 -HOMEPAGE="http://links.twibright.com/"
220 -SRC_URI="http://${PN}.twibright.com/download/${P}.tar.bz2"
221 -
222 -LICENSE="GPL-2"
223 -SLOT="2"
224 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
225 -IUSE="brotli bzip2 fbcon freetype gpm ipv6 jpeg libevent livecd lzip lzma ssl suid svga tiff unicode webp X zlib zstd"
226 -
227 -GRAPHICS_DEPEND="media-libs/libpng:0="
228 -
229 -RDEPEND="
230 - dev-libs/libbsd
231 - brotli? (
232 - app-arch/brotli
233 - )
234 - bzip2? (
235 - app-arch/bzip2
236 - )
237 - fbcon? (
238 - ${GRAPHICS_DEPEND}
239 - )
240 - freetype? (
241 - media-libs/fontconfig
242 - media-libs/freetype
243 - )
244 - gpm? (
245 - sys-libs/gpm
246 - )
247 - jpeg? (
248 - virtual/jpeg:0
249 - )
250 - libevent? (
251 - dev-libs/libevent:0=
252 - )
253 - livecd? (
254 - ${GRAPHICS_DEPEND}
255 - sys-libs/gpm
256 - virtual/jpeg:0
257 - )
258 - lzip? (
259 - app-arch/lzip
260 - )
261 - lzma? (
262 - app-arch/xz-utils
263 - )
264 - ssl? (
265 - dev-libs/openssl:0=
266 - )
267 - svga? (
268 - ${GRAPHICS_DEPEND}
269 - media-libs/svgalib
270 - )
271 - tiff? (
272 - media-libs/tiff:0
273 - )
274 - webp? (
275 - media-libs/libwebp:=
276 - )
277 - X? (
278 - ${GRAPHICS_DEPEND}
279 - x11-libs/libXext
280 - )
281 - zlib? (
282 - sys-libs/zlib
283 - )
284 - zstd? (
285 - app-arch/zstd
286 - )"
287 -
288 -DEPEND="${RDEPEND}
289 - fbcon? ( virtual/os-headers )
290 - livecd? ( virtual/os-headers )"
291 -
292 -BDEPEND="virtual/pkgconfig"
293 -
294 -IDEPEND="X? ( dev-util/desktop-file-utils )"
295 -
296 -REQUIRED_USE="!livecd? ( fbcon? ( gpm ) )
297 - svga? ( suid )"
298 -
299 -DOCS=( AUTHORS BRAILLE_HOWTO ChangeLog KEYS NEWS README SITES )
300 -
301 -src_prepare() {
302 - use X && xdg_environment_reset
303 -
304 - if use unicode; then
305 - pushd intl > /dev/null || die
306 - ./gen-intl || die
307 - ./synclang || die
308 - popd > /dev/null || die
309 - fi
310 -
311 - # error: conditional "am__fastdepCXX" was never defined (for eautoreconf)
312 - sed -i \
313 - -e '/AC_PROG_CXX/s:dnl ::' \
314 - -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
315 - configure.in || die #467020
316 -
317 - # Upstream configure produced by broken autoconf-2.13. This also fixes
318 - # toolchain detection.
319 - mv configure.in configure.ac || die
320 -
321 - default
322 - eautoreconf #131440 and #103483#c23
323 -}
324 -
325 -src_configure() {
326 - local myconf
327 -
328 - if use livecd; then
329 - export ac_cv_lib_gpm_Gpm_Open=yes
330 - myconf+=' --with-fb --with-libjpeg'
331 - else
332 - export ac_cv_lib_gpm_Gpm_Open=$(usex gpm)
333 - fi
334 -
335 - if use X || use fbcon || use svga || use livecd; then
336 - myconf+=' --enable-graphics'
337 - fi
338 -
339 - tc-export PKG_CONFIG
340 -
341 - econf \
342 - --without-directfb \
343 - --without-librsvg \
344 - $(use_with brotli) \
345 - $(use_with bzip2) \
346 - $(use_with fbcon fb) \
347 - $(use_with freetype) \
348 - $(use_with ipv6) \
349 - $(use_with jpeg libjpeg) \
350 - $(use_with libevent) \
351 - $(use_with lzip) \
352 - $(use_with lzma) \
353 - $(use_with ssl) \
354 - $(use_with svga svgalib) \
355 - $(use_with tiff libtiff) \
356 - $(use_with webp libwebp) \
357 - $(use_with X x) \
358 - $(use_with zlib) \
359 - $(use_with zstd) \
360 - ${myconf}
361 -}
362 -
363 -src_install() {
364 - HTML_DOCS="doc/links_cal/*"
365 - default
366 -
367 - if use X; then
368 - newicon Links_logo.png links.png
369 - make_desktop_entry 'links -g %u' Links links 'Network;WebBrowser'
370 - local d="${ED}"/usr/share/applications
371 - echo 'MimeType=x-scheme-handler/http;' >> "${d}"/*.desktop || die
372 - if use ssl; then
373 - sed -i -e 's:x-scheme-handler/http;:&x-scheme-handler/https;:' \
374 - "${d}"/*.desktop || die
375 - fi
376 - fi
377 -
378 - use suid && fperms 4755 /usr/bin/links
379 -}
380 -
381 -pkg_postinst() {
382 - use X && xdg_desktop_database_update
383 -}
384 -
385 -pkg_postrm() {
386 - use X && xdg_desktop_database_update
387 -}