3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: hplip: Update to 3.20.11.

* gnu/packages/cups.scm (hplip): Update to 3.20.11.
[source]: Remove upstreamed patch.
* gnu/packages/patches/hplip-fix-bug-1898438.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
This commit is contained in:
Tobias Geerinckx-Rice 2020-12-06 23:50:00 +01:00
parent a79e05f9e8
commit ac50633c15
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79
3 changed files with 3 additions and 24 deletions

View file

@ -1159,7 +1159,6 @@ dist_patch_DATA = \
%D%/packages/patches/hubbub-sort-entities.patch \
%D%/packages/patches/hurd-cross.patch \
%D%/packages/patches/hurd-xattr.patch \
%D%/packages/patches/hplip-fix-bug-1898438.patch \
%D%/packages/patches/hplip-remove-imageprocessor.patch \
%D%/packages/patches/hydra-disable-darcs-test.patch \
%D%/packages/patches/icecat-makeicecat.patch \

View file

@ -415,17 +415,16 @@ should only be used as part of the Guix cups-pk-helper service.")
(define-public hplip
(package
(name "hplip")
(version "3.20.9")
(version "3.20.11")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/hplip/hplip/" version
"/hplip-" version ".tar.gz"))
(sha256
(base32
"1prdbp410405xrfggjc7y34nzljg7jnbgjzalgv4khwwma4i299n"))
"04fvdyjyjbkviy3awgm7g43p3lrvrsmgaqz8bwra22g7v2rpa5hb"))
(modules '((guix build utils)))
(patches (search-patches "hplip-fix-bug-1898438.patch"
"hplip-remove-imageprocessor.patch"))
(patches (search-patches "hplip-remove-imageprocessor.patch"))
(snippet
'(begin
;; Delete non-free blobs: .so files, pre-compiled

View file

@ -1,19 +0,0 @@
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Sun, 04 Oct 2020 13:28:49 +0200
Subject: [PATCH] gnu: hplip: Fix non-network builds (bug #1898438)
Reported as <https://bugs.launchpad.net/hplip/+bug/1898438>.
diff -Naur a/scan/sane/hpaio.c b/scan/sane/hpaio.c
--- a/scan/sane/hpaio.c 1970-01-01 01:00:01.000000000 +0100
+++ b/scan/sane/hpaio.c 2020-10-04 13:26:34.665244052 +0200
@@ -36,7 +36,9 @@
#include <string.h>
#include <cups/cups.h>
#include "hpmud.h"
+#ifdef HAVE_LIBNETSNMP
#include "avahiDiscovery.h"
+#endif
#include "hp_ipp.h"
#include "soap.h"
#include "soapht.h"