From: Diego Nicola Barbato <dnbarbato@posteo.de>
To: 29096@debbugs.gnu.org
Subject: [bug#29096] [PATCH] gnu: Add Epson escpr printer driver.
Date: Wed, 01 Nov 2017 03:20:04 +0100 [thread overview]
Message-ID: <87shdyg2p7.fsf@GlaDOS.home> (raw)
[-- Attachment #1: Type: text/plain, Size: 51 bytes --]
This patch adds the Epson ESC/P-R printer driver.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-Epson-escpr-printer-driver.patch --]
[-- Type: text/x-patch, Size: 2247 bytes --]
From 5d6449cc3cfc4154fff24abcdd54c05b44b9e471 Mon Sep 17 00:00:00 2001
From: Diego Nicola Barbato <dnbarbato@posteo.de>
Date: Wed, 1 Nov 2017 02:48:14 +0100
Subject: gnu: Add Epson escpr printer driver.
* gnu/packages/cups.scm (escpr): New variable.
---
gnu/packages/cups.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 491668e52..54a93fe49 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -599,3 +599,35 @@ printer/driver specific, but spooler-independent PPD file.")
protocols, which cover printers made by Konica, HP (LaserJet), Oki, Samsung,
and more. See @file{README} for details.")
(license license:gpl2+)))
+
+(define-public escpr
+ (package
+ (name "escpr")
+ (version "1.6.17")
+ ;; This currently works. But it will break as soon as a newer
+ ;; version is available since the URLs for older versions are not
+ ;; preserved. An alternative source will be added as soon as
+ ;; available.
+ (source (origin
+ (method url-fetch)
+ ;; The uri has to be chopped up in order to satisfy guix lint.
+ (uri (string-append "https://download3.ebz.epson.net/dsc/f/03/00/06/66/09/"
+ "4ac2bf69bb1ddf4a9ad525596615cbb40fe4dad5/"
+ "epson-inkjet-printer-escpr-1.6.17-1lsb3.2.tar.gz"))
+ (sha256
+ (base32
+ "0m6v1wdavw4r25jfywqchsx0v9ss1l5fr8vq9d0d8cmjnz8mqblv"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ `(,(string-append "--prefix="
+ (assoc-ref %outputs "out"))
+ ,(string-append "--with-cupsfilterdir="
+ (assoc-ref %outputs "out") "/lib/cups/filter")
+ ,(string-append "--with-cupsppddir="
+ (assoc-ref %outputs "out") "/share/ppd"))))
+ (inputs `(("cups" ,cups-minimal)))
+ (synopsis "ESC/P-R printer driver")
+ (description "ESC/P-R driver and PPDs supporting a multitude of Epson printers.")
+ (home-page "http://download.ebz.epson.net/dsc/search/01/search")
+ (license license:gpl2+)))
--
2.14.3
next reply other threads:[~2017-11-01 2:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-01 2:20 Diego Nicola Barbato [this message]
2017-11-10 12:07 ` bug#29096: [PATCH] gnu: Add Epson escpr printer driver Ludovic Courtès
[not found] ` <20180124232041.25cefb0b@scratchpost.org>
2018-01-26 22:19 ` [bug#29096] " Diego Nicola Barbato
2018-01-26 22:47 ` Danny Milosavljevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shdyg2p7.fsf@GlaDOS.home \
--to=dnbarbato@posteo.de \
--cc=29096@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.