forked from pool/sane-backends
This commit is contained in:
commit
9e107d4e79
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
17
canon-backend-autoprobing.patch
Normal file
17
canon-backend-autoprobing.patch
Normal file
@ -0,0 +1,17 @@
|
||||
--- backend/canon.conf.in.save 2006-07-21 09:43:08.000000000 +0200
|
||||
+++ backend/canon.conf.in 2006-07-21 09:57:03.000000000 +0200
|
||||
@@ -1,3 +1,12 @@
|
||||
-#canon.conf
|
||||
-/dev/scanner
|
||||
+# canon.conf
|
||||
+#
|
||||
+# Activate exactly one of the following choices:
|
||||
+#
|
||||
+# Probe on all /dev/sg* devices:
|
||||
+scsi
|
||||
+#
|
||||
+# Probe for "CANON" on all /dev/sg* devices:
|
||||
+#scsi CANON
|
||||
+#
|
||||
+# Probe only on one fixed device:
|
||||
#/dev/sg0
|
84
create_hal_global_fdi_for_scanners
Normal file
84
create_hal_global_fdi_for_scanners
Normal file
@ -0,0 +1,84 @@
|
||||
#! /bin/bash
|
||||
#
|
||||
# Johannes Meixner <jsmeix@suse.de>, 2004, 2005, 2006
|
||||
|
||||
#set -x
|
||||
|
||||
export PATH="/sbin:/usr/sbin:/usr/bin:/bin"
|
||||
export LC_ALL="POSIX"
|
||||
export LANG="POSIX"
|
||||
umask 022
|
||||
|
||||
MY_NAME=${0##*/}
|
||||
|
||||
# Input:
|
||||
|
||||
# Create temporary files:
|
||||
TMP_DATA=$(mktemp -u /tmp/$MY_NAME.XXXXXX)
|
||||
TMP_DATA_UNIQUE=$(mktemp -u /tmp/$MY_NAME.XXXXXX)
|
||||
cat /dev/null >$TMP_DATA
|
||||
|
||||
# Function to extract USB entries from a description file with SANE syntax.
|
||||
Extract()
|
||||
{ grep -o '^[[:space:]]*:usbid[[:space:]]*"0x[0-9A-Fa-f]*"[[:space:]]*"0x[0-9A-Fa-f]*"' $1 | tr '[:upper:]' '[:lower:]' | sed -e 's/^[^"]*"\([^"]*\)"[[:space:]]*"\([^"]*\)"/\1 \2/'
|
||||
}
|
||||
|
||||
# Process the SANE description files:
|
||||
# At least the SANE description files must exist:
|
||||
DESCRIPTION_FILES="/usr/share/sane/descriptions/*.desc"
|
||||
ls $DESCRIPTION_FILES &>/dev/null || { echo "Error: Required SANE description files $DESCRIPTION_FILES not found." 1>&2 ; exit 3 ; }
|
||||
# Extract USB entries from SANE description files:
|
||||
for DESCRIPTION_FILE in $DESCRIPTION_FILES
|
||||
do Extract $DESCRIPTION_FILE
|
||||
done >>$TMP_DATA
|
||||
# Extract USB entries from optional SANE external description files:
|
||||
# In particular:
|
||||
# /usr/share/sane/descriptions-external/hpaio.desc when package hplip is installed
|
||||
# /usr/share/sane/descriptions-external/hpoj.desc when package hp-officeJet is installed
|
||||
# /usr/share/sane/descriptions-external/epkowa.desc when package iscan or iscan-free is installed
|
||||
DESCRIPTION_FILES="/usr/share/sane/descriptions-external/*.desc"
|
||||
for DESCRIPTION_FILE in $DESCRIPTION_FILES
|
||||
do Extract $DESCRIPTION_FILE
|
||||
done >>$TMP_DATA
|
||||
|
||||
# Remove duplicates:
|
||||
sort -u $TMP_DATA >$TMP_DATA_UNIQUE && mv -f $TMP_DATA_UNIQUE $TMP_DATA
|
||||
|
||||
# Output:
|
||||
|
||||
# Output header:
|
||||
echo '<?xml version="1.0" encoding="ISO-8859-1"?>'
|
||||
echo '<deviceinfo version="0.2">'
|
||||
echo ' <device>'
|
||||
echo
|
||||
|
||||
# Output generic SCSI scanner entry for those SCSI scanners which show up with scsi.type = scanner:
|
||||
echo ' <match key="info.category" string="scsi_generic">'
|
||||
echo ' <match key="@info.parent:scsi.type" string="scanner">'
|
||||
echo ' <append key="info.capabilities" type="strlist">scanner</append>'
|
||||
echo ' </match>'
|
||||
echo ' </match>'
|
||||
echo
|
||||
|
||||
# Output model specific USB scanner entries:
|
||||
exec <$TMP_DATA
|
||||
while read VENDOR PRODUCT
|
||||
do echo ' <match key="info.category" string="usbraw">'
|
||||
echo " <match key=\"@info.parent:usb_device.vendor_id\" int=\"$VENDOR\">"
|
||||
echo " <match key=\"@info.parent:usb_device.product_id\" int=\"$PRODUCT\">"
|
||||
echo ' <append key="info.capabilities" type="strlist">scanner</append>'
|
||||
echo ' </match>'
|
||||
echo ' </match>'
|
||||
echo ' </match>'
|
||||
echo
|
||||
done
|
||||
|
||||
# Output footer:
|
||||
echo ' </device>'
|
||||
echo '</deviceinfo>'
|
||||
|
||||
# Remove the temporary file
|
||||
rm $TMP_DATA
|
||||
|
||||
exit 0
|
||||
|
33
disable-resmgr-support.patch
Normal file
33
disable-resmgr-support.patch
Normal file
@ -0,0 +1,33 @@
|
||||
--- configure.in.orig 2006-07-03 00:21:42.000000000 +0200
|
||||
+++ configure.in 2006-09-11 10:47:29.000000000 +0200
|
||||
@@ -131,15 +131,21 @@ AC_CHECK_HEADERS([io/cam/cam.h],,,[#incl
|
||||
|
||||
SANE_CHECK_MISSING_HEADERS
|
||||
|
||||
-AC_CHECK_HEADER(resmgr.h,[
|
||||
- AC_CHECK_LIB(
|
||||
- resmgr,
|
||||
- rsm_open_device,[
|
||||
- AC_DEFINE(HAVE_RESMGR,1,[define if you have the resmgr library])
|
||||
- LIBS="$LIBS -lresmgr"
|
||||
- ]
|
||||
- )
|
||||
-])
|
||||
+# Since Suse Linux 10.0 resmgr installs ACLs on device nodes.
|
||||
+# Therefore there is no need to patch applications with special resmgr
|
||||
+# support anymore.
|
||||
+# As the "rsm_open_device" calls in sanei_scsi.c and sanei_usb.c
|
||||
+# are optionally via "ifdef HAVE_RESMGR" with fallback "open" calls,
|
||||
+# the special resmgr support is not removed but only disabled here:
|
||||
+#AC_CHECK_HEADER(resmgr.h,[
|
||||
+# AC_CHECK_LIB(
|
||||
+# resmgr,
|
||||
+# rsm_open_device,[
|
||||
+# AC_DEFINE(HAVE_RESMGR,1,[define if you have the resmgr library])
|
||||
+# LIBS="$LIBS -lresmgr"
|
||||
+# ]
|
||||
+# )
|
||||
+#])
|
||||
|
||||
AC_CHECK_HEADER(usbcalls.h,[
|
||||
AC_DEFINE(HAVE_USBCALLS,1,[define if you have the usbcalls library])
|
1300
epkowa.desc
Normal file
1300
epkowa.desc
Normal file
File diff suppressed because it is too large
Load Diff
12
fix-ambiguous-post-pre-increment.patch
Normal file
12
fix-ambiguous-post-pre-increment.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- backend/canon-sane.c.orig 2006-12-08 12:05:25.000000000 +0100
|
||||
+++ backend/canon-sane.c 2006-12-08 13:13:33.000000000 +0100
|
||||
@@ -1797,7 +1797,8 @@ read_fs2710 (SANE_Handle handle, SANE_By
|
||||
for (p = buf; p < buf + nread; p++)
|
||||
{
|
||||
b = *p;
|
||||
- *p++ = *(p + 1);
|
||||
+ *p = *(p + 1);
|
||||
+ p++;
|
||||
*p = b;
|
||||
}
|
||||
#endif
|
63
fix-buffer-overflow.patch
Normal file
63
fix-buffer-overflow.patch
Normal file
@ -0,0 +1,63 @@
|
||||
--- backend/epson.c.orig 2006-07-04 14:45:33.000000000 +0200
|
||||
+++ backend/epson.c 2006-07-04 14:46:27.000000000 +0200
|
||||
@@ -1331,7 +1331,7 @@ set_gamma_table (Epson_Scanner * s)
|
||||
{
|
||||
for (i = 0; i < 256; i += 16)
|
||||
{
|
||||
- char gammaValues[16 * 3 + 1], newValue[3];
|
||||
+ char gammaValues[16 * 3 + 1], newValue[4];
|
||||
|
||||
gammaValues[0] = '\0';
|
||||
|
||||
--- backend/as6e.c.orig 2004-10-03 16:21:45.000000000 +0200
|
||||
+++ backend/as6e.c 2006-10-27 12:52:54.000000000 +0200
|
||||
@@ -811,9 +811,11 @@ check_for_driver (const char *devname)
|
||||
dir[count - offset] = path[count];
|
||||
count++;
|
||||
}
|
||||
- strncpy (fullname, dir, NAMESIZE);
|
||||
- strncat (fullname, "/", NAMESIZE);
|
||||
- strncat (fullname, devname, NAMESIZE);
|
||||
+ /* use sizeof(fullname)-1 to make sure there is at least one padded null byte */
|
||||
+ strncpy (fullname, dir, sizeof(fullname)-1);
|
||||
+ /* take into account that fullname already contains non-null bytes */
|
||||
+ strncat (fullname, "/", sizeof(fullname)-strlen(fullname)-1);
|
||||
+ strncat (fullname, devname, sizeof(fullname)-strlen(fullname)-1);
|
||||
if (!stat (fullname, &statbuf))
|
||||
{
|
||||
modes = statbuf.st_mode;
|
||||
--- sanei/sanei_ab306.c.orig 2007-01-31 14:13:16.000000000 +0100
|
||||
+++ sanei/sanei_ab306.c 2007-01-31 14:38:26.000000000 +0100
|
||||
@@ -273,7 +273,7 @@ sanei_ab306_open (const char *dev, int *
|
||||
if (port[i].base == base)
|
||||
break;
|
||||
|
||||
- if (port[i].base != base)
|
||||
+ if (i >= NELEMS(port))
|
||||
{
|
||||
DBG(1, "sanei_ab306_open: %lx is not a valid base address\n", base);
|
||||
return SANE_STATUS_INVAL;
|
||||
--- backend/niash.c.orig 2006-02-04 12:34:28.000000000 +0100
|
||||
+++ backend/niash.c 2007-02-21 15:38:12.000000000 +0100
|
||||
@@ -89,7 +89,9 @@ typedef enum
|
||||
optLamp,
|
||||
|
||||
optCalibrate,
|
||||
- optGamma /* analog gamma = single number */
|
||||
+ optGamma, /* analog gamma = single number */
|
||||
+/* have optEndOfList only to define arrays with sufficient size */
|
||||
+ optEndOfList
|
||||
} EOptionIndex;
|
||||
|
||||
|
||||
@@ -105,8 +107,8 @@ typedef union
|
||||
|
||||
typedef struct
|
||||
{
|
||||
- SANE_Option_Descriptor aOptions[optLast];
|
||||
- TOptionValue aValues[optLast];
|
||||
+ SANE_Option_Descriptor aOptions[optEndOfList];
|
||||
+ TOptionValue aValues[optEndOfList];
|
||||
|
||||
TScanParams ScanParams;
|
||||
THWParams HWParams;
|
11
fix-uninitialized-variables.patch
Normal file
11
fix-uninitialized-variables.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- backend/teco2.c.orig 2005-09-20 10:11:59.000000000 +0200
|
||||
+++ backend/teco2.c 2006-09-18 14:35:06.000000000 +0200
|
||||
@@ -1524,7 +1524,7 @@ teco_request_sense (Teco_Scanner * dev)
|
||||
{
|
||||
CDB cdb;
|
||||
SANE_Status status;
|
||||
- size_t size;
|
||||
+ size_t size = 0;
|
||||
|
||||
|
||||
MKSCSI_REQUEST_SENSE (cdb, size);
|
19
fujitsu-disable-hw_ink_remain.patch
Normal file
19
fujitsu-disable-hw_ink_remain.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- backend/fujitsu.c.orig 2006-06-26 19:08:38.000000000 +0200
|
||||
+++ backend/fujitsu.c 2006-09-04 11:19:25.000000000 +0200
|
||||
@@ -2682,7 +2682,15 @@ get_hardware_status (struct fujitsu *s)
|
||||
|
||||
s->hw_skew_angle = get_HW_skew_angle(buffer);
|
||||
|
||||
- s->hw_ink_remain = get_HW_ink_remain(buffer);
|
||||
+ /* This would read the 11-th byte from buffer because
|
||||
+ * get_HW_ink_remain(buffer) expands to buffer[10].
|
||||
+ * Asking the scanner for 11 bytes will cause some older
|
||||
+ * models to choke, as they only provide 10 bytes.
|
||||
+ * Therefore hw_ink_remain is disabled, as the ink level
|
||||
+ * is of no use currently, since the endorser is disabled.
|
||||
+ * (See Suse Bugzilla bug 202243).
|
||||
+ s->hw_ink_remain = get_HW_ink_remain(buffer);
|
||||
+ */
|
||||
|
||||
}
|
||||
}
|
381
hpaio.desc
Normal file
381
hpaio.desc
Normal file
@ -0,0 +1,381 @@
|
||||
;
|
||||
; SANE Backend specification file
|
||||
;
|
||||
|
||||
:backend "hpaio" ; name of backend
|
||||
:version "1.6.10" ; version of backend
|
||||
:url "http://hpinkjet.sourceforge.net/" ; backend's web page
|
||||
:comment "This backend isn't included in SANE because it is included in the HPLIP software."
|
||||
|
||||
:devicetype :scanner ; start of a list of devices....
|
||||
:mfg "Hewlett-Packard" ; name a manufacturer
|
||||
:url "http://www.hp.com/united-states/consumer/gateway/printing_multifunction.html"
|
||||
:model "Color LaserJet 2800"
|
||||
:status :good
|
||||
|
||||
:model "Color LaserJet 2820"
|
||||
:status :good
|
||||
|
||||
:model "Color LaserJet 2830"
|
||||
:status :good
|
||||
|
||||
:model "Color LaserJet 2840"
|
||||
:status :good
|
||||
|
||||
:model "Deskjet F300 series"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 1100"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 1100a"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 1100xi"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 1220"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 1220se"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3015"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3020"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3030"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3050"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3052"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3055"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3200"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3200M"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3200se"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3300"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3310"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3320"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3330"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3380"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3390"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 3392"
|
||||
:status :good
|
||||
|
||||
:model "LaserJet 4100 MFP"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 4100 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 4105 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 4110 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 4115 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 4200 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 4255"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 4300 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 5100 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 5105"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 5110"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 5110v"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 5500 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 5600 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 6100 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 6150 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 6200 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 6300 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 7100 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 7200 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 7300 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 7400 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 9100 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet PRO 1150C"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet PRO 1170C series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet d series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet G55"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet G55xi"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet G85"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet G85xi"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet G95"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet K60"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet K60xi"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet K80"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet K80xi"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet R40"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet R40xi"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet R45"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet R60"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet R65"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet R80"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet R80xi"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 500 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 520 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 570 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 580 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 590 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 600 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 610 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 630 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 700 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 710 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 720 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet 725 series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet T series"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet V30"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet V40"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet V40xi"
|
||||
:status :good
|
||||
|
||||
:model "OfficeJet V45"
|
||||
:status :good
|
||||
|
||||
:model "PSC 1100 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 1200 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 1300 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 1310 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 1400 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 1500 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 1510 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 1600 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 2100 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 2150 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 2170 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 2200 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 2210 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 2300 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 2350 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 2400 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 2500 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 500"
|
||||
:status :good
|
||||
|
||||
:model "PSC 720"
|
||||
:status :good
|
||||
|
||||
:model "PSC 750"
|
||||
:status :good
|
||||
|
||||
:model "PSC 750xi"
|
||||
:status :good
|
||||
|
||||
:model "PSC 760"
|
||||
:status :good
|
||||
|
||||
:model "PSC 900 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 950"
|
||||
:status :good
|
||||
|
||||
:model "PSC 950vr"
|
||||
:status :good
|
||||
|
||||
:model "PSC 950xi"
|
||||
:status :good
|
||||
|
||||
:model "Photosmart 2570 series"
|
||||
:status :good
|
||||
|
||||
:model "Photosmart 2600 series"
|
||||
:status :good
|
||||
|
||||
:model "Photosmart 2700 series"
|
||||
:status :good
|
||||
|
||||
:model "Photosmart 3100 series"
|
||||
:status :good
|
||||
|
||||
:model "Photosmart 3200 series"
|
||||
:status :good
|
||||
|
||||
:model "Photosmart 3300 series"
|
||||
:status :good
|
||||
|
||||
:model "Photosmart C3100 series"
|
||||
:status :good
|
||||
|
||||
:model "Photosmart C4100 series"
|
||||
:status :good
|
||||
|
||||
:model "Photosmart C5100 series"
|
||||
:status :good
|
||||
|
||||
:model "Photosmart C6100 series"
|
||||
:status :good
|
||||
|
||||
:model "Photosmart C7100 series"
|
||||
:status :good
|
||||
|
||||
:model "PSC 300"
|
||||
:status :good
|
||||
|
412
hpoj.desc
Normal file
412
hpoj.desc
Normal file
@ -0,0 +1,412 @@
|
||||
;
|
||||
; SANE Backend specification file
|
||||
;
|
||||
; It's basically emacs-lisp --- so ";" indicates comment to end of line.
|
||||
; All syntactic elements are keyword tokens, followed by a string or
|
||||
; keyword argument, as specified.
|
||||
;
|
||||
; ":backend" *must* be specified.
|
||||
; All other information is optional (but what good is the file without it?).
|
||||
;
|
||||
|
||||
:backend "hpoj" ; name of backend
|
||||
;:version "(external)" ; version of backend
|
||||
:url "http://hpoj.sourceforge.net/" ; backend's web page
|
||||
:comment "This backend isn't included because the authors of hpoj want to keep the backend together with the rest of the hpoj project. See the hpoj website for the latest releases."
|
||||
|
||||
|
||||
|
||||
:devicetype :scanner ; start of a list of devices....
|
||||
; other types: :stillcam, :vidcam,
|
||||
; :meta, :api
|
||||
|
||||
:mfg "Hewlett-Packard" ; name a manufacturer
|
||||
:url "http://www.hp.com/go/all-in-one"
|
||||
|
||||
; name models for above-specified mfg.
|
||||
:model "Most HP OfficeJet, LaserJet, and PSC (Printer/Scanner/Copier) multi-function peripherals"
|
||||
:url "http://hpoj.sourceforge.net/suplist.shtml"
|
||||
:interface "Parport(ECP) USB JetDirect"
|
||||
:status :good
|
||||
:comment "Distributed with the HP OfficeJet Linux driver (hpoj) which is outdated. Use the new driver hpaio if possible."
|
||||
|
||||
; manually added explicite model names by SUSE so that YaST can show a detailed model list
|
||||
|
||||
:model "DeskJet 450 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 1100a "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 1150 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 1220 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 1300 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 2200 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 3200 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 3200M "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 3200se "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 3300 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 3310 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 3320 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "LaserJet 3330 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 300 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 330 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 350 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 4100 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 4105 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 4110 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 4115 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 500 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 5105 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 5110 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 520 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 5500 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 570 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 580 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 590 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 600 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 610 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 6100 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 6150 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 630 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 700 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 710 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 7100 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 720 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet 725 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet d series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet G55 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet G85 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet G95 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet K60 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet K60xi "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet K80 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet K80xi "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet LX "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet PRO 1150C "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet PRO 1170C series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet R40 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet R45 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet R60 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet R65 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet R80 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet T series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet V40 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "OfficeJet V40xi "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart 140 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart 240 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart 7150 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart 7260 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart 7268 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart 7345 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart 7350 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart 7550 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart 7660 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart 7760 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart 7960 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart P100 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart P1000 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart P1100 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart P1115 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart P1215 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart P1218 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart P130 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart P1315 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PhotoSmart P230 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 1100 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 1200 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 1300 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 2100 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 2150 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 2170 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 2200 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 2300 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 2400 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 2500 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 370 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 380 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 500 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 750 "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 750xi "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
:model "PSC 900 series "
|
||||
:status :good
|
||||
:comment "hpoj is outdated, use the new driver hpaio if possible"
|
||||
|
||||
; :comment and :url specifiers are optional after :mfg, :model, :desc,
|
||||
; and at the top-level.
|
32
replace-HZ-by-sysconf_SC_CLK_TCK.patch
Normal file
32
replace-HZ-by-sysconf_SC_CLK_TCK.patch
Normal file
@ -0,0 +1,32 @@
|
||||
--- sanei/sanei_scsi.c 22 Nov 2005 21:17:20 -0000 1.58
|
||||
+++ sanei/sanei_scsi.c 19 Jan 2007 07:10:30 -0000
|
||||
@@ -281,6 +281,20 @@ static char lastrcmd[16]; /* hold comman
|
||||
# define MAX_DATA (32*1024)
|
||||
#endif
|
||||
|
||||
+#ifdef SG_SET_TIMEOUT
|
||||
+# ifdef _SC_CLK_TCK
|
||||
+# define GNU_HZ sysconf(_SC_CLK_TCK)
|
||||
+# else
|
||||
+# ifdef HZ
|
||||
+# define GNU_HZ HZ
|
||||
+# else
|
||||
+# ifdef CLOCKS_PER_SEC
|
||||
+# define GNU_HZ CLOCKS_PER_SEC
|
||||
+# endif
|
||||
+# endif
|
||||
+# endif
|
||||
+#endif
|
||||
+
|
||||
/* default timeout value: 120 seconds */
|
||||
static int sane_scsicmd_timeout = 120;
|
||||
int sanei_scsi_max_request_size = MAX_DATA;
|
||||
@@ -1273,7 +1287,7 @@ sanei_scsi_open (const char *dev, int *f
|
||||
disconnect... ;-( */
|
||||
{
|
||||
int timeout;
|
||||
- timeout = sane_scsicmd_timeout * HZ;
|
||||
+ timeout = sane_scsicmd_timeout * GNU_HZ;
|
||||
ioctl (fd, SG_SET_TIMEOUT, &timeout);
|
||||
}
|
||||
#endif
|
11
sane-backends-1.0.16-nb.patch
Normal file
11
sane-backends-1.0.16-nb.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- po/Makefile.in.orig 2005-07-15 22:50:41.000000000 +0200
|
||||
+++ po/Makefile.in 2005-08-08 15:25:50.000000000 +0200
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# See po/README for documentation.
|
||||
|
||||
-ALL_LINGUAS = bg cs da de es fi fr it nl no pl pt ru sv
|
||||
+ALL_LINGUAS = bg cs da de es fi fr it nl nb pl pt ru sv
|
||||
|
||||
SRC_FILES = ../include/sane/saneopts.h ../backend/artec_eplus48u.c \
|
||||
../backend/avision.h \
|
3
sane-backends-1.0.18.tar.bz2
Normal file
3
sane-backends-1.0.18.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:30efa94c16320676f8146db1b5bf740306f14114585888eb38a757d4a6836c7d
|
||||
size 2828432
|
934
sane-backends.changes
Normal file
934
sane-backends.changes
Normal file
@ -0,0 +1,934 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 15:40:03 CET 2007 - jsmeix@suse.de
|
||||
|
||||
- Added a fix for an "array subscript is above array bounds"
|
||||
error in niash.c to fix-buffer-overflow.patch
|
||||
(see Suse Bugzilla bug 246654).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 14:41:10 CET 2007 - jsmeix@suse.de
|
||||
|
||||
- Added a fix for an "array subscript is above array bounds"
|
||||
error in sanei_ab306.c to fix-buffer-overflow.patch
|
||||
(see Suse Bugzilla bug 239953).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 29 14:29:35 CET 2007 - jsmeix@suse.de
|
||||
|
||||
- Renamed the package from 'sane' (which is only used by Suse)
|
||||
to 'sane-backends' which is used by the rest of the world
|
||||
and let this package provide and obsolete 'sane'.
|
||||
- Updated replace-HZ-by-sysconf_SC_CLK_TCK.patch to what
|
||||
there will be done upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 8 13:54:43 CET 2006 - jsmeix@suse.de
|
||||
|
||||
- fix-ambiguous-post-pre-increment.patch fixes an ambiguous
|
||||
post-increment in canon-sane.c for big-endian architectures
|
||||
(e.g. PowerPC).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 27 11:50:40 CEST 2006 - jsmeix@suse.de
|
||||
|
||||
- Updated hpaio.desc from the current HPLIP version 1.6.10
|
||||
- Updated epkowa.desc from the current Iscan version 2.3.0.1.
|
||||
- Added fixes of possible strncat buffer overflows and
|
||||
strncpy unterminated string errors in as6e.c
|
||||
to fix-buffer-overflow.patch.
|
||||
- Replaced the complicated postinstall script by calling
|
||||
create_hal_global_fdi_for_scanners which should obsolete
|
||||
sane-dev (see Suse Bugzilla bug 160899).
|
||||
- Moved sane-dev from {_initrddir} to {_datadir}/sane/ to have it
|
||||
still available in case of backward compatibility problems.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 22 12:25:08 CEST 2006 - meissner@suse.de
|
||||
|
||||
- buildrequires libgphoto2-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 18 14:47:07 CEST 2006 - jsmeix@suse.de
|
||||
|
||||
- fix-uninitialized-variables.patch fixes an uninitialized
|
||||
variable in teco2.c (see Suse Bugzilla bug 205451).
|
||||
- create_hal_global_fdi_for_scanners can be called by HAL or YaST
|
||||
to create a global HAL fdi file for scanners which are known
|
||||
by the current SANE version (see Suse Bugzilla bug 160899).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 11 10:53:35 CEST 2006 - jsmeix@suse.de
|
||||
|
||||
- disable-resmgr-support.patch disables the resmgr support in SANE
|
||||
which is no longer needed in SANE because resmgr works now
|
||||
outside of SANE via ACLs for the scanner device nodes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 4 11:23:09 CEST 2006 - jsmeix@suse.de
|
||||
|
||||
- Replaced the fix from Thu Aug 31 in fujitsu.c by a new fix
|
||||
fujitsu-disable-hw_ink_remain.patch which disables hw_ink_remain
|
||||
which causes a buffer overflow (see Suse Bugzilla bug 202243).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 31 15:09:06 CEST 2006 - jsmeix@suse.de
|
||||
|
||||
- Added a fix of a too small char array in fujitsu.c to
|
||||
fix-buffer-overflow.patch (see Suse Bugzilla bug 202243).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 21 10:20:00 CEST 2006 - jsmeix@suse.de
|
||||
|
||||
- canon-backend-autoprobing.patch lets the "canon" backend
|
||||
do scanner auto-recognition (see Suse Bugzilla bug 177492).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 4 14:47:26 CEST 2006 - jsmeix@suse.de
|
||||
|
||||
- Updated to sane-backends version 1.0.18:
|
||||
New backends: dell1600n_net, hp3500, pixma, stv680.
|
||||
Updated backends: avision, canon, dll, epson, fujitsu, genesys,
|
||||
gt68xx, microtek2, mustek_pp, niash, plustek, snapscan, sp15c,
|
||||
test, u12, umax1220u.
|
||||
Several bug fixes.
|
||||
- fix-buffer-overflow.patch fixes a too small char array
|
||||
which causes a buffer overflow if SANE_DEBUG_EPSON is set.
|
||||
- replace-HZ-by-sysconf_SC_CLK_TCK.patch replaces the fixed HZ
|
||||
compile-time value (no longer supported by new glibc)
|
||||
by the more correct sysconf(_SC_CLK_TCK) runtime value.
|
||||
- Updated hpaio.desc from the current HPLIP version 1.6.6a.
|
||||
- Updated epkowa.desc from the current Iscan version 2.1.0.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 22 14:29:05 CET 2006 - jsmeix@suse.de
|
||||
|
||||
- Added "haldaemon" to Should-Start in /etc/init.d/sane-dev and
|
||||
keeping old name "hal" for the same boot facility to be safe.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 11:03:52 CET 2006 - jsmeix@suse.de
|
||||
|
||||
- Fixed percent-characters for RPM in post-install script
|
||||
(use '%%%%' in spec file to get actually '%%' in the script).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 13 11:52:47 CET 2006 - jsmeix@suse.de
|
||||
|
||||
- Added automagic but safe pos-install script which tries
|
||||
to update resmgr permissions for scanners for an update
|
||||
from Suse Linux 10.0 to 10.1 (see Suse Bugzilla bug 157055).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 27 13:22:30 CET 2006 - jsmeix@suse.de
|
||||
|
||||
- Current epkowa.desc from the current iscan package.
|
||||
- Current hpaio.desc made from the current hplip package.
|
||||
- Changed hpoj.desc to match better to hpaio.desc.
|
||||
Added "hpoj is outdated" comments to hpoj.desc.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:41:19 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 12:56:28 CET 2006 - jsmeix@suse.de
|
||||
|
||||
- Updated to sane-backends version 1.0.17.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 14:12:11 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Disabled locking because /var/lock/sane/ would be world writable.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 20 12:02:46 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Updated to sane-backends version 1.0.16.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 22 14:43:14 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Updated the hpaio.desc file according to our current HPLIP
|
||||
software version 0.9.4.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 9 12:25:44 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Updated the epkowa.desc in this package with the newest version
|
||||
from the iscan package to build the SANE documentation files
|
||||
accordingly (see the entry dated Thu Feb 17 16:52:24 CET 2005).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 1 12:14:59 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Added the USB usermap file to the sane package to have the
|
||||
USB manufacturer and model IDs available for scanner detection.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 25 12:05:30 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Added "Should-Start: hal" to sane-dev.
|
||||
- The "SnapScan 1236u" needs no firmware upload (SUSE bug 73960).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 17 15:09:07 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Fix "... is used uninitialized ..." warnings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 11 11:39:50 CET 2005 - jsmeix@suse.de
|
||||
|
||||
- Removed the obsolete SLP stuff from sane-dev
|
||||
because sane-dev has nothing to do with
|
||||
saned and its SLP registration (SUSE bug 72156).
|
||||
- Using only SANE device entries in sane-dev which start
|
||||
with '^/dev/' to find possible SCSI devices because e.g.
|
||||
HPLIP creates SANE devices like 'hpaio:.../dev/...'.
|
||||
- Replaced the test with 'ps' for a running scanimage
|
||||
with a simpler test using '/proc/$scanimagePID/cmdline'.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 09:33:15 CET 2005 - jsmeix@suse.de
|
||||
|
||||
- Increased the maximum wait time in sane-dev to 30 seconds
|
||||
because some scanners fall asleep and need a longer time
|
||||
to wake up and respond to 'scanimage -f ...'.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 17 16:52:24 CET 2005 - jsmeix@suse.de
|
||||
|
||||
- Updated the SUSE versions of the descriptions-external files.
|
||||
- Now the SUSE versions of the descriptions-external files
|
||||
are used for build so that the SANE documentation files
|
||||
%{_defaultdocdir}/sane/sane-backends/*.html
|
||||
are built accordingly.
|
||||
- Added 'Provides: sane-backends' because the rest of the world has
|
||||
package names 'sane-backends' and 'sane-frontends' according to
|
||||
the two SANE software projecs. Therefore third party RPMs which
|
||||
require SANE libraries usually have 'Requires: sane-backends'.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 10 02:40:55 CET 2005 - ro@suse.de
|
||||
|
||||
- added libpng to neededforbuild (for tetex)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 8 14:31:29 CET 2005 - jsmeix@suse.de
|
||||
|
||||
- Replaced the descriptions-external file epkowa.desc from SANE
|
||||
by an extended SUSE version which has more model listed
|
||||
according to "man sane-epkowa" in the SUSE iscan package.
|
||||
- Removed the automated "insserv" for sane-dev because this
|
||||
is now done by the YaST scanner config only if a SCSI scanner
|
||||
was set up (i.e. for USB scanners sane-dev is useless and
|
||||
therefore it should not run by default).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 2 15:21:11 CET 2005 - jsmeix@suse.de
|
||||
|
||||
- Added a descriptions-external file hpaio.desc which was
|
||||
manually derived from the models.xml in the hplip package.
|
||||
Therefore there is a package version problem to have a fixed
|
||||
source file hpaio.desc but in the future an automated script
|
||||
may create an up to date hpaio.desc file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 28 11:24:53 CET 2004 - jsmeix@suse.de
|
||||
|
||||
- Changed how the descriptions and descriptions-external files
|
||||
are installed (those files are needed by YaST to create its
|
||||
scanner database): No longer via a doc/Makefile.in patch
|
||||
but directly in the spec file to avoid changes in the sources
|
||||
for SUSE-specific stuff.
|
||||
- Added ':firmware "required"' entries for the respective scanners
|
||||
to the descriptions files (for gt68xx, artec_eplus48u, snapscan)
|
||||
so that YaST knows which scanners require a firmware upload.
|
||||
- Replaced the descriptions-external file hpoj.desc from SANE
|
||||
by an extended SUSE version which has a list of explicite model
|
||||
names added so that YaST can show a detailed model list.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 17 16:57:23 CET 2004 - jsmeix@suse.de
|
||||
|
||||
- Changed runlevel script "sane-dev":
|
||||
Avoid too long (perhaps infinite) waiting for "scanimage".
|
||||
Maximum wait is 10 seconds.
|
||||
Improved the format of the output.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 10 16:19:48 CET 2004 - jsmeix@suse.de
|
||||
|
||||
- Changed "sane" runlevel script which sets permissions in /dev/
|
||||
and renamed it to "sane-dev" to avoid confusion with the
|
||||
SANE network daemon "saned" and its service name "sane-port"
|
||||
respectively "sane" (see SUSE bugzilla bug 41233).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 8 15:57:37 CET 2004 - jsmeix@suse.de
|
||||
|
||||
- new sane-backends version 1.0.15
|
||||
- sane-frontends stuff is moved to the new package sane-frontends
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 20 01:57:33 CEST 2004 - ro@suse.de
|
||||
|
||||
- locale rename: no -> nb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 20 17:47:53 CEST 2004 - jsmeix@suse.de
|
||||
|
||||
- Added a test in /etc/init.d/sane whether slpd is really
|
||||
running before "/etc/init.d/slpd reload" is done.
|
||||
(SUSE bugzilla bug 42032).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 15 13:50:05 CEST 2004 - jsmeix@suse.de
|
||||
|
||||
- Added sane-backends-1.0.14-epson_d8.patch which fixes the
|
||||
problem with EPSON D8 function level scanners that have
|
||||
a transparency unit (SUSE bugzilla bug 45075).
|
||||
- Changed the file name of /etc/xinetd.d/sane.xinetd to
|
||||
/etc/xinetd.d/sane-port because xinetd ignores files
|
||||
with names containing a dot (SUSE bugzilla bug 45313).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 13 14:46:04 CEST 2004 - jsmeix@suse.de
|
||||
|
||||
- Changed "sane" to "sane-port" in sane.xinetd see bug 41233
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 15 14:13:20 CEST 2004 - jsmeix@suse.de
|
||||
|
||||
- Added libieee1284 support (by using the new libieee1284 package)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 13 15:34:55 CEST 2004 - jsmeix@suse.de
|
||||
|
||||
- Update sane-backends to version 1.0.14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 21 12:52:35 CEST 2004 - pth@suse.de
|
||||
|
||||
- Remove libtool macros from acinclude.m4 that caused build
|
||||
failures.
|
||||
- Fix the cases of unnecessary type-punning, obsoleting the need
|
||||
for -fno-strict-aliasing.
|
||||
- Fix pointer->int casts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 1 13:55:32 CEST 2004 - jsmeix@suse.de
|
||||
|
||||
- Correction of what was done according to previous entry:
|
||||
Disable all entries in almost all descriptions-external/*.desc
|
||||
files because none of the external backends is included in the
|
||||
sane package
|
||||
except one: /usr/share/sane/descriptions-external/hpoj.desc
|
||||
because the hpoj backend is in fact available because it is
|
||||
in the hp-officeJet package which is installed by default
|
||||
see bug 37885
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 29 14:27:04 CEST 2004 - jsmeix@suse.de
|
||||
|
||||
- Removed sane-descriptions-external-epkowa.desc.dif and
|
||||
disabled all entries in all descriptions-external/*.desc files
|
||||
because none of the external backends is included in the sane
|
||||
package (see bugzilla bug #37169) and for details see
|
||||
.../doc/packages/sane/sane-backends/sane-backends-external.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 25 15:44:37 CET 2004 - jsmeix@suse.de
|
||||
|
||||
- Patch sane-descriptions-external-epkowa.desc.dif
|
||||
disables those entries in descriptions-external/epkowa.desc
|
||||
which are also in descriptions/epson.desc
|
||||
because we want to prefer the open source backend "epson"
|
||||
(see bugzilla bug #36584).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 23 08:00:24 CET 2004 - meissner@suse.de
|
||||
|
||||
- gimp plugins are now in ../2.0/...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 22 11:16:04 CET 2004 - meissner@suse.de
|
||||
|
||||
- epson.conf triggers autodetect on mentioning of "usb", so just
|
||||
add this instead of all ids. #36585
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 12 10:55:40 CET 2004 - meissner@suse.de
|
||||
|
||||
- The plustek driver has its very own idea of a config file format,
|
||||
adapt the config patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 8 15:04:54 CET 2004 - meissner@suse.de
|
||||
|
||||
- Updated the .conf files with most of the USB ids in use,
|
||||
so scanimage -L finds the scanners even without kernel module.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 25 11:48:20 CET 2004 - meissner@suse.de
|
||||
|
||||
- Merged all system scanner ids into the hardcoded usermap,
|
||||
since newer kernels might no longer have the scanner module.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 21 13:04:46 CET 2004 - ro@suse.de
|
||||
|
||||
- use no-strict-aliasing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 21 12:46:16 CET 2004 - ro@suse.de
|
||||
|
||||
- fix gimp plugin link
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 21 11:46:39 CET 2004 - ro@suse.de
|
||||
|
||||
- updated frontends to 1.0.11-cvs to get gimp2 support
|
||||
- use gtk2 for gimp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 18 13:57:59 CET 2004 - meissner@suse.de
|
||||
|
||||
- actually apply the patch (and update it) and not just
|
||||
readd it to the sources.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 16 17:59:51 CET 2004 - meissner@suse.de
|
||||
|
||||
- reapply resmgr patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 6 15:46:45 CET 2004 - jsmeix@suse.de
|
||||
|
||||
- new versions sane-backends-1.0.13 and sane-frontends-1.0.11
|
||||
- use the more important backend version number as package version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 17 12:52:06 CET 2004 - meissner@suse.de
|
||||
|
||||
- fixed small typemismatch in sm3600.c
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 19 16:46:47 CET 2003 - adrian@suse.de
|
||||
|
||||
- use $HOSTNAME instead of $LOCALHOST in slp reg file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 14 10:55:04 CET 2003 - adrian@suse.de
|
||||
|
||||
- use correct keyword "X-UnitedLinux-Should-Start" in runlevel script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 13 22:51:33 CET 2003 - adrian@suse.de
|
||||
|
||||
- add xinetd file for sane daemon
|
||||
- let slpd check for running saned via (x)inetd
|
||||
- notify slpd, if using saned init script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 12 15:42:36 CET 2003 - freitag@suse.de
|
||||
|
||||
- added registration file for slp daemon
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 10 01:41:16 CET 2003 - ro@suse.de
|
||||
|
||||
- use net-snmp instead of ucdsnmp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 10 13:00:01 CEST 2003 - hvogel@suse.de
|
||||
|
||||
- fix scanimage path in the init script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 12:17:27 CEST 2003 - meissner@suse.de
|
||||
|
||||
- Also use -L/%_lib, so we find -lresmgr on x86_64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 13 10:18:34 CEST 2003 - meissner@suse.de
|
||||
|
||||
- Buildrooted.
|
||||
- Added missing directories and files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 6 14:16:23 CEST 2003 - freitag@suse.de
|
||||
|
||||
- update to backend version 1.0.12 - better support of current
|
||||
devices.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 3 17:12:04 CET 2003 - freitag@suse.de
|
||||
|
||||
- fixed a filelist error which turned out to be a wrong lib link.
|
||||
Bug #24567
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 26 16:04:58 CET 2003 - meissner@suse.de
|
||||
|
||||
- Added one missing resmgr invocation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 17 16:19:09 CET 2003 - meissner@suse.de
|
||||
|
||||
- Added resmgr support for both SCSI and USB kernel mode.
|
||||
(basically use rsm_open_device). This will allow opening
|
||||
the /dev/*scanner devices as user without need for special
|
||||
permissions.
|
||||
- Added a USB hotplug usermap which makes the sm3600 devices
|
||||
accessible for libusb. (The rest are handled by the yast2 scanner
|
||||
module).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 17 13:39:41 CET 2003 - freitag@suse.de
|
||||
|
||||
- added epson backend directly from the author Karl Hein Kremer due
|
||||
to further changes to the USB base code. Removed the patch applied
|
||||
before again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 17 10:09:29 CET 2003 - freitag@suse.de
|
||||
|
||||
- patch applied to detect Epson scanners via libusb correctly.
|
||||
Thanks to Karl Heinz Kremer who sent it in.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 11:26:14 CET 2003 - freitag@suse.de
|
||||
|
||||
- updated to backends version 1.0.11 which was suggested to avoid
|
||||
a possible security whole.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 3 11:20:17 CET 2003 - freitag@suse.de
|
||||
|
||||
- update to stable version 1.0.10
|
||||
added gimp and gimp-devel to neededforbuild again to provide gimp
|
||||
support for xscanimage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 31 18:11:12 CET 2003 - meissner@suse.de
|
||||
|
||||
- neededforbuild +resmgr, so libusb gets detected.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 31 14:30:16 CET 2003 - freitag@suse.de
|
||||
|
||||
- added backend descriptions file to /usr/share/sane
|
||||
moved the style file from /usr/X11R6/lib to /usr/share/sane
|
||||
added sane postscript and dvi documentation as extra source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 27 10:40:00 CET 2003 - freitag@suse.de
|
||||
|
||||
- update to version 1.0.10 pre 3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 11:29:58 CET 2003 - freitag@suse.de
|
||||
|
||||
- update to pre version 1.0.10, final will follow soon.
|
||||
Much more scanner supported.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 31 11:56:53 CET 2002 - freitag@suse.de
|
||||
|
||||
- update to final version 1.0.9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 29 13:32:56 CET 2002 - ro@suse.de
|
||||
|
||||
- removed (old) libtool macros from acinclude.m4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 18 12:46:26 CEST 2002 - freitag@suse.de
|
||||
|
||||
- updated to pre version of 1.0.9 in advance for 1.0.9 and did some
|
||||
cleanup of the spec like removing a lot of neededforbuild deps
|
||||
and applied proper CFLAGS
|
||||
Added the gt68xx backend that supports expecially rf's new Mustek
|
||||
usb scanner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 15:16:07 CEST 2002 - freitag@suse.de
|
||||
|
||||
- fixed filelist and added libsane.so again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 11:55:45 CEST 2002 - freitag@suse.de
|
||||
|
||||
- removed wrong lib libsane-hpoj from packlist, they came from package
|
||||
hp-officeJet accidentially.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 16 09:54:02 CEST 2002 - freitag@suse.de
|
||||
|
||||
- added prerequires (Bug #17983) and a postun procedure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 29 16:18:13 CEST 2002 - meissner@suse.de
|
||||
|
||||
- gphoto -> libgphoto2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 27 15:04:46 CEST 2002 - adrian@suse.de
|
||||
|
||||
- fix neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 18 15:38:44 CEST 2002 - freitag@suse.de
|
||||
|
||||
- reapplied __KERNEL__-Patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 17 16:49:12 CEST 2002 - freitag@suse.de
|
||||
|
||||
- update to sane version 1.0.8:
|
||||
-Network backend and saned update
|
||||
-documentation updates
|
||||
-bugfixes
|
||||
-updated backends
|
||||
-new backends
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 19 13:12:23 CET 2002 - freitag@suse.de
|
||||
|
||||
- fixed bug #14916
|
||||
This bug was caused by an segfault of scanimage which is used to
|
||||
find out which scanner are in operation on the network scan server.
|
||||
Since scanimage uses a one byte to small buffer in a string copy
|
||||
operation, a segfault happens.
|
||||
Fixed that bug by enlarging the buffer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 14:06:32 CET 2002 - freitag@suse.de
|
||||
|
||||
- fixed bug #14449
|
||||
That changes the sane startup script to work with the scanimage
|
||||
from sane package 1.0.7.
|
||||
Added a proper check for being root or not. only root may start
|
||||
or restart the service (which actually does nothing but setting
|
||||
file permissions for scsi scanner). See rcsane.diff for the patch
|
||||
applied on rc.sane. Note that rcsane.diff is not applied during
|
||||
the build process, but shows the differences against the former
|
||||
version of rc.sane
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 18 17:11:15 CET 2002 - freitag@suse.de
|
||||
|
||||
- fixed bug 13430 - updated to version 1.0.7 of sane. This broadens
|
||||
the scanner support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 6 12:22:25 CET 2002 - freitag@suse.de
|
||||
|
||||
- minor fixes in rc.sane: removed useless test on start variable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 10 15:09:23 CET 2002 - freitag@suse.de
|
||||
|
||||
- updated to V. 1.0.6, provides bugfixes, gphoto2 changes and some
|
||||
new backends
|
||||
- removed rc.config-template and used rpm macro instead to set the
|
||||
rc.config var.
|
||||
- removed mustek_usb external source, because it is now part of the
|
||||
standard sane package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 8 20:34:39 CET 2002 - egmont@suselinux.hu
|
||||
|
||||
- changed `adjustscannerperm' to `sane' in init script
|
||||
- removed bogus `probe' entry from the same script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 21 01:44:23 CET 2001 - bjacke@suse.de
|
||||
|
||||
- remove useless provides
|
||||
- make config files (noreplce)
|
||||
- use libdir macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 12 17:16:16 CEST 2001 - freitag@suse.de
|
||||
|
||||
- added support for Agfa SnapScan 1236U and updated to a later verion
|
||||
of mustek_usb-Backend, which provides better integration to the
|
||||
main backend module.
|
||||
Disabled all dll-entries in /etc/sane.d/dll.conf to avoid probs
|
||||
with wrong device detection which happend in the past. The yast
|
||||
module enables the correct one, added a README.SuSE to the sane
|
||||
package doc path that describes this change.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 4 17:16:16 CEST 2001 - freitag@suse.de
|
||||
|
||||
- added a rc-script that changes the permissions of scsi scanner
|
||||
devices if they are installed. The scsi device files are switched
|
||||
to permission 666 on startup and reverted back to 640 on shutdown.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 3 11:21:39 CEST 2001 - freitag@suse.de
|
||||
|
||||
- added a backend for mustek usb scanners.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 29 17:32:55 CEST 2001 - freitag@suse.de
|
||||
|
||||
- added support for scanning from HP all-in-one-devices.
|
||||
Therefore, package hp-officeJet is needed.
|
||||
- added a configure option --docdir to get rid of build failiures
|
||||
on distributions which have the documentation not in share.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 27 12:05:51 CEST 2001 - freitag@suse.de
|
||||
|
||||
- applied patches for scanimage and sane-find-scanner that produce
|
||||
better parseable output for scripts etc. to help yast2 module.
|
||||
- added a not yet in SANE released driver for mustek usb scanners,
|
||||
which are quite common in germany. The driver was initially written
|
||||
by a mustek engineer and was overtaken by the mustek backend
|
||||
maintainer of SANE.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 17 14:40:49 CEST 2001 - uli@suse.de
|
||||
|
||||
- disabled direct PIO access for PPC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 5 16:41:30 CEST 2001 - freitag@suse.de
|
||||
|
||||
- update to release 1.0.5
|
||||
- documentation again created dynamically.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 28 18:43:33 CEST 2001 - freitag@suse.de
|
||||
|
||||
- updated to pre-1.0.5 version, 1.0.5 is expected soon
|
||||
- patched sane-find-scanner to have a silent mode.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 10:58:07 CEST 2001 - freitag@suse.de
|
||||
|
||||
- applied snapscan-patch, fixed problem with missing gimp-plugin-link
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 16:43:20 CEST 2001 - uli@suse.de
|
||||
|
||||
- fixed to build on PPC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 23 16:43:36 CET 2001 - freitag@suse.de
|
||||
|
||||
- removed dependency to gimp, patch to solve timing probs with
|
||||
kernel 2.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 5 11:56:32 CET 2001 - freitag@suse.de
|
||||
|
||||
- updated to version 1.0.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 20 09:04:44 CET 2000 - ro@suse.de
|
||||
|
||||
- fixed symlink
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 20 18:51:03 CET 2000 - freitag@suse.de
|
||||
|
||||
- hide parport-scanner in standard sane distribution in dll.conf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 09:24:39 CET 2000 - freitag@suse.de
|
||||
|
||||
- skipped parport-scanner driver also for axp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 7 16:19:16 CET 2000 - freitag@suse.de
|
||||
|
||||
- skipped parport-scanner for ppc and sparc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 6 10:09:48 CET 2000 - freitag@suse.de
|
||||
|
||||
- fixed Copyright/License-Field in SpecFile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 2 23:55:53 CET 2000 - ro@suse.de
|
||||
|
||||
- fix neededforbuild for new package-names
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 2 10:40:01 CET 2000 - freitag@suse.de
|
||||
|
||||
- new version 1.0.3
|
||||
patch for Artec AS6E scanner
|
||||
patch for HP4200 PPort Scanner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 25 18:44:41 CEST 2000 - uli@suse.de
|
||||
|
||||
- fixed to build with new GIMP
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 25 16:33:19 MEST 2000 - egger@suse.de
|
||||
|
||||
- Upgraded to 1.0.3.
|
||||
- Added -DGIMP_ENABLE_COMPAT_CRUFT to build again.
|
||||
- The specfile is quite messy... maybe the maintainer could clean
|
||||
that up, please?
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 25 01:04:16 CEST 2000 - ro@suse.de
|
||||
|
||||
- changed neededforbuild: libgimpd -> gimpdev
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 12 14:15:34 CEST 2000 - mhafner@suse.de
|
||||
|
||||
- added suse_update_config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 27 11:22:16 CEST 2000 - freitag@suse.de
|
||||
|
||||
- libs back to /usr/lib/sane - except libsane.so. and libsane-dll
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 2 18:00:43 CEST 2000 - freitag@suse.de
|
||||
|
||||
- problem with missing headerfiles and wrong linked libs fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 24 16:28:05 CEST 2000 - freitag@suse.de
|
||||
|
||||
- new configure switch --enable-scsibuffersize due to reported
|
||||
problems on the SANE-Mailinglist.
|
||||
- installed *all* sane-libraries to /usr/lib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 21 10:02:35 CET 2000 - bodammer@suse.de
|
||||
|
||||
- backend for Agfa SnapScan V0.8 again
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 20 12:57:59 CET 2000 - bodammer@suse.de
|
||||
|
||||
- update -> sane-1.0.2
|
||||
link to libsane-dll.so.1 included for xsane to work
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 4 16:31:40 CET 2000 - ro@suse.de
|
||||
|
||||
- removed libgimp from neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 2 15:46:18 CET 2000 - uli@suse.de
|
||||
|
||||
- moved man pages to %{_mandir}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 7 15:57:14 CET 2000 - kukuk@suse.de
|
||||
|
||||
- Don't check for asm/io.h, this will not work on SPARC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 18 15:38:21 CET 2000 - bodammer@suse.de
|
||||
|
||||
- backend for Agfa SnapScan updated to V0.8
|
||||
works with new sg-modul from kernel > 2.2.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 15 09:39:22 CEST 1999 - ro@suse.de
|
||||
|
||||
-xscanimage: renamed GIMP_EXTENSION to IS_GIMP_EXTENSION
|
||||
(GIMP_EXTENSION is already used as enumerator as of gimp-1.1.10)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 2 19:02:36 CEST 1999 - ro@suse.de
|
||||
|
||||
- update to 1.0.1
|
||||
- fixed neededforbuild to get gimp-support back
|
||||
- removed tcl tk from neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 18 11:44:25 MEST 1999 - mha@suse.de
|
||||
|
||||
- removed '#' in front of /usr/sbin/saned in sane.spec
|
||||
for mb who isn't here today ;-)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 13 12:42:22 MEST 1999 - bs@suse.de
|
||||
|
||||
- use gtk and glib instead of gtkn and glibn
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 19 14:16:40 MET 1999 - mb@suse.de
|
||||
|
||||
- fixed gtkn, gtkndev, glibn, glibndev dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 15:15:53 MET 1998 - mb@suse.de
|
||||
|
||||
- major update to version 1.0
|
||||
- new enhanced drivers for Abaton, Agfa Focus and Ricoh scanners
|
||||
- Kodak DC210 still not supported
|
||||
- Update for many drivers (Artec,Kodak,DC25,Microtek,Microtek2,Mustek
|
||||
UMAX and SnapScan).
|
||||
- removed sgcheck. sgcheck now is in scsiinfo.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 23 15:07:44 MET 1998 - mb@suse.de
|
||||
|
||||
- added sgcheck tool. It scans /proc/scsi/scsi and tells you
|
||||
exactly the generic scsi ID of your SCSI devices, respectively
|
||||
your scanner.
|
||||
- added README.sgcheck
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 18 09:02:40 MET 1998 - ro@suse.de
|
||||
|
||||
- added libsane.so
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 17 16:52:19 MET 1998 - ro@suse.de
|
||||
|
||||
- adjust neededforbuild to current distribution
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 13 14:49:08 MET 1998 - mb@suse.de
|
||||
|
||||
- new version 0.74
|
||||
- new and more scanners supported
|
||||
- automatically detects attached scanners
|
||||
-------------------------------------------------------------------
|
||||
Mon May 25 13:39:12 MEST 1998 - mb@suse.de
|
||||
|
||||
- new version 0.73
|
||||
- according to author may still cause trouble with microtek2 scanners!!
|
||||
- uses new gtk1.0.1
|
||||
- added scanners to supported list
|
||||
- lots of bug fixed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 11 18:20:24 MET 1998 - ro@suse.de
|
||||
|
||||
- added libsane.so.0 to filelist
|
||||
|
||||
-------------------------------------------
|
||||
Wed Feb 4 14:53:43 MET 1998 - mb@suse.de
|
||||
|
||||
- new version 0.70
|
||||
- added support for various scanners, such as agfa, microtek etc.
|
||||
- bugfixing for umax scanners
|
||||
-------------------------------------------
|
||||
|
||||
Sun Sep 21 21:17:00 MEST 1997 - mb@suse.de
|
||||
|
||||
Initial version 0.63
|
||||
-------------------------------------------
|
855
sane-backends.spec
Normal file
855
sane-backends.spec
Normal file
@ -0,0 +1,855 @@
|
||||
#
|
||||
# spec file for package sane-backends (Version 1.0.18)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: sane-backends
|
||||
BuildRequires: libgphoto2-devel libieee1284 libjpeg-devel libpng net-snmp-devel pkgconfig te_ams te_latex
|
||||
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||
Group: Hardware/Scanner
|
||||
Autoreqprov: on
|
||||
Summary: SANE (Scanner Access Now Easy) scanner drivers
|
||||
Version: 1.0.18
|
||||
Release: 6
|
||||
URL: http://www.sane-project.org/
|
||||
# URL for Source0: http://alioth.debian.org/download.php/1669/sane-backends-1.0.18.tar.gz
|
||||
Source0: sane-backends-%{version}.tar.bz2
|
||||
# Source100... is SUSE specific stuff:
|
||||
Source100: sane-dev
|
||||
Source101: sane-port
|
||||
Source102: sane.reg
|
||||
# Enhanced descriptions-external file for the hpoj backend (provided by the package hp-officeJet):
|
||||
Source103: hpoj.desc
|
||||
# New descriptions-external file for the hpaio backend (provided by the package hplip):
|
||||
# Get scan/sane/hpaio.desc from the hplip sources which matches to this sane package
|
||||
# version (i.e. get it from the same distribution).
|
||||
# Set the version which matches to the HPLIP version (e.g. :version "1.6.6a").
|
||||
# Beautify the model names:
|
||||
# sed -e 's/"[Hh][Pp] /"/' \
|
||||
# -e 's/[Pp][Ss][Cc]/PSC/' \
|
||||
# -e 's/Printer Scanner Copier/PSC/' \
|
||||
# -e 's/[Oo][Ff][Ff][Ii][Cc][Ee][Jj][Ee][Tt]/OfficeJet/' \
|
||||
# -e 's/[Ss][Ee][Rr][Ii][Ee][Ss]/series/' \
|
||||
# Make seperate model entries e.g. for "LaserJet 3300 3310 3320".
|
||||
# Change entries like "FooBar series 123" to "FooBar 123 series".
|
||||
# Check if models are no longer listed:
|
||||
# ( export IFS='"' ; \
|
||||
# for m in $( grep '^:model' hpaio.desc.old | grep -o '".*' ) ; \
|
||||
# do grep -q "$m" hpaio.desc || echo $m ; \
|
||||
# done )
|
||||
Source104: hpaio.desc
|
||||
# Original iscan descriptions-external file for the epkowa backend (provided by the package iscan).
|
||||
# This file is a copy of .../doc/epkowa.desc in the sources of the iscan package
|
||||
# but for compliance with the rest the manufacturer name is changed from "EPSON" to "Epson":
|
||||
# Check if models are no longer listed:
|
||||
# ( export IFS='"' ; \
|
||||
# for m in $( grep '^:model' epkowa.desc.old | grep -o '".*' ) ; \
|
||||
# do grep -q "$m" epkowa.desc || echo $m ; \
|
||||
# done )
|
||||
Source105: epkowa.desc
|
||||
# Script which outputs a global HAL fdi file for scanners which are known to SANE:
|
||||
Source106: create_hal_global_fdi_for_scanners
|
||||
# Patch1 does locale rename: no -> nb:
|
||||
Patch1: sane-backends-1.0.16-nb.patch
|
||||
# Patch2 fixes a too small char array which causes a buffer overflow if SANE_DEBUG_EPSON is set:
|
||||
Patch2: fix-buffer-overflow.patch
|
||||
# Patch3 replaces fixed HZ compile-time value by sysconf(_SC_CLK_TCK) runtime value:
|
||||
Patch3: replace-HZ-by-sysconf_SC_CLK_TCK.patch
|
||||
# Patch4 disables hw_ink_remain which causes a buffer overflow in fujitsu.c:
|
||||
Patch4: fujitsu-disable-hw_ink_remain.patch
|
||||
# Patch5 fixes an uninitialized variable in teco2.c:
|
||||
Patch5: fix-uninitialized-variables.patch
|
||||
# Patch6 fixes an ambiguous post/pre increment in canon-sane.c:
|
||||
Patch6: fix-ambiguous-post-pre-increment.patch
|
||||
# Patch100... is SUSE specific stuff:
|
||||
# Patch100 lets the "canon" backend do scanner auto-recognition:
|
||||
Patch100: canon-backend-autoprobing.patch
|
||||
# Patch101 disables the special resmgr support in SANE (resmgr works now via ACLs):
|
||||
Patch101: disable-resmgr-support.patch
|
||||
# Install into this non-root directory (required when norootforbuild is used):
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# The postinstall script requires this:
|
||||
PreReq: coreutils, /bin/sed, /bin/grep
|
||||
# Built with libieee1284 which is needed to access parallel port scanners:
|
||||
Requires: libieee1284
|
||||
# Suse Linux and openSUSE have the package name 'sane' for 'sane-backends'.
|
||||
# Therefore this RPM provides 'sane' and it also obsoletes it:
|
||||
Provides: sane
|
||||
Obsoletes: sane
|
||||
# Skip testing devel dependencies required by libtool .la files by the following comment:
|
||||
# skip-check-libtool-deps
|
||||
|
||||
%description
|
||||
The software consists of SANE scanner drivers, "scanimage," and the
|
||||
"saned" daemon.
|
||||
|
||||
The user uses a SANE scanner driver via a SANE front-end. This package
|
||||
contains the command line front-end "scanimage". There are various
|
||||
graphical front-ends like "xscanimage" (package sane-frontends), XSane
|
||||
(package xsane), and the KDE front-end Kooka (package
|
||||
kdegraphics3-scan).
|
||||
|
||||
The "saned" daemon provides the service "sane-port" to access scanners
|
||||
that are connected to a server via network from client hosts that run
|
||||
the "net" meta driver.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Abel Deuring <a.deuring@satzbau-gmbh.de>
|
||||
Andras Major <andras@users.sourceforge.net>
|
||||
Andreas Beck <becka@uni-duesseldorf.de>
|
||||
Andreas Bolsch <ab@maths.nott.ac.uk>
|
||||
Andreas Czechanowski <m075@ins.uni-stuttgart.de>
|
||||
Andreas Nowack <nowack.andreas@gmx.de>
|
||||
Andreas Rick <andreas.rick@free.fr>
|
||||
Andrew Kuchling <amk@magnet.com>
|
||||
Bernd Schroeder <bernd@aquila.muc.de>
|
||||
Bertrik Sikken <bertrik@zonnet.nl>
|
||||
Brian J. Murrell <brian@interlinx.bc.ca>
|
||||
Chris Bagwell <cbagwell@users.sourceforge.net>
|
||||
Chris Pinkham <cpinkham@corp.infi.net>
|
||||
Christian Bucher <cbucher@vernetzt.at>
|
||||
David Etherton <etherton@netcom.com>
|
||||
David F. Skoll <dskoll@iname.com>
|
||||
David Huggins-Daines <bn711@freenet.carleton.ca>
|
||||
David Mosberger <David.Mosberger@acm.org>
|
||||
David Stevenson <david.stevenson@zoom.co.uk>
|
||||
Didier Carlier <didier@sema.be>
|
||||
Earle F. Philhower III <earle@ziplabel.com>
|
||||
Eddy De Greef <eddy_de_greef@tiscali.be>
|
||||
Eugene S. Weiss <yossarian@users.sourceforge.net>
|
||||
Feico W. Dillema <dillema@acm.org>
|
||||
Franck Schneider <schnefra@hol.fr>
|
||||
Frank Zago <sane@zago.net>
|
||||
Frederik Ramm <frederik@remote.org>
|
||||
Gerard Klaver <gerard@gkall.hobby.nl>
|
||||
Gerhard Jaeger <gerhard@gjaeger.de>
|
||||
Giuseppe Sacco <eppesuig@debian.org>
|
||||
Glenn Ramsey <glenn@componic.com>
|
||||
Gordon Matzigkeit <gord@gnu.org>
|
||||
Guido Muesch <odiug@faho.rwth-aachen.de>
|
||||
Helmut Koeberle <helmut.koeberle@bytec.de>
|
||||
Henning Meier-Geinitz <henning@meier-geinitz.de>
|
||||
Henrik Johansson <henrikjo@post.urfors.se>
|
||||
Ingo Schneider <schneidi@informatik.tu-muenchen.de>
|
||||
Ingo Wilken <Ingo.Wilken@informatik.uni-oldenburg.de>
|
||||
James Perry <jamesp@epcc.ed.ac.uk>
|
||||
Jeff Freedman <jsf@hevanet.com>
|
||||
Jochen Eisinger <jochen.eisinger@gmx.net>
|
||||
Juergen G. Schimmer <schimmi@nbgm.siemens.de>
|
||||
Julien Blache <jb@jblache.org>
|
||||
Karl Anders Oygard <karlo@opera.no>
|
||||
Karl Heinz Kremer <khk@khk.net>
|
||||
Karsten Festag <karsten.festag@gmx.de>
|
||||
Kazuhiro Sasayama <kaz@hypercore.co.jp>
|
||||
Kazuya Fukuda <kaafuu@mug.biglobe.ne.jp>
|
||||
Kevin Charter <charter@cs.rice.edu>
|
||||
M. Allan Noah <anoah@pfeiffer.edu>
|
||||
M.F. <massifr@tiscalinet.it>
|
||||
Manuel Panea <Manuel.Panea@rzg.mpg.de>
|
||||
Marcio Teixeira <marciot@users.sourceforge.net>
|
||||
Marian Eichholz <eichholz@computer.org>
|
||||
Markus Mertinat <Markus.Mertinat@Physik.Uni-Augsburg.DE>
|
||||
Martijn van Oosterhout <kleptog@svana.org>
|
||||
Matthew Duggan <stauff1@users.sourceforge.net>
|
||||
Matthew Marjanovic <maddog@mir.com>
|
||||
Mattias Ellert <mattias.ellert@tsl.uu.se>
|
||||
Max Vorobiev <pcwizard@yandex.ru>
|
||||
Meino Christian Cramer <mccramer@s.netic.de>
|
||||
Michael Herder <crapsite@gmx.net>
|
||||
Michael K. Johnson <johnsonm@redhat.com>
|
||||
Michel Roelofs <michelr@stack.nl>
|
||||
Milon Firikis <milonf@ariadne-t.gr>
|
||||
Mitsuru Okaniwa <m-okaniwa@bea.hi-ho.ne.jp>
|
||||
Nathan Rutman <nathan@gordian.com>
|
||||
Oliver Rauch <Oliver.Rauch@Rauch-domain.de>
|
||||
Oliver Schirrmeister <oschirr@abm.de>
|
||||
Oliver Schwartz <oliverschwartz@users.sourceforge.net>
|
||||
Patrick Reynolds <patrickr@virginia.edu>
|
||||
Peter Fales <peter@fales-lorenz.net>
|
||||
Peter Kirchgessner <peter@kirchgessner.net>
|
||||
Petter Reinholdtsen <pere@hungry.com>
|
||||
Randolph Bentson <bentson@grieg.holmsjoen.com>
|
||||
Rene Rebe <rene@rocklinux.org>
|
||||
Roger Wolff <R.E.Wolff@BitWizard.nl>
|
||||
Sebastien Sable <Sebastien.Sable@snv.jussieu.fr>
|
||||
Sergey Vlasov <vsu@altlinux.ru>
|
||||
Simon Krix <kinsei@users.sourceforge.net>
|
||||
Simon Munton <simon@munton.demon.co.uk>
|
||||
Stephane Voltz <svoltz@wanadoo.fr>
|
||||
Thomas Soumarmon <soumarmt@nerim.net>
|
||||
Tom Martone <tom@martoneconsulting.com>
|
||||
Tom Wang <tom.wang@mustek.com.tw>
|
||||
Tristan Tarrant <ttarrant@etnoteam.it>
|
||||
Ullrich Sigwanz <usigwanz@freesurf.ch>
|
||||
Ulrich Deiters <ukd@xenon.pc.Uni-Koeln.DE>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# locale rename: no -> nb:
|
||||
%patch1 -b .nb
|
||||
mv po/sane-backends.no.po po/sane-backends.nb.po
|
||||
# Patch2 fixes a too small char array which causes a buffer overflow if SANE_DEBUG_EPSON is set:
|
||||
%patch2
|
||||
# Patch3 replaces fixed HZ compile-time value by sysconf(_SC_CLK_TCK) runtime value:
|
||||
%patch3
|
||||
# Patch4 disables hw_ink_remain which causes a buffer overflow in fujitsu.c:
|
||||
%patch4
|
||||
# Patch5 fixes an uninitialized variable in teco2.c:
|
||||
%patch5
|
||||
# Patch6 fixes an ambiguous post/pre increment in canon-sane.c:
|
||||
%patch6
|
||||
# Patch100... is SUSE specific stuff:
|
||||
# Patch100 lets the "canon" backend do scanner auto-recognition:
|
||||
%patch100
|
||||
# Patch101 disables the special resmgr support in SANE (resmgr works now via ACLs):
|
||||
%patch101
|
||||
# Source100... is SUSE specific stuff:
|
||||
# Replace hpoj.desc descriptions-external file by our enhanced version:
|
||||
cp %{SOURCE103} doc/descriptions-external/hpoj.desc
|
||||
# Add our new hpaio.desc descriptions-external file:
|
||||
cp %{SOURCE104} doc/descriptions-external/hpaio.desc
|
||||
# Replace epkowa.desc descriptions-external file by the version from the iscan package:
|
||||
cp %{SOURCE105} doc/descriptions-external/epkowa.desc
|
||||
|
||||
%build
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
autoreconf -fi
|
||||
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -DGIMP_ENABLE_COMPAT_CRUFT=1 -fno-strict-aliasing"
|
||||
export LDFLAGS="-L/%_lib $LDFLAGS"
|
||||
# Disable locking because /var/lock/sane/ would be a world-writable directory:
|
||||
./configure --prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=%{_sysconfdir} \
|
||||
--libdir=%{_libdir} \
|
||||
--sbindir=%{_sbindir} \
|
||||
--mandir=%{_mandir} \
|
||||
--datadir=%{_datadir} \
|
||||
--with-gphoto2 \
|
||||
--with-docdir=%{_defaultdocdir}/sane-backends \
|
||||
--disable-locking
|
||||
# Enable locking for backends where "99" is the group of the lockfile path (LOCKPATH_GROUP)
|
||||
# because "99" is the group of the user who runs the build when norootforbuild is used
|
||||
# and set localstatedir to have the lock files in /var/lock/sane (see backend/Makefile.in).
|
||||
# --enable-locking \
|
||||
# --with-group=99 \
|
||||
# --localstatedir=/var
|
||||
make
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
# Add libsane-dll links to _libdir so that it will be found by all SANE frontends.
|
||||
# Change directory to get relative paths in the links (i.e. without $RPM_BUILD_ROOT)
|
||||
# but use a subshell to avoid a permanent directory change:
|
||||
rm -rf %{buildroot}%{_libdir}/libsane-dll.so*
|
||||
( cd %{buildroot}%{_libdir} && ln -s sane/libsane-dll.so* . )
|
||||
# Disable all backends in /etc/sane.d/dll.conf to avoid problems when backends are active by default:
|
||||
perl -pi -e 's/^([^#].*)$/#$1/' %{buildroot}%{_sysconfdir}/sane.d/dll.conf
|
||||
# Allow all users to write into /var/lock/sane/ so that the backends work for normal users
|
||||
# and set the sticky bit (i.e. others are not allowed to remove lock files):
|
||||
#chmod 1777 %{buildroot}/var/lock/sane/
|
||||
# Install the descriptions and descriptions-external files.
|
||||
# These files are the sources to make %{_defaultdocdir}/sane/sane-backends/*.html
|
||||
# but these source files must also exist in the installed sane package
|
||||
# because YaST needs them to create its scanner database:
|
||||
for d in descriptions descriptions-external
|
||||
do install -d -m755 %{buildroot}%{_datadir}/sane/$d
|
||||
install -m644 doc/$d/*.desc %{buildroot}%{_datadir}/sane/$d
|
||||
done
|
||||
# Add ':firmware "required"' entries for the respective scanners to the descriptions files
|
||||
# so that YaST can show firmware upload related information to the user of such a scanner.
|
||||
# This must be done after build because those entries are a SUSE specific extension.
|
||||
# As far as we know all scanners which use the backend gt68xx
|
||||
# and the related backend artec_eplus48u require a firmware upload,
|
||||
# see "man sane-gt68xx" and http://www.meier-geinitz.de/sane/gt68xx-backend/
|
||||
# and see "man sane-artec_eplus48u":
|
||||
for b in gt68xx artec_eplus48u
|
||||
do sed -i -e 's/^:model.*$/&\n:firmware "required"/' %{buildroot}%{_datadir}/sane/descriptions/$b.desc
|
||||
done
|
||||
# As far as we know (almost) all USB scanners (but not the SCSI scanners)
|
||||
# which use the backend snapscan require a firmware upload,
|
||||
# see "man sane-snapscan" and http://snapscan.sourceforge.net/:
|
||||
sed -i -e 's/^:interface "USB".*$/&\n:firmware "required"/' %{buildroot}%{_datadir}/sane/descriptions/snapscan.desc
|
||||
# Only the "SnapScan 1236u" needs no firmware upload (see Suse/Novell bug #73960):
|
||||
sed -i -e '/:model "SnapScan 1236u"/,/:firmware "required"/s/required//' %{buildroot}%{_datadir}/sane/descriptions/snapscan.desc
|
||||
# Install the USB usermap file (list of USB manufacturer and model IDs)
|
||||
# and the matching hotplug script under /usr/share/sane because we do not actually use it
|
||||
# because our resmgr grants USB access by default without hotplug or usermap stuff.
|
||||
install -m644 tools/hotplug/libsane.usermap %{buildroot}%{_datadir}/sane/
|
||||
install -m755 tools/hotplug/libusbscanner %{buildroot}%{_datadir}/sane/
|
||||
# Install the script which outputs a global HAL fdi file for scanners which are known to SANE.
|
||||
# Calling it as postinstall script should obsolete /etc/init.d/sane-dev.
|
||||
install -m755 %{SOURCE106} %{buildroot}%{_datadir}/sane/
|
||||
# Have sane-dev still available in case of backward compatibility problems:
|
||||
install -m755 %{SOURCE100} %{buildroot}%{_datadir}/sane/
|
||||
# xinetd stuff:
|
||||
install -d -m755 %{buildroot}%{_sysconfdir}/xinetd.d/
|
||||
install -m644 %{SOURCE101} %{buildroot}%{_sysconfdir}/xinetd.d/
|
||||
# OpenSLP registration stuff:
|
||||
install -d -m755 %{buildroot}%{_sysconfdir}/slp.reg.d
|
||||
install -m644 %{SOURCE102} %{buildroot}%{_sysconfdir}/slp.reg.d
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
# Run the script which outputs a global HAL fdi file for scanners which are known to SANE
|
||||
# so that resmgr permissions for most scanner models are predefined out-of-the box.
|
||||
# (Over)Write the predefined entries to /etc/hal/fdi/policy/10osvendor/70-scanner.fdi
|
||||
# so that /etc/hal/fdi/policy/10osvendor/80-scanner.fdi is unchanged (in case of an update)
|
||||
# and 80-scanner.fdi is still available for special additional entries
|
||||
# (e.g. when YaST creates 80-scanner.fdi for models which are not in 70-scanner.fdi):
|
||||
mkdir -p -m755 /etc/hal/fdi/policy/10osvendor
|
||||
/usr/share/sane/create_hal_global_fdi_for_scanners >/etc/hal/fdi/policy/10osvendor/70-scanner.fdi
|
||||
# exit successfully in any case:
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_sysconfdir}/sane.d
|
||||
%config(noreplace) %{_sysconfdir}/sane.d/*.conf
|
||||
%config(noreplace) %{_sysconfdir}/slp.reg.d
|
||||
%config(noreplace) %{_sysconfdir}/xinetd.d/sane-port
|
||||
%{_sbindir}/saned
|
||||
%{_bindir}/scanimage
|
||||
%{_bindir}/sane-config
|
||||
%{_bindir}/sane-find-scanner
|
||||
%{_bindir}/gamma4scanimage
|
||||
%{_datadir}/locale/*/LC_MESSAGES/sane-backends.mo
|
||||
%{_datadir}/sane/
|
||||
%{_libdir}/libsane*
|
||||
%{_libdir}/sane/
|
||||
%{_includedir}/sane/
|
||||
#%dir /var/lock/sane
|
||||
%doc %{_defaultdocdir}/sane-backends/
|
||||
%doc %{_mandir}/man1/scanimage.1.gz
|
||||
%doc %{_mandir}/man1/sane-config.1.gz
|
||||
%doc %{_mandir}/man1/sane-find-scanner.1.gz
|
||||
%doc %{_mandir}/man1/gamma4scanimage.1.gz
|
||||
%doc %{_mandir}/man5/sane-*.5.gz
|
||||
%doc %{_mandir}/man7/sane.7.gz
|
||||
%doc %{_mandir}/man8/saned.8.gz
|
||||
|
||||
%changelog
|
||||
* Wed Feb 21 2007 - jsmeix@suse.de
|
||||
- Added a fix for an "array subscript is above array bounds"
|
||||
error in niash.c to fix-buffer-overflow.patch
|
||||
(see Suse Bugzilla bug 246654).
|
||||
* Wed Jan 31 2007 - jsmeix@suse.de
|
||||
- Added a fix for an "array subscript is above array bounds"
|
||||
error in sanei_ab306.c to fix-buffer-overflow.patch
|
||||
(see Suse Bugzilla bug 239953).
|
||||
* Mon Jan 29 2007 - jsmeix@suse.de
|
||||
- Renamed the package from 'sane' (which is only used by Suse)
|
||||
to 'sane-backends' which is used by the rest of the world
|
||||
and let this package provide and obsolete 'sane'.
|
||||
- Updated replace-HZ-by-sysconf_SC_CLK_TCK.patch to what
|
||||
there will be done upstream.
|
||||
* Fri Dec 08 2006 - jsmeix@suse.de
|
||||
- fix-ambiguous-post-pre-increment.patch fixes an ambiguous
|
||||
post-increment in canon-sane.c for big-endian architectures
|
||||
(e.g. PowerPC).
|
||||
* Fri Oct 27 2006 - jsmeix@suse.de
|
||||
- Updated hpaio.desc from the current HPLIP version 1.6.10
|
||||
- Updated epkowa.desc from the current Iscan version 2.3.0.1.
|
||||
- Added fixes of possible strncat buffer overflows and
|
||||
strncpy unterminated string errors in as6e.c
|
||||
to fix-buffer-overflow.patch.
|
||||
- Replaced the complicated postinstall script by calling
|
||||
create_hal_global_fdi_for_scanners which should obsolete
|
||||
sane-dev (see Suse Bugzilla bug 160899).
|
||||
- Moved sane-dev from {_initrddir} to {_datadir}/sane/ to have it
|
||||
still available in case of backward compatibility problems.
|
||||
* Sun Oct 22 2006 - meissner@suse.de
|
||||
- buildrequires libgphoto2-devel.
|
||||
* Mon Sep 18 2006 - jsmeix@suse.de
|
||||
- fix-uninitialized-variables.patch fixes an uninitialized
|
||||
variable in teco2.c (see Suse Bugzilla bug 205451).
|
||||
- create_hal_global_fdi_for_scanners can be called by HAL or YaST
|
||||
to create a global HAL fdi file for scanners which are known
|
||||
by the current SANE version (see Suse Bugzilla bug 160899).
|
||||
* Mon Sep 11 2006 - jsmeix@suse.de
|
||||
- disable-resmgr-support.patch disables the resmgr support in SANE
|
||||
which is no longer needed in SANE because resmgr works now
|
||||
outside of SANE via ACLs for the scanner device nodes.
|
||||
* Mon Sep 04 2006 - jsmeix@suse.de
|
||||
- Replaced the fix from Thu Aug 31 in fujitsu.c by a new fix
|
||||
fujitsu-disable-hw_ink_remain.patch which disables hw_ink_remain
|
||||
which causes a buffer overflow (see Suse Bugzilla bug 202243).
|
||||
* Thu Aug 31 2006 - jsmeix@suse.de
|
||||
- Added a fix of a too small char array in fujitsu.c to
|
||||
fix-buffer-overflow.patch (see Suse Bugzilla bug 202243).
|
||||
* Fri Jul 21 2006 - jsmeix@suse.de
|
||||
- canon-backend-autoprobing.patch lets the "canon" backend
|
||||
do scanner auto-recognition (see Suse Bugzilla bug 177492).
|
||||
* Tue Jul 04 2006 - jsmeix@suse.de
|
||||
- Updated to sane-backends version 1.0.18:
|
||||
New backends: dell1600n_net, hp3500, pixma, stv680.
|
||||
Updated backends: avision, canon, dll, epson, fujitsu, genesys,
|
||||
gt68xx, microtek2, mustek_pp, niash, plustek, snapscan, sp15c,
|
||||
test, u12, umax1220u.
|
||||
Several bug fixes.
|
||||
- fix-buffer-overflow.patch fixes a too small char array
|
||||
which causes a buffer overflow if SANE_DEBUG_EPSON is set.
|
||||
- replace-HZ-by-sysconf_SC_CLK_TCK.patch replaces the fixed HZ
|
||||
compile-time value (no longer supported by new glibc)
|
||||
by the more correct sysconf(_SC_CLK_TCK) runtime value.
|
||||
- Updated hpaio.desc from the current HPLIP version 1.6.6a.
|
||||
- Updated epkowa.desc from the current Iscan version 2.1.0.1.
|
||||
* Wed Mar 22 2006 - jsmeix@suse.de
|
||||
- Added "haldaemon" to Should-Start in /etc/init.d/sane-dev and
|
||||
keeping old name "hal" for the same boot facility to be safe.
|
||||
* Wed Mar 15 2006 - jsmeix@suse.de
|
||||
- Fixed percent-characters for RPM in post-install script
|
||||
(use '%%%%' in spec file to get actually '%%' in the script).
|
||||
* Mon Mar 13 2006 - jsmeix@suse.de
|
||||
- Added automagic but safe pos-install script which tries
|
||||
to update resmgr permissions for scanners for an update
|
||||
from Suse Linux 10.0 to 10.1 (see Suse Bugzilla bug 157055).
|
||||
* Fri Jan 27 2006 - jsmeix@suse.de
|
||||
- Current epkowa.desc from the current iscan package.
|
||||
- Current hpaio.desc made from the current hplip package.
|
||||
- Changed hpoj.desc to match better to hpaio.desc.
|
||||
Added "hpoj is outdated" comments to hpoj.desc.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Tue Jan 03 2006 - jsmeix@suse.de
|
||||
- Updated to sane-backends version 1.0.17.
|
||||
* Mon Sep 26 2005 - jsmeix@suse.de
|
||||
- Disabled locking because /var/lock/sane/ would be world writable.
|
||||
* Tue Sep 20 2005 - jsmeix@suse.de
|
||||
- Updated to sane-backends version 1.0.16.
|
||||
* Mon Aug 22 2005 - jsmeix@suse.de
|
||||
- Updated the hpaio.desc file according to our current HPLIP
|
||||
software version 0.9.4.
|
||||
* Tue Aug 09 2005 - jsmeix@suse.de
|
||||
- Updated the epkowa.desc in this package with the newest version
|
||||
from the iscan package to build the SANE documentation files
|
||||
accordingly (see the entry dated Thu Feb 17 16:52:24 CET 2005).
|
||||
* Mon Aug 01 2005 - jsmeix@suse.de
|
||||
- Added the USB usermap file to the sane package to have the
|
||||
USB manufacturer and model IDs available for scanner detection.
|
||||
* Wed May 25 2005 - jsmeix@suse.de
|
||||
- Added "Should-Start: hal" to sane-dev.
|
||||
- The "SnapScan 1236u" needs no firmware upload (SUSE bug 73960).
|
||||
* Tue May 17 2005 - jsmeix@suse.de
|
||||
- Fix "... is used uninitialized ..." warnings.
|
||||
* Fri Mar 11 2005 - jsmeix@suse.de
|
||||
- Removed the obsolete SLP stuff from sane-dev
|
||||
because sane-dev has nothing to do with
|
||||
saned and its SLP registration (SUSE bug 72156).
|
||||
- Using only SANE device entries in sane-dev which start
|
||||
with '^/dev/' to find possible SCSI devices because e.g.
|
||||
HPLIP creates SANE devices like 'hpaio:.../dev/...'.
|
||||
- Replaced the test with 'ps' for a running scanimage
|
||||
with a simpler test using '/proc/$scanimagePID/cmdline'.
|
||||
* Thu Feb 24 2005 - jsmeix@suse.de
|
||||
- Increased the maximum wait time in sane-dev to 30 seconds
|
||||
because some scanners fall asleep and need a longer time
|
||||
to wake up and respond to 'scanimage -f ...'.
|
||||
* Thu Feb 17 2005 - jsmeix@suse.de
|
||||
- Updated the SUSE versions of the descriptions-external files.
|
||||
- Now the SUSE versions of the descriptions-external files
|
||||
are used for build so that the SANE documentation files
|
||||
%%{_defaultdocdir}/sane/sane-backends/*.html
|
||||
are built accordingly.
|
||||
- Added 'Provides: sane-backends' because the rest of the world has
|
||||
package names 'sane-backends' and 'sane-frontends' according to
|
||||
the two SANE software projecs. Therefore third party RPMs which
|
||||
require SANE libraries usually have 'Requires: sane-backends'.
|
||||
* Thu Feb 10 2005 - ro@suse.de
|
||||
- added libpng to neededforbuild (for tetex)
|
||||
* Tue Feb 08 2005 - jsmeix@suse.de
|
||||
- Replaced the descriptions-external file epkowa.desc from SANE
|
||||
by an extended SUSE version which has more model listed
|
||||
according to "man sane-epkowa" in the SUSE iscan package.
|
||||
- Removed the automated "insserv" for sane-dev because this
|
||||
is now done by the YaST scanner config only if a SCSI scanner
|
||||
was set up (i.e. for USB scanners sane-dev is useless and
|
||||
therefore it should not run by default).
|
||||
* Wed Feb 02 2005 - jsmeix@suse.de
|
||||
- Added a descriptions-external file hpaio.desc which was
|
||||
manually derived from the models.xml in the hplip package.
|
||||
Therefore there is a package version problem to have a fixed
|
||||
source file hpaio.desc but in the future an automated script
|
||||
may create an up to date hpaio.desc file.
|
||||
* Tue Dec 28 2004 - jsmeix@suse.de
|
||||
- Changed how the descriptions and descriptions-external files
|
||||
are installed (those files are needed by YaST to create its
|
||||
scanner database): No longer via a doc/Makefile.in patch
|
||||
but directly in the spec file to avoid changes in the sources
|
||||
for SUSE-specific stuff.
|
||||
- Added ':firmware "required"' entries for the respective scanners
|
||||
to the descriptions files (for gt68xx, artec_eplus48u, snapscan)
|
||||
so that YaST knows which scanners require a firmware upload.
|
||||
- Replaced the descriptions-external file hpoj.desc from SANE
|
||||
by an extended SUSE version which has a list of explicite model
|
||||
names added so that YaST can show a detailed model list.
|
||||
* Wed Nov 17 2004 - jsmeix@suse.de
|
||||
- Changed runlevel script "sane-dev":
|
||||
Avoid too long (perhaps infinite) waiting for "scanimage".
|
||||
Maximum wait is 10 seconds.
|
||||
Improved the format of the output.
|
||||
* Wed Nov 10 2004 - jsmeix@suse.de
|
||||
- Changed "sane" runlevel script which sets permissions in /dev/
|
||||
and renamed it to "sane-dev" to avoid confusion with the
|
||||
SANE network daemon "saned" and its service name "sane-port"
|
||||
respectively "sane" (see SUSE bugzilla bug 41233).
|
||||
* Mon Nov 08 2004 - jsmeix@suse.de
|
||||
- new sane-backends version 1.0.15
|
||||
- sane-frontends stuff is moved to the new package sane-frontends
|
||||
* Wed Oct 20 2004 - ro@suse.de
|
||||
- locale rename: no -> nb
|
||||
* Mon Sep 20 2004 - jsmeix@suse.de
|
||||
- Added a test in /etc/init.d/sane whether slpd is really
|
||||
running before "/etc/init.d/slpd reload" is done.
|
||||
(SUSE bugzilla bug 42032).
|
||||
* Wed Sep 15 2004 - jsmeix@suse.de
|
||||
- Added sane-backends-1.0.14-epson_d8.patch which fixes the
|
||||
problem with EPSON D8 function level scanners that have
|
||||
a transparency unit (SUSE bugzilla bug 45075).
|
||||
- Changed the file name of /etc/xinetd.d/sane.xinetd to
|
||||
/etc/xinetd.d/sane-port because xinetd ignores files
|
||||
with names containing a dot (SUSE bugzilla bug 45313).
|
||||
* Fri Aug 13 2004 - jsmeix@suse.de
|
||||
- Changed "sane" to "sane-port" in sane.xinetd see bug 41233
|
||||
* Thu Jul 15 2004 - jsmeix@suse.de
|
||||
- Added libieee1284 support (by using the new libieee1284 package)
|
||||
* Tue Jul 13 2004 - jsmeix@suse.de
|
||||
- Update sane-backends to version 1.0.14
|
||||
* Wed Apr 21 2004 - pth@suse.de
|
||||
- Remove libtool macros from acinclude.m4 that caused build
|
||||
failures.
|
||||
- Fix the cases of unnecessary type-punning, obsoleting the need
|
||||
for -fno-strict-aliasing.
|
||||
- Fix pointer->int casts.
|
||||
* Thu Apr 01 2004 - jsmeix@suse.de
|
||||
- Correction of what was done according to previous entry:
|
||||
Disable all entries in almost all descriptions-external/*.desc
|
||||
files because none of the external backends is included in the
|
||||
sane package
|
||||
except one: /usr/share/sane/descriptions-external/hpoj.desc
|
||||
because the hpoj backend is in fact available because it is
|
||||
in the hp-officeJet package which is installed by default
|
||||
see bug 37885
|
||||
* Mon Mar 29 2004 - jsmeix@suse.de
|
||||
- Removed sane-descriptions-external-epkowa.desc.dif and
|
||||
disabled all entries in all descriptions-external/*.desc files
|
||||
because none of the external backends is included in the sane
|
||||
package (see bugzilla bug #37169) and for details see
|
||||
.../doc/packages/sane/sane-backends/sane-backends-external.html
|
||||
* Thu Mar 25 2004 - jsmeix@suse.de
|
||||
- Patch sane-descriptions-external-epkowa.desc.dif
|
||||
disables those entries in descriptions-external/epkowa.desc
|
||||
which are also in descriptions/epson.desc
|
||||
because we want to prefer the open source backend "epson"
|
||||
(see bugzilla bug #36584).
|
||||
* Tue Mar 23 2004 - meissner@suse.de
|
||||
- gimp plugins are now in ../2.0/...
|
||||
* Mon Mar 22 2004 - meissner@suse.de
|
||||
- epson.conf triggers autodetect on mentioning of "usb", so just
|
||||
add this instead of all ids. #36585
|
||||
* Fri Mar 12 2004 - meissner@suse.de
|
||||
- The plustek driver has its very own idea of a config file format,
|
||||
adapt the config patch.
|
||||
* Mon Mar 08 2004 - meissner@suse.de
|
||||
- Updated the .conf files with most of the USB ids in use,
|
||||
so scanimage -L finds the scanners even without kernel module.
|
||||
* Wed Feb 25 2004 - meissner@suse.de
|
||||
- Merged all system scanner ids into the hardcoded usermap,
|
||||
since newer kernels might no longer have the scanner module.
|
||||
* Sat Feb 21 2004 - ro@suse.de
|
||||
- use no-strict-aliasing
|
||||
* Sat Feb 21 2004 - ro@suse.de
|
||||
- fix gimp plugin link
|
||||
* Sat Feb 21 2004 - ro@suse.de
|
||||
- updated frontends to 1.0.11-cvs to get gimp2 support
|
||||
- use gtk2 for gimp
|
||||
* Wed Feb 18 2004 - meissner@suse.de
|
||||
- actually apply the patch (and update it) and not just
|
||||
readd it to the sources.
|
||||
* Mon Feb 16 2004 - meissner@suse.de
|
||||
- reapply resmgr patch.
|
||||
* Fri Feb 06 2004 - jsmeix@suse.de
|
||||
- new versions sane-backends-1.0.13 and sane-frontends-1.0.11
|
||||
- use the more important backend version number as package version
|
||||
* Sat Jan 17 2004 - meissner@suse.de
|
||||
- fixed small typemismatch in sm3600.c
|
||||
* Wed Nov 19 2003 - adrian@suse.de
|
||||
- use $HOSTNAME instead of $LOCALHOST in slp reg file
|
||||
* Fri Nov 14 2003 - adrian@suse.de
|
||||
- use correct keyword "X-UnitedLinux-Should-Start" in runlevel script
|
||||
* Thu Nov 13 2003 - adrian@suse.de
|
||||
- add xinetd file for sane daemon
|
||||
- let slpd check for running saned via (x)inetd
|
||||
- notify slpd, if using saned init script
|
||||
* Wed Nov 12 2003 - freitag@suse.de
|
||||
- added registration file for slp daemon
|
||||
* Mon Nov 10 2003 - ro@suse.de
|
||||
- use net-snmp instead of ucdsnmp
|
||||
* Fri Oct 10 2003 - hvogel@suse.de
|
||||
- fix scanimage path in the init script
|
||||
* Mon Jun 16 2003 - meissner@suse.de
|
||||
- Also use -L/%%_lib, so we find -lresmgr on x86_64.
|
||||
* Fri Jun 13 2003 - meissner@suse.de
|
||||
- Buildrooted.
|
||||
- Added missing directories and files.
|
||||
* Fri Jun 06 2003 - freitag@suse.de
|
||||
- update to backend version 1.0.12 - better support of current
|
||||
devices.
|
||||
* Mon Mar 03 2003 - freitag@suse.de
|
||||
- fixed a filelist error which turned out to be a wrong lib link.
|
||||
Bug #24567
|
||||
* Wed Feb 26 2003 - meissner@suse.de
|
||||
- Added one missing resmgr invocation.
|
||||
* Mon Feb 17 2003 - meissner@suse.de
|
||||
- Added resmgr support for both SCSI and USB kernel mode.
|
||||
(basically use rsm_open_device). This will allow opening
|
||||
the /dev/*scanner devices as user without need for special
|
||||
permissions.
|
||||
- Added a USB hotplug usermap which makes the sm3600 devices
|
||||
accessible for libusb. (The rest are handled by the yast2 scanner
|
||||
module).
|
||||
* Mon Feb 17 2003 - freitag@suse.de
|
||||
- added epson backend directly from the author Karl Hein Kremer due
|
||||
to further changes to the USB base code. Removed the patch applied
|
||||
before again.
|
||||
* Mon Feb 17 2003 - freitag@suse.de
|
||||
- patch applied to detect Epson scanners via libusb correctly.
|
||||
Thanks to Karl Heinz Kremer who sent it in.
|
||||
* Mon Feb 10 2003 - freitag@suse.de
|
||||
- updated to backends version 1.0.11 which was suggested to avoid
|
||||
a possible security whole.
|
||||
* Mon Feb 03 2003 - freitag@suse.de
|
||||
- update to stable version 1.0.10
|
||||
added gimp and gimp-devel to neededforbuild again to provide gimp
|
||||
support for xscanimage
|
||||
* Fri Jan 31 2003 - meissner@suse.de
|
||||
- neededforbuild +resmgr, so libusb gets detected.
|
||||
* Fri Jan 31 2003 - freitag@suse.de
|
||||
- added backend descriptions file to /usr/share/sane
|
||||
moved the style file from /usr/X11R6/lib to /usr/share/sane
|
||||
added sane postscript and dvi documentation as extra source
|
||||
* Mon Jan 27 2003 - freitag@suse.de
|
||||
- update to version 1.0.10 pre 3
|
||||
* Fri Jan 24 2003 - freitag@suse.de
|
||||
- update to pre version 1.0.10, final will follow soon.
|
||||
Much more scanner supported.
|
||||
* Thu Oct 31 2002 - freitag@suse.de
|
||||
- update to final version 1.0.9
|
||||
* Tue Oct 29 2002 - ro@suse.de
|
||||
- removed (old) libtool macros from acinclude.m4
|
||||
* Fri Oct 18 2002 - freitag@suse.de
|
||||
- updated to pre version of 1.0.9 in advance for 1.0.9 and did some
|
||||
cleanup of the spec like removing a lot of neededforbuild deps
|
||||
and applied proper CFLAGS
|
||||
Added the gt68xx backend that supports expecially rf's new Mustek
|
||||
usb scanner
|
||||
* Mon Sep 09 2002 - freitag@suse.de
|
||||
- fixed filelist and added libsane.so again.
|
||||
* Mon Sep 09 2002 - freitag@suse.de
|
||||
- removed wrong lib libsane-hpoj from packlist, they came from package
|
||||
hp-officeJet accidentially.
|
||||
* Fri Aug 16 2002 - freitag@suse.de
|
||||
- added prerequires (Bug #17983) and a postun procedure
|
||||
* Mon Jul 29 2002 - meissner@suse.de
|
||||
- gphoto -> libgphoto2
|
||||
* Sat Jul 27 2002 - adrian@suse.de
|
||||
- fix neededforbuild
|
||||
* Thu Jul 18 2002 - freitag@suse.de
|
||||
- reapplied __KERNEL__-Patches
|
||||
* Wed Jul 17 2002 - freitag@suse.de
|
||||
- update to sane version 1.0.8:
|
||||
-Network backend and saned update
|
||||
-documentation updates
|
||||
-bugfixes
|
||||
-updated backends
|
||||
-new backends
|
||||
* Tue Mar 19 2002 - freitag@suse.de
|
||||
- fixed bug #14916
|
||||
This bug was caused by an segfault of scanimage which is used to
|
||||
find out which scanner are in operation on the network scan server.
|
||||
Since scanimage uses a one byte to small buffer in a string copy
|
||||
operation, a segfault happens.
|
||||
Fixed that bug by enlarging the buffer.
|
||||
* Fri Mar 08 2002 - freitag@suse.de
|
||||
- fixed bug #14449
|
||||
That changes the sane startup script to work with the scanimage
|
||||
from sane package 1.0.7.
|
||||
Added a proper check for being root or not. only root may start
|
||||
or restart the service (which actually does nothing but setting
|
||||
file permissions for scsi scanner). See rcsane.diff for the patch
|
||||
applied on rc.sane. Note that rcsane.diff is not applied during
|
||||
the build process, but shows the differences against the former
|
||||
version of rc.sane
|
||||
* Mon Feb 18 2002 - freitag@suse.de
|
||||
- fixed bug 13430 - updated to version 1.0.7 of sane. This broadens
|
||||
the scanner support.
|
||||
* Wed Feb 06 2002 - freitag@suse.de
|
||||
- minor fixes in rc.sane: removed useless test on start variable
|
||||
* Thu Jan 10 2002 - freitag@suse.de
|
||||
- updated to V. 1.0.6, provides bugfixes, gphoto2 changes and some
|
||||
new backends
|
||||
- removed rc.config-template and used rpm macro instead to set the
|
||||
rc.config var.
|
||||
- removed mustek_usb external source, because it is now part of the
|
||||
standard sane package.
|
||||
* Tue Jan 08 2002 - egmont@suselinux.hu
|
||||
- changed `adjustscannerperm' to `sane' in init script
|
||||
- removed bogus `probe' entry from the same script
|
||||
* Wed Nov 21 2001 - bjacke@suse.de
|
||||
- remove useless provides
|
||||
- make config files (noreplce)
|
||||
- use libdir macro
|
||||
* Wed Sep 12 2001 - freitag@suse.de
|
||||
- added support for Agfa SnapScan 1236U and updated to a later verion
|
||||
of mustek_usb-Backend, which provides better integration to the
|
||||
main backend module.
|
||||
Disabled all dll-entries in /etc/sane.d/dll.conf to avoid probs
|
||||
with wrong device detection which happend in the past. The yast
|
||||
module enables the correct one, added a README.SuSE to the sane
|
||||
package doc path that describes this change.
|
||||
* Tue Sep 04 2001 - freitag@suse.de
|
||||
- added a rc-script that changes the permissions of scsi scanner
|
||||
devices if they are installed. The scsi device files are switched
|
||||
to permission 666 on startup and reverted back to 640 on shutdown.
|
||||
* Mon Sep 03 2001 - freitag@suse.de
|
||||
- added a backend for mustek usb scanners.
|
||||
* Wed Aug 29 2001 - freitag@suse.de
|
||||
- added support for scanning from HP all-in-one-devices.
|
||||
Therefore, package hp-officeJet is needed.
|
||||
- added a configure option --docdir to get rid of build failiures
|
||||
on distributions which have the documentation not in share.
|
||||
* Mon Aug 27 2001 - freitag@suse.de
|
||||
- applied patches for scanimage and sane-find-scanner that produce
|
||||
better parseable output for scripts etc. to help yast2 module.
|
||||
- added a not yet in SANE released driver for mustek usb scanners,
|
||||
which are quite common in germany. The driver was initially written
|
||||
by a mustek engineer and was overtaken by the mustek backend
|
||||
maintainer of SANE.
|
||||
* Tue Jul 17 2001 - uli@suse.de
|
||||
- disabled direct PIO access for PPC
|
||||
* Thu Jul 05 2001 - freitag@suse.de
|
||||
- update to release 1.0.5
|
||||
- documentation again created dynamically.
|
||||
* Thu Jun 28 2001 - freitag@suse.de
|
||||
- updated to pre-1.0.5 version, 1.0.5 is expected soon
|
||||
- patched sane-find-scanner to have a silent mode.
|
||||
* Mon Apr 09 2001 - freitag@suse.de
|
||||
- applied snapscan-patch, fixed problem with missing gimp-plugin-link
|
||||
* Fri Mar 30 2001 - uli@suse.de
|
||||
- fixed to build on PPC
|
||||
* Fri Mar 23 2001 - freitag@suse.de
|
||||
- removed dependency to gimp, patch to solve timing probs with
|
||||
kernel 2.4
|
||||
* Fri Jan 05 2001 - freitag@suse.de
|
||||
- updated to version 1.0.4
|
||||
* Wed Dec 20 2000 - ro@suse.de
|
||||
- fixed symlink
|
||||
* Mon Nov 20 2000 - freitag@suse.de
|
||||
- hide parport-scanner in standard sane distribution in dll.conf
|
||||
* Wed Nov 15 2000 - freitag@suse.de
|
||||
- skipped parport-scanner driver also for axp
|
||||
* Tue Nov 07 2000 - freitag@suse.de
|
||||
- skipped parport-scanner for ppc and sparc
|
||||
* Mon Nov 06 2000 - freitag@suse.de
|
||||
- fixed Copyright/License-Field in SpecFile
|
||||
* Thu Nov 02 2000 - ro@suse.de
|
||||
- fix neededforbuild for new package-names
|
||||
* Thu Nov 02 2000 - freitag@suse.de
|
||||
- new version 1.0.3
|
||||
patch for Artec AS6E scanner
|
||||
patch for HP4200 PPort Scanner
|
||||
* Mon Sep 25 2000 - uli@suse.de
|
||||
- fixed to build with new GIMP
|
||||
* Mon Sep 25 2000 - egger@suse.de
|
||||
- Upgraded to 1.0.3.
|
||||
- Added -DGIMP_ENABLE_COMPAT_CRUFT to build again.
|
||||
- The specfile is quite messy... maybe the maintainer could clean
|
||||
that up, please?
|
||||
* Mon Sep 25 2000 - ro@suse.de
|
||||
- changed neededforbuild: libgimpd -> gimpdev
|
||||
* Tue Sep 12 2000 - mhafner@suse.de
|
||||
- added suse_update_config
|
||||
* Tue Jun 27 2000 - freitag@suse.de
|
||||
- libs back to /usr/lib/sane - except libsane.so. and libsane-dll
|
||||
* Fri Jun 02 2000 - freitag@suse.de
|
||||
- problem with missing headerfiles and wrong linked libs fixed.
|
||||
* Wed May 24 2000 - freitag@suse.de
|
||||
- new configure switch --enable-scsibuffersize due to reported
|
||||
problems on the SANE-Mailinglist.
|
||||
- installed *all* sane-libraries to /usr/lib
|
||||
* Tue Mar 21 2000 - bodammer@suse.de
|
||||
- backend for Agfa SnapScan V0.8 again
|
||||
* Mon Mar 20 2000 - bodammer@suse.de
|
||||
- update -> sane-1.0.2
|
||||
link to libsane-dll.so.1 included for xsane to work
|
||||
* Sat Mar 04 2000 - ro@suse.de
|
||||
- removed libgimp from neededforbuild
|
||||
* Thu Mar 02 2000 - uli@suse.de
|
||||
- moved man pages to %%{_mandir}
|
||||
* Mon Feb 07 2000 - kukuk@suse.de
|
||||
- Don't check for asm/io.h, this will not work on SPARC
|
||||
* Tue Jan 18 2000 - bodammer@suse.de
|
||||
- backend for Agfa SnapScan updated to V0.8
|
||||
works with new sg-modul from kernel > 2.2.5
|
||||
* Fri Oct 15 1999 - ro@suse.de
|
||||
-xscanimage: renamed GIMP_EXTENSION to IS_GIMP_EXTENSION
|
||||
(GIMP_EXTENSION is already used as enumerator as of gimp-1.1.10)
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Thu Sep 02 1999 - ro@suse.de
|
||||
- update to 1.0.1
|
||||
- fixed neededforbuild to get gimp-support back
|
||||
- removed tcl tk from neededforbuild
|
||||
* Sun Jul 18 1999 - mha@suse.de
|
||||
- removed '#' in front of /usr/sbin/saned in sane.spec
|
||||
for mb who isn't here today ;-)
|
||||
* Tue Jul 13 1999 - bs@suse.de
|
||||
- use gtk and glib instead of gtkn and glibn
|
||||
* Fri Mar 19 1999 - mb@suse.de
|
||||
- fixed gtkn, gtkndev, glibn, glibndev dependencies
|
||||
* Thu Nov 26 1998 - mb@suse.de
|
||||
- major update to version 1.0
|
||||
- new enhanced drivers for Abaton, Agfa Focus and Ricoh scanners
|
||||
- Kodak DC210 still not supported
|
||||
- Update for many drivers (Artec,Kodak,DC25,Microtek,Microtek2,Mustek
|
||||
UMAX and SnapScan).
|
||||
- removed sgcheck. sgcheck now is in scsiinfo.
|
||||
* Mon Nov 23 1998 - mb@suse.de
|
||||
- added sgcheck tool. It scans /proc/scsi/scsi and tells you
|
||||
exactly the generic scsi ID of your SCSI devices, respectively
|
||||
your scanner.
|
||||
- added README.sgcheck
|
||||
* Wed Nov 18 1998 - ro@suse.de
|
||||
- added libsane.so
|
||||
* Tue Nov 17 1998 - ro@suse.de
|
||||
- adjust neededforbuild to current distribution
|
||||
* Fri Nov 13 1998 - mb@suse.de
|
||||
- new version 0.74
|
||||
- new and more scanners supported
|
||||
- automatically detects attached scanners
|
||||
* Mon May 25 1998 - mb@suse.de
|
||||
- new version 0.73
|
||||
- according to author may still cause trouble with microtek2 scanners!!
|
||||
- uses new gtk1.0.1
|
||||
- added scanners to supported list
|
||||
- lots of bug fixed
|
||||
* Wed Mar 11 1998 - ro@suse.de
|
||||
- added libsane.so.0 to filelist
|
||||
* Wed Feb 04 1998 - mb@suse.de
|
||||
- new version 0.70
|
||||
- added support for various scanners, such as agfa, microtek etc.
|
||||
- bugfixing for umax scanners
|
||||
* Sun Sep 21 1997 - mb@suse.de
|
||||
Initial version 0.63
|
152
sane-dev
Normal file
152
sane-dev
Normal file
@ -0,0 +1,152 @@
|
||||
#! /bin/bash
|
||||
# Copyright (c) 2004 SUSE LINUX Products GmbH, Nuernberg, Germany
|
||||
#
|
||||
# Author: Johannes Meixner <http://www.suse.de/feedback>
|
||||
#
|
||||
# System startup script for setting scanner permissions in /dev/
|
||||
#
|
||||
### BEGIN INIT INFO
|
||||
# Provides: sane-dev
|
||||
# Required-Start: $remote_fs $syslog
|
||||
# Should-Start: hal haldaemon
|
||||
# Required-Stop: $remote_fs $syslog
|
||||
# Default-Start: 3 5
|
||||
# Default-Stop: 0 1 2 6
|
||||
# Description: Setting scanner permissions in /dev/.
|
||||
### END INIT INFO
|
||||
|
||||
# Shell functions sourced from /etc/rc.status:
|
||||
# rc_check check and set local and overall rc status
|
||||
# rc_status check and set local and overall rc status
|
||||
# rc_status -v ditto but be verbose in local rc status
|
||||
# rc_status -v -r ditto and clear the local rc status
|
||||
# rc_failed set local and overall rc status to failed
|
||||
# rc_failed <num> set local and overall rc status to <num><num>
|
||||
# rc_reset clear local rc status (overall remains)
|
||||
# rc_exit exit appropriate to overall rc status
|
||||
. /etc/rc.status
|
||||
|
||||
# First reset status of this service
|
||||
rc_reset
|
||||
|
||||
# Return values acc. to LSB for all commands but status:
|
||||
# 0 - success
|
||||
# 1 - generic or unspecified error
|
||||
# 2 - invalid or excess argument(s)
|
||||
# 3 - unimplemented feature (e.g. "reload")
|
||||
# 4 - insufficient privilege
|
||||
# 5 - program is not installed
|
||||
# 6 - program is not configured
|
||||
# 7 - program is not running
|
||||
#
|
||||
# Note that starting an already running service, stopping
|
||||
# or restarting a not-running service as well as the restart
|
||||
# with force-reload (in case signalling is not supported) are
|
||||
# considered a success.
|
||||
|
||||
store_dir=/var/lib/sane
|
||||
store_file=$store_dir/devices
|
||||
maximum_wait=30
|
||||
|
||||
if [ "$1" != "status" -a "$( id -u )" != "0" ]
|
||||
then echo "You must be root (except for \"$0 status\")."
|
||||
rc_failed 4
|
||||
rc_status
|
||||
rc_exit
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
if [ -x /usr/bin/scanimage ]
|
||||
then echo -n "Searching for configured scanners in SANE."
|
||||
[ -d $store_dir ] || mkdir -m 755 $store_dir
|
||||
[ -f $store_file ] && mv $store_file ${store_file}.old
|
||||
/usr/bin/scanimage -f '%d,' 1>${store_file}.raw 2>/dev/null &
|
||||
scanimagePID=$!
|
||||
for i in $( seq $maximum_wait )
|
||||
do grep scanimage /proc/$scanimagePID/cmdline &>/dev/null || break
|
||||
sleep 1
|
||||
echo -n "."
|
||||
done
|
||||
if grep scanimage /proc/$scanimagePID/cmdline &>/dev/null
|
||||
then echo -n " Aborted."
|
||||
kill -9 $scanimagePID &>/dev/null
|
||||
rc_failed 1
|
||||
rc_status -v
|
||||
rc_exit
|
||||
fi
|
||||
cat ${store_file}.raw | tr ',' '\n' | grep -v 'net:' | tr ':' '\n' | grep '^/dev/' | sort -u >$store_file
|
||||
if [ -s $store_file ]
|
||||
then echo -e "\nSetting scanner access mode to rw-rw-rw- for"
|
||||
# to be safe only character device files are changed (e.g. harddisks are not changed)
|
||||
for d in $( cat $store_file )
|
||||
do [ -c $d ] && chmod 666 $d && echo -n "$d "
|
||||
done
|
||||
else echo -en "\nNo scanner device files found."
|
||||
fi
|
||||
else echo -n "Cannot execute /usr/bin/scanimage"
|
||||
rc_failed 5
|
||||
rc_status -v
|
||||
rc_exit
|
||||
fi
|
||||
# Remember status and be verbose
|
||||
rc_status -v
|
||||
;;
|
||||
stop)
|
||||
if [ -s $store_file ]
|
||||
then echo "Resetting scanner access mode to rw-r----- for"
|
||||
# to be safe only character device files are changed (e.g. harddisks are not changed)
|
||||
for d in $( cat $store_file )
|
||||
do [ -c $d ] && chmod 640 $d && echo -n "$d "
|
||||
done
|
||||
else echo -n "There are no scanner device files in $store_file"
|
||||
fi
|
||||
# Remember status and be verbose
|
||||
rc_status -v
|
||||
;;
|
||||
try-restart)
|
||||
## Stop the service and if this succeeds (i.e. the
|
||||
## service was running before), start it again.
|
||||
## Note: try-restart is not (yet) part of LSB (as of 0.7.5)
|
||||
$0 status >/dev/null && $0 restart
|
||||
# Remember status and be quiet
|
||||
rc_status
|
||||
;;
|
||||
restart)
|
||||
## Stop the service and regardless of whether it was
|
||||
## running or not, start it again.
|
||||
$0 stop
|
||||
$0 start
|
||||
# Remember status and be quiet
|
||||
rc_status
|
||||
;;
|
||||
force-reload)
|
||||
## Signal the daemon to reload its config. Most daemons
|
||||
## do this on signal 1 (SIGHUP).
|
||||
## If it does not support it, restart.
|
||||
rc_failed 3
|
||||
rc_status -v
|
||||
;;
|
||||
reload)
|
||||
## Like force-reload, but if daemon does not support
|
||||
## signalling, do nothing (!)
|
||||
# If it supports signalling:
|
||||
rc_failed 3
|
||||
;;
|
||||
status)
|
||||
if [ -s $store_file ]
|
||||
then echo "Scanner access mode is"
|
||||
# only character device files are of interest
|
||||
for d in $( cat $store_file )
|
||||
do [ -c $d ] && ls -l $d | cut -b 2-10 | tr -d '\n' && echo " for $d"
|
||||
done
|
||||
else echo "There are no scanner device files in $store_file"
|
||||
fi
|
||||
rc_status
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
rc_exit
|
14
sane-port
Normal file
14
sane-port
Normal file
@ -0,0 +1,14 @@
|
||||
# default: off
|
||||
# description: The saned provides scanner service via the network. \
|
||||
# Applications like kooka, xsane or xscanimage can use the remote \
|
||||
# scanner.
|
||||
service sane-port
|
||||
{
|
||||
socket_type = stream
|
||||
port = 6566
|
||||
wait = no
|
||||
user = root
|
||||
group = root
|
||||
server = /usr/sbin/saned
|
||||
disable = yes
|
||||
}
|
15
sane.reg
Normal file
15
sane.reg
Normal file
@ -0,0 +1,15 @@
|
||||
#############################################################################
|
||||
#
|
||||
# OpenSLP registration file for the scanner daemon (SANE)
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
#comment
|
||||
;comment
|
||||
|
||||
##Register a saned service on this system
|
||||
service:scanner.sane://$HOSTNAME:6566,en,65535
|
||||
# for inetd usage:
|
||||
tcp-port=6566
|
||||
description=SANE scanner daemon
|
||||
|
Loading…
Reference in New Issue
Block a user