From unknown Sat Aug 16 13:48:41 2025 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= Authentication-Results: mxback14g.mail.yandex.net; dkim=pass header.i=@yandex.ru 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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") From unknown Sat Aug 16 13:48:41 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42302] [PATCH] gnu: Add xssproxy Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Jul 2020 20:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42302 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ivan Kozlov Cc: 42302@debbugs.gnu.org Received: via spool by 42302-submit@debbugs.gnu.org id=B42302.159441416519606 (code B ref 42302); Fri, 10 Jul 2020 20:50:01 +0000 Received: (at 42302) by debbugs.gnu.org; 10 Jul 2020 20:49:25 +0000 Received: from localhost ([127.0.0.1]:43515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtzxV-00056A-Eh for submit@debbugs.gnu.org; Fri, 10 Jul 2020 16:49:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtzxR-00055s-9N for 42302@debbugs.gnu.org; Fri, 10 Jul 2020 16:49:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43022) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtzxL-0006kf-Ov; Fri, 10 Jul 2020 16:49:15 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55720 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jtzxL-0004E4-A4; Fri, 10 Jul 2020 16:49:15 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <173331594355886@mail.yandex.ru> Date: Fri, 10 Jul 2020 22:49:13 +0200 In-Reply-To: <173331594355886@mail.yandex.ru> (Ivan Kozlov's message of "Fri, 10 Jul 2020 07:49:54 +0300") Message-ID: <87d053yu2e.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Ivan Kozlov skribis: > xssproxy is a tiny daemon that provides an Idle Inhibition Service specif= ication conformant D-Bus interface to libXss. It allows programs that suppo= rt only this interface (like older Firefox and IceCat) to inhibit screen lo= cking or blanking on systems without a conformant screen locker program. > > * gnu/packages/xdisorg.scm (xssproxy): New variable. Nice! Note: you don=E2=80=99t need to provide a description of the package= in the commit log. Overall the patch looks good to me, modulo minor issues reported by =E2=80=98guix lint=E2=80=99 (see below for how to address them): --8<---------------cut here---------------start------------->8--- gnu/packages/xdisorg.scm:1384:12: xssproxy@1.0.0: 'pkg-config' should proba= bly be a native input gnu/packages/xdisorg.scm:1368:12: xssproxy@1.0.0: the source file name shou= ld contain the package name gnu/packages/xdisorg.scm:1368:12: xssproxy@1.0.0: the source URI should not= be an autogenerated tarball --8<---------------cut here---------------end--------------->8--- > +(define xssproxy Use =E2=80=98define-public=E2=80=99 instead. > + (source (origin > + (method url-fetch) > + (uri (string-append "https://github.com/timakro/xssproxy/a= rchive/v" > + version > + ".tar.gz")) Use =E2=80=99git-fetch=E2=80=99 instead of =E2=80=98url-fetch=E2=80=99 to f= etch the source over Git instead of an autogenerated tarball, and add a =E2=80=98file-name=E2=80=99 = field. > + (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 de= velopers. > +The inhibition of the screensaver is then controlled using the XScreenSa= verSuspend > +function from the Xss (X11 Screen Saver extension) library.") You can use markup for clarity, for instance @code{org.freedesktop.ScreenSaver}. Could you send an updated patch? Thank you! Ludo=E2=80=99. From unknown Sat Aug 16 13:48:41 2025 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 21:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42302 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: "42302@debbugs.gnu.org" <42302@debbugs.gnu.org> Received: via spool by 42302-submit@debbugs.gnu.org id=B42302.1594417615760 (code B ref 42302); Fri, 10 Jul 2020 21:47:01 +0000 Received: (at 42302) by debbugs.gnu.org; 10 Jul 2020 21:46:55 +0000 Received: from localhost ([127.0.0.1]:43595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ju0r5-0000C9-Ml for submit@debbugs.gnu.org; Fri, 10 Jul 2020 17:46:55 -0400 Received: from forward501p.mail.yandex.net ([77.88.28.111]:58105) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ju0r2-0000Bu-7w for 42302@debbugs.gnu.org; Fri, 10 Jul 2020 17:46:50 -0400 Received: from mxback4q.mail.yandex.net (mxback4q.mail.yandex.net [IPv6:2a02:6b8:c0e:6d:0:640:ed15:d2bd]) by forward501p.mail.yandex.net (Yandex) with ESMTP id 7D5143500532; Sat, 11 Jul 2020 00:46:41 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback4q.mail.yandex.net (mxback/Yandex) with ESMTP id eJmpg9yhcf-keK8at5t; Sat, 11 Jul 2020 00:46:41 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1594417601; bh=V5+93kDPXx9mBNz0bnscCXGupJUbl0B5QyHSmJWC0X4=; h=Message-Id:Cc:Subject:In-Reply-To:Date:References:To:From; b=X2cNkrpZtsb14WUuNGE5TwDxKqKzbUGyH4RLlzW+LyLtQwGhGS2/elk9oPwin5BP+ g5KFEUaRwX8VHZw2iaEQWa6fV7uhp0QNu7Vtkv/R1F/Butd0yzZcfDqiHvs7y51Np6 RJeVRRs7DcFmOtJK4mKUhFb+KVsObLOc3LrTpbuk= Authentication-Results: mxback4q.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla3-6a5326aeb4ee.qloud-c.yandex.net with HTTP; Sat, 11 Jul 2020 00:46:40 +0300 From: Ivan Kozlov In-Reply-To: <87d053yu2e.fsf@gnu.org> References: <173331594355886@mail.yandex.ru> <87d053yu2e.fsf@gnu.org> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Sat, 11 Jul 2020 00:46:40 +0300 Message-Id: <378541594414408@mail.yandex.ru> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Thanks for the corrections. >Note: you don’t need to provide a description of the package in >the commit log. It was a clarification for guix-patches readers. I hadn’t thought about ‘git am’ and the like and I’ll write such things as email replies in the future. diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index cec9bf0799..f4d77a5338 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,43 @@ 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-public xssproxy + (package + (name "xssproxy") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/timakro/xssproxy.git") + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "0c83wmipnsdnbihc5niyczs7jrkss2s8n6iwwjdia7hkjzbd0hl7")))) + (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)))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("glib" ,glib) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("libxscrnsaver" ,libxscrnsaver) + ("dbus" ,dbus))) + (synopsis "Forward freedesktop.org Idle Inhibition Service calls to Xss") + (description "xssproxy implements the @code{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") 10.07.2020, 23:49, "Ludovic Courtès" : > Hi, > > Ivan Kozlov skribis: > >>  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. > > Nice! Note: you don’t need to provide a description of the package in > the commit log. > > Overall the patch looks good to me, modulo minor issues reported by > ‘guix lint’ (see below for how to address them): > > --8<---------------cut here---------------start------------->8--- > gnu/packages/xdisorg.scm:1384:12: xssproxy@1.0.0: 'pkg-config' should probably be a native input > gnu/packages/xdisorg.scm:1368:12: xssproxy@1.0.0: the source file name should contain the package name > gnu/packages/xdisorg.scm:1368:12: xssproxy@1.0.0: the source URI should not be an autogenerated tarball > --8<---------------cut here---------------end--------------->8--- > >>  +(define xssproxy > > Use ‘define-public’ instead. > >>  + (source (origin >>  + (method url-fetch) >>  + (uri (string-append "https://github.com/timakro/xssproxy/archive/v" >>  + version >>  + ".tar.gz")) > > Use ’git-fetch’ instead of ‘url-fetch’ to fetch the source over Git > instead of an autogenerated tarball, and add a ‘file-name’ field. > >>  + (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.") > > You can use markup for clarity, for instance > @code{org.freedesktop.ScreenSaver}. > > Could you send an updated patch? > > Thank you! > > Ludo’. From unknown Sat Aug 16 13:48:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ivan Kozlov Subject: bug#42302: closed (Re: [bug#42302] [PATCH] gnu: Add xssproxy) Message-ID: References: <87mu44tr99.fsf@gnu.org> <173331594355886@mail.yandex.ru> X-Gnu-PR-Message: they-closed 42302 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 42302@debbugs.gnu.org Date: Sun, 12 Jul 2020 20:26:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1594585562-3212-1" This is a multi-part message in MIME format... ------------=_1594585562-3212-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42302: [PATCH] gnu: Add xssproxy which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42302@debbugs.gnu.org. --=20 42302: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42302 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1594585562-3212-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42302-done) by debbugs.gnu.org; 12 Jul 2020 20:25:50 +0000 Received: from localhost ([127.0.0.1]:46882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juiXl-0000pP-VJ for submit@debbugs.gnu.org; Sun, 12 Jul 2020 16:25:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juiXj-0000pD-Ta for 42302-done@debbugs.gnu.org; Sun, 12 Jul 2020 16:25:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47769) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juiXe-0005L7-Gc; Sun, 12 Jul 2020 16:25:42 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60584 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1juiXc-0003xV-S7; Sun, 12 Jul 2020 16:25:41 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ivan Kozlov Subject: Re: [bug#42302] [PATCH] gnu: Add xssproxy References: <173331594355886@mail.yandex.ru> <87d053yu2e.fsf@gnu.org> <378541594414408@mail.yandex.ru> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Messidor an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 12 Jul 2020 22:25:38 +0200 In-Reply-To: <378541594414408@mail.yandex.ru> (Ivan Kozlov's message of "Sat, 11 Jul 2020 00:46:40 +0300") Message-ID: <87mu44tr99.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42302-done Cc: "42302@debbugs.gnu.org" <42302-done@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Ivan Kozlov skribis: >>Note: you don=E2=80=99t need to provide a description of the package in >>the commit log. > > It was a clarification for guix-patches readers. I hadn=E2=80=99t thought= about =E2=80=98git am=E2=80=99 and the like and I=E2=80=99ll write such th= ings as email replies in the future. Sure, no problem! Applied with the minor changes below to placate =E2=80=98guix lint=E2=80=99. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index f486c7e654..6033b40380 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -1368,7 +1368,7 @@ demos. It also acts as a nice screen locker.") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/timakro/xssproxy.git") + (url "https://github.com/timakro/xssproxy") (commit (string-append "v" version)))) (file-name (string-append name "-" version "-checkout")) (sha256 @@ -1391,10 +1391,11 @@ demos. It also acts as a nice screen locker.") ("libxscrnsaver" ,libxscrnsaver) ("dbus" ,dbus))) (synopsis "Forward freedesktop.org Idle Inhibition Service calls to Xss") - (description "xssproxy implements the @code{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.") + (description "xssproxy implements the @code{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+))) --=-=-=-- ------------=_1594585562-3212-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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= Authentication-Results: mxback14g.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by iva1-e3ac85a63903.qloud-c.yandex.net with HTTP; Fri, 10 Jul 2020 07:49:54 +0300 From: Ivan Kozlov To: guix-patches Subject: [PATCH] gnu: Add xssproxy 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-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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") ------------=_1594585562-3212-1--