[arch-commits] Commit in libe-book/repos (3 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Apr 14 17:56:23 UTC 2022


    Date: Thursday, April 14, 2022 @ 17:56:22
  Author: foutrelis
Revision: 442552

archrelease: copy trunk to staging-x86_64

Added:
  libe-book/repos/staging-x86_64/
  libe-book/repos/staging-x86_64/PKGBUILD
    (from rev 442551, libe-book/trunk/PKGBUILD)
  libe-book/repos/staging-x86_64/icu68.patch
    (from rev 442551, 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 442551, libe-book/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-04-14 17:56:22 UTC (rev 442552)
@@ -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=11
+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 442551, libe-book/trunk/icu68.patch)
===================================================================
--- staging-x86_64/icu68.patch	                        (rev 0)
+++ staging-x86_64/icu68.patch	2022-04-14 17:56:22 UTC (rev 442552)
@@ -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