public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/swayidle/
Date: Sat, 31 Jul 2021 00:18:35 +0000 (UTC)	[thread overview]
Message-ID: <1627690619.f13835cb87bdbf99bb75c37024739e339049c15d.sam@gentoo> (raw)

commit:     f13835cb87bdbf99bb75c37024739e339049c15d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 25 03:04:10 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 31 00:16:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f13835cb

gui-apps/swayidle: [QA] unconditionally install completion files

QA policy [0] says that we don't conditionalise installation of
small files. It's a wasteful rebuild and inconsistent across packages
for when users desire completions to be available.

[0] https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gui-apps/swayidle/metadata.xml         | 1 -
 gui-apps/swayidle/swayidle-1.6.ebuild  | 7 ++++---
 gui-apps/swayidle/swayidle-9999.ebuild | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/gui-apps/swayidle/metadata.xml b/gui-apps/swayidle/metadata.xml
index 91ff1890bc1..4c7034b2aaf 100644
--- a/gui-apps/swayidle/metadata.xml
+++ b/gui-apps/swayidle/metadata.xml
@@ -15,7 +15,6 @@
 	</longdescription>
 	<use>
 		<flag name="elogind">Enable support for rootless session via elogind</flag>
-		<flag name="fish-completion">Enable fish completion support</flag>
 	</use>
 	<upstream>
 		<remote-id type="github">swaywm/swayidle</remote-id>

diff --git a/gui-apps/swayidle/swayidle-1.6.ebuild b/gui-apps/swayidle/swayidle-1.6.ebuild
index ae2ed9985b4..94194af2e4a 100644
--- a/gui-apps/swayidle/swayidle-1.6.ebuild
+++ b/gui-apps/swayidle/swayidle-1.6.ebuild
@@ -18,7 +18,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="elogind fish-completion +man systemd zsh-completion"
+IUSE="elogind +man systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
@@ -36,11 +36,12 @@ BDEPEND="
 src_configure() {
 	local emesonargs=(
 		-Dman-pages=$(usex man enabled disabled)
-		$(meson_use fish-completion fish-completions)
-		$(meson_use zsh-completion zsh-completions)
+		"-Dfish-completions=true"
+		"-Dzsh-completions=true"
 		"-Dbash-completions=true"
 		"-Dwerror=false"
 	)
+
 	if use systemd; then
 		emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
 	elif use elogind; then

diff --git a/gui-apps/swayidle/swayidle-9999.ebuild b/gui-apps/swayidle/swayidle-9999.ebuild
index 8604bda5510..f6abc2bf723 100644
--- a/gui-apps/swayidle/swayidle-9999.ebuild
+++ b/gui-apps/swayidle/swayidle-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="elogind fish-completion +man systemd zsh-completion"
+IUSE="elogind +man systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
@@ -36,8 +36,8 @@ BDEPEND="
 src_configure() {
 	local emesonargs=(
 		-Dman-pages=$(usex man enabled disabled)
-		$(meson_use fish-completion fish-completions)
-		$(meson_use zsh-completion zsh-completions)
+		"-Dfish-completions=true"
+		"-Dzsh-completions=true"
 		"-Dbash-completions=true"
 		"-Dwerror=false"
 	)


             reply	other threads:[~2021-07-31  0:18 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-31  0:18 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-05 20:52 [gentoo-commits] repo/gentoo:master commit in: gui-apps/swayidle/ Matthew Thode
2023-01-06  4:34 Matthew Thode
2022-12-06  1:19 Matthew Thode
2022-12-06  1:19 Matthew Thode
2022-05-26  5:39 WANG Xuerui
2022-05-26  5:39 WANG Xuerui
2022-05-17  5:59 Sam James
2022-02-16  3:09 Matthew Thode
2022-01-15 18:02 Matthew Thode
2021-10-17 17:13 Matthew Thode
2021-10-17 17:13 Matthew Thode
2021-09-17 21:39 Matthew Thode
2021-08-18 15:17 Matthew Thode
2021-07-21  2:22 Yixun Lan
2020-02-22 21:39 Matthew Thode
2020-02-22 21:39 Matthew Thode
2020-01-24  4:19 Georgy Yakovlev
2020-01-24  4:19 Georgy Yakovlev
2020-01-22 22:20 Matthew Thode
2019-08-11 21:13 Matthew Thode
2019-08-09  0:30 Aaron Bauman
2019-07-11 17:58 Matthew Thode
2019-06-02 17:22 Matthew Thode
2019-05-29 20:45 Aaron Bauman
2019-05-03 18:33 Matthew Thode
2019-04-24 23:11 Thomas Deutschmann
2019-04-10  5:03 Aaron Bauman
2019-04-10  3:01 Aaron Bauman
2019-02-22 22:54 Aaron Bauman

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=1627690619.f13835cb87bdbf99bb75c37024739e339049c15d.sam@gentoo \
    --to=sam@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