public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/alacritty/
Date: Fri, 22 Feb 2019 01:45:25 +0000 (UTC)	[thread overview]
Message-ID: <1550799884.7683342c9957081e3c4775facfce56078ea587fa.gyakovlev@gentoo> (raw)

commit:     7683342c9957081e3c4775facfce56078ea587fa
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 22 01:41:51 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Feb 22 01:44:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7683342c

x11-terms/alacritty: add terminfo useflag

This will allow skipping compilation and installation of terminfo

definitions has already been upstreamed to ncurses
https://lists.gnu.org/archive/html/bug-ncurses/2018-10/msg00024.html
https://invisible-island.net/ncurses/terminfo.src.html#toc-_Alacritty

so at some point ncurses will get updated we'll be able to avoid
collisions.

Even without terminfo alacritty happily works with TERM=xterm-256color

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 x11-terms/alacritty/alacritty-0.2.9.ebuild | 13 ++++++++-----
 x11-terms/alacritty/metadata.xml           |  3 +++
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/x11-terms/alacritty/alacritty-0.2.9.ebuild b/x11-terms/alacritty/alacritty-0.2.9.ebuild
index 8861e4ab6ef..45577782610 100644
--- a/x11-terms/alacritty/alacritty-0.2.9.ebuild
+++ b/x11-terms/alacritty/alacritty-0.2.9.ebuild
@@ -317,6 +317,7 @@ SRC_URI="https://github.com/jwilm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="+terminfo"
 
 DEPEND="
 	media-libs/fontconfig:=
@@ -333,8 +334,8 @@ RDEPEND="${DEPEND}
 "
 
 BDEPEND="dev-util/cmake
-	sys-libs/ncurses
 	>=virtual/rust-1.32.0
+	terminfo? ( sys-libs/ncurses )
 "
 
 DOCS=( CHANGELOG.md docs/ansicode.txt INSTALL.md README.md alacritty.yml )
@@ -350,10 +351,6 @@ src_install() {
 	insinto /usr/share/zsh/site-functions
 	newins alacritty-completions.zsh _alacritty
 
-	tic -e alacritty,alacritty-direct -o "${T}" alacritty.info || die "generating terminfo failed"
-	insinto /usr/share/terminfo/a/
-	doins  "${T}"/a/alacritty*
-
 	sed -i '/^Icon=/s/utilities-terminal/alacritty/' alacritty.desktop || die
 	domenu alacritty.desktop
 	doicon "${DISTDIR}"/alacritty.png
@@ -361,6 +358,12 @@ src_install() {
 	newman alacritty.man alacritty.1
 
 	einstalldocs
+
+	if use terminfo; then
+		tic -e alacritty,alacritty-direct -o "${T}" alacritty.info || die "generating terminfo failed"
+		insinto /usr/share/terminfo/a/
+		doins  "${T}"/a/alacritty*
+	fi
 }
 
 pkg_postinst() {

diff --git a/x11-terms/alacritty/metadata.xml b/x11-terms/alacritty/metadata.xml
index 6f012feb97f..0e2f52d690f 100644
--- a/x11-terms/alacritty/metadata.xml
+++ b/x11-terms/alacritty/metadata.xml
@@ -9,6 +9,9 @@
 		Alacritty is the fastest terminal emulator in existence.
 		Using the GPU for rendering enables optimizations that simply aren't possible in other emulators.
 	</longdescription>
+	<use>
+		<flag name="terminfo">Use tic from sys-libs/ncurses to generate alacritty terminfo files</flag>
+	</use>
 	<upstream>
 		<remote-id type="github">jwilm/alacritty</remote-id>
 	</upstream>


             reply	other threads:[~2019-02-22  1:45 UTC|newest]

Thread overview: 161+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-22  1:45 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-26  2:37 [gentoo-commits] repo/gentoo:master commit in: x11-terms/alacritty/ Sam James
2025-04-26  2:36 Sam James
2025-04-26  2:36 Sam James
2025-04-26  1:37 Sam James
2025-03-23 17:11 Andreas Sturmlechner
2025-02-17 11:14 Sam James
2025-02-17 11:14 Sam James
2025-01-16 17:47 Sam James
2025-01-15  6:34 Joonas Niilola
2025-01-14 10:47 Sam James
2025-01-14 10:47 Sam James
2025-01-14 10:47 Sam James
2025-01-14 10:47 Sam James
2025-01-06  4:23 Sam James
2024-11-17 17:16 Joonas Niilola
2024-11-07 13:59 Joonas Niilola
2024-07-04 16:35 Eli Schwartz
2024-07-04  4:07 Eli Schwartz
2024-07-03 19:36 Sam James
2024-07-03 19:31 Sam James
2024-07-03 19:31 Sam James
2024-07-03 19:31 Sam James
2024-05-09 21:41 Patrick McLean
2024-03-28 17:05 Patrick McLean
2024-01-14  4:05 Sam James
2024-01-08 16:28 Sam James
2023-12-30  4:10 Sam James
2023-12-30  4:10 Sam James
2023-12-30  4:10 Sam James
2023-12-30  3:17 Sam James
2023-11-30  2:08 Sam James
2023-10-03 23:38 Sam James
2023-09-22 18:23 Sam James
2023-09-16 22:58 Sam James
2023-09-16 14:41 Sam James
2023-09-16 14:41 Sam James
2023-09-02  7:37 Sam James
2023-08-07  5:06 Sam James
2023-06-27  0:16 Georgy Yakovlev
2023-06-27  0:16 Georgy Yakovlev
2023-06-27  0:16 Georgy Yakovlev
2023-06-27  0:16 Georgy Yakovlev
2023-04-05 21:53 Georgy Yakovlev
2023-04-05 21:53 Georgy Yakovlev
2023-04-05 21:53 Georgy Yakovlev
2022-10-21  0:00 Georgy Yakovlev
2022-10-10  4:48 Georgy Yakovlev
2022-10-10  4:48 Georgy Yakovlev
2022-10-10  4:48 Georgy Yakovlev
2022-10-10  4:48 Georgy Yakovlev
2022-09-20 23:14 Georgy Yakovlev
2022-09-20 23:14 Georgy Yakovlev
2022-07-31 17:12 Arthur Zamarin
2022-07-31  8:27 Sam James
2022-07-31  8:27 Sam James
2022-07-12 18:21 Georgy Yakovlev
2022-02-28 22:43 Georgy Yakovlev
2022-01-23 22:10 Georgy Yakovlev
2022-01-23 22:10 Georgy Yakovlev
2022-01-14  4:12 Georgy Yakovlev
2022-01-14  4:12 Georgy Yakovlev
2022-01-13  4:12 Georgy Yakovlev
2022-01-09  0:46 Georgy Yakovlev
2021-12-31 12:43 Georgy Yakovlev
2021-12-31 12:43 Georgy Yakovlev
2021-12-31 12:43 Georgy Yakovlev
2021-12-31 12:43 Georgy Yakovlev
2021-12-31 12:43 Georgy Yakovlev
2021-11-09  1:26 Georgy Yakovlev
2021-11-09  1:26 Georgy Yakovlev
2021-11-09  1:26 Georgy Yakovlev
2021-11-09  1:01 Georgy Yakovlev
2021-11-09  0:54 Georgy Yakovlev
2021-11-09  0:46 Sam James
2021-11-08 19:32 Sam James
2021-11-07 16:55 Jakov Smolić
2021-08-03 12:18 Georgy Yakovlev
2021-08-02  0:23 Georgy Yakovlev
2021-08-02  0:23 Georgy Yakovlev
2021-08-02  0:21 Georgy Yakovlev
2021-07-19  6:27 Agostino Sarubbo
2021-07-19  6:25 Agostino Sarubbo
2021-07-18  2:42 Georgy Yakovlev
2021-05-19 16:46 Georgy Yakovlev
2021-05-11  6:15 Georgy Yakovlev
2021-05-10 15:58 Georgy Yakovlev
2021-05-10 15:58 Georgy Yakovlev
2021-04-19  6:12 Georgy Yakovlev
2021-04-19  4:31 Sam James
2021-04-18 21:27 Sam James
2021-04-18  1:52 Sam James
2021-04-18  1:44 Sam James
2021-02-23 19:38 Georgy Yakovlev
2021-01-19 18:55 Georgy Yakovlev
2021-01-19 18:55 Georgy Yakovlev
2020-12-10 22:04 Thomas Deutschmann
2020-11-25  0:08 Georgy Yakovlev
2020-11-24  6:14 Georgy Yakovlev
2020-11-15  1:42 Georgy Yakovlev
2020-11-14  4:28 Georgy Yakovlev
2020-11-14  4:16 Georgy Yakovlev
2020-10-16  8:02 Georgy Yakovlev
2020-09-23  6:33 Georgy Yakovlev
2020-08-27 21:14 Georgy Yakovlev
2020-08-01  0:50 Georgy Yakovlev
2020-08-01  0:50 Georgy Yakovlev
2020-07-20 15:52 Georgy Yakovlev
2020-07-18  0:01 Sam James
2020-07-16  1:59 Georgy Yakovlev
2020-07-16  1:59 Georgy Yakovlev
2020-07-16  1:59 Georgy Yakovlev
2020-07-16  1:40 Georgy Yakovlev
2020-07-16  1:40 Georgy Yakovlev
2020-06-02  8:55 Georgy Yakovlev
2020-06-01 23:08 Georgy Yakovlev
2020-06-01 19:35 Georgy Yakovlev
2020-05-30  2:49 Georgy Yakovlev
2020-05-30  2:49 Georgy Yakovlev
2020-05-30  2:49 Georgy Yakovlev
2020-05-30  2:49 Georgy Yakovlev
2020-05-30  2:49 Georgy Yakovlev
2020-05-29 23:18 Georgy Yakovlev
2020-05-29  2:24 Georgy Yakovlev
2020-03-31  8:33 Georgy Yakovlev
2020-03-23 19:47 Georgy Yakovlev
2020-03-14 20:18 Georgy Yakovlev
2020-03-14 20:18 Georgy Yakovlev
2020-02-15 10:28 Georgy Yakovlev
2020-02-15 10:28 Georgy Yakovlev
2020-02-15 10:28 Georgy Yakovlev
2020-01-10  8:34 Georgy Yakovlev
2019-12-31  6:35 Georgy Yakovlev
2019-12-31  6:35 Georgy Yakovlev
2019-12-28  5:00 Georgy Yakovlev
2019-12-27  2:03 Georgy Yakovlev
2019-11-26 23:17 Georgy Yakovlev
2019-11-25 20:15 Georgy Yakovlev
2019-08-29 18:35 Georgy Yakovlev
2019-08-04  8:41 Georgy Yakovlev
2019-07-17  0:09 Georgy Yakovlev
2019-07-17  0:09 Georgy Yakovlev
2019-07-17  0:09 Georgy Yakovlev
2019-06-16 18:35 Georgy Yakovlev
2019-06-16  3:42 Georgy Yakovlev
2019-06-14  6:51 Georgy Yakovlev
2019-05-15  7:27 Georgy Yakovlev
2019-04-23  2:47 Georgy Yakovlev
2019-04-22 20:06 Georgy Yakovlev
2019-04-08 19:38 Georgy Yakovlev
2019-03-31 19:16 Georgy Yakovlev
2019-02-12  2:27 Georgy Yakovlev
2019-02-12  2:27 Georgy Yakovlev
2019-02-10 21:03 Georgy Yakovlev
2019-01-19 21:57 Georgy Yakovlev
2019-01-08 23:40 Georgy Yakovlev
2019-01-08  3:53 Georgy Yakovlev
2018-12-11  5:08 Georgy Yakovlev
2018-11-28 19:19 Georgy Yakovlev
2018-10-27  6:43 Georgy Yakovlev
2018-10-27  4:58 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1550799884.7683342c9957081e3c4775facfce56078ea587fa.gyakovlev@gentoo \
    --to=gyakovlev@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox