guix-commits
[Top][All Lists]
Advanced

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

07/11: gnu: font-amiri: Update to 1.000.


From: guix-commits
Subject: 07/11: gnu: font-amiri: Update to 1.000.
Date: Sat, 22 Apr 2023 06:01:31 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 9ceb0164c25d9e9e47eac7c65c307ebd2824467f
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Mon Apr 17 18:03:30 2023 +0000

    gnu: font-amiri: Update to 1.000.
    
    Fix for the broken build on master.
    
    * gnu/packages/fonts.scm (font-amiri): Update to 1.000.
    [arguments](%standard-phases): Add 'patch-source' to hard-code version.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/fonts.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 4aa143a29d..6cd261f42e 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -814,7 +814,7 @@ OpenType variant of these fonts.")
 (define-public font-amiri
   (package
     (name "font-amiri")
-    (version "0.117")
+    (version "1.000")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -823,7 +823,7 @@ OpenType variant of these fonts.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1z2hdmny52bapakf96y5xfr29f8ax7q6nj651zrihnnhfdriqfx1"))))
+                "0c4yg1b03aihdqvz6w5ak8wapni3l8p18mw6bkqhblmm75jb5kif"))))
     (build-system gnu-build-system)
     (arguments
      (list
@@ -832,6 +832,10 @@ OpenType variant of these fonts.")
       #:modules `(,@%gnu-build-system-modules
                   ((guix build font-build-system) #:prefix font:))
       #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-source
+                     (lambda _
+                       (substitute* "Makefile"
+                         (("^TAG=.*") (string-append "TAG=" #$version "\n")))))
                    (delete 'configure)
                    (replace 'install
                      (assoc-ref font:%standard-phases 'install)))))



reply via email to

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