iscan 2.23.0-1
http://www.avasys.jp/english/linux_e/dl_scan.html
A front-end for EPSON scanner/all-in-ones
unsupported :: office
Maintainer: mutlu_inek
Votes: 54
License: GPL2 custom:AVASYSPL
Last Updated: Fri, 01 Jan 2010 20:58:13 +0000
First Submitted: Tue, 17 Apr 2007 05:39:24 +0000
Dependencies gtk2 sane
Required by iscan-plugin-cx4400 iscan-plugin-gt-x770 iscan-plugin-network
imlib should be added to "depends"
If you go to the download page, you will see that your model is not listed. A quick Google search, however, revealed a driver offered by Epson itself: http://driverscollection.com/?H=GT-7000&By=Epson
Are old scanners like the GT-7000 USB supported? I can't get iscan to start. It says something about not finding my device.
Thanks for letting me know. New release.
2.23.0 is out
http://linux.avasys.jp/drivers/iscan/2.23.0/iscan_2.23.0-3.tar.gz
New release.
I wrote this small tutorial to get the Epson V30/V300 scanners working on Archlinux -> http://garret.netsons.org/how-to-get-the-epson-v30v300-scanners-working-on-archlinux
New release.
Cudziol, if you go the the avasys download page (see link above, below the package name) and select your scanner, you will see that there is an additional package available for download: esci-interpreter-gt-f720. There are a few Epson products (mostly All-in-ones, which yours isn't) which need additional packages. You can have a look on the AUR to get an impression of what is going on. My suggestion would be to download that specific RPM or DEB package and install it (there are programs like rpmextract available to unpack non-Arch package formats) by creating your own PKGBUILD. If you are lucky, this might solve it for you. In any case, you will still need this iscan package.
Did anyone get Epson Perfection V300 to work with x86_64 Arch? I've got iscan from this package, the user is in scanner group, I've downloaded firmware from avasys and registered it with iscan-registry, but iscan can't communicate with scanner. Sane (through sane-find-scanner and scanimage -L) can see the hardware. Ubuntu knows the magic trick to get it done though. I still can't figure it out.
Sorry for spam and keep up the good work multu_inek.
New version.
Thanks for letting me know and for all the hints!
2.21.0-6 built (without the gcc patch) and tested. BTW, the install file doesn't have to be in the sources array, and the Icon entry in desktop file doesn't need .png extension.
It also depends on pkgconfig.
For plugins? Yes, you would need to add that to an .install script. I am glad you figured it out. And yes, the man page is a joke. Just like the website.
Figured it out, needed to run iscan-registry to tell it where to find the firmware. Notihng in the docs about that one. Working great now.
Indeed. :) Version bumped.
Why doesn't it talk to your scanner?
Latest version builds fine by just adjusting the version numbers in the pkgbuild and in the patch. Not sure how it works though because I can't get it to talk to my scanner.
Probably possible to add an x86_64 arch to the pkgbuild too. I was able to build it on both arches.
New release.
Thanks for the patch, ginui! I had solved the very same issues, but failed to remove an earlier patch I had written (that's why I was talking about glibc) which screwed up things... :P
Anyways, it works now. I will upload the PKGBUILD in a second.
I re-uploaded the patch, sorry - was moving my page
Sorry for not being online during the past weeks, I was traveling.
I have had a look at the new version, 2.20.0, but it produces compiler errors with gcc 4.4.0 and glibc 2.10. The patch sm4tik linked to does indeed not exist any more. I have had a look at other distributions, but not all are using as recent packages as Arch. Even Gentoo has not yet run into all errors. I have created a number of additional patches, but was not able to solve all problems and have given up for now. I believe that more patches will appear soon and I will monitor what is happening and update this package as soon as something becomes available.
If anyone still has the old patch lying around, please let me know. Thanks.
YES: please HELP with the iscan.gcc44.patch NOT available - thanks!
error 404: file not found on iscan.gcc44.patch
Thanks sm4tik, work perfect on x86_64, my scanner is epson stylus T105
Just to let you all know, I built 2.20.0-6 succesfully using the patch for gcc4.4 below. All looking good, my epson stylus SX105 worked out of the box. Here's the PKGBUILD with the patch.
#--------------------
pkgname=iscan
pkgver=2.20.0
pkgrel=1
pkgdesc="A front-end for EPSON scanner/all-in-ones"
arch=('i686')
url="http://www.avasys.jp/english/linux_e/dl_scan.html"
license=('GPL2' 'LGPL2' 'EAPL' 'EPSON')
depends=('gtk2' 'libstdc++5' 'sane')
conflicts=('iscan-plugin-cx4400' 'iscan-legacy')
backup=('etc/sane.d/epkowa.conf')
install=${pkgname}.install
options=('!libtool')
source=(http://linux.avasys.jp/drivers/${pkgname}/${pkgver}/${pkgname}_${pkgver}-6.tar.gz
http://giniu.ravenlord.ws/iscan.gcc44.patch
epkowa.conf iscan.png iscan.desktop iscan.install)
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# Apply gcc4.4 compatibility patch
patch -Np1 < ${srcdir}/iscan.gcc44.patch || return 1
./configure --prefix=/usr --enable-jpeg --enable-png \
--enable-frontend --with-pic || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
# install epkowa.conf template, icon and desktop file
install -Dm644 ${srcdir}/epkowa.conf ${pkgdir}/etc/sane.d/epkowa.conf
install -Dm644 ${srcdir}/iscan.png ${pkgdir}/usr/share/pixmaps/iscan.png
install -Dm644 ${srcdir}/iscan.desktop ${pkgdir}/usr/share/applications/iscan.desktop
}
md5sums=('b68041a629fde362a9559209f6ef8e1d'
'd12ac9238c3d507002bc8f785537ae53'
'8a82eaf3fdc720e6f424ab30a6bae47b'
'9dc7e21aae4bd7d1c4ca96cfa3dafaa7'
'82a67a6ad8d2464492106797f5acab55'
'4ee20befa714510a0757d7c5f0dd3ff7')
2.19.2-1 is on server in usual location (even that page works slow for me download works ok), I had to patch few things but it seems to work: http://giniu.ravenlord.ws/iscan.gcc44.patch
@Jucifer: Thanks for the info.
@Jimbus: This might be related to the new gcc. I will have a look into this.
The avasys download server has been down for a few days, I will update this as soon as it becomes available again.
When trying to make this package, I got the following error.
fax-encoder.cc:288: error: 'uint8_t' was not declared in this scope
fax-encoder.cc:288: error: expected ';' before 'bit'
fax-encoder.cc:294: error: 'bit' was not declared in this scope
fax-encoder.cc:305: error: 'bit' was not declared in this scope
uint8_t is just an unsigned char, so untar the source and change line 288 of lib/fax-encoder.cc from:
uint8_t bit = 0x80;
to:
// uint8_t bit = 0x80; issue problem when compiling, uint8_t is not defined.
unsigned char bit = 0x80;
retar the source code and the package should compile fine. I'm probably missing something simple that caused the error, but hopefully this will help someone out.
PS. Be sure to update the MD5 sum in the PKGBUILD.
works fine also on x86_64
New release.
New release.
FYI: The newest version of iscan (2.17.0 at the moment) doesn't support all Epson scanners, especially all-in-ones. I thus created a legacy package for iscan, called iscan-legacy, also to be found on the AUR. AFAICT, the version provided by the legacy package is the highest version that works with all Epson scanners supported by Avasys. Use the legacy package only, if your scanner does not work with the regular iscan package. To see which version works with your scanner, you can click through the (convoluted) Avasys webpage: http://www.avasys.jp/english/linux_e/dl_scan.html
New release.
I have adopted the package and updated it to the current version. Thank you, alexwizard, for your excellent work.
Everyone, please let me know if there are any issues or requests.
I've changed scanner, so I don't use iscan anymore. I'm going to orphan it.
Contact me for adopting package.
Good luck.
Updated and improved PKGBUILD.
Thanks vEX for clarification.
If it's sure that it builds and works properly also on 64-bit systems, I'll add x86_64 support.
Just to clarify, I haven't actually tried it since I don't own any Epson scanner. But it builds without a problem so hopefully it should work for 64-bit systems.
Doing some research into which scanner to buy I wanted to make sure this even works on 64-bit before considering Epson scanners. Googling around told me that the backend will still build on 64-bit machines. So the following PKGBUILD/install file will allow it to build for x86_64.
PKGBUILD:
# Contributor: Alessio 'alexwizard' Sergi <sergi.alessio@gmail.com>
pkgname=iscan
pkgver=2.11.0
pkgrel=2
pkgdesc="A front-end for EPSON scanners"
arch=('i686' 'x86_64')
url="http://avasys.jp/hp/menu000000500/hpg000000442.htm"
license=('GPL2' 'LGPL2' 'EAPL' 'EPSON')
depends=('gtk2' 'libjpeg' 'libpng' 'sane')
backup=('etc/sane.d/epkowa.conf')
install=${pkgname}.install
source=(http://lx1.avasys.jp/${pkgname}/${pkgver}/${pkgname}_${pkgver}-1.tar.gz \
iscan-gcc43-fix.patch make-udev-rules.patch \
epkowa.conf iscan.png iscan.desktop iscan.install)
md5sums=('76991cb47dc8ff1269e47d4bce3d41b5' 'cacfff741ba4cfd48c02b3a8b36c6f29' \
'7cf6f3c7e6371bf0c9aea35314acba88' 'af3d1fad57db06499257c6c023d88016' \
'9dc7e21aae4bd7d1c4ca96cfa3dafaa7' '82a67a6ad8d2464492106797f5acab55' \
'fecb83127161e7459db4539f4977d563')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
# fix for gcc-4.3
patch -Np0 < ../iscan-gcc43-fix.patch || return 1
# I wrote a patch to fix a bug in udev rules
patch -Np0 < ../make-udev-rules.patch || return 1
# The frontend (iscan) won't build on x86-64
FRONTEND="--enable-frontend"
[ $CARCH == "x86_64" ] && FRONTEND="--disable-frontend"
./configure --prefix=/usr --enable-jpeg --enable-png \
${FRONTEND} --with-pic || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
# install epkowa.conf template, icon and desktop file
install -Dm644 ${startdir}/epkowa.conf ${startdir}/pkg/etc/sane.d/epkowa.conf
# Only add the desktop entry for iscan if it was built
if [ -f "${startdir}/pkg/usr/bin/iscan" ]; then
install -Dm644 ${startdir}/iscan.png ${startdir}/pkg/usr/share/pixmaps/iscan.png
install -Dm644 ${startdir}/iscan.desktop ${startdir}/pkg/usr/share/applications/iscan.desktop
fi
# delete unnecessary folders
rm -rf ${startdir}/pkg/usr/include
}
# vim:set ts=2 sw=2 et:
iscan.install:
DLL_CONF="/etc/sane.d/dll.conf"
EPKOWA_CONF="/etc/sane.d/epkowa.conf"
GIMP_PLUGIN_DIR="/usr/lib/gimp/2.0/plug-ins"
post_install() {
echo "==> Add your user to 'scanner' group to use scanner/all-in-ones devices."
# add 'epkowa' to /etc/sane.d/dll.conf to enable the backend
if grep -q "^[ \t]*\<epkowa\>" ${DLL_CONF}; then
echo "==> Please edit ${EPKOWA_CONF} to suit your needs."
else
echo "epkowa" >> ${DLL_CONF}
echo "==> A new entry 'epkowa' was added to ${DLL_CONF}"
echo "==> Please edit ${EPKOWA_CONF} to suit your needs."
fi
# link iscan so it's seen as a plugin in GIMP (only if we built the frontend)
if [ -f "/usr/bin/iscan" ]; then
if [ ${GIMP_PLUGIN_DIR} ]; then
ln -s /usr/bin/iscan ${GIMP_PLUGIN_DIR}
echo "==> Added 'iscan' as plugin in GIMP."
else
echo "Can't find GIMP plugin directory."
echo "It seems GIMP isn't installed on your system."
fi
fi
echo "==> For more info and help see 'man sane-epkowa', 'man sane-scsi' and 'man sane-usb'"
echo "==> Also see: http://wiki.archlinux.org/index.php/USB_Scanner_Support"
}
post_upgrade() {
# add 'epkowa' to /etc/sane.d/dll.conf to enable the backend
if grep -q "^[ \t]*\<epkowa\>" ${DLL_CONF}; then
echo "==> Please edit ${EPKOWA_CONF} to suit your needs."
else
echo "epkowa" >> ${DLL_CONF}
echo "==> A new entry 'epkowa' was added to ${DLL_CONF}"
echo "==> Please edit ${EPKOWA_CONF} to suit your needs."
fi
echo "==> For more info and help see 'man sane-epkowa', 'man sane-scsi' and 'man sane-usb'"
echo "==> Also see: http://wiki.archlinux.org/index.php/USB_Scanner_Support"
}
post_remove() {
if [ ${GIMP_PLUGIN_DIR}/iscan ]; then
rm -f ${GIMP_PLUGIN_DIR}/iscan
fi
}
op=$1
shift
$op $*
# vim:set ts=2 sw=2 et:
Patch: fix for gcc-4.3
Improved install file.
Adopted package (thanks to jason_f)
Updated and improved PKGBUILD.
Updated to version 2.11.0.
The package doesn't build with the new gcc-4.x, but only with gcc-3.4.
Updated: package description, URL, license and dependency's.
Added: new icon and desktop file.
Added: a patch to fix a bug in udev rules.
Added: enable backend 'epikowa' (automatically).
Added: installation of the template 'epikowa.conf' to facilitate post-configuration.
Added integration with GIMP (if it's installed).
Hi, thanks for the updated build script. I've orphaned this package.. I'm on 64 bit now, even in chroot this application fails to work with my scanner. There's not much else I can do with this package until they release 64 bit support. good luck.
For the meantime:
pkgname=iscan
pkgver=2.10.0
pkgrel=1
pkgdesc="Front-end for Epson scanners"
arch=(i686 x86_64)
url="http://www.avasys.jp/english/linux_e/dl_scan.html"
license=('GPL2' 'LGPL2' 'EAPL' 'EPSON')
depends=('sane')
install=$pkgname.install
source=(http://lx1.avasys.jp/$pkgname/$pkgver/${pkgname}_${pkgver}-1.tar.gz
$pkgname.desktop
$pkgname.install)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
install -Dm644 $startdir/iscan.desktop \
$startdir/pkg/usr/share/applications/iscan.desktop
}
md5sums=('8e44dac50f51b4c0a2f2e60624edfedb'
'de95d94e856c1995399da26752e0f382'
'68fe60e4649261444f1f20c5eb547fb7')
We have to do a few more things. See http://kambing.ui.edu/gentoo-portage/media-gfx/iscan/iscan-2.10.0.ebuild
Version bump, added post-install notes and desktop file.
Thanks JJ. Here's an update to the package for the new 2.7.0-1 version.
pkgname=iscan
arch=('i686')
pkgver=2.7.0
pkgrel=1
pkgdesc="A front end for Epson scanners"
url="http://www.avasys.jp/english/linux_e/dl_scan.html"
license="EPSON"
depends=('sane')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
install=
source=("http://lx1.avasys.jp/iscan/$pkgver/$pkgname-$pkgver-$pkgrel.c2.tar.gz")
md5sums=('c958c0932f4ffb9db11cb62a7a37008e')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
Epson iscan closed source package. This is a slightly modified pkgbuild based on information in this thread: http://bbs.archlinux.org/viewtopic.php?pid=229933
Includes the updated 2.6.0 version.
v1.6.0