Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libedit/, dev-libs/libedit/files/
Date: Sun, 18 Apr 2021 07:06:07
Message-Id: 1618729553.335178e0dfed10bb089017eb88182aecad0232b9.mgorny@gentoo
1 commit: 335178e0dfed10bb089017eb88182aecad0232b9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 18 07:02:32 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 18 07:05:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=335178e0
7
8 dev-libs/libedit: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-libs/libedit/Manifest | 1 -
13 .../libedit/files/libedit-20170329.3.1-tinfo.patch | 30 -------------
14 dev-libs/libedit/libedit-20191211.3.1.ebuild | 49 ----------------------
15 3 files changed, 80 deletions(-)
16
17 diff --git a/dev-libs/libedit/Manifest b/dev-libs/libedit/Manifest
18 index daa6124fd5b..54a89a758e5 100644
19 --- a/dev-libs/libedit/Manifest
20 +++ b/dev-libs/libedit/Manifest
21 @@ -1,2 +1 @@
22 -DIST libedit-20191211-3.1.tar.gz 516620 BLAKE2B 765926c035143e8e409d87d4f75709c861d83e2d725ec02c7ecfc3cccebe895be7d2902dd41970811207db32e6847689368f6544ea49ad42a600037a3a4edb58 SHA512 8393477a87e65d330b037494110501b5d6d2c1cbe80d82b9bc7a6315a21fd1327fe91354346966d30541015e2c277be2187fa4bb737b14f706957c70f4083547
23 DIST libedit-20210216-3.1.tar.gz 518381 BLAKE2B 4b29f08ddccd77148c7ae810c3c4e378f6eab4b6d2c530f21aa9c0da1bc156d646bac6404408510639c34298ef3583fd7f2bde5051c0dac8b3a125e2659d8412 SHA512 2577c66b3f20a7f3cdaac529bda7f55dbed1cd902f39971b8f792885dec7f8c137a980c570dbab195d3d45989cc9d16a96a3567e02c5ac32ed4757fa36e46b4c
24
25 diff --git a/dev-libs/libedit/files/libedit-20170329.3.1-tinfo.patch b/dev-libs/libedit/files/libedit-20170329.3.1-tinfo.patch
26 deleted file mode 100644
27 index e52b2559aa7..00000000000
28 --- a/dev-libs/libedit/files/libedit-20170329.3.1-tinfo.patch
29 +++ /dev/null
30 @@ -1,30 +0,0 @@
31 -From 7aa660fd9d446567d3280765ba2a50a46b2a9159 Mon Sep 17 00:00:00 2001
32 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
33 -Date: Mon, 12 Jun 2017 21:36:54 +0200
34 -Subject: [PATCH] configure: Support -ltinfo as split in newer ncurses
35 -
36 -The newer versions of ncurses support building terminfo routines
37 -as a split -ltinfo library. Account for that by adding this library
38 -to the search list.
39 ----
40 - configure.ac | 4 +++-
41 - 1 file changed, 3 insertions(+), 1 deletion(-)
42 -
43 -diff --git a/configure.ac b/configure.ac
44 -index 9a571b2..5d714b5 100644
45 ---- a/configure.ac
46 -+++ b/configure.ac
47 -@@ -49,7 +49,9 @@ EL_MANTYPE
48 - AC_CHECK_LIB(ncurses, tgetent,,
49 - [AC_CHECK_LIB(curses, tgetent,,
50 - [AC_CHECK_LIB(termcap, tgetent,,
51 -- [AC_MSG_ERROR([libncurses, libcurses, or libtermcap is required!])]
52 -+ [AC_CHECK_LIB(tinfo, tgetent,,
53 -+ [AC_MSG_ERROR([libncurses, libcurses, libtermcap or libtinfo is required!])]
54 -+ )]
55 - )]
56 - )]
57 - )
58 ---
59 -2.13.1
60 -
61
62 diff --git a/dev-libs/libedit/libedit-20191211.3.1.ebuild b/dev-libs/libedit/libedit-20191211.3.1.ebuild
63 deleted file mode 100644
64 index 6ae55e48c57..00000000000
65 --- a/dev-libs/libedit/libedit-20191211.3.1.ebuild
66 +++ /dev/null
67 @@ -1,49 +0,0 @@
68 -# Copyright 1999-2021 Gentoo Authors
69 -# Distributed under the terms of the GNU General Public License v2
70 -
71 -EAPI="7"
72 -inherit autotools multilib-minimal usr-ldscript
73 -
74 -MY_PV=${PV/./-}
75 -MY_P=${PN}-${MY_PV}
76 -
77 -DESCRIPTION="BSD replacement for libreadline"
78 -HOMEPAGE="https://thrysoee.dk/editline/"
79 -SRC_URI="https://thrysoee.dk/editline/${MY_P}.tar.gz"
80 -S=${WORKDIR}/${MY_P}
81 -
82 -LICENSE="BSD-2"
83 -SLOT="0"
84 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
85 -IUSE="static-libs"
86 -
87 -RDEPEND=">=sys-libs/ncurses-5.9-r3[static-libs?,${MULTILIB_USEDEP}]"
88 -DEPEND=${RDEPEND}
89 -
90 -PATCHES=(
91 - "${FILESDIR}/${PN}-20170329.3.1-tinfo.patch"
92 -)
93 -
94 -src_prepare() {
95 - default
96 - eautoreconf
97 -}
98 -
99 -multilib_src_configure() {
100 - ECONF_SOURCE="${S}" econf \
101 - $(use_enable static-libs static) \
102 - --enable-widec \
103 - --enable-fast-install
104 -}
105 -
106 -multilib_src_install() {
107 - emake DESTDIR="${D}" install
108 - gen_usr_ldscript -a edit
109 -}
110 -
111 -multilib_src_install_all() {
112 - einstalldocs
113 - find "${D}" -name '*.la' -delete || die
114 - # file collision with sys-libs/readline
115 - rm "${ED}/usr/share/man/man3/history.3" || die
116 -}