[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using cups
From: |
Danny Milosavljevic |
Subject: |
Re: Using cups |
Date: |
Tue, 15 Mar 2016 21:05:12 +0100 |
Hi,
On Sun, 13 Mar 2016 23:10:02 +0100
address@hidden (Ludovic Courtès) wrote:
> There’s currently no CUPS service for GuixSD—i.e., nothing you could
> directly add to the ‘services’ field of your ‘operating-system’
> configuration.
>
> If you would like to contribute one such service, that’d be welcome!
> The relevant documentation starts at:
>
> http://www.gnu.org/software/guix/manual/html_node/Defining-Services.html
Thanks.
I'm trying to get cups to work at all right now...
Currently, I found it needs (mostly to write) the following directories and
regular files:
----------
(goes into /etc/cups/cups-files.conf)
DataDir /gnu/store/1h53jmsx7gm7b2sfk0h0k6bgmp8fhv0i-cups-2.1.0/share/cups #
read-only
DocumentRoot
/gnu/store/1h53jmsx7gm7b2sfk0h0k6bgmp8fhv0i-cups-2.1.0/share/doc/cups #
read-only
CacheDir /var/cache/cups
StateDir /var/run/cups
#FIXME FontPath /zzz
Printcap /etc/printcap # written
RequestRoot /var/spool/cups # written
ServerBin /gnu/store/1h53jmsx7gm7b2sfk0h0k6bgmp8fhv0i-cups-2.1.0/lib/cups #
read-only
ServerRoot /etc/cups # ???
----------
It starts up with that.
What do we do with these file paths? Should I hard-code the /var paths? Should
we ship the cups-files.conf as above in /gnu/store (there's one currently in
/gnu/store, but it also specifies SystemGroup "lpadmin sys system root" and so
cupsd startup fails - I tried removing it, then it starts up).
For the USB printer, there's /dev/usb/lp0 with group "lp". So when I specify
"Group lp" in the cups-files.conf it finds it. There's no PPD for my HP printer
so I guess I'll package hplip next. Hplip has weird binary blobs for some
stuff. Should we scrape them out?
- Using cups, Danny Milosavljevic, 2016/03/12
- Re: Using cups, Ludovic Courtès, 2016/03/13
- Re: Using cups,
Danny Milosavljevic <=
- hplip package (work in progress), Danny Milosavljevic, 2016/03/15
- Re: hplip package (work in progress), Andy Wingo, 2016/03/16
- Re: hplip package (work in progress), Andy Wingo, 2016/03/16
- Re: hplip package (work in progress), Danny Milosavljevic, 2016/03/19
- [PATCH v2] Add hplip, Danny Milosavljevic, 2016/03/21
- Re: [PATCH v2] Add hplip, Andy Wingo, 2016/03/22
- [PATCH v3] Add hplip, Danny Milosavljevic, 2016/03/22
- Re: [PATCH v3] Add hplip, Andy Wingo, 2016/03/22
- [PATCH v4] Add hplip, Danny Milosavljevic, 2016/03/22
- cups-service, Danny Milosavljevic, 2016/03/22