mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
www-misc/kiwix-desktop: drop 2.3.1
Closes: https://bugs.gentoo.org/934946 (obsolete) Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
3 files changed
-71
No files matched your search
@@ -1,2 +1 @@
|
||||
DIST kiwix-desktop-2.3.1.tar.gz 525090 BLAKE2B 3f2bc6d49f383e754438dfee260b3aa1a09040b9b543b1abc8acc0aa4531e84c350e014f98951409b292ed7e9fa2285733d98237b0ff3b4175de8e8f269cac1f SHA512 09d4c2293fc36ac0b03c815474f5f60881093552fd7d1d0940858254c16d7b6021bd05f4f985b32401328705082f07fbd72e92f79bb1365650f5dd75d455f0b8
|
||||
DIST kiwix-desktop-2.4.0.tar.gz 671550 BLAKE2B 30374c6836a2144dbeae724ff6a21602529fbeb285b47aeccdc4e2d2950a0048aa5691ce8534502fce80e4fc789743c1c786c0dc57cd06ce9a44f0adf8e0deef SHA512 e59957ba34a2d04c0fb63651ec30c9acc585755859aa53b8f96a84c62172b4dbf52d4ace7690ff2c5e478fc661c7014164985a6767847b8d11bcef00ab025d8f
|
||||
@@ -1,32 +0,0 @@
|
||||
From 1b322d8f01c787846546a6473f153cf1daa41e65 Mon Sep 17 00:00:00 2001
|
||||
From: Matthieu Gautier <mgautier@kymeria.fr>
|
||||
Date: Thu, 9 Feb 2023 09:47:47 +0100
|
||||
Subject: [PATCH] With last version of libkiwix, Downloader now return
|
||||
shared_ptr<Download>.
|
||||
|
||||
---
|
||||
src/contentmanager.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/contentmanager.cpp b/src/contentmanager.cpp
|
||||
index c2f4ff98..d4db50a0 100644
|
||||
--- a/src/contentmanager.cpp
|
||||
+++ b/src/contentmanager.cpp
|
||||
@@ -173,7 +173,7 @@ QStringList ContentManager::updateDownloadInfos(QString id, const QStringList &k
|
||||
return values;
|
||||
}
|
||||
auto& b = mp_library->getBookById(id);
|
||||
- kiwix::Download* d;
|
||||
+ std::shared_ptr<kiwix::Download> d;
|
||||
try {
|
||||
d = mp_downloader->getDownload(b.getDownloadId());
|
||||
} catch(...) {
|
||||
@@ -270,7 +270,7 @@ QString ContentManager::downloadBook(const QString &id)
|
||||
for (auto b : booksList)
|
||||
if (b.toStdString() == book.getId())
|
||||
return "";
|
||||
- kiwix::Download *download;
|
||||
+ std::shared_ptr<kiwix::Download> download;
|
||||
try {
|
||||
std::pair<std::string, std::string> downloadDir("dir", downloadPath.toStdString());
|
||||
const std::vector<std::pair<std::string, std::string>> options = { downloadDir };
|
||||
@@ -1,38 +0,0 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="cross-platform viewer/manager for ZIM archives"
|
||||
HOMEPAGE="https://kiwix.org/"
|
||||
SRC_URI="https://github.com/kiwix/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtimageformats:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwebengine:5
|
||||
=www-misc/libkiwix-12.1.0*:=
|
||||
|
||||
"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/kiwix-desktop-2.3.1-shared_ptr.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
eqmake5 PREFIX=/usr .
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install INSTALL_ROOT="${ED}"
|
||||
}
|
||||
Reference in new issue
Block a user