GNU bug report logs - #48220
[PATCH] gnu: xfce4-session: Add xset to propagated-inputs.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Brendan Tildesley <mail@HIDDEN>; Keywords: patch; dated Tue, 4 May 2021 09:22:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 48220 <at> debbugs.gnu.org:


Received: (at 48220) by debbugs.gnu.org; 5 May 2021 13:23:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 05 09:23:59 2021
Received: from localhost ([127.0.0.1]:60188 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1leHVP-0007n5-DI
	for submit <at> debbugs.gnu.org; Wed, 05 May 2021 09:23:59 -0400
Received: from eggs.gnu.org ([209.51.188.92]:44980)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1leHVO-0007mz-A7
 for 48220 <at> debbugs.gnu.org; Wed, 05 May 2021 09:23:58 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44207)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1leHVH-0001pX-UR; Wed, 05 May 2021 09:23:51 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35996 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1leHVH-0000OT-GG; Wed, 05 May 2021 09:23:51 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Brendan Tildesley <mail@HIDDEN>
Subject: Re: bug#48220: [PATCH] gnu: xfce4-session: Add xset to
 propagated-inputs.
References: <20210504092051.24383-1-mail@HIDDEN>
Date: Wed, 05 May 2021 15:23:50 +0200
In-Reply-To: <20210504092051.24383-1-mail@HIDDEN> (Brendan Tildesley's
 message of "Tue, 4 May 2021 19:20:51 +1000")
Message-ID: <87v97xjoux.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48220
Cc: 48220 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Brendan,

Brendan Tildesley <mail@HIDDEN> skribis:

> * gnu/packages/xfce.scm (xfce4-session):[propagated-inputs]: Add xset so
> that xflock4 can turn off the monitor.

Can=E2=80=99t we instead patch =E2=80=98scripts/xflock4=E2=80=99 so that it=
 refers to =E2=80=98xset=E2=80=99 by
its absolute file name?

However, my understanding is that the xset code is already a fallback:

--8<---------------cut here---------------start------------->8---
# else run another access locking utility, if installed
for lock_cmd in \
  "xlock -mode blank" \
  "slock"
  do
    set -- $lock_cmd
    if command -v -- $1 >/dev/null 2>&1; then
        $lock_cmd >/dev/null 2>&1 &
	# turn off display backlight:
	xset dpms force off
        exit
    fi
done
--8<---------------cut here---------------end--------------->8---

Probably we should ensure the first =E2=80=98for=E2=80=99 loop works as exp=
ected.
Perhaps we need to replace =E2=80=98xfce4-screensaver-command=E2=80=99 by i=
ts absolute
file name there.

WDYT?

Thanks,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#48220; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 May 2021 09:21:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 04 05:21:43 2021
Received: from localhost ([127.0.0.1]:52021 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ldrFP-00074T-Fz
	for submit <at> debbugs.gnu.org; Tue, 04 May 2021 05:21:43 -0400
Received: from lists.gnu.org ([209.51.188.17]:38964)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1ldrFK-00074N-9K
 for submit <at> debbugs.gnu.org; Tue, 04 May 2021 05:21:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46234)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1ldrFK-000430-2M
 for guix-patches@HIDDEN; Tue, 04 May 2021 05:21:38 -0400
Received: from mout-p-201.mailbox.org ([2001:67c:2050::465:201]:50030)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1ldrFF-0004ab-B3
 for guix-patches@HIDDEN; Tue, 04 May 2021 05:21:37 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4FZDqT1PbHzQjxG
 for <guix-patches@HIDDEN>; Tue,  4 May 2021 11:21:25 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot;
 s=MBO0001; t=1620120083;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding;
 bh=7HDqoi7gMoDp/ULg0qHOGyl1htMWr16/S6PkP7UZh3M=;
 b=Yjd2KHMu0RMRC3PwT+1xUj7TvSSinxIjavXeItp5MqFIEYOIzYcixTUlgIYFQWrCHKObHx
 wc2GEjV1AKHjtnP4mxcpJKCzCdSC/ZogMMq/vYmQHzHcT0ToZd2ScvECnoTrW2LEM1y0+y
 lk7lY/oRe66PRHVPd8Z4OWCGPA/ppZIczwpAqDhfY7Q0/BG0p+3XDOWR8eTVU5gg1pcL7j
 EflhM9E6o2hN9FuKdG9CUDbbszXkqZYwBqU/RypKI9m4mwPg1ogTPxNRzMauvZ+SU+mOyL
 YmMHLdN09UufOZ/AeN90DO/iwQNYjui5XbaYZRbb0oWfbt7kRx5mj5rxhMeO2w==
Received: from smtp1.mailbox.org ([80.241.60.240])
 by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de
 [80.241.56.125]) (amavisd-new, port 10030)
 with ESMTP id CpPFpfykXHtn for <guix-patches@HIDDEN>;
 Tue,  4 May 2021 11:21:21 +0200 (CEST)
From: Brendan Tildesley <mail@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: xfce4-session: Add xset to propagated-inputs.
Date: Tue,  4 May 2021 19:20:51 +1000
Message-Id: <20210504092051.24383-1-mail@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MBO-SPAM-Probability: **
X-Rspamd-Score: 2.11 / 15.00 / 15.00
X-Rspamd-Queue-Id: EE3AF1404
X-Rspamd-UID: 937465
Received-SPF: pass client-ip=2001:67c:2050::465:201;
 envelope-from=mail@HIDDEN; helo=mout-p-201.mailbox.org
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

* gnu/packages/xfce.scm (xfce4-session):[propagated-inputs]: Add xset so
that xflock4 can turn off the monitor.
---
 gnu/packages/xfce.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 9655d8ccf7..f1e40a94b8 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -718,6 +718,8 @@ your system in categories, so you can quickly find and launch them.")
        ("libsm" ,libsm)
        ("libwnck" ,libwnck)
        ("libxfce4ui" ,libxfce4ui)))
+    (propagated-inputs
+     `(("xset" ,xset)))
     (home-page "https://www.xfce.org/")
     (synopsis "Xfce session manager")
     (description
-- 
2.31.1





Acknowledgement sent to Brendan Tildesley <mail@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#48220; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 5 May 2021 13:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.