[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29136] [PATCH 5/5] gnu: calibre: Install mimetypes.
From: |
Marius Bakke |
Subject: |
[bug#29136] [PATCH 5/5] gnu: calibre: Install mimetypes. |
Date: |
Sun, 05 Nov 2017 17:06:08 +0100 |
User-agent: |
Notmuch/0.25.1 (https://notmuchmail.org) Emacs/25.3.1 (x86_64-pc-linux-gnu) |
Brendan Tildesley <address@hidden> 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.
signature.asc
Description: PGP signature
- [bug#29136] [PATCH 0/5] gnu: calibre: Update to 3.11.1., Brendan Tildesley, 2017/11/03
- [bug#29136] [PATCH 1/5] gnu: calibre: Update to 3.11.1., Brendan Tildesley, 2017/11/03
- [bug#29136] [PATCH 2/5] gnu: Add python-dukpy, python2-dukpy., Brendan Tildesley, 2017/11/03
- [bug#29136] [PATCH 5/5] gnu: calibre: Install mimetypes., Brendan Tildesley, 2017/11/03
- [bug#29136] [PATCH 5/5] gnu: calibre: Install mimetypes.,
Marius Bakke <=
- [bug#29136] [PATCH 4/5] gnu: calibre: Add optipng as an input., Brendan Tildesley, 2017/11/03
- [bug#29136] [PATCH 3/5] gnu: calibre: Add python2-dukpy as an input., Brendan Tildesley, 2017/11/03
- bug#29136: [PATCH 0/5] gnu: calibre: Update to 3.11.1., Marius Bakke, 2017/11/05