public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty/
Date: Tue, 22 Nov 2022 14:39:03 +0000 (UTC)	[thread overview]
Message-ID: <1669127749.c49ea4647556e0f547d203b66472ac8498a95867.ionen@gentoo> (raw)

commit:     c49ea4647556e0f547d203b66472ac8498a95867
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 22 14:04:15 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Nov 22 14:35:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c49ea464

x11-terms/kitty: revamp seds in live

Not that much clearer, but makes iwdevtools' qa-sed happier by
not doing seds that are expected to do nothing (and so easier
to track if these need updates).

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-terms/kitty/kitty-9999.ebuild | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild
index 06e7d84c2b81..66de305b3f00 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -82,13 +82,22 @@ src_unpack() {
 src_prepare() {
 	default
 
-	# seds unfortunately feel easier on maintainenance than patches here
-	sed -e "s/'x11 wayland'/'$(usev X x11) $(usev wayland)'/" \
-		-e "$(usev !X '/gl_libs =/s/=.*/= []/')" \
-		-e "/num_workers =/s/=.*/= $(makeopts_jobs)/" \
-		-e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//' \
-		-e "s/ld_flags.append('-s')/pass/" \
-		-i setup.py || die
+	# sed unfortunately feels easier on maintainenance than patches here
+	local sedargs=(
+		-e "/num_workers =/s/=.*/= $(makeopts_jobs)/"
+		-e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//'
+		-e "s/ld_flags.append('-s')/pass/"
+	)
+
+	# kitty is often popular on wayland-only setups, try to allow this
+	use !X && sedargs+=( -e '/gl_libs =/s/=.*/= []/' ) #857918
+	use !X || use !wayland &&
+		sedargs+=( -e "s/'x11 wayland'/'$(usex X x11 wayland)'/" )
+
+	# skip docs for live version, missing dependencies
+	[[ ${PV} == 9999 ]] && sedargs+=( -e '/exists.*_build/,/docs(ddir)/d' )
+
+	sed -i setup.py "${sedargs[@]}" || die
 
 	# test relies on 'who' command which doesn't detect users with pid-sandbox
 	rm kitty_tests/utmp.py || die
@@ -96,8 +105,6 @@ src_prepare() {
 	# test may fail/hang depending on environment and shell initialization scripts
 	rm kitty_tests/{shell_integration,ssh}.py || die
 
-	# skip docs for live version
-	[[ ${PV} != 9999 ]] || sed -i '/exists.*_build/,/docs(ddir)/d' setup.py || die
 }
 
 src_compile() {


             reply	other threads:[~2022-11-22 14:39 UTC|newest]

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

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=1669127749.c49ea4647556e0f547d203b66472ac8498a95867.ionen@gentoo \
    --to=ionen@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