Package: sane-backends Version: 1.0.22-7 Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu ubuntu-patch quantal
Hello, In https://launchpad.net/bugs/918774 it was reported that sane-backends still uses the long-obsolete and unmaintained libusb 0.1. SANE even supports the current libusb 1.0 upstream, it only needs to be built with it. I tested this with my Canon LiDE 30 USB scanner, and I confirm it works fine. Attached debdiff from "Whoopie" who sent this to the Launchpad bug. Thanks for considering, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
diff -Nru sane-backends-1.0.22/debian/changelog sane-backends-1.0.22/debian/changelog --- sane-backends-1.0.22/debian/changelog 2012-07-09 23:51:46.000000000 +0200 +++ sane-backends-1.0.22/debian/changelog 2012-09-10 09:40:18.000000000 +0200 @@ -1,3 +1,9 @@ +sane-backends (1.0.22-7ubuntu3) quantal; urgency=low + + * debian/control, debian/rules: Switch to libusb 1.0. (LP: #918774) + + -- Whoopie <whoopi...@gmx.net> Mon, 10 Sep 2012 09:40:11 +0200 + sane-backends (1.0.22-7ubuntu2) quantal; urgency=low * debian/control: diff -Nru sane-backends-1.0.22/debian/control sane-backends-1.0.22/debian/control --- sane-backends-1.0.22/debian/control 2012-07-09 23:30:59.000000000 +0200 +++ sane-backends-1.0.22/debian/control 2012-09-10 09:40:18.000000000 +0200 @@ -4,7 +4,7 @@ Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> XSBC-Original-Maintainer: Julien BLACHE <jbla...@debian.org> Standards-Version: 3.9.2 -Build-Depends: debhelper (>= 8.1.3), po-debconf, libv4l-dev [linux-any], libgphoto2-2-dev, libltdl3-dev, libjpeg-dev, libtiff5-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, libtiff5-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 Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/sane-backends/ubuntu @@ -77,7 +77,7 @@ Package: libsane-dev Section: libdevel Architecture: any -Depends: libsane (= ${binary:Version}), libjpeg-dev, libtiff5-dev, libusb-dev (>= 1:0.1.6a-1) [!hurd-i386], libieee1284-3-dev (>= 0.2.10-5) [!hurd-i386], libcam-dev [kfreebsd-any], libgphoto2-2-dev, libv4l-dev [linux-any], libavahi-client-dev, pkg-config, ${misc:Depends} +Depends: libsane (= ${binary:Version}), libjpeg-dev, libtiff5-dev, libusb-1.0-0-dev [!hurd-i386], libieee1284-3-dev (>= 0.2.10-5) [!hurd-i386], libcam-dev [kfreebsd-any], libgphoto2-2-dev, libv4l-dev [linux-any], libavahi-client-dev, pkg-config, ${misc:Depends} Suggests: libsane-extras-dev (>= 1.0.22.1) Replaces: libsane-extras-dev (<< 1.0.18.14) Description: API development library for scanners [development files] diff -Nru sane-backends-1.0.22/debian/rules sane-backends-1.0.22/debian/rules --- sane-backends-1.0.22/debian/rules 2011-12-05 05:02:54.000000000 +0100 +++ sane-backends-1.0.22/debian/rules 2012-09-10 09:40:18.000000000 +0200 @@ -55,7 +55,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)