You are not logged in.

#1 2017-03-22 22:23:14

leosanvieira
Member
Registered: 2016-04-21
Posts: 26

[REQUEST] Epson imagescanv3 - Solved

Hi,

I have a Epson L375 multifunction printer, the printer part works ok but i couldn't make the scanner work with the iscan package already in community, after a search in Epson's website, i found out that this scanner only seems to work with the imagescanv3, which is not packaged anywhere i could find.

Relevant links i found:

Other distros packages - http://support.epson.net/linux/en/image … ion=1.3.18

Source url - http://support.epson.net/linux/src/scanner/imagescanv3/

Fork - http://utsushi.github.io/imagescan/

I would really appreciate a PKGBUILD or better yet, an inclusion into AUR.

Thanks.

Last edited by leosanvieira (2017-03-27 13:52:44)

Offline

#2 2017-03-23 07:47:05

parchd
Member
Registered: 2014-03-08
Posts: 421

Re: [REQUEST] Epson imagescanv3 - Solved

Have you tried yourself yet? It seems like the perfect package to learn on - good build scripts, documentation, standard paths. Seems pretty light on dependencies too. What was the problem?

The Creating packages wiki entry should get you started.

Offline

#3 2017-03-23 13:50:07

leosanvieira
Member
Registered: 2016-04-21
Posts: 26

Re: [REQUEST] Epson imagescanv3 - Solved

@parchd,
Actually i just lack the technical skills to do that, so any help is appreciated.

Offline

#4 2017-03-23 14:03:42

parchd
Member
Registered: 2014-03-08
Posts: 421

Re: [REQUEST] Epson imagescanv3 - Solved

Using Arch is all about learning the technical skills, and it seems to me that this is a perfect package to start with - as stated above.

Have you read the wiki entry I linked to yet? Reading the PKGBUILD page would also be useful.

Once you have read those, a reasonable first step would be to download the source file yourself and try compiling it. Read the INSTALL and Readme files it includes for help.

Once you have it compiling, put those steps into the build function of your PKGBUILD. The package function will pretty much just be make install.

I (and others) are more than happy to help, but give it a go first and let us know where you get stuck.

Offline

#5 2017-03-23 22:36:53

leosanvieira
Member
Registered: 2016-04-21
Posts: 26

Re: [REQUEST] Epson imagescanv3 - Solved

I created a very simple PKGBUILD as can be seen below, it installed ok, but even though the utsushi app (launched from command line) recognized the scanner, it scanned nothing without throwing any error messages.

Input is welcome on both the PKGBUILD and the problem at hand.

pkgname=imagescan
altpkgname=utsushi
pkgver=3.28.0
altpkgver=0.28.0
pkgrel=1
pkgdesc="EPSON Image Scan v3 front-end for scanners and all-in-ones"
arch=('i686' 'x86_64')
url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
license=('GPL3')
source=("http://support.epson.net/linux/src/scanner/imagescanv3/ubuntu/${pkgname}_${pkgver}.orig.tar.gz")
sha256sums=('d8bfd4795794dd42d4d82183bcae4512c9fe96536850ca3d940d0f2df493d97a')

build() {
  cd $srcdir
  cd "${altpkgname}-${altpkgver}"
  ./configure --with-boost-libdir=/usr/lib/
  make
}

package() {
  cd $srcdir
  cd "${altpkgname}-${altpkgver}"
  make DESTDIR="${pkgdir}" install
}

Last edited by leosanvieira (2017-03-23 22:38:03)

Offline

#6 2017-03-24 08:20:59

parchd
Member
Registered: 2014-03-08
Posts: 421

Re: [REQUEST] Epson imagescanv3 - Solved

Well done on the PKGBUILD.
What is the output of "utsushi list" (note, I don't have this scanner, I'm trying to help based on the Readme, but working in the dark)

Offline

#7 2017-03-24 08:42:02

parchd
Member
Registered: 2014-03-08
Posts: 421

Re: [REQUEST] Epson imagescanv3 - Solved

To get some debug info out, change lib/log.cpp.

You can add the following above the ./configure line and it should do the trick.

sed -i -e 's/FATAL/DEBUG/' -e 's/NOTHING/ALL/' lib/log.cpp

Offline

#8 2017-03-27 14:00:03

leosanvieira
Member
Registered: 2016-04-21
Posts: 26

Re: [REQUEST] Epson imagescanv3 - Solved

I got the scanner connected thourgh usb port to work with the utsushi app with the following PKGBUILD, now i'm using the github fork code, as can be seen.

So I'm declaring it solved, even though it still doesn't work with other sane frontends i tried.

Thanks, parchd.

_pkgname=utsushi
pkgname=${_pkgname}-git
pkgver=155.fc3b31e
pkgrel=1
pkgdesc="Utsushi - Next Generation Image Acquisition"
arch=('i686' 'x86_64')
url="https://github.com/utsushi/utsushi"
license=('GPL3')
depends=('sane' 'gtkmm' 'imagemagick' 'libtiff')
makedepends=('boost' 'autoconf-archive')
optdepends=('tesseract: OCR support')
source=("git+https://github.com/utsushi/utsushi.git")
md5sums=('SKIP')

pkgver() {
    cd "${srcdir}/${_pkgname}"
    printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${srcdir}/${_pkgname}"
  sed -i -e 's/FATAL/DEBUG/' -e 's/NOTHING/ALL/' lib/log.cpp
  ./bootstrap
  ./configure --with-boost-libdir=/usr/lib/ \
  --enable-sane-config \
  --enable-udev-config \
  --with-gtkmm \
  --with-jpeg \
  --with-magick \
  --with-sane \
  --with-tiff
  make
}

package() {
  cd "${srcdir}/${_pkgname}"
  make DESTDIR="${pkgdir}" install
}

Offline

#9 2017-03-30 14:15:51

leosanvieira
Member
Registered: 2016-04-21
Posts: 26

Re: [REQUEST] Epson imagescanv3 - Solved

Just in case someone is interested, i've uploaded two packages to aur:

Epson Image Scan v3 software
https://aur.archlinux.org/packages/imagescan/

Epson networkscan proprietary plugin to use with remote printers
https://aur.archlinux.org/packages/imag … tworkscan/

Offline

Board footer

Powered by FluxBB