unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Brendan Tildesley <brendan.tildesley@openmailbox.org>,
	29136@debbugs.gnu.org
Subject: [bug#29136] [PATCH 5/5] gnu: calibre: Install mimetypes.
Date: Sun, 05 Nov 2017 17:06:08 +0100	[thread overview]
Message-ID: <874lq8hfrj.fsf@fastmail.com> (raw)
In-Reply-To: <20171103154403.6212-5-brendan.tildesley@openmailbox.org>

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

Brendan Tildesley <brendan.tildesley@openmailbox.org> writes:

> * gnu/packages/ebook.scm (calibre)[arguments]: Install mimetypes xml file.
> ---
>  gnu/packages/ebook.scm | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
> index 659ec57d5..5c392cc75 100644
> --- a/gnu/packages/ebook.scm
> +++ b/gnu/packages/ebook.scm
> @@ -183,7 +183,12 @@
>                         (find-files (string-append
>                                      (assoc-ref inputs "font-liberation")
>                                      "/share/fonts/truetype")))
> -             #t)))))
> +             #t))
> +         (add-after 'install-font-liberation 'install-mimetypes
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (install-file "resources/calibre-mimetypes.xml"
> +                           (string-append (assoc-ref outputs "out")
> +                                          "/share/mime/packages")))))))

(install-file ...) has an unspecified return value, so I added a #t here.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2017-11-05 16:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-03 15:42 [bug#29136] [PATCH 0/5] gnu: calibre: Update to 3.11.1 Brendan Tildesley
2017-11-03 15:43 ` [bug#29136] [PATCH 1/5] " Brendan Tildesley
2017-11-03 15:44   ` [bug#29136] [PATCH 2/5] gnu: Add python-dukpy, python2-dukpy Brendan Tildesley
2017-11-05 15:58     ` Marius Bakke
2017-11-03 15:44   ` [bug#29136] [PATCH 3/5] gnu: calibre: Add python2-dukpy as an input Brendan Tildesley
2017-11-03 15:44   ` [bug#29136] [PATCH 4/5] gnu: calibre: Add optipng " Brendan Tildesley
2017-11-03 15:44   ` [bug#29136] [PATCH 5/5] gnu: calibre: Install mimetypes Brendan Tildesley
2017-11-05 16:06     ` Marius Bakke [this message]
2017-11-05 16:07 ` bug#29136: [PATCH 0/5] gnu: calibre: Update to 3.11.1 Marius Bakke

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=874lq8hfrj.fsf@fastmail.com \
    --to=mbakke@fastmail.com \
    --cc=29136@debbugs.gnu.org \
    --cc=brendan.tildesley@openmailbox.org \
    /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).