From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 10 08:06:39 2021 Received: (at submit) by debbugs.gnu.org; 10 Feb 2021 13:06:39 +0000 Received: from localhost ([127.0.0.1]:55708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9pCZ-0007qO-Cr for submit@debbugs.gnu.org; Wed, 10 Feb 2021 08:06:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:59328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9pCV-0007qF-OH for submit@debbugs.gnu.org; Wed, 10 Feb 2021 08:06:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9pCV-000729-JW for guix-patches@gnu.org; Wed, 10 Feb 2021 08:06:35 -0500 Received: from mail-40141.protonmail.ch ([185.70.40.141]:20119) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9pCP-0001US-5Y for guix-patches@gnu.org; Wed, 10 Feb 2021 08:06:35 -0500 Date: Wed, 10 Feb 2021 13:06:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1612962386; bh=jWZAXBTooHMeva6hHNYmrPMrwTcXl71/NWlOgNQV084=; h=Date:To:From:Reply-To:Subject:From; b=VWIh/G4Sos1X9h03/5iPkhRJw3Jt8s2+/jzPgoEETUhsk2Cj6yQFkk5UQ+wDnrKd0 Fw4Xx7TXs2A6BfvzrJ9/KH0MI1kAvk5CN/T1yaIcI7hi8knZpjiYC75ekMLUm9+pzQ yQKZFDYVFu1l+RdxJ57n0M72Wbe17kCl6Co0cCL4= To: "guix-patches@gnu.org" From: raid5atemyhomework Subject: [PATCH] doc: Expand sane-service-type documentation. Message-ID: <0gD73ixFsOhUAMwFx1BNSaMobM8_HaW-6phCSsevky7RFNuTBUNFHeJ4GWM18_9iSpnAMVvROV6ryF9W2v_SllH414yzizr42i6-7GYlEvY=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.40.141; envelope-from=raid5atemyhomework@protonmail.com; helo=mail-40141.protonmail.ch 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.5 (/) 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: , Reply-To: raid5atemyhomework Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) SANE documentation in `info guix` is lacking, this patch gives decent docum= entation about it. PLEASE merge soon, it's not like this is code. >From e0728dbab926e4670ec067865053331a02d5d171 Mon Sep 17 00:00:00 2001 From: raid5atemyhomework Date: Wed, 10 Feb 2021 21:01:23 +0800 Subject: [PATCH] doc: Expand sane-service-type documentation. * doc/guix.texi (sane-service-type): Move from between documentation about geoclue, expand slightly. (sane-backends-minimal): New description. (sane-backends): New description, new example. --- doc/guix.texi | 47 ++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 7 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 7d18703283..7b9145aa06 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -19178,6 +19178,46 @@ tool. See @uref{https://www.freedesktop.org/softw= are/colord/, the colord web site} for more information. @end deffn +@cindex scanner access +@defvr {Scheme Variable} sane-service-type +This service provides access to scanners @i{via} +@uref{http://www.sane-project.org, SANE} by installing the necessary udev +rules. This service is already included in @code{%desktop-services} with +@code{sane-backends-minimal} configured. +@end defvr + +@defvr {Scheme Variable} sane-backends-minimal +The default package which the @code{sane-service-type} will install, this = will +support many recent scanners out-of-the-box. +@end defvr + +@defvr {Scheme Variable} sane-backends +A package which includes support for all scanners that @code{sane-backends= -minimal} +supports, plus older Hewlett-Packard scanners supported by @code{hplip}. = In order +to use this on a system which uses @code{%desktop-services}, you can use +@code{modify-services} to change the @code{sane-service-type} configuratio= n: + +@lisp +(use-modules (gnu)) +(use-service-modules + ; @dots{} + desktop) +(use-package-modules + ; @dots{} + scanner) + +(operating-system + ;; @dots{} + (services + (append + ;; @dots{} + (modify-services %desktop-services + (sane-service-type _ =3D> sane-backends)))) + ;; @dots{} + ) +@end lisp +@end defvr + @deffn {Scheme Procedure} geoclue-application name [#:allowed? #t] [#:syst= em? #f] [#:users '()] Return a configuration allowing an application to access GeoClue location data. @var{name} is the Desktop ID of the application, without @@ -19189,13 +19229,6 @@ this application is allowed location info access. = An empty users list means that all users are allowed. @end deffn -@cindex scanner access -@deffn {Scheme Procedure} sane-service-type -This service provides access to scanners @i{via} -@uref{http://www.sane-project.org, SANE} by installing the necessary udev -rules. -@end deffn - @defvr {Scheme Variable} %standard-geoclue-applications The standard list of well-known GeoClue application configurations, granting authority to the GNOME date-and-time utility to ask for the -- 2.30.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 21 07:21:31 2021 Received: (at 46421) by debbugs.gnu.org; 21 Feb 2021 12:21:31 +0000 Received: from localhost ([127.0.0.1]:53642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDnjv-0005Wk-Hn for submit@debbugs.gnu.org; Sun, 21 Feb 2021 07:21:31 -0500 Received: from mail-40141.protonmail.ch ([185.70.40.141]:55591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDnjq-0005WS-9W for 46421@debbugs.gnu.org; Sun, 21 Feb 2021 07:21:30 -0500 Date: Sun, 21 Feb 2021 12:21:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1613910079; bh=FwRZR1PnaavXicIdM6CZ3cSqPfQ1Oty15Jgi3Ae3O3A=; h=Date:To:From:Reply-To:Subject:From; b=iHkqmULhHP2RPW/BCJm2X36xRSfgqU+DNqjssP2dtceo5CO9BFL/o6aOr+09mNSij njdanWpLukLnAtO6uC4sRN3lLyUslMJ7WvugCIM1st0T9R13zjDCMut2Xlvw4LLz+T 0kVjnPDPpjrihAG7NyxlJf4b9GwAirrKtCBtcPsI= To: "46421@debbugs.gnu.org" <46421@debbugs.gnu.org> From: raid5atemyhomework Subject: Re: [PATCH] doc: Expand sane-service-type documentation. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 46421 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: , Reply-To: raid5atemyhomework Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Guix reviewers, Please review and merge. Thanks raid5atemyhomework From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 09:45:45 2021 Received: (at submit) by debbugs.gnu.org; 23 Feb 2021 14:45:45 +0000 Received: from localhost ([127.0.0.1]:58623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEYwa-0005M8-Th for submit@debbugs.gnu.org; Tue, 23 Feb 2021 09:45:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:47782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEYwW-0005Lq-C6 for submit@debbugs.gnu.org; Tue, 23 Feb 2021 09:45:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEYwW-0003Dh-5X for guix-patches@gnu.org; Tue, 23 Feb 2021 09:45:40 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:53035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEYwU-0001GY-6Z for guix-patches@gnu.org; Tue, 23 Feb 2021 09:45:39 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 1AC89C0008; Tue, 23 Feb 2021 14:45:31 +0000 (UTC) From: Nicolas Goaziou To: raid5atemyhomework via Guix-patches via Subject: Re: [bug#46421] [PATCH] doc: Expand sane-service-type documentation. References: <0gD73ixFsOhUAMwFx1BNSaMobM8_HaW-6phCSsevky7RFNuTBUNFHeJ4GWM18_9iSpnAMVvROV6ryF9W2v_SllH414yzizr42i6-7GYlEvY=@protonmail.com> Date: Tue, 23 Feb 2021 15:45:30 +0100 In-Reply-To: <0gD73ixFsOhUAMwFx1BNSaMobM8_HaW-6phCSsevky7RFNuTBUNFHeJ4GWM18_9iSpnAMVvROV6ryF9W2v_SllH414yzizr42i6-7GYlEvY=@protonmail.com> (raid5atemyhomework via Guix-patches via's message of "Wed, 10 Feb 2021 13:06:19 +0000") Message-ID: <87tuq2yh9x.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.198; envelope-from=mail@nicolasgoaziou.fr; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: raid5atemyhomework , 46421-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: -2.6 (--) Hello, raid5atemyhomework via Guix-patches via writes: > SANE documentation in `info guix` is lacking, this patch gives decent > documentation about it. Thank you! I applied it with minor tweaks. Please let me know if it makes your original text less clear. > PLEASE merge soon, it's not like this is code. That's true, this is not code. Yet, I think documentation requires as much care, albeit for different reasons. Regards, -- Nicolas Goaziou From unknown Mon Jun 23 02:26:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Mar 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator