[packages/libinklevel] - updated to 0.9.5

qboosh qboosh at pld-linux.org
Sat Nov 25 21:13:33 CET 2023


commit d479168d08c958c4ac65c64855b45de2c453eacd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 25 21:00:42 2023 +0100

    - updated to 0.9.5

 libinklevel-parport.patch |  9 ++++-----
 libinklevel.spec          | 17 +++++++++--------
 2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/libinklevel.spec b/libinklevel.spec
index d7dc896..b34d772 100644
--- a/libinklevel.spec
+++ b/libinklevel.spec
@@ -5,35 +5,36 @@
 Summary:	Library for checking ink level of a printer
 Summary(pl.UTF-8):	Biblioteka do sprawdzania poziomu atramentu drukarki
 Name:		libinklevel
-Version:	0.9.3
+Version:	0.9.5
 Release:	1
 License:	GPL v2
 Group:		Libraries
-Source0:	http://downloads.sourceforge.net/libinklevel/%{name}-%{version}.tar.gz
-# Source0-md5:	572eda08cc561414673fd798b6c7bc2a
+Source0:	https://downloads.sourceforge.net/libinklevel/%{name}-%{version}.tar.gz
+# Source0-md5:	d08678cdc060fcc0e7c65b3645d03821
 Patch0:		%{name}-parport.patch
-URL:		http://libinklevel.sourceforge.net/
+URL:		https://libinklevel.sourceforge.net/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 %{?with_parport:BuildRequires:	libieee1284-devel}
 BuildRequires:	libtool
-BuildRequires:	libusb-devel >= 1.0.17
+BuildRequires:	libusb-devel >= 1.0.22
+BuildRequires:	libxml2-devel >= 2.0
 BuildRequires:	pkgconfig >= 1:0.26
-Requires:	libusb >= 1.0.17
+Requires:	libusb >= 1.0.22
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Libinklevel is a library for checking the ink level of printer. It
 supports printers attached via parallel port or USB.
 Supported printers list can be found here:
-http://libinklevel.sourceforge.net/index.html#supported
+https://libinklevel.sourceforge.net/index.html#supported
 
 %description -l pl.UTF-8
 Libinklevel jest biblioteką wykorzystywaną do sprawdzania poziomu
 atramentu w drukarce. Wspierane są drukarki podłączone za
 pośrednictwem portu równoległego oraz USB.
 Listę aktualnie obsługiwanych drukarek można znaleźć tutaj:
-http://libinklevel.sourceforge.net/index.html#supported
+https://libinklevel.sourceforge.net/index.html#supported
 
 %package devel
 Summary:	Header file for libinklevel
diff --git a/libinklevel-parport.patch b/libinklevel-parport.patch
index 2cdd8ce..9806134 100644
--- a/libinklevel-parport.patch
+++ b/libinklevel-parport.patch
@@ -20,9 +20,8 @@ diff -Nur libinklevel-0.9.3.orig/configure.ac libinklevel-0.9.3/configure.ac
  	      ## check for pkgconfig
  	      PKG_PROG_PKG_CONFIG([0.26])
  
-diff -Nur libinklevel-0.9.3.orig/devices.c libinklevel-0.9.3/devices.c
---- libinklevel-0.9.3.orig/devices.c	2018-07-07 21:39:26.000000000 +0200
-+++ libinklevel-0.9.3/devices.c	2018-08-31 21:05:47.711842557 +0200
+--- libinklevel-0.9.5/devices.c.orig	2022-05-28 22:18:42.000000000 +0200
++++ libinklevel-0.9.5/devices.c	2023-11-25 20:40:40.725233723 +0100
 @@ -21,11 +21,69 @@
  #include "devices.h"
  #include "bjnp.h"
@@ -91,9 +90,9 @@ diff -Nur libinklevel-0.9.3.orig/devices.c libinklevel-0.9.3/devices.c
 +
 +  } else
    if (port == USB) {
-     libusb_context *ctx = NULL;
      usb_printer *printer = NULL;
-@@ -62,3 +120,50 @@
+ 
+@@ -61,3 +119,50 @@ int get_device_id(const int port, const
      return UNKNOWN_PORT_SPECIFIED;
    }
  }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libinklevel.git/commitdiff/d479168d08c958c4ac65c64855b45de2c453eacd



More information about the pld-cvs-commit mailing list