From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/lnav/files/, app-admin/lnav/
Date: Sun, 27 Dec 2020 05:45:03 +0000 (UTC) [thread overview]
Message-ID: <1609047899.7729b0dd1d6a6c8cdc65422d94cce220df98c4f1.sam@gentoo> (raw)
commit: 7729b0dd1d6a6c8cdc65422d94cce220df98c4f1
Author: Randy Barlow <randy <AT> electronsweatshop <DOT> com>
AuthorDate: Fri Dec 18 20:19:43 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 05:44:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7729b0dd
app-admin/lnav: Update to 0.9.0
Update lnav to 0.9.0 and fix a segmentation fault.
Closes: https://bugs.gentoo.org/723242
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Randy Barlow <randy <AT> electronsweatshop.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-admin/lnav/Manifest | 1 +
app-admin/lnav/files/639332-tinfow.patch | 10 ++++++++
app-admin/lnav/lnav-0.9.0.ebuild | 40 ++++++++++++++++++++++++++++++++
3 files changed, 51 insertions(+)
diff --git a/app-admin/lnav/Manifest b/app-admin/lnav/Manifest
index 5b8de860821..e99a849c399 100644
--- a/app-admin/lnav/Manifest
+++ b/app-admin/lnav/Manifest
@@ -1 +1,2 @@
DIST lnav-0.8.5.tar.gz 908012 BLAKE2B a53e79d9403e5f3c731c88a171ddcb62027016b6d7d16fb618aeb9857ff86d1cc9c982d23bd172cc95f5e200afe84b488422ad4fc0aeb440cf2a96506829198e SHA512 fbb61d454dc89388aeaaeca6ba1366f84cbd75260ef8e2f26a4208ab22f175886438dad7f40e4c21089209c7713c1ebcc3a722a248083c8d55f264cf139a79fe
+DIST lnav-0.9.0.tar.gz 1094734 BLAKE2B 79d6b035d9fc1efba618dbbd0924dbac2c8a2b3316849164c8c1a3782c7e8b85f12ade02a973d0c4fabff64b38e26fd579f1931aeafb05396ece7e75608cfc5d SHA512 4f03c83003b262c6aa1d1e87d61b4a3ae8f1ccd33a2df1b451f263d3925791d3b46285bbe276d89733a2bd464be9029e7100ce12fdfe3e009a089f250e601151
diff --git a/app-admin/lnav/files/639332-tinfow.patch b/app-admin/lnav/files/639332-tinfow.patch
new file mode 100644
index 00000000000..8399412f0cf
--- /dev/null
+++ b/app-admin/lnav/files/639332-tinfow.patch
@@ -0,0 +1,10 @@
+--- a/m4/ax_with_curses.m4 2019-07-28 08:49:13.670014444 -0500
++++ b/m4/ax_with_curses.m4 2019-07-28 08:46:32.280013473 -0500
+@@ -216,6 +216,8 @@
+ ax_cv_curses=yes
+ ax_cv_curses_which=ncursesw
+ CURSES_LIB="-lncursesw"
++ temp_lib=`echo $ax_saved_LIBS|sed 's/tinfo/tinfow/'`
++ ax_saved_LIBS=$temp_lib
+ AC_DEFINE([HAVE_NCURSESW], [1], [Define to 1 if the NcursesW library is present])
+ AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present])
diff --git a/app-admin/lnav/lnav-0.9.0.ebuild b/app-admin/lnav/lnav-0.9.0.ebuild
new file mode 100644
index 00000000000..79a41f429d3
--- /dev/null
+++ b/app-admin/lnav/lnav-0.9.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs autotools
+
+DESCRIPTION="A curses-based tool for viewing and analyzing log files"
+HOMEPAGE="https://lnav.org"
+SRC_URI="https://github.com/tstack/lnav/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="unicode"
+
+RDEPEND="
+ app-arch/bzip2:0=
+ >=dev-db/sqlite-3.9.0
+ dev-libs/libpcre[cxx]
+ >=net-misc/curl-7.23.0
+ sys-libs/ncurses:0=[unicode?]
+ sys-libs/readline:0=
+ sys-libs/zlib:0="
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS NEWS README )
+# The second patch is a fix for https://bugs.gentoo.org/723242
+PATCHES=( "${FILESDIR}"/${PN}-0.8.4-disable-tests.patch "${FILESDIR}"/639332-tinfow.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ $(use_with unicode ncursesw)
+}
next reply other threads:[~2020-12-27 5:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-27 5:45 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-24 7:12 [gentoo-commits] repo/gentoo:master commit in: app-admin/lnav/files/, app-admin/lnav/ Sam James
2022-12-14 0:22 Sam James
2022-09-09 3:46 Sam James
2022-09-09 3:46 Sam James
2022-04-21 18:49 Sam James
2021-10-02 4:27 Sam James
2021-07-13 21:49 Sam James
2019-09-28 3:42 Tim Harder
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=1609047899.7729b0dd1d6a6c8cdc65422d94cce220df98c4f1.sam@gentoo \
--to=sam@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