From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DE2D91582EF for ; Sun, 09 Mar 2025 19:14:25 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C71CD342FFB for ; Sun, 09 Mar 2025 19:14:25 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id BF27311037D; Sun, 09 Mar 2025 19:14:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B4735110370 for ; Sun, 09 Mar 2025 19:14:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 47A23342FFB for ; Sun, 09 Mar 2025 19:14:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB0C62863 for ; Sun, 09 Mar 2025 19:14:22 +0000 (UTC) From: "Arsen Arsenović" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arsen Arsenović" Message-ID: <1741547010.dfbd9bcc227eaa25fe8b937350585c3ba058865f.arsen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/foot/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-apps/foot/Manifest gui-apps/foot/foot-1.20.2-r1.ebuild gui-apps/foot/metadata.xml X-VCS-Directories: gui-apps/foot/ X-VCS-Committer: arsen X-VCS-Committer-Name: Arsen Arsenović X-VCS-Revision: dfbd9bcc227eaa25fe8b937350585c3ba058865f X-VCS-Branch: master Date: Sun, 09 Mar 2025 19:14:22 +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: 95ad7a3e-a2b6-4fd1-add6-69a0a53f426a X-Archives-Hash: 576268cf4cd2113f04372066279248cc commit: dfbd9bcc227eaa25fe8b937350585c3ba058865f Author: Filip Kobierski pm me> AuthorDate: Sat Mar 8 17:30:38 2025 +0000 Commit: Arsen Arsenović gentoo org> CommitDate: Sun Mar 9 19:03:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfbd9bcc gui-apps/foot: add USE={verify-sig,utempter} & more - added: - USE=verify-sig - USE=utempter - fixes current status where we compile it but use the wrong path so it doesn't work - changed: - patch the build system instead of working around it's - do not install LICENSE - add `-Ddocs=enabled` - prefer foot-terminfo over ncurses - foot's terminfo is nonstandard and ncurses is - sorted inherits - removed useless ${S} Signed-off-by: Filip Kobierski pm.me> Closes: https://github.com/gentoo/gentoo/pull/40966 Signed-off-by: Arsen Arsenović gentoo.org> gui-apps/foot/Manifest | 1 + gui-apps/foot/foot-1.20.2-r1.ebuild | 90 +++++++++++++++++++++++++++++++++++++ gui-apps/foot/metadata.xml | 1 + 3 files changed, 92 insertions(+) diff --git a/gui-apps/foot/Manifest b/gui-apps/foot/Manifest index 76f9854f9cc9..628fe5207223 100644 --- a/gui-apps/foot/Manifest +++ b/gui-apps/foot/Manifest @@ -8,3 +8,4 @@ DIST foot-1.19.0.tar.gz 584392 BLAKE2B 39f0382d5d7888b652e6b733e00302eff83e544b8 DIST foot-1.20.0.tar.gz 589056 BLAKE2B 021927293c5b4950df33de42e37112bef79f908c44f7d2d47486e42c51096ff2416b3cf7d8dc3837448baa423e574b1ba83391af639e1782480e6370cfd5060f SHA512 8f602c8763f26c0a86efb1e7efb183f13a8ec14e1d618bf16a95185613b7bf36d6091e0057f746425fbe9855e043dd9a07d2ceb774257c4f1eaa20228f4fada5 DIST foot-1.20.1.tar.gz 590026 BLAKE2B 991935b9b0b40d13914ae9831637a837275918821b70ba49173cccb2b1803c024d26261a75d245cd7bd9f88c8bc1019c462793f374302cfb93500502648502f7 SHA512 c4f0a36d1031915336110bb916f43d5f3ea19093555bc87141d3c3403fea058a7086eee13fed4aaff9b1d55484b9b04d90d75cf801889c205eca6415b9b9a2d5 DIST foot-1.20.2.tar.gz 590295 BLAKE2B 341bd31690dd77fbf31efa066933fe09679df0b6ac6d949bd6bd7df4053399499d8e30387957d9bc4011ecb4487a3d76aa67bdf3ffbd606fbd9686e4878dc623 SHA512 8ad246a0c28531c969bf4fccaba68984c7f52212682362116f8a7e43ea453daf32eadef3fe6148542ffa62e32ff359486276aa2484017671aa95ce097bc4deb3 +DIST foot-1.20.2.tar.gz.sig 584 BLAKE2B 8d2cd2f8b3dc9ceeb001c9f6f712e689ac74c54e8f0c7ac4c9a7490a81f263d1e8f8c431205bbc99f59aa6a8d85809b6ff61d8c70e67df7ade667b3f7b6088a6 SHA512 4b34b3737af106f9e96cf2c6e7e57a319e853fa69607ad93d04e8f7db56f459097d2d5312bcd4822d8bff1109c93b584d39530d9f75ad1967b10db7e59e7f68f diff --git a/gui-apps/foot/foot-1.20.2-r1.ebuild b/gui-apps/foot/foot-1.20.2-r1.ebuild new file mode 100644 index 000000000000..3f5d883449d7 --- /dev/null +++ b/gui-apps/foot/foot-1.20.2-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson systemd verify-sig xdg + +DESCRIPTION="Fast, lightweight and minimalistic Wayland terminal emulator" +HOMEPAGE="https://codeberg.org/dnkl/foot" +SRC_URI=" + https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz + verify-sig? ( https://codeberg.org/dnkl/foot/releases/download/${PV}/${P}.tar.gz.sig ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" +IUSE="+grapheme-clustering test utempter verify-sig" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-libs/wayland + media-libs/fcft + media-libs/fontconfig + x11-libs/libxkbcommon + x11-libs/pixman + grapheme-clustering? ( + dev-libs/libutf8proc:=[-cjk] + media-libs/fcft[harfbuzz] + ) +" +DEPEND=" + ${COMMON_DEPEND} + >=dev-libs/tllist-1.1.0 + >=dev-libs/wayland-protocols-1.32 +" +RDEPEND=" + ${COMMON_DEPEND} + || ( + ~gui-apps/foot-terminfo-${PV} + >=sys-libs/ncurses-6.3[-minimal] + ) + utempter? ( sys-libs/libutempter ) +" +BDEPEND=" + app-text/scdoc + dev-util/wayland-scanner + verify-sig? ( sec-keys/openpgp-keys-dnkl ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dnkl.asc + +src_prepare() { + default + + # disable the systemd dep, we install the unit file manually + sed -i "s/systemd', required: false)$/', required: false)/" meson.build || die + + # adjujst install dir + sed -i "s/'doc', 'foot'/'doc', '${PF}'/" meson.build || die + + # do not install LICENSE file + sed -i "s/'LICENSE', //" meson.build || die +} + +src_configure() { + local emesonargs=( + -Ddocs=enabled + -Dthemes=true + -Dime=true + -Dterminfo=disabled + $(meson_feature grapheme-clustering) + $(meson_use test tests) + -Dutmp-backend=$(usex utempter libutempter none) + -Dutmp-default-helper-path="/usr/$(get_libdir)/misc/utempter/utempter" + ) + meson_src_configure + + sed 's|@bindir@|/usr/bin|g' "${S}"/foot-server.service.in > foot-server.service || die +} + +src_install() { + meson_src_install + + systemd_douserunit foot-server.service "${S}"/foot-server.socket +} + +pkg_postinst() { + xdg_pkg_postinst +} diff --git a/gui-apps/foot/metadata.xml b/gui-apps/foot/metadata.xml index 662fa34e7401..2e3d8865e2d1 100644 --- a/gui-apps/foot/metadata.xml +++ b/gui-apps/foot/metadata.xml @@ -7,6 +7,7 @@ Enable grapheme clustering support + Enable utmp support via sys-libs/libutempter https://codeberg.org/dnkl/foot/issues