guix-commits
[Top][All Lists]
Advanced

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

09/11: gnu: font-google-noto-emoji: Install correct license file.


From: guix-commits
Subject: 09/11: gnu: font-google-noto-emoji: Install correct license file.
Date: Wed, 1 Mar 2023 10:17:03 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 9a4dd01f1da2681fef8f89d43a43efa4ccbb5a16
Author: Simon South <simon@simonsouth.net>
AuthorDate: Thu Feb 2 15:25:00 2023 -0500

    gnu: font-google-noto-emoji: Install correct license file.
    
    * gnu/packages/fonts.scm (font-google-noto-emoji)[arguments]<#:phases>: Add
    "enter-font-directory" phase; remove now-superfluous prefix from paths in
    "remove-unsupported" phase.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/fonts.scm | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 13699cdfce..33935c5699 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -982,11 +982,15 @@ display all Unicode symbols.")
      (list
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'remove-unsupported
+          (add-after 'unpack 'enter-font-directory
+            (lambda _
+              ;; Note this ensures the correct license file is installed.
+              (chdir "fonts")))
+          (add-after 'enter-font-directory 'remove-unsupported
             (lambda* _
-              (delete-file "fonts/NotoColorEmoji_WindowsCompatible.ttf")
-              (delete-file "fonts/Noto-COLRv1-noflags.ttf")
-              (delete-file "fonts/Noto-COLRv1.ttf"))))))
+              (delete-file "NotoColorEmoji_WindowsCompatible.ttf")
+              (delete-file "Noto-COLRv1-noflags.ttf")
+              (delete-file "Noto-COLRv1.ttf"))))))
     (home-page "https://fonts.google.com/noto/specimen/Noto+Color+Emoji";)
     (synopsis "Font for rendering color emoji characters")
     (description



reply via email to

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