Accepting request 20605 from home:jsmeix:branches:graphics
Copy from home:jsmeix:branches:graphics/sane-backends via accept of submit request 20605 revision 7. OBS-URL: https://build.opensuse.org/request/show/20605 OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=6
This commit is contained in:
parent
2ed97ec3e6
commit
e73483992d
@ -23,8 +23,8 @@ egrep '^\[|^model[1-9]*|^scan-type|^usb-pid' | sed -e 's/^\[\(.*\)\]$/class=\1/'
|
||||
|
||||
# Output header:
|
||||
echo ':backend "hpaio"'
|
||||
echo ':version "2.8.4"'
|
||||
echo ':url "http://hplip.sourceforge.net/"'
|
||||
echo ':version "3.9.8"'
|
||||
echo ':url "http://hplipopensource.com"'
|
||||
echo ':comment "This backend is not included in SANE because it is included in the HPLIP software."'
|
||||
echo ':devicetype :scanner'
|
||||
echo ':mfg "Hewlett-Packard"'
|
||||
@ -63,8 +63,19 @@ Output()
|
||||
for MODEL in $( echo $UNIFIEDMODELS )
|
||||
do MODEL=$( echo $MODEL | sed -e "s/_/ /g" )
|
||||
echo ":model \"$MODEL\""
|
||||
if echo "$ID" | grep '[1-9a-f]' | grep -q '[0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
|
||||
then echo ":usbid \"0x03f0\" \"0x$ID\""
|
||||
if echo "$ID" | grep -q '[1-9a-f]'
|
||||
then if echo "$ID" | grep -q '^[0-9a-f][0-9a-f][0-9a-f][0-9a-f]$'
|
||||
then echo ":usbid \"0x03f0\" \"0x$ID\""
|
||||
else if echo "$ID" | grep -q '^[0-9a-f][0-9a-f][0-9a-f]$'
|
||||
then echo ":usbid \"0x03f0\" \"0x0$ID\""
|
||||
else if echo "$ID" | grep -q '^[0-9a-f][0-9a-f]$'
|
||||
then echo ":usbid \"0x03f0\" \"0x00$ID\""
|
||||
else if echo "$ID" | grep -q '^[1-9a-f]$'
|
||||
then echo ":usbid \"0x03f0\" \"0x000$ID\""
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo ':status :good'
|
||||
echo
|
||||
|
61931
models.dat
61931
models.dat
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 18 12:53:45 CEST 2009 - jsmeix@suse.de
|
||||
|
||||
- Updated models.dat with the one in the HPLIP 3.9.8 sources and
|
||||
adapted create_hpaio.desc_from_models.dat accordingly so that
|
||||
it results a hpaio.desc scanner description file for SANE
|
||||
which matches to the sacnner models which are supported
|
||||
by our currently provided HPLIP version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 14:25:00 CEST 2009 - jsmeix@suse.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user