[arch-commits] Commit in libe-book/repos (3 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Nov 21 22:09:39 UTC 2021
Date: Sunday, November 21, 2021 @ 22:09:39
Author: foutrelis
Revision: 428792
archrelease: copy trunk to staging-x86_64
Added:
libe-book/repos/staging-x86_64/
libe-book/repos/staging-x86_64/PKGBUILD
(from rev 428791, libe-book/trunk/PKGBUILD)
libe-book/repos/staging-x86_64/icu68.patch
(from rev 428791, 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 428791, libe-book/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-11-21 22:09:39 UTC (rev 428792)
@@ -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=10
+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 428791, libe-book/trunk/icu68.patch)
===================================================================
--- staging-x86_64/icu68.patch (rev 0)
+++ staging-x86_64/icu68.patch 2021-11-21 22:09:39 UTC (rev 428792)
@@ -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