From 2ce4a1837396da1c08fecfe1c8f0885069eca8e9 Mon Sep 17 00:00:00 2001 From: Tim Dickson Date: Fri, 3 Aug 2018 23:01:18 +0100 Subject: system/epson-inkjet-printer-escpr2: Added (epson printer drivers). Signed-off-by: David Spencer --- system/epson-inkjet-printer-escpr2/LICENCE.html | 98 ++++++++++++++++++ system/epson-inkjet-printer-escpr2/README | 5 + system/epson-inkjet-printer-escpr2/README.models | 12 +++ .../epson-inkjet-printer-escpr2.SlackBuild | 112 +++++++++++++++++++++ .../epson-inkjet-printer-escpr2.info | 10 ++ system/epson-inkjet-printer-escpr2/slack-desc | 19 ++++ 6 files changed, 256 insertions(+) create mode 100644 system/epson-inkjet-printer-escpr2/LICENCE.html create mode 100644 system/epson-inkjet-printer-escpr2/README create mode 100644 system/epson-inkjet-printer-escpr2/README.models create mode 100644 system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild create mode 100644 system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.info create mode 100644 system/epson-inkjet-printer-escpr2/slack-desc (limited to 'system') diff --git a/system/epson-inkjet-printer-escpr2/LICENCE.html b/system/epson-inkjet-printer-escpr2/LICENCE.html new file mode 100644 index 000000000000..9db25aedc95a --- /dev/null +++ b/system/epson-inkjet-printer-escpr2/LICENCE.html @@ -0,0 +1,98 @@ + + + + + +SEIKO EPSON CORPORATION
+SOFTWARE LICENSE AGREEMENT FOR LINUX
+
+IMPORTANT! READ THIS SOFTWARE LICENSE AGREEMENT CAREFULLY. The computer + software product, fontware, typefaces and/or data, including any +accompanying explanatory written materials (the "Software") should only +be installed or used by the Licensee ("you") on the condition you agree +with SEIKO EPSON CORPORATION ("EPSON") to the terms and conditions set +forth in this Agreement. By installing or using the Software, you are +representing to agree all the terms and conditions set forth in this +Agreement. You should read this Agreement carefully before installing +or using the Software. If you do not agree with the terms and +conditions of this Agreement, you are not permitted to install or use +the Software.
+
+ +
+ +[Inkjet Printer]
+1.ESC/P + + +2.ESC/P-R + + +3.PIPS(Photo Image Print System) + + +
+ +[Laser Printer]
+1.Postscript Printer Description (PPD) file for EPSON Printer + +
    +
  • Please read the license at the top of the EPSON PPD file carefully.
  • +
+ +2.GS-LPD (Ghostscript Laser Printer Driver for Linux) + + + +3.Laser Printer Filter for Linux + + +4.Photo Image Print System Plus for Linux + + +
+ +[Scanner]
+1.Image Scan! for Linux + + +2.Image Scan v3 + + + +
+
+EPSON EULA EN 11/05/2012 +
+
+
+ + + + \ No newline at end of file diff --git a/system/epson-inkjet-printer-escpr2/README b/system/epson-inkjet-printer-escpr2/README new file mode 100644 index 000000000000..f6a474ec35a5 --- /dev/null +++ b/system/epson-inkjet-printer-escpr2/README @@ -0,0 +1,5 @@ +This is a generic driver for many Epson inkjet printers. +This supports printers using escp protocol variant r2 (escr2). +If your printer is not listed, try the escr package instead. + +See README.models for supported printer models. diff --git a/system/epson-inkjet-printer-escpr2/README.models b/system/epson-inkjet-printer-escpr2/README.models new file mode 100644 index 000000000000..55390cd46246 --- /dev/null +++ b/system/epson-inkjet-printer-escpr2/README.models @@ -0,0 +1,12 @@ +EP-50V Series, EP-879A Series, EP-880A Series, ET-3700 Series, ET-3750 Series, +ET-4750 Series, ET-8700 Series, EW-M670FT Series, L6160 Series, L6170 Series, +L6190 Series, PM-520 Series, PX-M380F, PX-M381FL, PX-M5080F Series, +PX-M5081F Series, PX-M680F Series, PX-M7070FX, PX-M7110F, PX-M7110FP, +PX-M780F Series, PX-M781F Series, PX-M884F, PX-M886FL, PX-S380, PX-S381L, +PX-S5080 Series, PX-S7070X, PX-S7110, PX-S7110P, PX-S884, WF-2860 Series, +WF-3720 Series, WF-4720 Series, WF-4730 Series, WF-4740 Series, +WF-7210 Series, WF-7710 Series, WF-7720 Series, WF-C5210 Series, +WF-C5290 Series, WF-C5290BA, WF-C5710 Series, WF-C5790 Series, WF-C5790BA, +WF-C8190 Series, WF-C8190B, WF-C8610 Series, WF-C8690 Series, WF-C8690B, +WF-C869R Series, WF-M5299 Series, WF-M5799 Series, XP-15000 Series, +XP-5100 Series, XP-6000 Series, XP-8500 Series diff --git a/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild b/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild new file mode 100644 index 000000000000..d40e016b8cf0 --- /dev/null +++ b/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/sh + +# Slackware build script for escpr2 + +# Copyright 2018 Tim Dickson +# thanks to Ruben Schuller for escpr slack build, which this is +# heavily based on. +# 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=epson-inkjet-printer-escpr2 +VERSION=${VERSION:-1.0.18} +EXTRABIT=1lsb3.2 +TARNAM=$PRGNAM-$VERSION-$EXTRABIT.tar.gz +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +#lets get the source tarball from the rpm and clean up the bits we don't need +rpm2tgz $PRGNAM-$VERSION-$EXTRABIT.src.rpm +tar -xzf $PRGNAM-$VERSION-$EXTRABIT.src.tgz +cp $PRGNAM-$VERSION-$EXTRABIT/$PRGNAM-$VERSION-$EXTRABIT.tar.gz ./ +rm $PRGNAM-$VERSION-$EXTRABIT.src.tgz +rm -r $PRGNAM-$VERSION-$EXTRABIT + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$TARNAM +#we remove the tarnam as the original is an rpm +#this keeps things tidy. +rm $CWD/$TARNAM +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $CWD/LICENCE.html COPYING COPYING.EPSON COPYING.LIB README INSTALL AUTHORS ChangeLog NEWS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.info b/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.info new file mode 100644 index 000000000000..e4e3470935e6 --- /dev/null +++ b/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.info @@ -0,0 +1,10 @@ +PRGNAM="epson-inkjet-printer-escpr2" +VERSION="1.0.18" +HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/" +DOWNLOAD="https://download3.ebz.epson.net/dsc/f/03/00/07/62/33/7149acf243c9236327958d96298708f25eaccdaa/epson-inkjet-printer-escpr2-1.0.18-1lsb3.2.src.rpm" +MD5SUM="471ad7186057a537c439219b267ec2b1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Tim Dickson" +EMAIL="dickson.tim@googlemail.com" diff --git a/system/epson-inkjet-printer-escpr2/slack-desc b/system/epson-inkjet-printer-escpr2/slack-desc new file mode 100644 index 000000000000..c98234c9d948 --- /dev/null +++ b/system/epson-inkjet-printer-escpr2/slack-desc @@ -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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +epson-inkjet-printer-escpr2: epson-inkjet-printer-escpr2 (epson generic printer driver) +epson-inkjet-printer-escpr2: +epson-inkjet-printer-escpr2: Printer driver for many epson inkjet printers. +epson-inkjet-printer-escpr2: +epson-inkjet-printer-escpr2: +epson-inkjet-printer-escpr2: +epson-inkjet-printer-escpr2: +epson-inkjet-printer-escpr2: +epson-inkjet-printer-escpr2: +epson-inkjet-printer-escpr2: +epson-inkjet-printer-escpr2: -- cgit v1.2.3