Re: [sane-devel] Fix PPA build

2017-05-09 Thread Rolf Bensch
Hi James,

Am 08.05.2017 um 22:22 schrieb James Duvall:
> Rolf,
> 
> Thanks for getting your ppa back up and running.  However, I am not able
> to install the libsane package using apt, even when I try to force the
> version.  I believe that your new version numbering with ~ is causing
> the problem.
> 
> ver=1.0.26~ppa20170508-yakkety0; sudo apt-get install libsane=$ver
> libsane-common=$versane-utils=$ver
> 

I used synaptic for Trusty and it's working.

You can use an alternative more complex procedure to get the updates
from my ppa:

(1) search for installed SANE packages:
$ dpkg -l *sane*

(2) purge all SANE packages with the version '1.0.26[-+]ppa{date}
*without* removing dependent packages:
$ sudo dpkg --force-all -P libsane libsane-common sane-utils [other
installed packages]

(3) reinstall SANE:
$ apt-get -f install

(4) reinstall all other removed packages, e.g.:
$ sudo apt-get install libsane-dev

> Apt complains that
> 
> The following packages have unmet dependencies:
>  libsane : Breaks: libsane-common (< 1.0.26)
>Breaks: libsane-common:i386 (< 1.0.26)
> E: Unable to correct problems, you have held broken packages.
> 
> I think the issue is that version 1.0.26~ppa20170508-yakkety0 compares
> less than 1.0.26 due to special rules for handling ~ in version
> numbers.  The following shows this:
> 
> dpkg --compare-versions 1.0.26~ppa20170508-yakkety0 lt 1.0.26 && echo true
> true
> 

This is correct. SANE 1.0.26 isn't released yet.
Inspired from your comment I renamed the version in my ppa to
'1.0.26~pre{date}'. This makes it more transparent that this is a
pre-release.

> I created a local repository and re-packaged as version
> 1.0.26+ppa20170508-yakkety0 and was able to install with no problems, so
> maybe change the ~ for + or some other separator?  I am not experienced
> with debian package management, so please disregard if I am missing
> something.
> 

Then you'll get the next update after we started the development of SANE
version 1.0.27, then AKA version 1.0.27~pre{date} from my ppa repository

Many thanks for your report.

Hope this helps.

Cheers,
Rolf

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


[sane-devel] [PATCH] pieusb: doc-fix

2017-05-09 Thread Klaus Kaempf
* Olaf Meeuwissen  [May 04. 2017 12:03]:
> 
> Thanks for the patch, it looks good so I'll push it but shouldn't you
> list the ProScan 10T and Reflecta CrystalScan 3600 as supported to at
> least some extent in doc/descriptions/pieusb.desc now?
> 
> Waiting for your doc-fix ;-)

Attached ;-)

Thanks,

Klaus
-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 
(AG Nürnberg)
>From ed8e04f3a529b80c850b7b74541372ed9b876994 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= 
Date: Tue, 9 May 2017 10:52:12 +0200
Subject: [PATCH] Update pieusb.conf and pieusb.desc

---
 backend/pieusb.conf.in   |  4 +++-
 doc/descriptions/pieusb.desc | 27 ++-
 2 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/backend/pieusb.conf.in b/backend/pieusb.conf.in
index 1bee8e2d5895..8904d3d94989 100644
--- a/backend/pieusb.conf.in
+++ b/backend/pieusb.conf.in
@@ -5,7 +5,7 @@
 # usb
 #
 # Autodetect (built-in)
-# Reflecta 6000 Multiple Slide Scanner
+# Reflecta DigitDia 6000 Multiple Slide Scanner
 # usb 0x05e3 0x0142 0x3a 0x01
 # Reflecta CrystalScan 7200
 # usb 0x05e3 0x0145 0x30 0x00
@@ -16,3 +16,5 @@
 usb 0x05e3 0x0145 0x47 0x00
 # Reflecta CrystalScan 3600
 usb 0x05e3 0x0145 0x2e 0x00
+# Reflecta DigitDia 4000
+usb 0x05e3 0x0142 0x2f 0x00
diff --git a/doc/descriptions/pieusb.desc b/doc/descriptions/pieusb.desc
index ab2f851d1749..c0d17a9e9290 100644
--- a/doc/descriptions/pieusb.desc
+++ b/doc/descriptions/pieusb.desc
@@ -24,33 +24,47 @@
 
 :model "PowerSlide 3600"
 :interface "USB"
+:usbid "0x05e3" "0x0142"
 :status :untested
 :comment "Identical to Reflecta DigitDia 3600"
 
 :model "PowerSlide 3650"
 :interface "USB"
-:status :untested
+:usbid "0x05e3" "0x0142"
+:status :basic
 :comment "Identical to Reflecta DigitDia 4000"
 
 :model "PowerSlide 4000"
 :interface "USB"
-:status :untested
+:usbid "0x05e3" "0x0142"
+:status :basic
 :comment "Identical to Reflecta DigitDia 5000"
 
 :model "PowerSlide 5000"
 :interface "USB"
-:status :untested
+:usbid "0x05e3" "0x0142"
+:status :basic
 :comment "Identical to Reflecta DigitDia 6000"
 
 :mfg "Reflecta"
 :url "https://reflecta.de;
 
-:model "Reflecta ProScan 7200"
+:model "Reflecta ProScan 10T"
 :interface "USB"
 :usbid "0x05e3" "0x0145"
 :status :basic
+
+:model "Reflecta ProScan 7200"
+:interface "USB"
+:usbid "0x05e3" "0x0145"
+:status :good
 :comment "Similar to PrimeFilm 7250 scanner from Pacific Image Electronics"
 
+:model "CrystalScan 3600"
+:interface "USB"
+:usbid 0x05e3 0x0145
+:status :basic
+
 :model "CrystalScan 7200"
 :interface "USB"
 :status :untested
@@ -63,16 +77,19 @@
 
 :model "DigitDia 3600"
 :interface "USB"
+:usbid "0x05e3" "0x0142"
 :status :untested
 :comment "Identical to Pacific Image Electronics PowerSlide 3600 scanner"
 
 :model "DigitDia 4000"
 :interface "USB"
-:status :untested
+:usbid "0x05e3" "0x0142"
+:status :basic
 :comment "Identical to Pacific Image Electronics PowerSlide 3650 scanner"
 
 :model "DigitDia 5000"
 :interface "USB"
+:usbid "0x05e3" "0x0142"
 :status :untested
 :comment "Identical to Pacific Image Electronics PowerSlide 4000 scanner"
 
-- 
2.12.2

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org