gnu: CUPS: Update to 2.3.0.

* gnu/packages/cups.scm (cups-minimal): Update to 2.3.0.
[arguments]: Adjust for renamed test file.
[license]: Change to ASL2.0.
This commit is contained in:
Marius Bakke 2019-10-09 12:55:52 +02:00
parent 1e429a8263
commit 5ba3ea4211
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -187,7 +187,7 @@ (define-public cups-filters
(define-public cups-minimal
(package
(name "cups-minimal")
(version "2.2.11")
(version "2.3.0")
(source
(origin
(method url-fetch)
@ -195,7 +195,7 @@ (define-public cups-minimal
version "/cups-" version "-source.tar.gz"))
(sha256
(base32
"0v5p10lyv8wv48s8ghkhjmdrxg6iwj8hn36v1ilkz46n7y0i107m"))))
"19d1jpdpxy0fclq37pchi7ldnw9dssxx3zskcgqai3h0rwlh5bxc"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
@ -225,7 +225,7 @@ (define-public cups-minimal
#t)))
(add-before 'build 'patch-tests
(lambda _
(substitute* "test/ippserver.c"
(substitute* "tools/ippeveprinter.c"
(("# else /\\* HAVE_AVAHI \\*/")
"#elif defined(HAVE_AVAHI)"))
#t)))))
@ -245,7 +245,8 @@ (define-public cups-minimal
Internally, CUPS uses PostScript Printer Description (@dfn{PPD}) files to
describe printer capabilities and features, and a wide variety of generic and
device-specific programs to convert and print many types of files.")
(license license:gpl2)))
;; CUPS is Apache 2.0 with exceptions, see the NOTICE file.
(license license:asl2.0)))
(define-public cups
(package (inherit cups-minimal)