From: Brendan Tildesley <brendan.tildesley@openmailbox.org>
To: 29136@debbugs.gnu.org
Subject: [bug#29136] [PATCH 5/5] gnu: calibre: Install mimetypes.
Date: Sat, 4 Nov 2017 02:44:03 +1100 [thread overview]
Message-ID: <20171103154403.6212-5-brendan.tildesley@openmailbox.org> (raw)
In-Reply-To: <20171103154403.6212-1-brendan.tildesley@openmailbox.org>
* 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")))))))
(home-page "http://calibre-ebook.com/")
(synopsis "E-book library management software")
(description "Calibre is an ebook library manager. It can view, convert
--
2.14.3
next prev parent reply other threads:[~2017-11-03 15:45 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 ` Brendan Tildesley [this message]
2017-11-05 16:06 ` [bug#29136] [PATCH 5/5] gnu: calibre: Install mimetypes Marius Bakke
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=20171103154403.6212-5-brendan.tildesley@openmailbox.org \
--to=brendan.tildesley@openmailbox.org \
--cc=29136@debbugs.gnu.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).