mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: hplip-minimal: Disable networking.
* gnu/packages/cups.scm (hplip-minimal): Disable networking. [arguments] <#:configure-flags>: Add "--disable-network-build". The "lite build" of hplip is incompatible with the "network build", so disable the latter explicitly. [inputs]: Rephrase the inputs as a positive list and remove net-snmp, openssl, and avahi (inherited from hplip). Change-Id: I954b665fe5bdeae2a2fab79c1e2cbfa8ac01f58b Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
parent
8f6056faf5
commit
36d8ab1c7b
1 changed files with 13 additions and 6 deletions
|
@ -713,16 +713,23 @@ should only be used as part of the Guix cups-pk-helper service.")
|
||||||
;; Produce a "light build", meaning that only the printer (CUPS) and
|
;; Produce a "light build", meaning that only the printer (CUPS) and
|
||||||
;; scanner (SANE) support gets built, without all the 'hp-*'
|
;; scanner (SANE) support gets built, without all the 'hp-*'
|
||||||
;; command-line tools.
|
;; command-line tools.
|
||||||
#~(cons "--enable-lite-build"
|
#~(cons* "--enable-lite-build"
|
||||||
(delete "--enable-qt5" #$cf)))
|
"--disable-network-build"
|
||||||
|
;; The flag "--enable-lite-build" is incompatible with
|
||||||
|
;; "--enable-network-build" inherited from hplip, so we need
|
||||||
|
;; to override it with "--disable-network-build".
|
||||||
|
(delete "--enable-qt5" #$cf)))
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
;; The 'wrap-binaries' is not needed here since the 'hp-*' programs
|
;; The 'wrap-binaries' is not needed here since the 'hp-*' programs
|
||||||
;; are not installed.
|
;; are not installed.
|
||||||
#~(alist-delete 'wrap-binaries #$phases))))
|
#~(alist-delete 'wrap-binaries #$phases))))
|
||||||
(inputs (remove (match-lambda
|
(inputs
|
||||||
((label . _)
|
(list cups-minimal
|
||||||
(string-prefix? "python" label)))
|
dbus
|
||||||
(package-inputs hplip)))
|
libjpeg-turbo
|
||||||
|
libusb
|
||||||
|
sane-backends-minimal
|
||||||
|
zlib))
|
||||||
(synopsis "GUI-less version of hplip")))
|
(synopsis "GUI-less version of hplip")))
|
||||||
|
|
||||||
(define-public foomatic-filters
|
(define-public foomatic-filters
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue