hplip: bump to 3.21.2
Patches refreshed:
* 010-libusb_fix.patch
* 020-remove_cups_dep_on_scan.patch
* 060-fix-uclibc.patch renamed to 060-fix-glibc.patch
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
(cherry picked from commit 2014f1fd0b
)
This commit is contained in:
parent
d3a0084f48
commit
826f9965be
4 changed files with 13 additions and 19 deletions
|
@ -1,7 +1,4 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2006-2011 OpenWrt.org
|
|
||||||
# Copyright (C) 2017-2018 Luiz Angelo Daros de Luca <luizluca@gmail.com>
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
@ -9,12 +6,12 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=hplip
|
PKG_NAME:=hplip
|
||||||
PKG_VERSION:=3.20.9
|
PKG_VERSION:=3.21.2
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/hplip
|
PKG_SOURCE_URL:=@SF/hplip
|
||||||
PKG_HASH:=36251189aa9cc349f6a3eacbb7ac3c4fd26fc9f087c9f75cee051010c85d2ddf
|
PKG_HASH:=410421a13e62205d41bacd3215993c89e513fb4d7fab07e23e2720465aea7c41
|
||||||
|
|
||||||
PKG_MAINTAINER:=Luiz Angelo Daros de Luca <luizluca@gmail.com>
|
PKG_MAINTAINER:=Luiz Angelo Daros de Luca <luizluca@gmail.com>
|
||||||
PKG_LICENSE:=GPL-2.0 GPL-2.0-or-later
|
PKG_LICENSE:=GPL-2.0 GPL-2.0-or-later
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
# ui (qt3)
|
# ui (qt3)
|
||||||
--- a/configure.in
|
--- a/configure.in
|
||||||
+++ b/configure.in
|
+++ b/configure.in
|
||||||
@@ -601,6 +601,10 @@ if test "$class_driver" = "no" && test "
|
@@ -611,6 +611,10 @@ if test "$class_driver" = "no" && test "
|
||||||
else
|
else
|
||||||
AC_CHECK_LIB([usb-1.0], [libusb_init], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libusb 1.0 support], 2)])
|
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)])
|
AC_CHECK_HEADERS(libusb-1.0/libusb.h, ,[AC_MSG_ERROR([cannot find libusb-1.0-devel support], 11)])
|
||||||
|
|
|
@ -11,17 +11,15 @@
|
||||||
|
|
||||||
--- a/scan/sane/hpaio.c
|
--- a/scan/sane/hpaio.c
|
||||||
+++ b/scan/sane/hpaio.c
|
+++ b/scan/sane/hpaio.c
|
||||||
@@ -34,9 +34,7 @@
|
@@ -34,7 +34,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
-#include <cups/cups.h>
|
-#include <cups/cups.h>
|
||||||
#include "hpmud.h"
|
#include "hpmud.h"
|
||||||
-#include "avahiDiscovery.h"
|
|
||||||
#include "hp_ipp.h"
|
#ifdef HAVE_LIBAVAHI
|
||||||
#include "soap.h"
|
@@ -150,98 +149,6 @@ static int GetUriLine(char *buf, char *u
|
||||||
#include "soapht.h"
|
|
||||||
@@ -146,98 +144,6 @@ static int GetUriLine(char *buf, char *u
|
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -120,7 +118,7 @@
|
||||||
static int AddDevice(char *uri)
|
static int AddDevice(char *uri)
|
||||||
{
|
{
|
||||||
struct hpmud_model_attributes ma;
|
struct hpmud_model_attributes ma;
|
||||||
@@ -290,7 +196,6 @@ static int DevDiscovery(int localOnly)
|
@@ -294,7 +201,6 @@ static int DevDiscovery(int localOnly)
|
||||||
char uri[HPMUD_LINE_SIZE];
|
char uri[HPMUD_LINE_SIZE];
|
||||||
char *tail = message;
|
char *tail = message;
|
||||||
int i, scan_type, cnt=0, total=0, bytes_read;
|
int i, scan_type, cnt=0, total=0, bytes_read;
|
||||||
|
@ -128,10 +126,10 @@
|
||||||
char* token = NULL;
|
char* token = NULL;
|
||||||
enum HPMUD_RESULT stat;
|
enum HPMUD_RESULT stat;
|
||||||
|
|
||||||
@@ -305,39 +210,6 @@ static int DevDiscovery(int localOnly)
|
@@ -308,38 +214,6 @@ static int DevDiscovery(int localOnly)
|
||||||
|
GetUriLine(tail, uri, &tail);
|
||||||
total += AddDevice(uri);
|
total += AddDevice(uri);
|
||||||
}
|
}
|
||||||
//memset(message, 0, sizeof(message));
|
|
||||||
- /* Look for Network Scan devices if localonly flag if FALSE. */
|
- /* Look for Network Scan devices if localonly flag if FALSE. */
|
||||||
- if (!localOnly)
|
- if (!localOnly)
|
||||||
- {
|
- {
|
||||||
|
@ -144,9 +142,8 @@
|
||||||
- }
|
- }
|
||||||
- if (cups_printer)
|
- if (cups_printer)
|
||||||
- free(cups_printer);
|
- free(cups_printer);
|
||||||
-#ifdef HAVE_LIBNETSNMP
|
-#ifdef HAVE_LIBAVAHI
|
||||||
- /* Discover NW scanners using Bonjour*/
|
- /* Discover NW scanners using Bonjour*/
|
||||||
- //bytes_read = avahi_probe_nw_scanners();
|
|
||||||
- if( (avahi_probe_nw_scanners() == AVAHI_STATUS_OK) && (aUriBuf != NULL) )
|
- if( (avahi_probe_nw_scanners() == AVAHI_STATUS_OK) && (aUriBuf != NULL) )
|
||||||
- {
|
- {
|
||||||
- token = strtok(aUriBuf, ";");
|
- token = strtok(aUriBuf, ";");
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
Fix missing definition of uint64_t while compiling
|
Fix missing definition of uint64_t while compiling
|
||||||
under uclibc
|
under uclibc or glibc
|
||||||
|
|
||||||
https://bugs.launchpad.net/hplip/+bug/1826965
|
https://bugs.launchpad.net/hplip/+bug/1826965
|
||||||
|
|
Loading…
Reference in a new issue