Package Details: okular-git 19.04.1.r43.gb1c30cd0e-1

Git Clone URL: https://aur.archlinux.org/okular-git.git (read-only, click to copy)
Package Base: okular-git
Description: Universal document viewer
Upstream URL: http://kde.org/applications/graphics/okular/
Keywords: kde kf5
Licenses: GPL
Conflicts: kdegraphics-okular, okular, okular-frameworks-git
Provides: okular
Replaces: okular-frameworks-git
Submitter: Sevenseven
Maintainer: SolarAquarion
Last Packager: SolarAquarion
Votes: 40
Popularity: 0.119793
First Submitted: 2011-07-11 05:22
Last Updated: 2019-05-26 20:40

Required by (12)

Sources (1)

Latest Comments

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

sl1pkn07 commented on 2014-12-30 18:27

is weird. becasue to build with qca-qt5-git only need

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

or more simply

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

instead of

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

Only with this and without touch the cmake option -DQca-qt5_DIR=/usr/lib/cmake/Qca works for me

sl1pkn07 commented on 2014-12-30 18:26

is weird. becasue to build with qca-qt5-git only need

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

or more simply

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

only with this and without touch the cmake option -DQca-qt5_DIR=/usr/lib/cmake/Qca works for me

sl1pkn07 commented on 2014-12-30 18:24

is wreid. becasue to build with qca-qt5-git only need

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

or more simply

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

only with this and not touch the cmake option -DQca-qt5_DIR=/usr/lib/cmake/Qca works for me



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