GNU bug report logs - #46421
[PATCH] doc: Expand sane-service-type documentation.

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: raid5atemyhomework <raid5atemyhomework@HIDDEN>; Keywords: patch; dated Wed, 10 Feb 2021 13:07:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

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


Received: (at 46421) by debbugs.gnu.org; 21 Feb 2021 12:21:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 21 07:21:31 2021
Received: from localhost ([127.0.0.1]:53642 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lDnjv-0005Wk-Hn
	for submit <at> 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 <raid5atemyhomework@HIDDEN>)
 id 1lDnjq-0005WS-9W
 for 46421 <at> 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 <at> debbugs.gnu.org" <46421 <at> debbugs.gnu.org>
From: raid5atemyhomework <raid5atemyhomework@HIDDEN>
Subject: Re: [PATCH] doc: Expand sane-service-type documentation.
Message-ID: <evISe9mSt8qLKAPTgifD1DYW6QI7EmkkGCso9BWtmc4cIGh5clp2QhQhvmfpovsyzmGf-ZMY2-fIHhu7pvyJO98mxqJiibfHWIFyp3TdBus=@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
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 46421
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>
Reply-To: raid5atemyhomework <raid5atemyhomework@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Guix reviewers,

Please review and merge.

Thanks
raid5atemyhomework




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

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


Received: (at submit) by debbugs.gnu.org; 10 Feb 2021 13:06:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 10 08:06:39 2021
Received: from localhost ([127.0.0.1]:55708 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l9pCZ-0007qO-Cr
	for submit <at> 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 <raid5atemyhomework@HIDDEN>)
 id 1l9pCV-0007qF-OH
 for submit <at> 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 <raid5atemyhomework@HIDDEN>)
 id 1l9pCV-000729-JW
 for guix-patches@HIDDEN; 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 <raid5atemyhomework@HIDDEN>)
 id 1l9pCP-0001US-5Y
 for guix-patches@HIDDEN; 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@HIDDEN" <guix-patches@HIDDEN>
From: raid5atemyhomework <raid5atemyhomework@HIDDEN>
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@HIDDEN; 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 <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>
Reply-To: raid5atemyhomework <raid5atemyhomework@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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 <raid5atemyhomework@HIDDEN>
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





Acknowledgement sent to raid5atemyhomework <raid5atemyhomework@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#46421; 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: Sun, 21 Feb 2021 12:30:02 UTC

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