Package Details: kiwix-desktop-git 2.0.1.r16.g8430ee8-1

Git Clone URL: https://aur.archlinux.org/kiwix-desktop-git.git (read-only, click to copy)
Package Base: kiwix-desktop-git
Description: Offline reader for Web content, especially intended to make Wikipedia available offline
Upstream URL: https://github.com/kiwix/kiwix-desktop
Keywords: kiwix
Licenses: GPL3
Conflicts: kiwix-desktop
Provides: kiwix-desktop
Submitter: soloturn
Maintainer: hashworks
Last Packager: hashworks
Votes: 1
Popularity: 0.000000
First Submitted: 2019-12-26 09:28 (UTC)
Last Updated: 2020-06-17 19:30 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

ynikitenko commented on 2024-05-11 16:56 (UTC) (edited on 2024-05-11 16:58 (UTC) by ynikitenko)

Can't compile. When I try to install it via yay, I get

==> Starting build()...
Info: creating stash file ~/.cache/yay/kiwix-desktop-git/src/kiwix-desktop/.qmake.stash
Package dependency requirement 'kiwix >= 13.0.0' could not be satisfied.
Package 'kiwix' has version '12.1.1', required version is '>= 13.0.0'
Package dependency requirement 'kiwix >= 13.0.0' could not be satisfied.
Package 'kiwix' has version '12.1.1', required version is '>= 13.0.0'
/usr/bin/uic src/choiceitem.ui -o ui_choiceitem.h
/usr/bin/uic src/contentmanagerview.ui -o ui_contentmanagerview.h
/usr/bin/uic src/findinpagebar.ui -o ui_findinpagebar.h
/usr/bin/uic ui/kiwixchoicebox.ui -o ui_kiwixchoicebox.h
/usr/bin/uic ui/kiwixconfirmbox.ui -o ui_kiwixconfirmbox.h
/usr/bin/uic ui/mainwindow.ui -o ui_mainwindow.h
/usr/bin/uic ui/about.ui -o ui_about.h
/usr/bin/uic src/contentmanagerside.ui -o ui_contentmanagerside.h
/usr/bin/uic src/readinglistbar.ui -o ui_readinglistbar.h
/usr/bin/uic ui/localkiwixserver.ui -o ui_localkiwixserver.h
/usr/bin/uic ui/settings.ui -o ui_settings.h
g++ -c -pipe -std=c++17 -Werror -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/yaroslav/.cache/yay/kiwix-desktop-git/src=/usr/src/debug/kiwix-desktop-git -flto=auto -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=2.3.1 -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -Isubprojects/QtSingleApplication/src -I/usr/include/qt -I/usr/include/qt/QtWebEngineWidgets -I/usr/include/qt/QtWebEngineCore -I/usr/include/qt/QtQuick -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtQmlModels -I/usr/include/qt/QtWebChannel -I/usr/include/qt/QtQml -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtPositioning -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o choiceitem.o src/choiceitem.cpp
In file included from src/kiwixapp.h:4,
                 from src/choiceitem.cpp:5:
src/library.h:48:12: error: ‘LibraryPtr’ in namespace ‘kiwix’ does not name a type; did you mean ‘Library’?
   48 |     kiwix::LibraryPtr getKiwixLibrary() { return mp_library; }
      |            ^~~~~~~~~~
      |            Library
src/library.h:58:12: error: ‘LibraryPtr’ in namespace ‘kiwix’ does not name a type; did you mean ‘Library’?
   58 |     kiwix::LibraryPtr mp_library;
      |            ^~~~~~~~~~
      |            Library
src/library.h: In member function ‘const std::vector<kiwix::Bookmark> Library::getBookmarks(bool) const’:
src/library.h:36:101: error: ‘mp_library’ was not declared in this scope; did you mean ‘Library’?
   36 |     const std::vector<kiwix::Bookmark> getBookmarks(bool onlyValidBookmarks = false) const { return mp_library->getBookmarks(onlyValidBookmarks); }
      |                                                                                                     ^~~~~~~~~~
      |                                                                                                     Library
In file included from /usr/include/qt/QtCore/qfuture.h:45,
                 from /usr/include/qt/QtCore/QtCore:97,
                 from /usr/include/qt/QtNetwork/QtNetworkDepends:3,
                 from /usr/include/qt/QtNetwork/QtNetwork:3,
                 from src/opdsrequestmanager.h:5,
                 from src/contentmanager.h:8,
                 from src/kiwixapp.h:5:
/usr/include/qt/QtCore/qfutureinterface.h: At global scope:
/usr/include/qt/QtCore/qfutureinterface.h:284:37: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
  284 |     explicit QFutureInterface<void>(State initialState = NoState)
      |                                     ^~~~~
/usr/include/qt/QtCore/qfutureinterface.h:284:37: note: remove the ‘< >’
src/contentmanager.h:136:12: error: ‘LibraryPtr’ in namespace ‘kiwix’ does not name a type; did you mean ‘Library’?
  136 |     kiwix::LibraryPtr mp_remoteLibrary;
      |            ^~~~~~~~~~
      |            Library
cc1plus: all warnings being treated as errors
make: *** [Makefile:1363: choiceitem.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: kiwix-desktop-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
kiwix-desktop-git - exit status 4

ynikitenko commented on 2020-11-17 14:23 (UTC)

Since I'm a new user, I didn't get that. Now I understand, thanks.

hashworks commented on 2020-11-17 14:20 (UTC)

There is a conflict set, that should be enough. You should always check the official repos first, the AUR is an entirely unsupported realm.

ynikitenko commented on 2020-11-17 14:13 (UTC)

Now I understand. When I searched Arch Wiki, there was nothing about Kiwix.

When I searched AUR, there were only two packages, including this one.

Maybe add somewhere in the description that a community version exists?

hashworks commented on 2020-11-17 13:56 (UTC)

The AUR version is a git package, the community version a fixed "stable" release.

ynikitenko commented on 2020-11-17 13:44 (UTC) (edited on 2020-11-17 13:51 (UTC) by ynikitenko)

Hm, I didn't even know there is a community version. Why keep an AUR version then? I installed the version using pacman (it doesn't write that it's community, but it seems so). The problems remain. These are problems of the program itself, not its distribution to Arch. I think the rules say that 'upstream bugs should go to their creators'.

P.S. I misunderstood your phrase "If so you should report that bug upstream." - it was reported already. https://github.com/openzim/mwoffliner/issues/1033

hashworks commented on 2020-11-17 13:07 (UTC)

Does kiwix-desktop in community work fine? If so you should report that bug upstream.

ynikitenko commented on 2020-11-17 13:02 (UTC)

Thanks, this is a good program. Unfortunately there is a bug, and Wiktionary articles don't show translation sections (in fact there are several bugs). I use an old binary version of this package, https://download.kiwix.org/archive/kiwix/kiwix-xulrunner/0.10/kiwix-0.10-linux-x86_64.tar.bz2 This works fine. I'm not sure whether a separate package should be created for that, but at least let everyone here know about that.

hashworks commented on 2020-04-22 10:30 (UTC)

I've taken over the package and updated it to follow the VCS package guidelines.