]> git.pld-linux.org Git - packages/libinklevel.git/commitdiff
- updated to 0.9.5 master auto/th/libinklevel-0.9.5-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 25 Nov 2023 20:00:42 +0000 (21:00 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 25 Nov 2023 20:00:42 +0000 (21:00 +0100)
libinklevel-parport.patch
libinklevel.spec

index 2cdd8ceef8319627876fd56219ff9907fb7618f5..9806134579be40071233184e600f0b528c46849d 100644 (file)
@@ -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;
    }
  }
index d7dc896411724317697859ddaee17b5ba84ca670..b34d772ba64aa72831451ed26023b171626dd8c9 100644 (file)
@@ -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
This page took 0.403401 seconds and 4 git commands to generate.