Package: sane-backends
Version: 1.0.22-7.4
Severity: wishlist
Tags: patch

sane-backends is currently built against the libusb 0.1 library, which
is not maintained anymore upstream. It has been replaced by the libusb
1.0 library, which is supported by sane-backends, though it still
defaults to the 0.1 when available.

The patch below allows to use libusb 1.0. Would it be possible to
include it in the next upload? Thanks in advance.


diff -Nru sane-backends-1.0.22/debian/control 
sane-backends-1.0.22/debian/control
--- sane-backends-1.0.22/debian/control 2012-06-28 23:45:08.000000000 +0200
+++ sane-backends-1.0.22/debian/control 2013-06-28 13:44:24.000000000 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Julien BLACHE <[email protected]>
 Standards-Version: 3.9.2
-Build-Depends: debhelper (>= 8.1.3), po-debconf, libv4l-dev [linux-any], 
libgphoto2-2-dev, libltdl3-dev, libjpeg-dev, libtiff4-dev, libusb-dev (>= 
2:0.1.10a-9) [!hurd-i386], libieee1284-3-dev (>= 0.2.10-5) [!hurd-i386], 
libcam-dev [kfreebsd-any], libavahi-client-dev (>= 0.6.4), gettext, texlive, 
texlive-latex-extra, autotools-dev, pkg-config, chrpath, xutils-dev
+Build-Depends: debhelper (>= 8.1.3), po-debconf, libv4l-dev [linux-any], 
libgphoto2-2-dev, libltdl3-dev, libjpeg-dev, libtiff4-dev, libusb-1.0-0-dev 
[!hurd-i386], libieee1284-3-dev (>= 0.2.10-5) [!hurd-i386], libcam-dev 
[kfreebsd-any], libavahi-client-dev (>= 0.6.4), gettext, texlive, 
texlive-latex-extra, autotools-dev, pkg-config, chrpath, xutils-dev
 Homepage: http://www.sane-project.org
 
 Package: sane-utils
diff -Nru sane-backends-1.0.22/debian/rules sane-backends-1.0.22/debian/rules
--- sane-backends-1.0.22/debian/rules   2012-09-17 16:43:45.000000000 +0200
+++ sane-backends-1.0.22/debian/rules   2013-06-28 13:43:58.000000000 +0200
@@ -54,7 +54,8 @@
                --enable-pthread \
                --with-gphoto2 \
                --enable-translations \
-               --enable-avahi
+               --enable-avahi \
+               --enable-libusb_1_0
 
        # generate POT file for translators
        (cd po && make sane-backends.pot)

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to