guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: escpr: Update to 1.7.7.


From: guix-commits
Subject: 02/02: gnu: escpr: Update to 1.7.7.
Date: Tue, 29 Sep 2020 17:32:36 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 7158dc2d49329748c9ecd78bda3028ae53157a8e
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Sep 29 23:29:41 2020 +0200

    gnu: escpr: Update to 1.7.7.
    
    * gnu/packages/cups.scm (escpr): Update to 1.7.7.
    [arguments]: Add a ‘patch-autotools-version-requirement’ phase.
---
 gnu/packages/cups.scm | 40 ++++++++++++++++++++++++++++------------
 1 file changed, 28 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 0626468..66ae87e 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -749,20 +749,19 @@ HP@tie{}LaserJet, and possibly other printers.  See 
@file{README} for details.")
 (define-public escpr
   (package
     (name "escpr")
-    (version "1.6.30")
+    (version "1.7.7")
     ;; XXX: 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/08/18/20/";
-                                  "e94de600e28e510c1cfa158929d8b2c0aadc8aa0/"
-                                  
"epson-inkjet-printer-escpr-1.6.30-1lsb3.2.tar.gz"))
-              (sha256
-               (base32
-                "0m8pyfkixisp0vclwxj340isn15zzisal0v2xvv66kxfd68dzf12"))))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append 
"https://download3.ebz.epson.net/dsc/f/03/00/10/49/18/";
+                           "f3016be6120a7271a6d9cb64872f817bce1920b8/"
+                           "epson-inkjet-printer-escpr-1.7.7-1lsb3.2.tar.gz"))
+       (sha256
+        (base32 "0khdf2a9iwh9aplj2gzyzl53yyfnfv0kszk3p018jnirl5l475ld"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
@@ -771,8 +770,25 @@ HP@tie{}LaserJet, and possibly other printers.  See 
@file{README} for details.")
          ,(string-append "--with-cupsfilterdir="
                          (assoc-ref %outputs "out") "/lib/cups/filter")
          ,(string-append "--with-cupsppddir="
-                         (assoc-ref %outputs "out") "/share/cups/model"))))
-    (inputs `(("cups" ,cups-minimal)))
+                         (assoc-ref %outputs "out") "/share/cups/model"))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-autotools-version-requirement
+           (lambda _
+             (substitute* "aclocal.m4"
+               (("1\\.15")
+                ,(package-version automake)))
+             (substitute* "configure"
+               (("^(ACLOCAL=).*" _ match)
+                (string-append match "aclocal"))
+               (("^(AUTOMAKE=).*" _ match)
+                (string-append match "automake")))
+             #t)))))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)))
+    (inputs
+     `(("cups" ,cups-minimal)))
     (synopsis "ESC/P-R printer driver")
     (description
      "This package provides a filter for the Common UNIX Printing



reply via email to

[Prev in Thread] Current Thread [Next in Thread]