Username: Password: Remember me
Search Criteria Advanced
Package Details

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

Tarball :: Files :: PKGBUILD

Dependencies gtk2 sane
Required by iscan-plugin-cx4400 iscan-plugin-gt-x770 iscan-plugin-network

Sources
epkowa.conf
http://linux.avasys.jp/drivers/iscan/2.23.0/iscan_2.23.0-3.tar.gz
iscan.desktop
iscan.png
Comment by: v01d on Tue, 02 Feb 2010 01:50:40 +0000
imlib should be added to "depends"
Comment by: mutlu_inek on Tue, 26 Jan 2010 00:09:56 +0000
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
Comment by: snoxu on Mon, 25 Jan 2010 20:26:43 +0000
Are old scanners like the GT-7000 USB supported? I can't get iscan to start. It says something about not finding my device.
Comment by: mutlu_inek on Fri, 01 Jan 2010 20:58:40 +0000
Thanks for letting me know. New release.
Comment by: graysky on Thu, 31 Dec 2009 12:25:21 +0000
2.23.0 is out
http://linux.avasys.jp/drivers/iscan/2.23.0/iscan_2.23.0-3.tar.gz
Comment by: mutlu_inek on Mon, 30 Nov 2009 21:34:41 +0000
New release.
Comment by: Garret on Thu, 12 Nov 2009 14:53:09 +0000
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
Comment by: mutlu_inek on Wed, 14 Oct 2009 06:01:17 +0000
New release.
Comment by: mutlu_inek on Wed, 30 Sep 2009 17:52:56 +0000
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.
Comment by: cudziol on Fri, 25 Sep 2009 18:09:32 +0000
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.
Comment by: mutlu_inek on Fri, 18 Sep 2009 01:32:29 +0000
New version.

Thanks for letting me know and for all the hints!
Comment by: sm4tik on Thu, 17 Sep 2009 11:18:09 +0000
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.
Comment by: superfav on Mon, 24 Aug 2009 00:37:49 +0000
It also depends on pkgconfig.
Comment by: mutlu_inek on Tue, 11 Aug 2009 16:17:04 +0000
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.
Comment by: spaceturnip on Tue, 11 Aug 2009 14:25:05 +0000
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.
Comment by: mutlu_inek on Tue, 11 Aug 2009 10:10:17 +0000
Indeed. :) Version bumped.

Why doesn't it talk to your scanner?
Comment by: spaceturnip on Tue, 11 Aug 2009 09:54:34 +0000
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.
Comment by: mutlu_inek on Wed, 22 Jul 2009 17:06:20 +0000
New release.
Comment by: mutlu_inek on Wed, 22 Jul 2009 17:05:11 +0000
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.
Comment by: giniu on Tue, 21 Jul 2009 19:14:36 +0000
I re-uploaded the patch, sorry - was moving my page
Comment by: mutlu_inek on Tue, 21 Jul 2009 17:56:09 +0000
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.
Comment by: yvonney on Sun, 19 Jul 2009 19:51:29 +0000
YES: please HELP with the iscan.gcc44.patch NOT available - thanks!
Comment by: legolasfaol on Tue, 14 Jul 2009 13:02:11 +0000
error 404: file not found on iscan.gcc44.patch
Comment by: Frikilinux on Tue, 30 Jun 2009 14:23:42 +0000
Thanks sm4tik, work perfect on x86_64, my scanner is epson stylus T105
Comment by: sm4tik on Tue, 30 Jun 2009 04:14:02 +0000
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')
Comment by: giniu on Wed, 03 Jun 2009 18:10:35 +0000
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
Comment by: mutlu_inek on Sat, 16 May 2009 19:02:04 +0000
@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.
Comment by: Jimbus on Mon, 11 May 2009 22:08:35 +0000
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.
Comment by: Jucifer on Fri, 24 Apr 2009 17:45:42 +0000
works fine also on x86_64
Comment by: mutlu_inek on Sat, 11 Apr 2009 00:56:15 +0000
New release.
Comment by: mutlu_inek on Sat, 28 Mar 2009 23:21:30 +0000
New release.
Comment by: mutlu_inek on Sun, 01 Mar 2009 18:20:05 +0000
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
Comment by: mutlu_inek on Sun, 01 Mar 2009 18:18:30 +0000
New release.
Comment by: mutlu_inek on Mon, 29 Dec 2008 17:11:53 +0000
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.
Comment by: alexwizard on Sun, 12 Oct 2008 17:42:10 +0000
I've changed scanner, so I don't use iscan anymore. I'm going to orphan it.
Contact me for adopting package.
Good luck.
Comment by: alexwizard on Sun, 20 Jul 2008 09:24:46 +0000
Updated and improved PKGBUILD.
Comment by: alexwizard on Sun, 13 Jul 2008 19:54:55 +0000
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.
Comment by: vEX on Sun, 13 Jul 2008 13:11:19 +0000
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.
Comment by: vEX on Sat, 12 Jul 2008 09:51:16 +0000
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:
Comment by: alexwizard on Fri, 04 Jul 2008 20:45:36 +0000
Patch: fix for gcc-4.3
Improved install file.
Comment by: alexwizard on Sun, 06 Apr 2008 20:29:07 +0000
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).
Comment by: jason_f on Mon, 10 Mar 2008 02:59:26 +0000
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.
Comment by: schivmeister on Sun, 09 Mar 2008 07:25:29 +0000
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
Comment by: jason_f on Sun, 30 Sep 2007 20:58:56 +0000
Version bump, added post-install notes and desktop file.
Comment by: jason_f on Sun, 15 Jul 2007 06:37:58 +0000
Thanks JJ. Here's an update to the package for the new 2.7.0-1 version.
Comment by: jj on Sat, 30 Jun 2007 12:08:31 +0000
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
}
Comment by: jason_f on Tue, 17 Apr 2007 05:39:24 +0000
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