gnu: hplip: Update to 3.18.9.

* gnu/packages/cups.scm (hplip): Update to 3.18.9.
[arguments]: Add the resulting libraries to the build's RUNPATH.
master
Tobias Geerinckx-Rice 2018-10-26 01:49:37 +02:00
parent 2fba511e0f
commit b17004f9f9
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 2 deletions

View File

@ -396,14 +396,14 @@ device-specific programs to convert and print many types of files.")
(define-public hplip (define-public hplip
(package (package
(name "hplip") (name "hplip")
(version "3.18.6") (version "3.18.9")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://sourceforge/hplip/hplip/" version (uri (string-append "mirror://sourceforge/hplip/hplip/" version
"/hplip-" version ".tar.gz")) "/hplip-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0zbv6cp9n3xypf2fg4j6fpz8zkvl0z08lyc1vq1gd04ln1l3xkqf")) "0g3q5mm2crjyc1z4z6gv4lam6sc5d3diz704djrnpqadk4q3h290"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Fix type mismatch. ;; Fix type mismatch.
@ -428,6 +428,8 @@ device-specific programs to convert and print many types of files.")
`("--disable-network-build" `("--disable-network-build"
,(string-append "--prefix=" (assoc-ref %outputs "out")) ,(string-append "--prefix=" (assoc-ref %outputs "out"))
,(string-append "--sysconfdir=" (assoc-ref %outputs "out") "/etc") ,(string-append "--sysconfdir=" (assoc-ref %outputs "out") "/etc")
,(string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib")
;; Disable until mime.types merging works (FIXME). ;; Disable until mime.types merging works (FIXME).
"--disable-fax-build" "--disable-fax-build"
"--enable-hpcups-install" "--enable-hpcups-install"