From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1407890-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02CA8158091 for <garchives@archives.gentoo.org>; Mon, 13 Jun 2022 22:25:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 306F3E07EE; Mon, 13 Jun 2022 22:25:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13837E07EE for <gentoo-commits@lists.gentoo.org>; Mon, 13 Jun 2022 22:25:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3739341C4C for <gentoo-commits@lists.gentoo.org>; Mon, 13 Jun 2022 22:25:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 270AC303 for <gentoo-commits@lists.gentoo.org>; Mon, 13 Jun 2022 22:25:22 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1655159116.3a7fde3ec6d33dc8ba8c1a7b472b2435869055d9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/spice-gtk/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/spice-gtk/spice-gtk-0.40.ebuild net-misc/spice-gtk/spice-gtk-9999.ebuild X-VCS-Directories: net-misc/spice-gtk/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3a7fde3ec6d33dc8ba8c1a7b472b2435869055d9 X-VCS-Branch: master Date: Mon, 13 Jun 2022 22:25:22 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 165e10a5-ccce-4211-8e93-8e13c372fc55 X-Archives-Hash: 6b6932e491b955729438db20a415502b commit: 3a7fde3ec6d33dc8ba8c1a7b472b2435869055d9 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Jun 13 22:15:31 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jun 13 22:25:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a7fde3e net-misc/spice-gtk: fix usbredir conditional deux Closes: https://bugs.gentoo.org/851657 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/spice-gtk/spice-gtk-0.40.ebuild | 5 +++-- net-misc/spice-gtk/spice-gtk-9999.ebuild | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/net-misc/spice-gtk/spice-gtk-0.40.ebuild b/net-misc/spice-gtk/spice-gtk-0.40.ebuild index fc8e35b738b0..357e2deefa6d 100644 --- a/net-misc/spice-gtk/spice-gtk-0.40.ebuild +++ b/net-misc/spice-gtk/spice-gtk-0.40.ebuild @@ -125,8 +125,8 @@ src_configure() { src_install() { meson_src_install - if use usbredir; then - # bug #775554 + if use usbredir && use policykit; then + # bug #775554 (and bug #851657) fowners root:root /usr/libexec/spice-client-glib-usb-acl-helper fperms 4755 /usr/libexec/spice-client-glib-usb-acl-helper fi @@ -137,5 +137,6 @@ src_install() { pkg_postinst() { xdg_pkg_postinst + optfeature "Sound support (via pulseaudio)" media-plugins/gst-plugins-pulse } diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild index bfa932d1e132..357e2deefa6d 100644 --- a/net-misc/spice-gtk/spice-gtk-9999.ebuild +++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild @@ -94,7 +94,7 @@ python_check_deps() { src_prepare() { default - use vala && vala_src_prepare + use vala && vala_setup } src_configure() { @@ -125,8 +125,8 @@ src_configure() { src_install() { meson_src_install - if use usbredir; then - # bug #775554 + if use usbredir && use policykit; then + # bug #775554 (and bug #851657) fowners root:root /usr/libexec/spice-client-glib-usb-acl-helper fperms 4755 /usr/libexec/spice-client-glib-usb-acl-helper fi @@ -137,5 +137,6 @@ src_install() { pkg_postinst() { xdg_pkg_postinst + optfeature "Sound support (via pulseaudio)" media-plugins/gst-plugins-pulse }