Package Details: okular-git 21.07.70_r9334.g195bbe363-1

Git Clone URL: https://aur.archlinux.org/okular-git.git (read-only, click to copy)
Package Base: okular-git
Description: Document Viewer
Upstream URL: https://kde.org/applications/graphics/okular/
Keywords: kde kf5
Licenses: GPL, LGPL, FDL
Groups: kde-applications-git, kde-graphics-git
Conflicts: okular
Provides: okular
Submitter: Sevenseven
Maintainer: SolarAquarion (IslandC0der)
Last Packager: IslandC0der
Votes: 42
Popularity: 0.004233
First Submitted: 2011-07-11 05:22
Last Updated: 2021-05-30 18:01

Dependencies (27)

Required by (13)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

tajidinabd commented on 2014-12-29 22:26

correction i did find the directory to the QtCrypto

under /usr/iinclude/qt/Qca-qt5/QtCrypto/

how do i integrate this into the PKGBUILD

tajidinabd commented on 2014-12-29 22:20

Well here is the exact point there is a problem in the compilation of okular:

i get the following error:

In file included from /tmp/yaourt-tmp-tajidinabd/aur-okular-frameworks-git/src/okular/generators/ooo/document.h:17:0,
from /tmp/yaourt-tmp-tajidinabd/aur-okular-frameworks-git/src/okular/generators/ooo/converter.cpp:30:
/tmp/yaourt-tmp-tajidinabd/aur-okular-frameworks-git/src/okular/generators/ooo/manifest.h:18:20: fatal error: QtCrypto: No such file or directory
#include <QtCrypto>
^
compilation terminated.
generators/ooo/CMakeFiles/okularGenerator_ooo.dir/build.make:54: recipe for target 'generators/ooo/CMakeFiles/okularGenerator_ooo.dir/converter.cpp.o' failed
make[2]: *** [generators/ooo/CMakeFiles/okularGenerator_ooo.dir/converter.cpp.o] Error 1
CMakeFiles/Makefile2:1260: recipe for target 'generators/ooo/CMakeFiles/okularGenerator_ooo.dir/all' failed
make[1]: *** [generators/ooo/CMakeFiles/okularGenerator_ooo.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build okular-frameworks-git.


it seems this qca-qt5 directory contains the QTCrypto. According to one site it needs to be included in the path to successfully build okular.
i can not find on my system this particular file.




tajidinabd commented on 2014-12-29 18:30

well that fix did not work for me i will investigate more the problem

tajidinabd commented on 2014-12-28 22:10

Well i tryed that temporary fix and nothing is working the build fails still

tajidinabd commented on 2014-12-28 22:07

I'm assuming under the prepare() instructions in the PKGBUILD??

sl1pkn07 commented on 2014-12-28 17:04

@tajidinabd: try this temporal fix:

sed 's|find_package(QCA2 "2.0.0")|find_package(Qca-qt5 "2.0.0")|g' -i okular/generators/ooo/CMakeLists.txt

greetings

tajidinabd commented on 2014-12-26 14:46

any idea what is happening

tajidinabd commented on 2014-12-26 14:46

im getting errors when i try to build this package
its complaining about the build function

this is the error i get

generators/ooo/CMakeFiles/okularGenerator_ooo.dir/build.make:54: die Regel für Ziel „generators/ooo/CMakeFiles/okularGenerator_ooo.dir/converter.cpp.o“ scheiterte
make[2]: *** [generators/ooo/CMakeFiles/okularGenerator_ooo.dir/converter.cpp.o] Fehler 1
CMakeFiles/Makefile2:1260: die Regel für Ziel „generators/ooo/CMakeFiles/okularGenerator_ooo.dir/all“ scheiterte
make[1]: *** [generators/ooo/CMakeFiles/okularGenerator_ooo.dir/all] Fehler 2
Makefile:127: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2


sl1pkn07 commented on 2014-12-08 21:11

missing -DQca-qt5_DIR=/usr/lib/cmake/Qca in cmake options

greetings

sl1pkn07 commented on 2014-12-07 04:15

please add

sed 's|QCA2 "2.0.0"|Qca-qt5 "2.0.0"|g' -i okular/generators/ooo/CMakeLists.txt

in prepare()

and

-DQca-qt5_DIR=/usr/lib/cmake/Qca

in a cmake options to build with qca-qt5(-git) >=2.1.0 (in makedepends)

greetings