diff options
author | Tim Dickson <dickson.tim@googlemail.com> | 2018-08-03 23:01:18 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-04 08:40:05 +0700 |
commit | 2ce4a1837396da1c08fecfe1c8f0885069eca8e9 (patch) | |
tree | baf7debd8ff5255417dc1309ca9acb9646f1df8a /system | |
parent | b5dc5f7c479b319ee5438ce65e32cee522a893c1 (diff) | |
download | slackbuilds-2ce4a1837396da1c08fecfe1c8f0885069eca8e9.tar.gz |
system/epson-inkjet-printer-escpr2: Added (epson printer drivers).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system')
6 files changed, 256 insertions, 0 deletions
diff --git a/system/epson-inkjet-printer-escpr2/LICENCE.html b/system/epson-inkjet-printer-escpr2/LICENCE.html new file mode 100644 index 0000000000..9db25aedc9 --- /dev/null +++ b/system/epson-inkjet-printer-escpr2/LICENCE.html @@ -0,0 +1,98 @@ +<html><head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+</head>
+<body>
+<font size="2">
+<font size="3"><b>SEIKO EPSON CORPORATION</b></font><br>
+<font size="3"><b>SOFTWARE LICENSE AGREEMENT FOR LINUX</b></font><br>
+<br>
+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.<br>
+<br>
+
+<hr>
+
+<font size="4"><b>[Inkjet Printer]</b></font><br>
+<font size="4"><b>1.ESC/P</b></font>
+<ul>
+<li><a href="http://download.ebz.epson.net/la/linux/inkjet_for_linux.html" target="_blank">License agreement for Epson Inkjet Printer Driver for Linux</a></li>
+</ul>
+
+<font size="4"><b>2.ESC/P-R</b></font>
+<ul>
+<li><a href="http://www.gnu.org/licenses/gpl.html" target="_blank">GNU General Public License</a></li>
+</ul>
+
+<font size="4"><b>3.PIPS(Photo Image Print System)</b></font>
+<ul>
+<li><a href="http://www.gnu.org/licenses/gpl.html" target="_blank">GNU General Public License</a></li>
+<li><a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">GNU Lesser General Public License</a></li>
+<li><a href="http://download.ebz.epson.net/la/linux/AVASYSPL.en.txt" target="_blank">AVASYS Public License</a></li>
+</ul>
+
+<hr>
+
+<font size="4"><b>[Laser Printer]</b></font><br>
+<font size="4"><b>1.Postscript Printer Description (PPD) file for EPSON Printer
+</b></font>
+<ul>
+<li>Please read the license at the top of the EPSON PPD file carefully.</li>
+</ul>
+
+<font size="4"><b>2.GS-LPD (Ghostscript Laser Printer Driver for Linux)
+</b></font>
+<ul>
+<li><a href="http://www.gnu.org/licenses/gpl.html" target="_blank">GNU General Public License</a></li>
+</ul>
+
+<font size="4"><b>3.Laser Printer Filter for Linux</b></font>
+<ul>
+<li><a href="http://download.ebz.epson.net/la/linux/AVASYSPL.en.txt" target="_blank">AVASYS Public License</a></li>
+<li><a href="http://www.opensource.org/licenses/mit-license.php" target="_blank">MIT License</a></li>
+</ul>
+
+<font size="4"><b>4.Photo Image Print System Plus for Linux</b></font>
+<ul>
+<li><a href="http://www.gnu.org/licenses/gpl.html" target="_blank">GNU General Public License</a></li>
+<li><a href="http://www.gnu.org/licenses/fdl.html" target="_blank">GNU Free Documentation License</a></li>
+<li><a href="http://download.ebz.epson.net/la/linux/AVASYSPL.en.txt" target="_blank">AVASYS Public License</a></li>
+</ul>
+
+<hr>
+
+<font size="4"><b>[Scanner]</b></font><br>
+<font size="4"><b>1.Image Scan! for Linux</b></font>
+<ul>
+<li><a href="http://www.gnu.org/licenses/gpl-2.0.html" target="_blank">GNU General Public License</a></li>
+<li><a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">GNU Lesser General Public License</a></li>
+<li><a href="http://download.ebz.epson.net/la/linux/AVASYSPL.en.txt" target="_blank">AVASYS Public License</a></li>
+<li><a href="http://download.ebz.epson.net/la/linux/inkjet_for_linux.html#softlicense" target="_blank">SEIKO EPSON CORPORATION SOFTWARE LICENSE AGREEMENT</a></li>
+</ul>
+
+<font size="4"><b>2.Image Scan v3</b></font>
+<ul>
+<li><a href="http://www.gnu.org/licenses/gpl-3.0.html" target="_blank">GNU General Public License</a></li>
+<li><a href="http://download.ebz.epson.net/la/linux/AVASYSPL.en.txt" target="_blank">AVASYS Public License</a></li>
+<li><a href="http://download.ebz.epson.net/la/linux/inkjet_for_linux.html#softlicense" target="_blank">SEIKO EPSON CORPORATION SOFTWARE LICENSE AGREEMENT</a></li>
+</ul>
+
+
+<br>
+<br>
+EPSON EULA EN 11/05/2012
+<br>
+<br>
+</font>
+
+
+
+</body></html>
\ 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 0000000000..f6a474ec35 --- /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 0000000000..55390cd462 --- /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 0000000000..d40e016b8c --- /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 0000000000..e4e3470935 --- /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 0000000000..c98234c9d9 --- /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: |