From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7656513934F for ; Sat, 31 Jul 2021 00:18:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64BF4E08F0; Sat, 31 Jul 2021 00:18:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A11CE08F6 for ; Sat, 31 Jul 2021 00:18:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D3A93438C3 for ; Sat, 31 Jul 2021 00:18:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44AF6850 for ; Sat, 31 Jul 2021 00:18:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1627690619.f13835cb87bdbf99bb75c37024739e339049c15d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/swayidle/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-apps/swayidle/metadata.xml gui-apps/swayidle/swayidle-1.6.ebuild gui-apps/swayidle/swayidle-9999.ebuild X-VCS-Directories: gui-apps/swayidle/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f13835cb87bdbf99bb75c37024739e339049c15d X-VCS-Branch: master Date: Sat, 31 Jul 2021 00:18:35 +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: 74b68845-b21f-410b-80d6-309650df069f X-Archives-Hash: cd7baf8eee549f81cde724a3b57ee7a3 commit: f13835cb87bdbf99bb75c37024739e339049c15d Author: Sam James gentoo org> AuthorDate: Sun Jul 25 03:04:10 2021 +0000 Commit: Sam James gentoo 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 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 @@ Enable support for rootless session via elogind - Enable fish completion support swaywm/swayidle 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" )