guix-commits
[Top][All Lists]
Advanced

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

16/75: build-system/font: Customize %license-file-regexp.


From: guix-commits
Subject: 16/75: build-system/font: Customize %license-file-regexp.
Date: Sun, 21 Jan 2024 13:21:43 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit 878b2043b8e228006ef610136fa6aba23cd235be
Author: Simon South <simon@simonsouth.net>
AuthorDate: Fri Feb 3 07:42:59 2023 -0500

    build-system/font: Customize %license-file-regexp.
    
    * guix/build/font-build-system.scm (%license-file-regexp): Customize to
    include names of license files commonly found in font packages.
---
 guix/build/font-build-system.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/guix/build/font-build-system.scm b/guix/build/font-build-system.scm
index 8418ada1d2..0b1542394a 100644
--- a/guix/build/font-build-system.scm
+++ b/guix/build/font-build-system.scm
@@ -58,8 +58,9 @@ archive, or a font file."
               (find-files source "\\.(woff|woff2)$"))))
 
 (define %license-file-regexp
-  ;; Regexp matching license files.
-  "^(COPYING.*|LICEN[CS]E.*|[Ll]icen[cs]e.*|Copy[Rr]ight(\\.(txt|md))?)$")
+  ;; Regexp matching license files commonly found in font packages.
+  "^((COPY(ING|RIGHT)|LICEN[CS]E).*\
+|(([Cc]opy[Rr]ight|[Ll]icen[cs]es?|IPA_.*|OFL(-?1\\.?1)?)(\\.(txt|md)?))$)")
 
 (define %standard-phases
   (modify-phases gnu:%standard-phases



reply via email to

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