From 9c901e1bd10ee4d6a58e1e2cdd1c297483caf99e Mon Sep 17 00:00:00 2001 From: Luiz Angelo Daros de Luca Date: Thu, 19 Dec 2019 02:38:07 -0300 Subject: [PATCH] hplip: bump to 3.19.12 Signed-off-by: Luiz Angelo Daros de Luca --- utils/hplip/Makefile | 6 +++--- utils/hplip/patches/010-libusb_fix.patch | 2 +- utils/hplip/patches/020-remove_cups_dep_on_scan.patch | 11 +++++------ 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/utils/hplip/Makefile b/utils/hplip/Makefile index 842eb7b35..0ed0e57ce 100644 --- a/utils/hplip/Makefile +++ b/utils/hplip/Makefile @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hplip -PKG_VERSION:=3.19.6 -PKG_RELEASE:=2 +PKG_VERSION:=3.19.12 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/hplip -PKG_HASH:=fcdaedee9ed17d2e70f3aff9558a452d99443d1b93d6623132faf3f3ae61d66d +PKG_HASH:=b7f398502fb659e0de8e54976237e3c6a64fec0b3c36054a515876f7b006b255 PKG_MAINTAINER:=Luiz Angelo Daros de Luca PKG_LICENSE:=GPL-2.0 GPL-2.0-or-later diff --git a/utils/hplip/patches/010-libusb_fix.patch b/utils/hplip/patches/010-libusb_fix.patch index 05ba40060..3862aec97 100644 --- a/utils/hplip/patches/010-libusb_fix.patch +++ b/utils/hplip/patches/010-libusb_fix.patch @@ -1,6 +1,6 @@ --- a/configure.in +++ b/configure.in -@@ -598,6 +598,10 @@ if test "$class_driver" = "no" && test "$hpijs_only_build" = "no" && test "$hpcu +@@ -601,6 +601,10 @@ if test "$class_driver" = "no" && test " else AC_CHECK_LIB([usb-1.0], [libusb_init], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libusb 1.0 support], 2)]) AC_CHECK_HEADERS(libusb-1.0/libusb.h, ,[AC_MSG_ERROR([cannot find libusb-1.0-devel support], 11)]) diff --git a/utils/hplip/patches/020-remove_cups_dep_on_scan.patch b/utils/hplip/patches/020-remove_cups_dep_on_scan.patch index 3951e3bd2..c3aba2a2f 100644 --- a/utils/hplip/patches/020-remove_cups_dep_on_scan.patch +++ b/utils/hplip/patches/020-remove_cups_dep_on_scan.patch @@ -19,7 +19,7 @@ #include "hpmud.h" #include "hp_ipp.h" #include "soap.h" -@@ -145,98 +144,6 @@ static int GetUriLine(char *buf, char *uri, char **tail) +@@ -145,98 +144,6 @@ static int GetUriLine(char *buf, char *u return i; } @@ -126,13 +126,13 @@ char* token = NULL; enum HPMUD_RESULT stat; -@@ -304,34 +210,6 @@ static int DevDiscovery(int localOnly) +@@ -304,33 +210,6 @@ static int DevDiscovery(int localOnly) total += AddDevice(uri); } - + memset(message, 0, sizeof(message)); - /* Look for Network Scan devices if localonly flag if FALSE. */ - if (!localOnly) -- { +- { - /* Look for all-in-one scan devices for which print queue created */ - cnt = GetCupsPrinters(&cups_printer); - for (i=0; i