hplip: bump to 3.19.12
authorLuiz Angelo Daros de Luca <redacted>
Thu, 19 Dec 2019 05:38:07 +0000 (02:38 -0300)
committerLuiz Angelo Daros de Luca <redacted>
Sat, 21 Dec 2019 23:44:06 +0000 (20:44 -0300)
Signed-off-by: Luiz Angelo Daros de Luca <redacted>
utils/hplip/Makefile
utils/hplip/patches/010-libusb_fix.patch
utils/hplip/patches/020-remove_cups_dep_on_scan.patch

index 842eb7b352ecae78346e15521c381cb9fc735f1a..0ed0e57ce04dc5755912226355f375a6a841c09e 100644 (file)
@@ -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 <luizluca@gmail.com>
 PKG_LICENSE:=GPL-2.0 GPL-2.0-or-later
index 05ba40060fa30b9c7a2178eb90ffc8a207ffc288..3862aec976ea2fdfc47993d1b35f59528f127810 100644 (file)
@@ -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)])
index 3951e3bd23ebd3835c20ecb00a207de908868cdc..c3aba2a2f82120345e12485ecc9ae6ac0a63447a 100644 (file)
@@ -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;
  }
  
      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<cnt; i++)
 -          SendScanEvent("hpaio:/net/HP_Scan_Devices?ip=1.1.1.1", EVENT_ERROR_NO_PROBED_DEVICES_FOUND);
 -        }
 -    }
--
  bugout:
     return total;
- }
git clone https://git.99rst.org/PROJECT