From 1b399fc0a2d7220afdc519e56aee3f9668ae695c Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Wed, 5 Aug 2020 13:58:53 -0700 Subject: [PATCH 1/2] README: Clarify aria2 is only a runtime dependency --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fbd0322eb..5332c64e4 100644 --- a/README.md +++ b/README.md @@ -38,11 +38,13 @@ libraries need to be available: * [ICU](https://site.icu-project.org/) (package `libicu-dev` on Ubuntu) * [ZIM](https://openzim.org/) (package `libzim-dev` on Ubuntu) * [Pugixml](https://pugixml.org/) (package `libpugixml-dev` on Ubuntu) -* [Aria2](https://aria2.github.io/) (package `aria2` on Ubuntu) * [Mustache](https://github.com/kainjow/Mustache) (Just copy the header `mustache.hpp` somewhere it can be found by the compiler and/or set CPPFLAGS with correct `-I` option). Use Mustache version 3 only. +The following dependency needs to be available at runtime: +* [Aria2](https://aria2.github.io/) (package `aria2` on Ubuntu) + These dependencies may or may not be packaged by your operating system. They may also be packaged but only in an older version. The compilation script will tell you if one of them is missing or too old. From fdc59b1ec9dc80db0d02cbd144dc50755449b3c6 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Wed, 5 Aug 2020 14:02:03 -0700 Subject: [PATCH 2/2] debian: Move aria2 from build dep to runtime dependency Fixes https://github.com/kiwix/kiwix-desktop/issues/505. --- debian/control | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index d2595f640..c6331c30c 100644 --- a/debian/control +++ b/debian/control @@ -22,7 +22,7 @@ Package: libkiwix-dev Section: libdevel Architecture: any Multi-Arch: same -Depends: libkiwix9 (= ${binary:Version}), ${misc:Depends}, python3, aria2, +Depends: libkiwix9 (= ${binary:Version}), ${misc:Depends}, python3, libzim-dev (>= 6.0.0), libicu-dev, libpugixml-dev, @@ -37,7 +37,7 @@ Description: library of common code for Kiwix (development) Package: libkiwix9 Architecture: any Multi-Arch: same -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, aria2 Conflicts: libkiwix0, libkiwix3 Description: library of common code for Kiwix Kiwix is an offline Wikipedia reader. libkiwix provides the