public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/links/
Date: Tue, 13 Jul 2021 14:23:41 +0000 (UTC)	[thread overview]
Message-ID: <1626186210.f0a6d36b83f3aed1a63f095ceacacce9c70ed275.bkohler@gentoo> (raw)

commit:     f0a6d36b83f3aed1a63f095ceacacce9c70ed275
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 13 13:53:38 2021 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Jul 13 14:23:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0a6d36b

www-client/links: bump to EAPI=8

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 www-client/links/links-2.23-r1.ebuild | 169 ++++++++++++++++++++++++++++++++++
 1 file changed, 169 insertions(+)

diff --git a/www-client/links/links-2.23-r1.ebuild b/www-client/links/links-2.23-r1.ebuild
new file mode 100644
index 00000000000..a78578ec21c
--- /dev/null
+++ b/www-client/links/links-2.23-r1.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop xdg-utils
+
+DESCRIPTION="A fast and lightweight web browser running in both graphics and text mode"
+HOMEPAGE="http://links.twibright.com/"
+SRC_URI="http://${PN}.twibright.com/download/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+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"
+IUSE="brotli bzip2 fbcon freetype gpm ipv6 jpeg libevent livecd lzip lzma ssl suid svga tiff unicode X zlib zstd"
+
+GRAPHICS_DEPEND="media-libs/libpng:0="
+
+RDEPEND="
+	brotli? (
+		app-arch/brotli
+	)
+	bzip2? (
+		app-arch/bzip2
+	)
+	fbcon? (
+		${GRAPHICS_DEPEND}
+	)
+	freetype? (
+		media-libs/fontconfig
+		media-libs/freetype
+	)
+	gpm? (
+		sys-libs/gpm
+	)
+	jpeg? (
+		virtual/jpeg:0
+	)
+	libevent? (
+		dev-libs/libevent:0=
+	)
+	livecd? (
+		${GRAPHICS_DEPEND}
+		sys-libs/gpm
+		virtual/jpeg:0
+	)
+	lzip? (
+		app-arch/lzip
+	)
+	lzma? (
+		app-arch/xz-utils
+	)
+	ssl? (
+		dev-libs/openssl:0=
+	)
+	svga? (
+		${GRAPHICS_DEPEND}
+		media-libs/svgalib
+	)
+	tiff? (
+		media-libs/tiff:0
+	)
+	X? (
+		${GRAPHICS_DEPEND}
+		x11-libs/libXext
+	)
+	zlib? (
+		sys-libs/zlib
+	)
+	zstd? (
+		app-arch/zstd
+	)"
+
+DEPEND="${RDEPEND}
+	fbcon? ( virtual/os-headers )
+	livecd? ( virtual/os-headers )"
+
+BDEPEND="virtual/pkgconfig
+	X? ( dev-util/desktop-file-utils )"
+
+REQUIRED_USE="!livecd? ( fbcon? ( gpm ) )
+	svga? ( suid )"
+
+DOCS=( AUTHORS BRAILLE_HOWTO ChangeLog KEYS NEWS README SITES )
+
+src_prepare() {
+	use X && xdg_environment_reset
+
+	if use unicode; then
+		pushd intl > /dev/null || die
+		./gen-intl || die
+		./synclang || die
+		popd > /dev/null || die
+	fi
+
+	# error: conditional "am__fastdepCXX" was never defined (for eautoreconf)
+	sed -i \
+		-e '/AC_PROG_CXX/s:dnl ::' \
+		-e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
+		configure.in || die #467020
+
+	# Upstream configure produced by broken autoconf-2.13. This also fixes
+	# toolchain detection.
+	mv configure.in configure.ac || die
+
+	default
+	eautoreconf #131440 and #103483#c23
+}
+
+src_configure() {
+	local myconf
+
+	if use livecd; then
+		export ac_cv_lib_gpm_Gpm_Open=yes
+		myconf+=' --with-fb --with-libjpeg'
+	else
+		export ac_cv_lib_gpm_Gpm_Open=$(usex gpm)
+	fi
+
+	if use X || use fbcon || use svga || use livecd; then
+		myconf+=' --enable-graphics'
+	fi
+
+	econf \
+		--without-directfb \
+		--without-librsvg \
+		$(use_with brotli) \
+		$(use_with bzip2) \
+		$(use_with fbcon fb) \
+		$(use_with freetype) \
+		$(use_with ipv6) \
+		$(use_with jpeg libjpeg) \
+		$(use_with libevent) \
+		$(use_with lzip) \
+		$(use_with lzma) \
+		$(use_with ssl) \
+		$(use_with svga svgalib) \
+		$(use_with tiff libtiff) \
+		$(use_with X x) \
+		$(use_with zlib) \
+		$(use_with zstd) \
+		${myconf}
+}
+
+src_install() {
+	HTML_DOCS="doc/links_cal/*"
+	default
+
+	if use X; then
+		newicon Links_logo.png links.png
+		make_desktop_entry 'links -g %u' Links links 'Network;WebBrowser'
+		local d="${ED}"/usr/share/applications
+		echo 'MimeType=x-scheme-handler/http;' >> "${d}"/*.desktop || die
+		if use ssl; then
+			sed -i -e 's:x-scheme-handler/http;:&x-scheme-handler/https;:' \
+			"${d}"/*.desktop || die
+		fi
+	fi
+
+	use suid && fperms 4755 /usr/bin/links
+}
+
+pkg_postinst() {
+	use X && xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	use X && xdg_desktop_database_update
+}


             reply	other threads:[~2021-07-13 14:23 UTC|newest]

Thread overview: 188+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13 14:23 Ben Kohler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23 18:22 [gentoo-commits] repo/gentoo:master commit in: www-client/links/ Sam James
2024-10-15 12:47 Arthur Zamarin
2024-10-10 11:04 Arthur Zamarin
2024-10-03 16:11 Arthur Zamarin
2024-10-02 22:53 Sam James
2024-10-02 20:11 Sam James
2024-10-02 20:11 Sam James
2024-10-02 20:11 Sam James
2024-07-29 13:43 Ben Kohler
2024-07-29 13:43 Ben Kohler
2024-07-23  6:41 Fabian Groffen
2024-05-31  5:25 Joonas Niilola
2024-04-26 18:16 Sam James
2024-04-26 17:16 Sam James
2024-04-26 17:16 Sam James
2024-04-26 17:16 Sam James
2024-04-26 17:16 Sam James
2024-04-26 17:10 Sam James
2024-04-26 17:10 Sam James
2024-01-17  6:34 Sam James
2023-11-03 12:23 Ben Kohler
2023-10-27 15:20 Michał Górny
2023-06-28  7:37 Sam James
2023-06-06 12:09 Ben Kohler
2023-05-09 16:53 Arthur Zamarin
2023-05-09 16:53 Arthur Zamarin
2023-05-09 16:53 Arthur Zamarin
2023-05-09 16:53 Arthur Zamarin
2023-05-09 16:53 Arthur Zamarin
2023-05-09 16:53 Arthur Zamarin
2023-05-09 15:58 Sam James
2023-05-09 15:58 Sam James
2023-03-23 14:06 Ben Kohler
2023-03-23 13:01 Ben Kohler
2023-01-13 15:24 Ben Kohler
2023-01-13 14:00 Arthur Zamarin
2022-12-20  9:14 Sam James
2022-12-20  9:11 Sam James
2022-12-20  8:15 Sam James
2022-12-19 18:21 Arthur Zamarin
2022-12-19 18:21 Arthur Zamarin
2022-12-19 18:21 Arthur Zamarin
2022-12-19 18:21 Arthur Zamarin
2022-12-18  7:46 Sam James
2022-12-16  1:40 Sam James
2022-11-24 23:40 Ben Kohler
2022-11-24 23:27 Ben Kohler
2022-11-13 13:51 Ben Kohler
2022-11-13 12:34 Sam James
2022-11-13 12:34 Sam James
2022-11-12 18:48 Arthur Zamarin
2022-11-12 18:48 Arthur Zamarin
2022-11-12 18:47 Arthur Zamarin
2022-11-12 16:38 Arthur Zamarin
2022-11-12 16:38 Arthur Zamarin
2022-11-12 16:38 Arthur Zamarin
2022-10-01 20:58 Ben Kohler
2022-07-20 13:45 Agostino Sarubbo
2022-07-20 13:41 Agostino Sarubbo
2022-07-20 13:32 Ben Kohler
2022-07-19 20:27 Sam James
2022-07-19 20:26 Sam James
2022-07-19 20:26 Sam James
2022-07-19 20:26 Sam James
2022-06-25  5:29 Sam James
2022-05-30 19:13 Ben Kohler
2022-05-26 16:08 Ben Kohler
2022-05-26  6:54 Agostino Sarubbo
2022-05-26  6:53 Agostino Sarubbo
2022-05-26  6:53 Agostino Sarubbo
2022-05-25 19:25 Sam James
2022-05-25 19:25 Sam James
2022-05-25 19:23 Sam James
2022-05-25 19:23 Sam James
2022-05-19  8:21 WANG Xuerui
2022-05-02 13:08 Ben Kohler
2022-05-02 12:45 Ben Kohler
2022-04-11 17:54 Ben Kohler
2022-01-07 19:47 Ben Kohler
2021-12-22 23:02 Sam James
2021-12-22 19:39 Arthur Zamarin
2021-12-22 19:39 Arthur Zamarin
2021-12-22 18:56 Jakov Smolić
2021-12-22 18:56 Jakov Smolić
2021-12-22 18:27 Arthur Zamarin
2021-12-22 18:24 Arthur Zamarin
2021-12-22 18:10 Arthur Zamarin
2021-11-23 15:26 Ben Kohler
2021-11-22 17:37 Ben Kohler
2021-11-04 11:04 Ben Kohler
2021-11-04 11:04 Ben Kohler
2021-10-21 23:26 Sam James
2021-10-18 23:49 Sam James
2021-10-17 19:09 Sam James
2021-10-17  0:37 Sam James
2021-10-16 22:05 Sam James
2021-10-16 22:05 Sam James
2021-10-16 22:04 Sam James
2021-10-16 22:00 Sam James
2021-10-04 11:35 Ben Kohler
2021-09-23  1:07 Matt Turner
2021-09-14 11:51 Ben Kohler
2021-07-13 14:23 Ben Kohler
2021-07-13 13:44 Ben Kohler
2021-07-12  6:41 Sam James
2021-07-05 22:35 Sam James
2021-06-25 19:36 Sam James
2021-06-25 19:36 Sam James
2021-06-25 19:36 Sam James
2021-06-25 19:33 Sam James
2021-06-25 19:32 Sam James
2021-05-25 10:54 Ben Kohler
2021-04-30 18:30 Mikle Kolyada
2021-04-18  1:52 Sam James
2021-04-18  1:52 Sam James
2021-04-18  1:52 Sam James
2021-04-18  1:47 Sam James
2021-04-18  1:47 Sam James
2021-04-18  1:44 Sam James
2021-04-18  1:41 Sam James
2021-03-18 20:14 Ben Kohler
2021-01-06 11:37 Fabian Groffen
2020-12-28 19:03 Ben Kohler
2020-12-27 18:22 Fabian Groffen
2020-12-13 23:23 Sam James
2020-10-06  4:20 Sam James
2020-10-03  9:16 Sergei Trofimovich
2020-10-01 23:06 Sergei Trofimovich
2020-10-01 22:55 Sergei Trofimovich
2020-10-01 22:33 Sergei Trofimovich
2020-09-30 22:51 Sam James
2020-08-10 21:48 Ben Kohler
2020-03-25 16:13 Ben Kohler
2020-03-25 12:18 Ben Kohler
2020-03-25 11:01 Patrice Clement
2020-03-25  9:13 Patrice Clement
2020-03-25  8:12 Agostino Sarubbo
2020-03-23 18:07 Sergei Trofimovich
2020-03-22 14:06 Agostino Sarubbo
2020-03-22 13:01 Mart Raudsepp
2020-03-22 10:37 Agostino Sarubbo
2020-03-22 10:33 Agostino Sarubbo
2020-03-22 10:31 Agostino Sarubbo
2020-03-21 16:47 Agostino Sarubbo
2020-03-21 16:27 Agostino Sarubbo
2020-03-21 16:19 Agostino Sarubbo
2020-02-17 19:24 Ben Kohler
2019-01-27 23:14 Patrice Clement
2018-09-16 21:31 Patrice Clement
2018-09-15 19:24 Patrice Clement
2018-06-08 11:47 Mikle Kolyada
2018-05-21 21:52 Patrice Clement
2018-05-21 21:52 Patrice Clement
2018-05-21 21:52 Patrice Clement
2018-03-23  0:02 Sergei Trofimovich
2018-03-18 23:04 Sergei Trofimovich
2018-03-15 13:43 Mikle Kolyada
2018-03-04 11:13 Sergei Trofimovich
2018-03-03 13:12 Tobias Klausmann
2018-02-25 18:21 Thomas Deutschmann
2018-02-22  9:15 Jason Zaman
2018-02-21 22:34 Sergei Trofimovich
2018-02-14 20:07 Pacho Ramos
2017-05-27  6:22 Patrice Clement
2017-02-05  5:16 Michael Palimaka
2017-01-21 12:30 Jeroen Roovers
2016-12-17 15:26 Markus Meier
2016-12-13 11:30 Agostino Sarubbo
2016-12-13 11:05 Agostino Sarubbo
2016-12-12 15:55 Tobias Klausmann
2016-12-07 17:08 Mike Frysinger
2016-11-28 18:37 Patrice Clement
2016-11-28 10:36 Patrice Clement
2016-11-28 10:34 Patrice Clement
2016-11-28 10:34 Patrice Clement
2016-11-16 20:05 Pacho Ramos
2016-11-16 20:05 Pacho Ramos
2016-11-16 20:05 Pacho Ramos
2016-10-01 12:23 Jeroen Roovers
2016-09-21 17:48 Tobias Klausmann
2016-09-01 11:34 Markus Meier
2016-08-23 11:07 Anthony G. Basile
2016-08-06 10:17 Pacho Ramos
2015-11-21  7:11 Anthony G. Basile
2015-09-30 20:33 Patrice Clement
2015-08-31 17:40 Patrice Clement
2015-08-31 14:12 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1626186210.f0a6d36b83f3aed1a63f095ceacacce9c70ed275.bkohler@gentoo \
    --to=bkohler@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox