misc/iscan-firmware: Added (firmware files for EPSON USB scanners)

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Manuel Reimer 2010-12-13 15:53:01 -02:00 committed by Erik Hanson
parent 5c3a60f363
commit 0d3df4c6f2
6 changed files with 139 additions and 0 deletions

View file

@ -0,0 +1,6 @@
This is the firmware files for EPSON USB scanners, which are required
to get them to run with the sane "snapscan" backend.
After installing, you will have to read
/usr/doc/iscan-firmware-2.8.0.1/README.Slackware and follow the
instructions inside, or this package will not work for you.

View file

@ -0,0 +1,33 @@
You will need to append the following to the /etc/sane.d/snapscan.conf
file on your system if it's not already there. Note that some (or all)
of these may already be present, if this is an upgrade of iscan-firmware,
or you've previously had it installed.
You will have to uncomment the entry for your scanner.
#-------------- EPSON Image Scan! for Linux Scanner-Firmware --------------
# Perfection 2480/2580 PHOTO (esfw41.bin)
#firmware /usr/share/iscan/esfw41.bin
# Perfection 3170 PHOTO (esfw32.bin)
#firmware /usr/share/iscan/esfw32.bin
# Perfection 3490/3590 PHOTO (esfw52.bin)
#firmware /usr/share/iscan/esfw52.bin
# Perfection 4180 PHOTO (esfw43.bin)
#firmware /usr/share/iscan/esfw43.bin
# Perfection 4490 PHOTO (esfw54.bin)
#firmware /usr/share/iscan/esfw54.bin
# Perfection V10/V100 PHOTO (esfw66.bin)
#firmware /usr/share/iscan/esfw66.bin
# Perfection V350 PHOTO (esfw68.bin)
#firmware /usr/share/iscan/esfw68.bin
# Perfection V200 PHOTO (esfw7A.bin)
#firmware /usr/share/iscan/esfw7A.bin

View file

@ -0,0 +1,5 @@
echo
echo Be sure to read /usr/doc/iscan-firmware-2.8.0.1/README.Slackware
echo for instructions on adding support for loading firmware to your
echo /etc/sane.d/snapscan.conf file.
echo

View file

@ -0,0 +1,66 @@
#!/bin/sh
# Slackware build script for iscan-firmware
# Copyright 2006-2010 Manuel Reimer <manuel.reimer@gmx.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=iscan-firmware
VERSION=2.8.0.1
RPMBUILD=72.1.1 # <-- This is the build number used by OpenSuSE in their RPM
ARCH=noarch
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
rpm2cpio $CWD/$PRGNAM-$VERSION-$RPMBUILD.noarch.rpm | cpio -imdv
#chown -R root:root .
chmod -R u+w,go+r-w,a-s .
cd usr/share
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
# All license files are in the directory of the "iscan-plugin-gt-f520-1.0.0"
# and we only need them once
cp -a doc/packages/iscan-firmware/iscan-plugin-gt-f520-1.0.0/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/README.Slackware > $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/iscan
cp -a iscan/* $PKG/usr/share/iscan
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -0,0 +1,10 @@
PRGNAM="iscan-firmware"
VERSION="2.8.0.1"
HOMEPAGE="http://www.avasys.jp/english/linux_e/index.html"
DOWNLOAD="http://download.opensuse.org/distribution/11.2/repo/non-oss/suse/noarch/iscan-firmware-2.8.0.1-72.1.1.noarch.rpm"
MD5SUM="25049607c81227a7fca1c483e2fbf4f8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Manuel Reimer"
EMAIL="Manuel.Reimer@gmx.de"
APPROVED="Niels Horn"

View file

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
iscan-firmware: iscan-firmware (firmware files for EPSON USB scanners)
iscan-firmware:
iscan-firmware: This is the firmware files for EPSON USB scanners, which are
iscan-firmware: required to get them to run with the sane "snapscan" backend.
iscan-firmware:
iscan-firmware: After installing, you have to uncomment the line which matches
iscan-firmware: for your scanner in the file "/etc/sane.d/snapscan.conf".
iscan-firmware:
iscan-firmware:
iscan-firmware:
iscan-firmware: