GNU bug report logs - #41391
sane-service-type does not support extra scanner backends?

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Tue, 19 May 2020 06:21:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 41391 <at> debbugs.gnu.org
Subject: bug#41391: sane-service-type does not support extra scanner backends?
Date: Tue, 19 May 2020 08:20:52 +0200
[Message part 1 (text/plain, inline)]
sane-service-type seems to only support the minimal backends package:

--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))))))
--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.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 26 days ago.

Previous Next


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