guix-patches
[Top][All Lists]
Advanced

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

bug#27107: [PATCH] gnu: font-comic-neue: Add fontconfig alias.


From: Arun Isaac
Subject: bug#27107: [PATCH] gnu: font-comic-neue: Add fontconfig alias.
Date: Thu, 01 Jun 2017 22:20:08 +0530

Please find attached a patch fixing the __MACOSX files issue. Let me
know if it's working and fine.

Instead of changing directory, I have deleted the __MACOSX directory. I
think this is a bit more explicit. WDYT?

>From 1370ab727fac3a2738f523a5697522b04411644f Mon Sep 17 00:00:00 2001
From: Arun Isaac <address@hidden>
Date: Thu, 1 Jun 2017 21:55:11 +0530
Subject: [PATCH] gnu: font-comic-neue: Prevent hidden files from being
 installed.

* gnu/packages/fonts.scm (font-comic-neue)[arguments]: Add
'delete-macosx-files' phase.
---
 gnu/packages/fonts.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index cedf3573b..54b8b81e8 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1121,6 +1121,12 @@ later hand-tweaked with the gbdfed(1) editor:
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         ;; Delete Mac OS X specific files. If not deleted, these cause
+         ;; several hidden files to be installed.
+         (add-before 'install 'delete-macosx-files
+           (lambda _
+             (delete-file-recursively "__MACOSX")
+             #t))
          (add-after 'install 'install-conf
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((conf-dir (string-append (assoc-ref outputs "out")
-- 
2.12.2


reply via email to

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