sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (ba5023ebe1c89777527ce3edd79bd49779e59e6e)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (ba5023ebe1c89777527ce3edd79bd49779e59e6e)
- Date: Sun, 26 Dec 2021 20:41:52 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
ChangeLog | 2 ++
libs/libebook/DEPENDS | 5 +++++
libs/libebook/DETAILS | 26 ++++++++++++++++++++++++++
libs/libebook/HISTORY | 5 +++++
libs/libebook/PRE_BUILD | 6 ++++++
5 files changed, 44 insertions(+)
New commits:
commit ba5023ebe1c89777527ce3edd79bd49779e59e6e
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
libebook: new spell, Library for import of reflowable e-book formats
diff --git a/ChangeLog b/ChangeLog
index db8858a..d491c6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,8 @@
* libs/libmspub: new spell, MS Publisher file format parser
* libs/libpagemaker: new spell, Adobe PageMaker format parser
* libs/libqxp: new spell, QuarkXPress format parser
+ * libs/libebook: new spell, Library for import of reflowable e-book
+ formats
2021-12-25 Pavel Vinogradov <public AT sourcemage.org>
* ruby-raa/ruby-3.1: new spell, Ruby 3.1
diff --git a/libs/libebook/DEPENDS b/libs/libebook/DEPENDS
new file mode 100755
index 0000000..003dd21
--- /dev/null
+++ b/libs/libebook/DEPENDS
@@ -0,0 +1,5 @@
+depends boost &&
+depends icu &&
+depends libwpd &&
+depends libxml2 &&
+depends zlib
diff --git a/libs/libebook/DETAILS b/libs/libebook/DETAILS
new file mode 100755
index 0000000..77899c3
--- /dev/null
+++ b/libs/libebook/DETAILS
@@ -0,0 +1,26 @@
+ SPELL=libebook
+ VERSION=0.1.3
+ SOURCE="libe-book-$VERSION.tar.xz"
+ SOURCE_URL[0]=$SOURCEFORGE_URL/project/$SPELL/${SOURCE%.tar.xz}/$SOURCE
+
SOURCE_HASH=sha512:56dfa93816b8a1b7e223bda517ff81547fd7b311c3fe2bea64b12c4290642d4b9ed3778df06c4ee7a65f2b9db57702c00c32aec819efb7820115165af3d5ebdc
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/${SOURCE%.tar.xz}"
+ WEB_SITE="https://sourceforge.net/projects/libebook/"
+ LICENSE[0]="MPL-2.0 LGPL-2.1-or-later"
+ ENTERED=20211226
+ KEYWORDS=""
+ SHORT="Library for import of reflowable e-book formats"
+cat << EOF
+libe-book is a library and a set of tools for reading and converting various
+non-HTML reflowable e-book formats.
+
+Currently supported are:
+- eReader .pdb
+- FictionBook v. 2 (including zipped files)
+- PalmDoc Ebook
+- Plucker .pdb
+- QiOO (mobile format, for java-enabled cellphones)
+- TCR (simple compressed text format)
+- TealDoc
+- zTXT
+- ZVR (simple compressed text format)
+EOF
diff --git a/libs/libebook/HISTORY b/libs/libebook/HISTORY
new file mode 100644
index 0000000..70e0198
--- /dev/null
+++ b/libs/libebook/HISTORY
@@ -0,0 +1,5 @@
+2021-12-26 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD: Fixed build against musl
+
+2021-12-26 Ismael Luceno <ismael AT sourcemage.org>
+ * DEPENDS, DETAILS: spell created
diff --git a/libs/libebook/PRE_BUILD b/libs/libebook/PRE_BUILD
new file mode 100755
index 0000000..247cbc0
--- /dev/null
+++ b/libs/libebook/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+# fix building against icu 68+
+sedit 's/TRUE/true/g' src/lib/EBOOKCharsetConverter.cpp &&
+# fix building against musl
+sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (ba5023ebe1c89777527ce3edd79bd49779e59e6e), Ismael Luceno, 12/26/2021
Archive powered by MHonArc 2.6.24.