Your message dated Fri, 28 Mar 2008 22:03:37 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#472664: fixed in sane-backends 1.0.19-4
has caused the Debian Bug report #472664,
regarding libsane: hal property info.bus is deprecated
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
472664: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472664
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libsane
Version: 1.0.19-1
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch
With hal 0.5.11RC2, the hal property "info.bus" has been deprecated,
and thus the generated libsane FDI rules do not work any more.
Attached debdiff fixes this to use "info.subsystem".
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
diff -u sane-backends-1.0.19/debian/changelog
sane-backends-1.0.19/debian/changelog
--- sane-backends-1.0.19/debian/changelog
+++ sane-backends-1.0.19/debian/changelog
@@ -1,3 +1,12 @@
+sane-backends (1.0.19-1ubuntu3) hardy; urgency=low
+
+ * Add 25_deprecated_hal_keys.dpatch: Replace the deprecated
+ hal property "info.bus" with "info.subsystem" in the hal FDI generation
+ tool. This fixes scanners to work with current hal without using deprecated
+ keys. (LP: #205496)
+
+ -- Martin Pitt <[EMAIL PROTECTED]> Tue, 25 Mar 2008 16:56:42 +0100
+
sane-backends (1.0.19-1ubuntu2) hardy; urgency=low
* debian/control: Demote libsane-extras-dbg from Depends: to Suggests, too.
diff -u sane-backends-1.0.19/debian/patches/00list
sane-backends-1.0.19/debian/patches/00list
--- sane-backends-1.0.19/debian/patches/00list
+++ sane-backends-1.0.19/debian/patches/00list
@@ -7,2 +7,3 @@
24_sane-desc.c_debian_mods
+25_deprecated_hal_keys
only in patch2:
unchanged:
--- sane-backends-1.0.19.orig/debian/patches/25_deprecated_hal_keys.dpatch
+++ sane-backends-1.0.19/debian/patches/25_deprecated_hal_keys.dpatch
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 25_deprecated_hal_keys.dpatch by <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Hal property "info.bus" is deprecated with 0.5.11, use "info.subsystem".
+## DP: https://launchpad.net/bugs/205496
+
[EMAIL PROTECTED]@
+diff -urNad sane-backends-1.0.19~/tools/sane-desc.c
sane-backends-1.0.19/tools/sane-desc.c
+--- sane-backends-1.0.19~/tools/sane-desc.c 2007-07-29 20:39:54.000000000
+0200
++++ sane-backends-1.0.19/tools/sane-desc.c 2008-03-25 16:55:16.000000000
+0100
+@@ -3279,7 +3279,7 @@
+ printf ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
+ printf ("<deviceinfo version=\"0.2\">\n");
+ printf (" <device>\n");
+- printf (" <match key=\"info.bus\" string=\"usb\">\n");
++ printf (" <match key=\"info.subsystem\" string=\"usb\">\n");
+ while (usbid)
+ {
+ manufacturer_model_type * name = usbid->name;
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: sane-backends
Source-Version: 1.0.19-4
We believe that the bug you reported is fixed in the latest version of
sane-backends, which is due to be installed in the Debian FTP archive:
libsane-dbg_1.0.19-4_amd64.deb
to pool/main/s/sane-backends/libsane-dbg_1.0.19-4_amd64.deb
libsane-dev_1.0.19-4_amd64.deb
to pool/main/s/sane-backends/libsane-dev_1.0.19-4_amd64.deb
libsane_1.0.19-4_amd64.deb
to pool/main/s/sane-backends/libsane_1.0.19-4_amd64.deb
sane-backends_1.0.19-4.diff.gz
to pool/main/s/sane-backends/sane-backends_1.0.19-4.diff.gz
sane-backends_1.0.19-4.dsc
to pool/main/s/sane-backends/sane-backends_1.0.19-4.dsc
sane-utils_1.0.19-4_amd64.deb
to pool/main/s/sane-backends/sane-utils_1.0.19-4_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julien BLACHE <[EMAIL PROTECTED]> (supplier of updated sane-backends package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 28 Mar 2008 22:39:17 +0100
Source: sane-backends
Binary: sane-utils libsane libsane-dev libsane-dbg
Architecture: source amd64
Version: 1.0.19-4
Distribution: unstable
Urgency: low
Maintainer: Julien BLACHE <[EMAIL PROTECTED]>
Changed-By: Julien BLACHE <[EMAIL PROTECTED]>
Description:
libsane - API library for scanners
libsane-dbg - API development library for scanners [debug symbols]
libsane-dev - API development library for scanners [development files]
sane-utils - API library for scanners -- utilities
Closes: 472664 472819
Changes:
sane-backends (1.0.19-4) unstable; urgency=low
.
* debian/patches/03_snapscan_usb_ftok_fix.dpatch:
+ Updated; improve the patch by falling back to ftok() for non-libusb
devices.
* debian/patches/04_sane-desc_hal_new.dpatch:
+ Added; add support for newer HAL versions.
* debian/patches/05_hp_timing_fix.dpatch:
+ Added; fix timing issue with HP scanners (closes: #472819).
* debian/patches/06_sanei_scsi_attach_fix.dpatch:
+ Added; from CVS, continue to iterate over the list of devices even
if an attempt to attach one of the devices fails.
* debian/rules:
+ Generate HAL FDI file for newer HAL versions (closes: #472664).
* debian/libsane-dev.doc-base:
+ Fix doc-base section.
Files:
c71068df7d16648154cf062006968747 948 graphics optional
sane-backends_1.0.19-4.dsc
ba3b77b0963767ea08b128af246d8b4d 41998 graphics optional
sane-backends_1.0.19-4.diff.gz
5ce21c5e36fed4a7f84050e3d8fdab0e 133684 graphics optional
sane-utils_1.0.19-4_amd64.deb
2379188770843d5fbde46907a6ebbc8c 3620392 libs optional
libsane_1.0.19-4_amd64.deb
f2614bbe74ea21a4ca177d5e490c7912 3111866 libdevel optional
libsane-dev_1.0.19-4_amd64.deb
3e0008e38188fcc4d93fef7e315b8c1c 3570596 libdevel extra
libsane-dbg_1.0.19-4_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH7WhjzWFP1/XWUWkRAk3tAJ9dwNTFUeYtSeArK/O4L1Qrvy0znACeI+Mp
vKHvAw4cgOsdQpBhZidpWqo=
=Jbjn
-----END PGP SIGNATURE-----
--- End Message ---