From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uG5/McLzB1+QDQAA0tVLHw (envelope-from ) for ; Fri, 10 Jul 2020 04:51:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oHBELcLzB1/ubgAAbx9fmQ (envelope-from ) for ; Fri, 10 Jul 2020 04:51:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D5AC29409D6 for ; Fri, 10 Jul 2020 04:51:13 +0000 (UTC) Received: from localhost ([::1]:41610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtl0A-00021O-Sh for larch@yhetil.org; Fri, 10 Jul 2020 00:51:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtl02-00021B-5c for guix-patches@gnu.org; Fri, 10 Jul 2020 00:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtl01-0004s0-SL for guix-patches@gnu.org; Fri, 10 Jul 2020 00:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtl01-00055X-QZ for guix-patches@gnu.org; Fri, 10 Jul 2020 00:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42302] [PATCH] gnu: Add xssproxy Resent-From: Ivan Kozlov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Jul 2020 04:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42302 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42302@debbugs.gnu.org X-Debbugs-Original-To: guix-patches Received: via spool by submit@debbugs.gnu.org id=B.159435661119491 (code B ref -1); Fri, 10 Jul 2020 04:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jul 2020 04:50:11 +0000 Received: from localhost ([127.0.0.1]:42115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtkzD-00054J-F6 for submit@debbugs.gnu.org; Fri, 10 Jul 2020 00:50:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:57278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtkz9-000548-2e for submit@debbugs.gnu.org; Fri, 10 Jul 2020 00:50:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtkz8-0001rM-QF for guix-patches@gnu.org; Fri, 10 Jul 2020 00:50:06 -0400 Received: from forward105j.mail.yandex.net ([2a02:6b8:0:801:2::108]:33289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtkz5-0004cR-AO for guix-patches@gnu.org; Fri, 10 Jul 2020 00:50:06 -0400 Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward105j.mail.yandex.net (Yandex) with ESMTP id BB0D3B214DF for ; Fri, 10 Jul 2020 07:49:55 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback14g.mail.yandex.net (mxback/Yandex) with ESMTP id ViwIsVqREH-nt1m2Ou8; Fri, 10 Jul 2020 07:49:55 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1594356595; bh=q+r+cnpOJZ0jmnQNBaqrORod8A1eHz9ydFdY+RmbO5A=; h=Message-Id:Date:Subject:To:From; b=Sj+YBK6Bc6iPJje4om2hCKJY6XdfTRQ/9FtRtRYCzmVEuqlGKyfcv+Xa9/EdZH78t c5UbXF+5dFPsUN39P8nwkleEJzibjxkjToAvkzJzrVnXuTJdgvDlOf1CDzCmP01kKh 0WYtsV9fvMUBxJc7G/QWOPR4ghdQ0h1HftAGdQCM= Received: by iva1-e3ac85a63903.qloud-c.yandex.net with HTTP; Fri, 10 Jul 2020 07:49:54 +0300 From: Ivan Kozlov MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 10 Jul 2020 07:49:54 +0300 Message-Id: <173331594355886@mail.yandex.ru> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Received-SPF: pass client-ip=2a02:6b8:0:801:2::108; envelope-from=kanichos@yandex.ru; helo=forward105j.mail.yandex.net X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=yandex.ru header.s=mail header.b=Sj+YBK6B; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.ru (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: PL9fnSm5uRzP xssproxy is a tiny daemon that provides an Idle Inhibition Service specification conformant D-Bus interface to libXss. It allows programs that support only this interface (like older Firefox and IceCat) to inhibit screen locking or blanking on systems without a conformant screen locker program. * gnu/packages/xdisorg.scm (xssproxy): New variable. --- diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index cec9bf0799..3e71b07636 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2020 John Soo ;;; Copyright © 2020 Boris A. Dekshteyn ;;; Copyright © 2020 Alex McGrath +;;; Copyright © 2020 Ivan Kozlov ;;; ;;; This file is part of GNU Guix. ;;; @@ -1360,6 +1361,40 @@ demos. It also acts as a nice screen locker.") "http://metadata.ftp-master.debian.org/changelogs/" "/main/x/xscreensaver/xscreensaver_5.36-1_copyright"))))) +(define xssproxy + (package + (name "xssproxy") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/timakro/xssproxy/archive/v" + version + ".tar.gz")) + (sha256 + (base32 + "05pp9f0rx7g8gahqvr7krlfy90mlcb94ig4m5flmrfszwrr9v8k7")))) + (build-system gnu-build-system) + (arguments `(#:make-flags `("bindir=/bin" + "man1dir=/share/man/man1" + ,(string-append "DESTDIR=" (assoc-ref %outputs "out")) + "CC=gcc") + #:phases (modify-phases %standard-phases + (delete 'configure) + (delete 'check)))) + (inputs `(("glib" ,glib) + ("pkg-config" ,pkg-config) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("libxscrnsaver" ,libxscrnsaver) + ("dbus" ,dbus))) + (synopsis "Forward freedesktop.org Idle Inhibition Service calls to Xss") + (description "xssproxy implements the org.freedesktop.ScreenSaver D-Bus interface +described in the Idle Inhibition Service Draft by the freedesktop.org developers. +The inhibition of the screensaver is then controlled using the XScreenSaverSuspend +function from the Xss (X11 Screen Saver extension) library.") + (home-page "https://github.com/timakro/xssproxy") + (license license:gpl3+))) + (define-public xsel (package (name "xsel")