From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9ieQ-0001Jj-9T for guix-patches@gnu.org; Tue, 31 Oct 2017 22:21:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9ieM-0003O4-A0 for guix-patches@gnu.org; Tue, 31 Oct 2017 22:21:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36148) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9ieM-0003Nh-5x for guix-patches@gnu.org; Tue, 31 Oct 2017 22:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e9ieL-0008Bs-Vz for guix-patches@gnu.org; Tue, 31 Oct 2017 22:21:02 -0400 Subject: [bug#29096] [PATCH] gnu: Add Epson escpr printer driver. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9idY-0000vm-3x for guix-patches@gnu.org; Tue, 31 Oct 2017 22:20:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9idU-0002fI-57 for guix-patches@gnu.org; Tue, 31 Oct 2017 22:20:12 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44456) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e9idT-0002ej-TS for guix-patches@gnu.org; Tue, 31 Oct 2017 22:20:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 13A0020927 for ; Wed, 1 Nov 2017 03:20:05 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3yRX450XcYzyms for ; Wed, 1 Nov 2017 03:20:04 +0100 (CET) From: Diego Nicola Barbato Date: Wed, 01 Nov 2017 03:20:04 +0100 Message-ID: <87shdyg2p7.fsf@GlaDOS.home> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29096@debbugs.gnu.org --=-=-= Content-Type: text/plain This patch adds the Epson ESC/P-R printer driver. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-Epson-escpr-printer-driver.patch Content-Description: 0001-gnu-Add-Epson-escpr-printer-driver.patch >From 5d6449cc3cfc4154fff24abcdd54c05b44b9e471 Mon Sep 17 00:00:00 2001 From: Diego Nicola Barbato 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 --=-=-=--