From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E3D821382C5 for ; Sun, 14 Mar 2021 23:02:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04224E081E; Sun, 14 Mar 2021 23:02:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4599E081E for ; Sun, 14 Mar 2021 23:02:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EADE0340DA0 for ; Sun, 14 Mar 2021 23:02:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6DBDE5AA for ; Sun, 14 Mar 2021 23:02:06 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1615762913.33ee4bc3f5d7efb6cf02062ce5b9226b597ab691.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/dhex/files/, app-editors/dhex/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/dhex/Manifest app-editors/dhex/dhex-0.69.ebuild app-editors/dhex/files/dhex-0.69-Makefile.patch X-VCS-Directories: app-editors/dhex/files/ app-editors/dhex/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 33ee4bc3f5d7efb6cf02062ce5b9226b597ab691 X-VCS-Branch: master Date: Sun, 14 Mar 2021 23:02:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8c8df8b5-e97e-440b-a0a2-d1e785f3406f X-Archives-Hash: be76688fb811fa421f499295c478fd10 commit: 33ee4bc3f5d7efb6cf02062ce5b9226b597ab691 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 14 22:50:27 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 14 23:01:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ee4bc3 app-editors/dhex: 0.69 version bump, EAPI-7 bump, https 2019-01-19: 0.69: this will be the final release of dhex 0.6x. I fixed a bug which caused the terminal to be broken. And added the functionality to start the hexcal from the commandline (-x). Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> app-editors/dhex/Manifest | 1 + app-editors/dhex/dhex-0.69.ebuild | 35 +++++++++++++++++++++++++ app-editors/dhex/files/dhex-0.69-Makefile.patch | 14 ++++++++++ 3 files changed, 50 insertions(+) diff --git a/app-editors/dhex/Manifest b/app-editors/dhex/Manifest index f5d1e558e35..77ef42a48b3 100644 --- a/app-editors/dhex/Manifest +++ b/app-editors/dhex/Manifest @@ -1 +1,2 @@ DIST dhex_0.68.tar.gz 58602 BLAKE2B c29d5af598b731bc415e2626e945253641ea61c8a744deaeee3f7a2e7b1636ccfb3f8b7696efd33d36fab59d59da408ff4f59b44a88a36a4d7afc27542326c9e SHA512 9397ec0574652022387f4108613f839b9262841c436079249fb325011b0a0e3c5bbd32d323f37b0f30e643f7060c1275337710c237ab68fb0c3f8096651a2421 +DIST dhex_0.69.tar.gz 57362 BLAKE2B 26bfeaffc65b0f3b0193ee940da3ad866ea1354d0e5bec021a68a6c515da956500bfd7561ba675d0a67526d09b1a72e8372ee7bb52ec372f2b59249313cf77c6 SHA512 76115fd6b67bf1f61af6acfbc4dac9ac54c14aeb291de6a190aa1ffa599cf8b3e40a422ed34c237cf1f5c7406b07e38e38fb1c9c9dd36ce93d05265238060ba0 diff --git a/app-editors/dhex/dhex-0.69.ebuild b/app-editors/dhex/dhex-0.69.ebuild new file mode 100644 index 00000000000..01e5fc5f6c3 --- /dev/null +++ b/app-editors/dhex/dhex-0.69.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P=${PN}_${PV} +inherit toolchain-funcs + +DESCRIPTION="ncurses-based hex-editor with diff mode" +HOMEPAGE="https://www.dettus.net/dhex/" +SRC_URI="https://www.dettus.net/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~x86" +IUSE="" + +DEPEND="sys-libs/ncurses:=" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}"/${P}-Makefile.patch ) + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" +} + +src_install() { + dobin dhex + dodoc README.txt + doman dhex.1 dhex_markers.5 dhex_searchlog.5 dhexrc.5 +} diff --git a/app-editors/dhex/files/dhex-0.69-Makefile.patch b/app-editors/dhex/files/dhex-0.69-Makefile.patch new file mode 100644 index 00000000000..55c281d3a67 --- /dev/null +++ b/app-editors/dhex/files/dhex-0.69-Makefile.patch @@ -0,0 +1,14 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,11 +1,4 @@ +-CC= gcc +-LDFLAGS= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses +-CPPFLAGS= -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses +-CFLAGS= -O3 -Wall #-std=c99 +-#CFLAGS+= -ffunction-sections -fdata-sections +-#LDFLAGS+= --gc-sections + LIBS= -lncurses +-DESTDIR= /usr/local/ + + OFILES=buffers.o input.o output.o machine_type.o main.o menu.o ui.o hexcalc.o search.o gpl.o configfile.o markers.o +