From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/links/
Date: Wed, 16 Nov 2016 20:05:48 +0000 (UTC) [thread overview]
Message-ID: <1479326727.19b6dc259acf6a00d42957ad5cd17ab981a2081d.pacho@gentoo> (raw)
commit: 19b6dc259acf6a00d42957ad5cd17ab981a2081d
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 16 20:05:02 2016 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Nov 16 20:05:27 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19b6dc25
www-client/links: Fix libevent automagic dep (#573360 by Duncan)
Package-Manager: portage-2.3.2
www-client/links/links-2.12-r3.ebuild | 136 ++++++++++++++++++++++++++++++++++
www-client/links/metadata.xml | 3 +
2 files changed, 139 insertions(+)
diff --git a/www-client/links/links-2.12-r3.ebuild b/www-client/links/links-2.12-r3.ebuild
new file mode 100644
index 00000000..35e9c8d
--- /dev/null
+++ b/www-client/links/links-2.12-r3.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils fdo-mime
+
+DEBIAN_REVISION=2.10-2
+
+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
+ mirror://debian/pool/main/${PN:0:1}/${PN}2/${PN}2_${DEBIAN_REVISION}.debian.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="bzip2 directfb fbcon gpm ipv6 jpeg libevent libressl livecd lzma ssl suid svga tiff unicode X zlib"
+
+GRAPHICS_DEPEND="media-libs/libpng:0="
+
+RDEPEND="bzip2? ( app-arch/bzip2 )
+ directfb? (
+ ${GRAPHICS_DEPEND}
+ dev-libs/DirectFB
+ )
+ fbcon? ( ${GRAPHICS_DEPEND} )
+ gpm? ( sys-libs/gpm )
+ jpeg? ( virtual/jpeg:0 )
+ libevent? ( dev-libs/libevent:0= )
+ livecd? (
+ ${GRAPHICS_DEPEND}
+ sys-libs/gpm
+ virtual/jpeg:0
+ )
+ lzma? ( app-arch/xz-utils )
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ svga? (
+ ${GRAPHICS_DEPEND}
+ media-libs/svgalib
+ )
+ tiff? ( media-libs/tiff:0 )
+ X? (
+ ${GRAPHICS_DEPEND}
+ x11-libs/libXext
+ )
+ zlib? ( sys-libs/zlib )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ fbcon? ( virtual/os-headers )
+ livecd? ( virtual/os-headers )"
+
+REQUIRED_USE="!livecd? ( fbcon? ( gpm ) )
+ svga? ( suid )"
+
+DOCS=( AUTHORS BRAILLE_HOWTO ChangeLog KEYS NEWS README SITES )
+
+src_prepare() {
+ default
+
+ if use unicode; then
+ pushd intl >/dev/null
+ ./gen-intl || die
+ ./synclang || die
+ popd >/dev/null
+ 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
+ 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 directfb || use svga || use livecd; then
+ myconf+=' --enable-graphics'
+ fi
+
+ econf \
+ $(use_with ipv6) \
+ $(use_with ssl) \
+ $(use_with zlib) \
+ $(use_with bzip2) \
+ $(use_with lzma) \
+ $(use_with svga svgalib) \
+ $(use_with X x) \
+ $(use_with fbcon fb) \
+ $(use_with directfb) \
+ $(use_with libevent) \
+ $(use_with jpeg libjpeg) \
+ $(use_with tiff libtiff) \
+ ${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
+ use ssl && sed -i -e 's:x-scheme-handler/http;:&x-scheme-handler/https;:' \
+ "${d}"/*.desktop
+ fi
+
+ use suid && fperms 4755 /usr/bin/links
+}
+
+pkg_postinst() {
+ use X && fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ use X && fdo-mime_desktop_database_update
+}
diff --git a/www-client/links/metadata.xml b/www-client/links/metadata.xml
index ad6bd6c..3cdd882 100644
--- a/www-client/links/metadata.xml
+++ b/www-client/links/metadata.xml
@@ -5,4 +5,7 @@
<email>monsieurp@gentoo.org</email>
<name>Patrice Clement</name>
</maintainer>
+<use>
+ <flag name="libevent">Enable <pkg>dev-libs/libevent</pkg> support</flag>
+</use>
</pkgmetadata>
next reply other threads:[~2016-11-16 20:05 UTC|newest]
Thread overview: 188+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-16 20:05 Pacho Ramos [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 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-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=1479326727.19b6dc259acf6a00d42957ad5cd17ab981a2081d.pacho@gentoo \
--to=pacho@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