* [gentoo-commits] repo/gentoo:master commit in: app-editors/hexedit/, app-editors/hexedit/files/
@ 2015-08-21 3:39 Jeroen Roovers
0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers @ 2015-08-21 3:39 UTC (permalink / raw
To: gentoo-commits
commit: d3d74014759cada63b6ed82ebe2a35e947cd6645
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 21 03:36:54 2015 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Aug 21 03:38:20 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d74014
app-editors/hexedit: Fix building against sys-libs/ncurses[tinfo] (bug #558298 by Zoltan Puskas).
Package-Manager: portage-2.2.20.1
app-editors/hexedit/files/hexedit-1.2.13-tinfo.patch | 10 ++++++++++
app-editors/hexedit/hexedit-1.2.13.ebuild | 14 +++++++++++---
2 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/app-editors/hexedit/files/hexedit-1.2.13-tinfo.patch b/app-editors/hexedit/files/hexedit-1.2.13-tinfo.patch
new file mode 100644
index 0000000..86e7dba
--- /dev/null
+++ b/app-editors/hexedit/files/hexedit-1.2.13-tinfo.patch
@@ -0,0 +1,10 @@
+--- a/configure.in
++++ b/configure.in
+@@ -37,6 +37,7 @@
+ AC_CHECK_LIB(curses, initscr, LIBS="$LIBS -lcurses",
+ AC_CHECK_LIB(ncurses, initscr, LIBS="$LIBS -lncurses")
+ )
++AC_SEARCH_LIBS(nodelay, tinfo)
+ AC_CHECK_FUNC(use_default_colors,
+ AC_DEFINE(HAVE_COLORS, , "Define if you want colored (fruit salad) display option")
+ )
diff --git a/app-editors/hexedit/hexedit-1.2.13.ebuild b/app-editors/hexedit/hexedit-1.2.13.ebuild
index f7a868c..f7363a8 100644
--- a/app-editors/hexedit/hexedit-1.2.13.ebuild
+++ b/app-editors/hexedit/hexedit-1.2.13.ebuild
@@ -2,6 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI=5
+inherit autotools eutils
+
DESCRIPTION="View and edit files in hex or ASCII"
HOMEPAGE="http://rigaux.org/hexedit.html"
SRC_URI="http://rigaux.org/${P}.src.tgz"
@@ -9,15 +12,20 @@ SRC_URI="http://rigaux.org/${P}.src.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ~mips ppc ppc64 s390 sh sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
DEPEND="sys-libs/ncurses"
RDEPEND="${DEPEND}"
-S="${WORKDIR}/${PN}"
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.2.13-tinfo.patch
+ mv configure.in configure.ac || die
+ eautoreconf
+}
src_install() {
- dobin hexedit || die "dobin failed"
+ dobin hexedit
doman hexedit.1
dodoc Changes
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-editors/hexedit/, app-editors/hexedit/files/
@ 2022-02-17 3:14 Yixun Lan
0 siblings, 0 replies; 2+ messages in thread
From: Yixun Lan @ 2022-02-17 3:14 UTC (permalink / raw
To: gentoo-commits
commit: 71dd489997a588b77ffa4d76a6f0c7ce77c32e5a
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 17 03:14:19 2022 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 17 03:14:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71dd4899
app-editors/hexedit: drop old
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
app-editors/hexedit/Manifest | 1 -
.../hexedit/files/hexedit-1.2.13-tinfo.patch | 10 ------
app-editors/hexedit/hexedit-1.2.13.ebuild | 36 ----------------------
3 files changed, 47 deletions(-)
diff --git a/app-editors/hexedit/Manifest b/app-editors/hexedit/Manifest
index 921b20e0546c..aea3d3f41c94 100644
--- a/app-editors/hexedit/Manifest
+++ b/app-editors/hexedit/Manifest
@@ -1,2 +1 @@
-DIST hexedit-1.2.13.src.tgz 68778 BLAKE2B 377c4f0008f6e3b54e4cf2e0249fa344b684b11a6acea9daf7d8e6585524f9d11a4eb199d5289a57a72be5efbdf3060cc47269aad1d218784e7679a469ca4f50 SHA512 df9afb0b9b965e20ea8c427c1986b0200216601b157862199c35bae9e201ccc478ab0bfecd39d0dfaa85bf582f1cf372b0134fadcfeacf4734805a6e6dcaa2bb
DIST hexedit-1.5.tar.gz 30544 BLAKE2B d7292a70819826fddd63f99ee9d05073b8a59f51477390af91151146ee1f5a75333560829f0351fa9e158ef932c07a3582a3e822f42e645917a7fa321055d14e SHA512 9d8e5c8c0cda0af17ffeaf528e3dacd7fc2878dfc0755cb055dae5c56f05c961353c1d1723b05897314b49a44a6eb96de5d3a599c6b29967425507eea7cc7ca5
diff --git a/app-editors/hexedit/files/hexedit-1.2.13-tinfo.patch b/app-editors/hexedit/files/hexedit-1.2.13-tinfo.patch
deleted file mode 100644
index 86e7dba4e88e..000000000000
--- a/app-editors/hexedit/files/hexedit-1.2.13-tinfo.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -37,6 +37,7 @@
- AC_CHECK_LIB(curses, initscr, LIBS="$LIBS -lcurses",
- AC_CHECK_LIB(ncurses, initscr, LIBS="$LIBS -lncurses")
- )
-+AC_SEARCH_LIBS(nodelay, tinfo)
- AC_CHECK_FUNC(use_default_colors,
- AC_DEFINE(HAVE_COLORS, , "Define if you want colored (fruit salad) display option")
- )
diff --git a/app-editors/hexedit/hexedit-1.2.13.ebuild b/app-editors/hexedit/hexedit-1.2.13.ebuild
deleted file mode 100644
index 1acb531a9217..000000000000
--- a/app-editors/hexedit/hexedit-1.2.13.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="View and edit files in hex or ASCII"
-HOMEPAGE="http://rigaux.org/hexedit.html"
-SRC_URI="http://rigaux.org/${P}.src.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
-
-DEPEND="sys-libs/ncurses:="
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"/${PN}
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.2.13-tinfo.patch
-)
-
-src_prepare() {
- default
-
- mv configure.in configure.ac || die
- eautoreconf
-}
-
-src_install() {
- dobin hexedit
- doman hexedit.1
- dodoc Changes
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-17 3:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-17 3:14 [gentoo-commits] repo/gentoo:master commit in: app-editors/hexedit/, app-editors/hexedit/files/ Yixun Lan
-- strict thread matches above, loose matches on Subject: below --
2015-08-21 3:39 Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox