From unknown Fri Jun 13 10:56:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41391: sane-service-type does not support extra scanner backends? Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 19 May 2020 06:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41391 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41391@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15898692599085 (code B ref -1); Tue, 19 May 2020 06:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 May 2020 06:20:59 +0000 Received: from localhost ([127.0.0.1]:49002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1javcZ-0002MS-AN for submit@debbugs.gnu.org; Tue, 19 May 2020 02:20:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:49188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1javcX-0002MK-5L for submit@debbugs.gnu.org; Tue, 19 May 2020 02:20:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1javcW-000272-Vu for bug-guix@gnu.org; Tue, 19 May 2020 02:20:57 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:48925) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1javcW-0003QB-4r for bug-guix@gnu.org; Tue, 19 May 2020 02:20:56 -0400 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id AAFE3100006 for ; Tue, 19 May 2020 06:20:53 +0000 (UTC) From: Pierre Neidhardt Date: Tue, 19 May 2020 08:20:52 +0200 Message-ID: <87y2poigxn.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.178.231; envelope-from=mail@ambrevar.xyz; helo=relay11.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/19 01:32:00 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.9 (/) 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.1 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable sane-service-type seems to only support the minimal backends package: =2D-8<---------------cut here---------------start------------->8--- (define sane-service-type (service-type (name 'sane) (description "This service provides access to scanners @i{via} @uref{http://www.sane-project.org, SANE} by installing the necessary udev rules.") (default-value sane-backends-minimal) (extensions (list (service-extension udev-service-type list) (service-extension account-service-type (const %sane-accounts)))))) =2D-8<---------------cut here---------------end--------------->8--- The value of the service is a single package, not a list of packages. So how does one add support for other scanner? I believe another reason why our current sane service would not work for extra backends is because we need to populate etc/sane.d/dll.conf with the new backends. Or maybe etc/sane.d/dll.d/. To be confirmed. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl7DesQACgkQm9z0l6S7 zH9pXQf+O3AwfQAMBS0P7thC6IoF32R0IDRGzYbHpXiQ/B0klyQOK8HwKGZqIxtB d03Iw+nD632aCMhlgCpTaunACwbx76ZIJjY6nmQDtuywwEOd1+Ac2TAmWO8MHZWd Pk9j6Yed3ckRPEG5GDz2Crav8TkYrz1rUbA19aBe2mf4hCQYsNcmfUwmBDTexKMF QBgaaVHPRxVqrYYiihcRDMcxab0YRSuVKj7dSeN1lYTL5JRB6mHJ1wCwFeDly2wu 69MxabHfsXClbNMKM+rPg5jxrp2ZmjjjN6AfXvBSi0RMbgQb+H0NWYAK2igawfPu d3skSCk2gDSrUAhnWSOeklqepozXCA== =mrg4 -----END PGP SIGNATURE----- --=-=-=--