[arch-commits] Commit in libe-book/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Sat Dec 19 06:45:38 UTC 2020
Date: Saturday, December 19, 2020 @ 06:45:38
Author: felixonmars
Revision: 404542
archrelease: copy trunk to staging-x86_64
Added:
libe-book/repos/staging-x86_64/
libe-book/repos/staging-x86_64/PKGBUILD
(from rev 404541, libe-book/trunk/PKGBUILD)
libe-book/repos/staging-x86_64/icu68.patch
(from rev 404541, libe-book/trunk/icu68.patch)
-------------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
icu68.patch | 20 ++++++++++++++++++++
2 files changed, 57 insertions(+)
Copied: libe-book/repos/staging-x86_64/PKGBUILD (from rev 404541, libe-book/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-12-19 06:45:38 UTC (rev 404542)
@@ -0,0 +1,37 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Thomas Arnhold <thomas at arnhold dot org>
+
+pkgname=libe-book
+pkgver=0.1.3
+pkgrel=8
+pkgdesc="Library for import of reflowable e-book formats."
+arch=('x86_64')
+url="https://sourceforge.net/projects/libebook/"
+license=('LGPL2.1' 'MPL')
+depends=('librevenge' 'libxml2' 'liblangtag')
+makedepends=('gperf' 'boost' 'cppunit' 'doxygen')
+source=(https://sourceforge.net/projects/${pkgname//-/}/files//${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz
+ icu68.patch)
+sha1sums=('18fde9588c236d51eea9437ed882d8b751daf01f'
+ '132fd6bf8622f2d922a9e844c665a906d6b2bbdb')
+
+prepare() {
+ cd "${pkgname}"-${pkgver}
+ patch -Np0 -i ../icu68.patch
+}
+
+build() {
+ cd "${pkgname}"-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${pkgname}"-${pkgver}
+ make check
+}
+
+package() {
+ cd "${pkgname}"-${pkgver}
+ make DESTDIR="$pkgdir" install
+}
Copied: libe-book/repos/staging-x86_64/icu68.patch (from rev 404541, libe-book/trunk/icu68.patch)
===================================================================
--- staging-x86_64/icu68.patch (rev 0)
+++ staging-x86_64/icu68.patch 2020-12-19 06:45:38 UTC (rev 404542)
@@ -0,0 +1,20 @@
+Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844
+
+EBOOKCharsetConverter.cpp:127:7: error: use of undeclared identifier 'TRUE'
+ TRUE, TRUE, &status)
+ ^
+EBOOKCharsetConverter.cpp:127:13: error: use of undeclared identifier 'TRUE'
+ TRUE, TRUE, &status)
+ ^
+
+--- src/lib/EBOOKCharsetConverter.cpp.orig 2018-01-01 11:16:28 UTC
++++ src/lib/EBOOKCharsetConverter.cpp
+@@ -124,7 +124,7 @@ bool EBOOKCharsetConverter::convertBytes(const char *c
+ m_converterToUTF8.get(), m_converterToUnicode.get(),
+ &outText, outText + out.size(), &inText, inText + length,
+ nullptr, nullptr, nullptr, nullptr,
+- TRUE, TRUE, &status)
++ true, true, &status)
+ ;
+ if (status==U_BUFFER_OVERFLOW_ERROR)
+ {
More information about the arch-commits
mailing list