unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: Alex Griffin <a@ajgrf.com>
Cc: 27107-done@debbugs.gnu.org
Subject: bug#27107: [PATCH] gnu: font-comic-neue: Add fontconfig alias.
Date: Thu, 01 Jun 2017 22:20:08 +0530	[thread overview]
Message-ID: <20afdd9a.AEMAK8sFQ_8AAAAAAAAAAAPGly4AAAACwQwAAAAAAAW9WABZMEXM@mailjet.com> (raw)
In-Reply-To: <1496332115.605062.995561656.6F448171@webmail.messagingengine.com>

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]


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?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-font-comic-neue-Prevent-hidden-files-from-being-.patch --]
[-- Type: text/x-patch, Size: 1145 bytes --]

From 1370ab727fac3a2738f523a5697522b04411644f Mon Sep 17 00:00:00 2001
From: Arun Isaac <arunisaac@systemreboot.net>
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


  parent reply	other threads:[~2017-06-01 16:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-27 18:54 bug#27107: [PATCH] gnu: font-comic-neue: Add fontconfig alias Alex Griffin
2017-05-28 16:38 ` Arun Isaac
     [not found] ` <971c125f.ADsAAg_HJlUAAAAAAAAAAAPFkxsAAAACwQwAAAAAAAW9WABZKv0R@mailjet.com>
2017-05-31 17:01   ` Alex Griffin
2017-06-01 13:50     ` Arun Isaac
     [not found]     ` <c757126b.AEEALPlfx1UAAAAAAAAAAAPFkxsAAAACwQwAAAAAAAW9WABZMBvE@mailjet.com>
2017-06-01 14:03       ` Alex Griffin
2017-06-01 15:12         ` Arun Isaac
     [not found]         ` <ed110519.AEUAKvsBN2MAAAAAAAAAAAPFkxsAAAACwQwAAAAAAAW9WABZMC7e@mailjet.com>
2017-06-01 15:34           ` Alex Griffin
2017-06-01 15:48             ` Alex Griffin
2017-06-01 16:01               ` Arun Isaac
2017-06-01 16:50               ` Arun Isaac [this message]
     [not found]               ` <59879525.AEMAK8sFRAAAAAAAAAAAAAPFkxsAAAACwQwAAAAAAAW9WABZMEXM@mailjet.com>
2017-06-01 18:11                 ` Alex Griffin
2017-06-01 18:46                   ` Arun Isaac
2017-05-31 19:56 ` Alex Griffin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20afdd9a.AEMAK8sFQ_8AAAAAAAAAAAPGly4AAAACwQwAAAAAAAW9WABZMEXM@mailjet.com \
    --to=arunisaac@systemreboot.net \
    --cc=27107-done@debbugs.gnu.org \
    --cc=a@ajgrf.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).