From owner-svn-ports-all@freebsd.org Thu Feb 25 11:30:23 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B7BE55FA0F; Thu, 25 Feb 2021 11:30:23 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DmVvg1gWTz4YgF; Thu, 25 Feb 2021 11:30:23 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2C45316B2A; Thu, 25 Feb 2021 11:30:23 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11PBUMFc013318; Thu, 25 Feb 2021 11:30:22 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11PBUM4M013317; Thu, 25 Feb 2021 11:30:22 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202102251130.11PBUM4M013317@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 25 Feb 2021 11:30:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566529 - head/x11/foot X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/x11/foot X-SVN-Commit-Revision: 566529 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 11:30:23 -0000 Author: jbeich Date: Thu Feb 25 11:30:22 2021 New Revision: 566529 URL: https://svnweb.freebsd.org/changeset/ports/566529 Log: x11/foot: expose terminfo support on -CURRENT Makes foot default to TERM=foot instead of TERM=xterm-256color. Proper 24-bit color support without relying on COLORTERM=truecolor and hardcoded xterm escape sequences requires TERM=foot-direct e.g., $ foot -t foot-direct $ tput Co 16777216 Modified: head/x11/foot/Makefile (contents, props changed) Modified: head/x11/foot/Makefile ============================================================================== --- head/x11/foot/Makefile Thu Feb 25 11:16:33 2021 (r566528) +++ head/x11/foot/Makefile Thu Feb 25 11:30:22 2021 (r566529) @@ -24,6 +24,16 @@ LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ USES= compiler:c11 meson pkgconfig xorg USE_XORG= pixman WRKSRC= ${WRKDIR}/${PORTNAME} + +.if exists(/usr/bin/tic) +PKGMESSAGE= ${NONEXISTENT} +PLIST_FILES= share/site-terminfo/f/${PORTNAME} \ + share/site-terminfo/f/${PORTNAME}-direct +post-patch: terminfo-patch +terminfo-patch: + @${REINPLACE_CMD} '/datadir/s/terminfo/site-&/' ${WRKSRC}/meson.build +.else MESON_ARGS= -Dterminfo=disabled +.endif .include