You are not logged in.

#1 2014-06-05 05:41:18

hydrosIII
Member
Registered: 2013-04-04
Posts: 127

New package for epson-inkjet-printer-l200l100

Hi ihave just installed the epson l200 in my arch linux system. I just have modified the packagebuild from another similar packages.
All the packagess builds for these type of printers are mantained by Misery in the Aur. I just did a copy paste and moficied the package name and md5sums. I post it here if is it useful for someone.


pkgname=epson-inkjet-printer-l100l200
_pkgname_filter=epson-inkjet-printer-filter
_suffix=1lsb3.2.src.rpm
pkgver=1.0.0
pkgrel=7
pkgdesc="Epson printer driver (L100,L200)"
arch=('i686' 'x86_64')
###url="http://localhost:8001/marco/Descargas"
license=('LGPL' 'custom:Epson Licence Agreement')
depends=('cups')
#makedepends=('libtool' 'make' 'automake' 'autoconf')
###source=(/home/marco/Descargas/${pkgname}-${pkgver}-${_suffix})

build() {
  cd "$srcdir"
  tar xzf $pkgname-$pkgver.tar.gz
  FILTER_FILE=`ls $_pkgname_filter*.tar.gz`
  tar xzf $FILTER_FILE

  cd "${FILTER_FILE%.tar.gz}"
  aclocal
  libtoolize
  chmod +x configure
  # if you have runtime problems: add "--enable-debug" and look into /tmp/epson-inkjet-printer-filter.txt
  ./configure LDFLAGS="$LDFLAGS -Wl,--no-as-needed" --prefix=/opt/$pkgname
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -d "$pkgdir/opt/$pkgname/"
  if [ "$CARCH" = "x86_64" ]; then
     cp -a lib64 "$pkgdir/opt/$pkgname/"
  else
     cp -a lib "$pkgdir/opt/$pkgname/"
  fi
  cp -a resource "$pkgdir/opt/$pkgname/"

  if [ -e "watermark" ]; then
      cp -a watermark "$pkgdir/opt/$pkgname/"
  fi
  install -d "$pkgdir/usr/share/cups/model/$pkgname"
  install -m 644 ppds/* "$pkgdir/usr/share/cups/model/$pkgname"

  cd "$srcdir"
  FILTER_FILE=`ls $_pkgname_filter*.tar.gz`
  cd "${FILTER_FILE%.tar.gz}"
  install -d "$pkgdir/opt/$pkgname/cups/lib/filter/"
  install -m 755 src/epson_inkjet_printer_filter "$pkgdir/opt/$pkgname/cups/lib/filter/epson_inkjet_printer_filter"
}
md5sums=('3295cc6156e740c3bdce6846262e8504')

As you see the URL and source are in my computer and i did compile the package putting the src.rpm inside the build directory. I downloaded the package from here: http://download.ebz.epson.net/dsc/du/02 … fcb97ec486. i just couldn't locate a direct download url, so i just couldn't create a package in the AUR. I f the original mantainer of the other epson inkjet packages (Misery) can add this one to the others ill be grateful. How can i make contact with him??

the URL where the other epson-inkjet packages are is : http://download.ebz.epson.net/dsc/op/stable/SRPMS/ but this package is not there.

Thanks

Offline

#2 2014-06-05 17:54:53

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: New package for epson-inkjet-printer-l200l100

hydrosIII wrote:

How can i make contact with him??

Use the forum mailer or the AUR general mailing list if he doesn't respond.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2014-08-31 16:29:13

rohansftw
Member
Registered: 2011-12-09
Posts: 8

Re: New package for epson-inkjet-printer-l200l100

hydrosIII wrote:

Hi ihave just installed the epson l200 in my arch linux system. I just have modified the packagebuild from another similar packages.
All the packagess builds for these type of printers are mantained by Misery in the Aur. I just did a copy paste and moficied the package name and md5sums. I post it here if is it useful for someone.
As you see the URL and source are in my computer and i did compile the package putting the src.rpm inside the build directory. I downloaded the package from here: http://download.ebz.epson.net/dsc/du/02 … fcb97ec486. i just couldn't locate a direct download url, so i just couldn't create a package in the AUR. I f the original mantainer of the other epson inkjet packages (Misery) can add this one to the others ill be grateful. How can i make contact with him??

the URL where the other epson-inkjet packages are is : http://download.ebz.epson.net/dsc/op/stable/SRPMS/ but this package is not there.

Thanks

I did a similar thing but it didn't install automatically nor did it show up under epson in the manual installation process .. manually pointing to the PPD files also didn't allow me to print . How did you go about installing it? I am new tried this but didnt work .
BTW this was my code and it auto downloads from the net I was trying to make one so that I could push it into the AUR as well for others.

pkgname=epson-inkjet-printer-l100l200
_pkgname_filter=epson-inkjet-printer-filter
_suffix=1lsb3.2.src.rpm
pkgver=1.0.0
pkgrel=1
pkgdesc="Epson printer driver (L100,L101,L200,L201)"
arch=('i686' 'x86_64')
url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
license=('LGPL' 'custom:Epson Licence Agreement')
depends=('cups' 'ghostscript')
#makedepends=('libtool' 'make' 'automake' 'autoconf')
source=(http://download.ebz.epson.net/dsc/op/stable/SRPMS/${pkgname}-${pkgver}-${_suffix})

build() {
  cd "$srcdir"
  tar xzf $pkgname-$pkgver.tar.gz
  FILTER_FILE=`ls $_pkgname_filter*.tar.gz`
  tar xzf $FILTER_FILE

  cd "${FILTER_FILE%.tar.gz}"
  aclocal
  libtoolize
  chmod +x configure
  # if you have runtime problems: add "--enable-debug" and look into /tmp/epson-inkjet-printer-filter.txt
  ./configure LDFLAGS="$LDFLAGS -Wl,--no-as-needed" --prefix=/opt/$pkgname
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -d "$pkgdir/opt/$pkgname/"
  if [ "$CARCH" = "x86_64" ]; then
     cp -a lib64 "$pkgdir/opt/$pkgname/"
  else
     cp -a lib "$pkgdir/opt/$pkgname/"
  fi
  cp -a resource "$pkgdir/opt/$pkgname/"

  if [ -e "watermark" ]; then
      cp -a watermark "$pkgdir/opt/$pkgname/"
  fi
  install -d "$pkgdir/usr/share/cups/model/$pkgname"
  install -m 644 ppds/* "$pkgdir/usr/share/cups/model/$pkgname"

  cd "$srcdir"
  FILTER_FILE=`ls $_pkgname_filter*.tar.gz`
  cd "${FILTER_FILE%.tar.gz}"
  install -d "$pkgdir/opt/$pkgname/cups/lib/filter/"
  install -m 755 src/epson_inkjet_printer_filter "$pkgdir/opt/$pkgname/cups/lib/filter/epson_inkjet_printer_filter"
}
sha256sums=('6acf28a25e4af7e62b0d12d7f4a570dfd284ed61b6d0d28aa7be50f71ed600c6')

Offline

Board footer

Powered by FluxBB