Package Details: kiwix-lib 8.1.0-2

Git Clone URL: https://aur.archlinux.org/kiwix-lib.git (read-only)
Package Base: kiwix-lib
Description: Library providing the Kiwix software core
Upstream URL: https://github.com/kiwix/kiwix-lib
Licenses: GPL3
Submitter: hashworks
Maintainer: hashworks
Last Packager: hashworks
Votes: 1
Popularity: 0.000272
First Submitted: 2018-06-19 12:01
Last Updated: 2019-09-26 15:30

Pinned Comments

hashworks commented on 2019-09-25 14:39

Please leave issues at https://git.hashworks.net/aur-packages/kiwix-lib

Latest Comments

hashworks commented on 2019-09-25 14:39

Please leave issues at https://git.hashworks.net/aur-packages/kiwix-lib

GNUtoo commented on 2019-06-22 20:03

Hi,

Here are two patches:

0001-Make-the-package-architecture-dependent-to-enable-sh.patch:

From 055bea382b87ee5d9bc9339c4fc904898a8903c7 Mon Sep 17 00:00:00 2001
From: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org
Date: Sat, 22 Jun 2019 21:55:07 +0200
Subject: [PATCH 1/2] Make the package architecture dependent to enable
 shipping it.

While this works in AUR, because users are building the PKGBUILD, distributions wanting to use this PKGBUILD as-is and ship packages produced with it will have an issue as the package built will be installable on any architecture, but the binaries in the packages are not architecture independant.

Signed-off-by: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org

PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD index a59d4f8..1458e42 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgver=5.1.0 pkgrel=1 pkgdesc="Library providing the Kiwix software core" license=('GPL3') -arch=('any') +arch=('armv7h' 'i686' 'x86_64') depends=('libzim>=5.0.0' 'pugixml' 'mustache' 'xapian-core' 'aria2') makedepends=('meson') url='https://github.com/kiwix/kiwix-lib' -- 2.21.0

0002-kiwix-libs-add-dependency-on-gtest.patch:

From 022395fa52f48297a346fe5d2970b799d7e62262 Mon Sep 17 00:00:00 2001
From: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org
Date: Sat, 22 Jun 2019 22:01:23 +0200
Subject: [PATCH 2/2] kiwix-libs: add dependency on gtest

For some reasons it builds with makepkg on i686 but fails with libremakepkg, though it builds with libremakepkg on x86_64.

Here is the failure that occurs with libremakepkg on i686: | test/meson.build:8:0: ERROR: Dependency "gtest" not found, tried pkgconfig and system

Signed-off-by: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org

PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD index 1458e42..3b7aa34 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgdesc="Library providing the Kiwix software core" license=('GPL3') arch=('armv7h' 'i686' 'x86_64') depends=('libzim>=5.0.0' 'pugixml' 'mustache' 'xapian-core' 'aria2') -makedepends=('meson') +makedepends=('meson' 'gtest') url='https://github.com/kiwix/kiwix-lib' source=("https://github.com/kiwix/kiwix-lib/archive/${pkgver}.tar.gz") sha256sums=(573e1176e351fedc8b49c7746aef10746bf13c9f5a1df18186e0e6589215c546) -- 2.21.0

hashworks commented on 2019-05-29 09:54

@THS: Thanks. I changed the dependency to aria2 and requested a removal of the libaria2 package.

THS commented on 2019-04-19 18:27

@hashworks It seems that aria2 now builds with --enable-libaria2. See here: https://git.archlinux.org/svntogit/community.git/commit/?h=packages/aria2&id=6c8ba1fd46717c25404a854918c0085db2ed389e

hashworks commented on 2018-08-05 11:14

This requires aria2 to be build with --enable-libaria2. If this gets added to aria2 I'll be happy to use it.

int_19h commented on 2018-07-30 06:10

If you don't mind me asking - why not use the existing aria2 package as a dependency?