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 7E70A158086 for ; Wed, 27 Oct 2021 19:07:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D8A1E08EC; Wed, 27 Oct 2021 19:07:03 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A537E08EC for ; Wed, 27 Oct 2021 19:07:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 243FB34366D for ; Wed, 27 Oct 2021 19:07:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 815B717D for ; Wed, 27 Oct 2021 19:07:00 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1635361187.7070b3a52f6640bfd0db90e8b53f3db82b795a17.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/joe/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/joe/joe-4.6-r1.ebuild X-VCS-Directories: app-editors/joe/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: 7070b3a52f6640bfd0db90e8b53f3db82b795a17 X-VCS-Branch: master Date: Wed, 27 Oct 2021 19:07:00 +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: 41ad5d37-bf93-4d48-858a-23fc32f01019 X-Archives-Hash: af177776b5073fac31978b80ff928ef1 commit: 7070b3a52f6640bfd0db90e8b53f3db82b795a17 Author: Amy Liffey gentoo org> AuthorDate: Wed Oct 27 18:00:47 2021 +0000 Commit: Amy Liffey gentoo org> CommitDate: Wed Oct 27 18:59:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7070b3a5 app-editors/joe: eapi bump and remove gnome2-utils Closes: https://github.com/gentoo/gentoo/pull/22730 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Amy Liffey gentoo.org> app-editors/joe/joe-4.6-r1.ebuild | 56 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/app-editors/joe/joe-4.6-r1.ebuild b/app-editors/joe/joe-4.6-r1.ebuild new file mode 100644 index 00000000000..efcc6cef615 --- /dev/null +++ b/app-editors/joe/joe-4.6-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools xdg-utils + +DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" +HOMEPAGE="https://sourceforge.net/projects/joe-editor/" +SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz" + +LICENSE="GPL-1+ CC-BY-3.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" +IUSE="xterm" + +DEPEND=">=sys-libs/ncurses-5.2-r2:0=" +RDEPEND="${DEPEND} + xterm? ( >=x11-terms/xterm-239 )" + +PATCHES=( + "${FILESDIR}/${PN}-4.3-tinfo.patch" + "${FILESDIR}/${P}-db.patch" +) + +DOCS=( README.md NEWS.md docs/hacking.md docs/man.md ) + +src_prepare() { + default + # Enable xterm mouse support in the rc files + if use xterm; then + pushd "${S}"/rc &>/dev/null || die + local i + for i in *rc*.in; do + sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die + done + popd &>/dev/null + fi + eautoreconf +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + if use xterm; then + elog "To enable full xterm clipboard you need to set the allowWindowOps" + elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm" + elog "This is false by default due to potential security problems on some" + elog "architectures (see bug #91453)." + fi +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}