[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/13: gnu: Add libmobi.
From: |
guix-commits |
Subject: |
10/13: gnu: Add libmobi. |
Date: |
Fri, 30 Jul 2021 19:04:28 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit a07f39b7daf403be7f0c0ce600865648efff1a78
Author: la snesne <lasnesne@lagunposprasihopre.org>
AuthorDate: Fri Jul 2 14:57:15 2021 +0900
gnu: Add libmobi.
* gnu/packages/ebook.scm (libmobi): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/ebook.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index c49b231..003ea0c 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,6 +36,7 @@
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (gnu packages)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages compression)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
@@ -596,3 +598,47 @@ Some of the current features:
(description "xCHM is a graphical CHM file viewer. It is a frontend to
the CHM library CHMLIB.")
(license license:gpl2+)))
+
+(define-public libmobi
+ (package
+ (name "libmobi")
+ (version "0.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bfabiszewski/libmobi/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0yps72cm609xn2k7alflkdhp9kgr1w7zzyxjygz0n1kqrdcplihh"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)))
+ (inputs
+ `(("zlib" ,zlib)
+ ("libxml2" ,libxml2)))
+ (home-page "https://github.com/bfabiszewski/libmobi/")
+ (synopsis "C library for handling MOBI formats")
+ (description "Libmobi is a C library for handling MOBI ebook
+format documents, with the following features:
+
+@itemize
+@item reading and parsing:
+@itemize
+@item some older text Palmdoc formats (pdb),
+@item Mobipocket files (prc, mobi),
+@item newer MOBI files including KF8 format (azw, azw3),
+@item Replica Print files (azw4)
+@end itemize
+@item recreating source files using indices
+@item reconstructing references (links and embedded) in html files
+@item reconstructing source structure that can be fed back to kindlegen
+@item reconstructing dictionary markup (orth, infl tags)
+@item writing back loaded documents
+@item metadata editing
+@item handling encrypted documents
+@end itemize\n")
+ (license license:lgpl3+)))
- branch master updated (721e380 -> db2c7e7), guix-commits, 2021/07/30
- 01/13: gnu: python-onnx: Update to 1.9.0., guix-commits, 2021/07/30
- 02/13: gnu: python-onnx: Move comment to the patch header., guix-commits, 2021/07/30
- 03/13: gnu: python-onnx: Delete bundled software., guix-commits, 2021/07/30
- 04/13: gnu: python-onnx: Install libonnx.so and libonnx_proto.so., guix-commits, 2021/07/30
- 05/13: gnu: python-onnx: Rename to "onnx"., guix-commits, 2021/07/30
- 06/13: gnu: onnx: Change source to 'git-fetch'., guix-commits, 2021/07/30
- 07/13: gnu: python-yubikey-manager: Fix libykpers reference., guix-commits, 2021/07/30
- 10/13: gnu: Add libmobi.,
guix-commits <=
- 11/13: gnu: racket: Update to 8.2., guix-commits, 2021/07/30
- 13/13: gnu: racket-minimal: Bootstrap from C., guix-commits, 2021/07/30
- 09/13: gnu: guile-dbd-sqlite3: Replace 'url-fetch' by 'git-fetch'., guix-commits, 2021/07/30
- 08/13: gnu: guile-dbi: Replace 'url-fetch' by 'git-fetch'., guix-commits, 2021/07/30
- 12/13: gnu: racket: Unbundle racket-minimal., guix-commits, 2021/07/30