Commit graph

86 commits

Author SHA1 Message Date
Nicolas Fella b1c904bda3 Don't hardcode Qt5
Prepares for using Qt6
2023-12-18 22:56:22 +00:00
Jeremy Whiting cc80b3d0e3 Convert okular_part.desktop to okular_part.json and use it.
Also fixed the deprecation warning in the generator plugins.
Thanks to Alexander Lohnau
2023-07-23 17:16:07 +00:00
Albert Astals Cid 5944ce059f Android: improve a bit the "androiddeployqt is not smart and needs help" code
We do that by:
 * Remembering all the generators we're building
 * Linking the dependencies of all those generators against the app

For that to work we do three things:
 * Move the creation of the app target to after the generator targets
   have been created
 * Have a global variable that lists all the created generators
 * Move the find_package of the generator dependencies to the top level
   so it can be used from the mobile app target
2022-03-28 20:25:04 +00:00
Albert Astals Cid c962c6caf6 kimgio generator: Make kexiv2 dependency optional
getting keviv2 to build on Android is hard (TM)
2021-11-29 11:59:01 +00:00
Albert Astals Cid 084631d11e Use more standard cmake functionality to search for discount
Instead of rolling our own, that's harder to understand and buggy anyway

BUGS: 431311
2021-01-24 11:16:49 +00:00
Albert Astals Cid 62d7a6938a Remove the ooo plugin
As mentioned on the Akademy meeting, just use the calligra okular plugins if you want to open an odt/odp in Okular
2020-10-07 22:01:22 +00:00
Albert Astals Cid 25b6775468 Use ${KF5_REQUIRED_VERSION} also for ECM 2020-04-08 21:56:29 +02:00
Yuri Chornoivan b510bb8f20 Update links to the dependencies 2019-11-21 17:54:42 +02:00
Albert Astals Cid 7e1832c57a autotests: Only compile parttest if you have the pdf support
I'm sure other tests fail to run too, but this one was failing to
compile :D
2018-03-21 00:31:05 +01:00
Heiko Becker f099d5fa2a generators: Use a specific description for libzip
Summary:
It appears it's copied and pasted from LibCHM and while it's indeed
needed to support displaying CHM files, it's a library of its
own.

Reviewers: #okular

Tags: #okular

Differential Revision: https://phabricator.kde.org/D8879
2017-11-18 12:22:43 +01:00
Gilbert Assaf 6b27aa53fa CHM Generator Lib Update
This patch updates our copy of the chm lib from kchmviewer. The lib files itself are an unmodified copy from kchmviewer 7.7, only our generator needed some changes. In contrast to kchmviewer we still use khtml and therefor still need msits.

REVIEW: 130226
2017-09-11 21:25:55 +02:00
Albert Astals Cid b53c5dd02c Merge remote-tracking branch 'origin/Applications/17.08' 2017-09-02 19:57:12 +02:00
Kevin Funk b31e3f23db CMake: Use some more find_package(... CONFIG) 2017-08-31 23:37:19 +02:00
Julian Wolff 4931385777 add markdown support
Summary:
Adds support for Markdown documents

BUG: 360603

Test Plan: Open a Markdown (.md) document in Okular

Reviewers: #okular, aacid

Reviewed By: #okular, aacid

Subscribers: michaelweghorn, aacid

Tags: #okular

Differential Revision: https://phabricator.kde.org/D7382
2017-08-25 01:05:23 +02:00
Andreas Sturmlechner 3ed10b8ccf Fix typo 2017-04-22 12:55:48 +02:00
Albert Astals Cid dd71abcf47 cmake: Remove endif that doesn't match opening if
Thanfully they fixed this crazyness a while ago
2017-04-06 22:14:01 +02:00
Christoph Feck 7a013e3869 Require KHtml only when building CHM generator
Reviewed by: aacid

Differential Revision: D4507
2017-02-10 02:57:06 +01:00
Aleix Pol 505ef44479 Fix LibSpectre look-up 2016-10-29 18:17:41 +02:00
Luigi Toscano 58b2f0e1f0 Use QMobipocket >= 2 (Qt5 based)
Use the new way of finding it, as include and libraries directories
are not exported, but the target information are and can be used through
target_link_libraries..
2016-10-29 18:07:30 +02:00
Martin T. H. Sandsmark b2ffcab043 Fix build of mobipocket backend 2016-06-18 19:34:55 +02:00
Armin K 568079625d cmake: Port to FindPoppler from extra-cmake-modules
REVIEW: 127049
2016-03-08 19:54:21 +01:00
Alex Richardson 4930045ff1 Make sure we don't pick up the new FindPoppler from e-c-m yet
I will port it to that once the next version of e-c-m has been released
2016-01-27 11:35:28 +00:00
Alex Richardson 2f9246ae42 Port to new JSON plugin loading system
This means Okular can now work without ksycoca and KDELibs4Support.

REVIEW: 126193
2016-01-04 15:59:07 +01:00
Montel Laurent 49129b788a Reactivate it 2014-10-07 13:20:16 +02:00
Montel Laurent 406ee919bf Reactivate code 2014-10-05 07:39:08 +02:00
Montel Laurent fc13e5c148 Reactivate djvu generator 2014-10-04 14:22:14 +02:00
Montel Laurent 89bb5562ac Reactivate some generator 2014-10-02 13:43:03 +02:00
Fabio D'Urso 75c8acee60 Compile DVI, TIFF and XPS generators 2014-08-24 23:13:45 +02:00
Fabio D'Urso e395735820 Port the kimgio generator
Note that the libkexiv2 "framework" branch is still work in progress and does
not work out of the box yet (it doesn't install some headers).
2014-08-23 21:49:25 +02:00
Frederik Gladhorn 24f7054c9e Bring back txt generator 2014-08-13 21:09:19 +02:00
Vishesh Handa fb330dd45c Port the EPubGenerator 2014-08-13 11:42:09 +02:00
Vishesh Handa eee26dd72f Port comicbook generator 2014-08-13 11:29:03 +02:00
Vishesh Handa 2bfa3ccff0 Port the CHM generator
Would be nice if I had some CHM files to test this on.
2014-08-13 11:24:15 +02:00
Vishesh Handa e4a4d400c3 Port the poppler generator 2014-08-13 11:16:28 +02:00
Frederik Gladhorn bf8f942bac Disable txt generator 2014-08-11 09:43:40 +02:00
Frederik Gladhorn 0c7a45c7a5 Disable lots of stuff and compile
The text generator is the only one compiled now.
This version links for me but then doesn't find its KPart on startup.

TTS has been completely disabled as well as some other things like the
about dialog.
2014-08-10 14:42:54 +02:00
Albert Astals Cid bc155c6842 Poppler-qt4 -> 5 2014-08-09 19:07:16 +02:00
Frederik Gladhorn 93918b1ec8 Basic cmake kf5 porting 2014-08-07 09:59:07 +02:00
Albert Astals Cid b9869e10d0 Compile++ 2013-11-04 21:38:52 +01:00
Fabio D'Urso 26c257202d kimgio generator: Apply transformations dictated by Exif metadata
BUG: 322920
FIXED-IN: 4.12.0
REVIEW: 111793
2013-10-11 11:07:54 +02:00
Azat Khuzhin 74420f1baa Txt backend
BUGS: 261930
REVIEW: 109009
FIXED-IN: 4.11.0
2013-02-19 00:22:16 +01:00
Albert Astals Cid b541d8e812 Cleanup the debug 2013-01-22 00:13:41 +01:00
Albert Astals Cid af652c02d0 Don't use LIBSPECTRE_FOUND as a internal var in the cmake file 2013-01-22 00:10:28 +01:00
Albert Astals Cid 87ccb7d13d even moar messages 2013-01-22 00:04:44 +01:00
Albert Astals Cid 7f519abe78 Increase poppler required version to 0.12.1
Released Sun Oct 18, 2009, if you want to build this new Okular with that old poppler version you should really think updating it too, there's been lots of fixes since then
2012-01-26 23:48:27 +01:00
Pino Toscano 5647ad5647 cmake: reenable the search of the JPEG library
there is no more a top-level CMakeLists.txt searching it;
this makes the plucker backend compilable again
(cherry picked from commit 41c572463c)
2011-10-04 15:28:54 +02:00
Pino Toscano a6e1ee3f8f remove the mobipocket generator
it has been moved to the separate mobipocket repository
2011-05-29 11:30:38 +02:00
Allen Winter 5e8008f650 tiny improvement to the macro_log_feature message for zlib
svn path=/trunk/KDE/kdegraphics/okular/; revision=1061613
2009-12-12 13:57:32 +00:00
Sascha Peilicke f806e7cb53 Reverted wrong poppler build check removal.
svn path=/trunk/KDE/kdegraphics/okular/; revision=956061
2009-04-19 12:07:32 +00:00
Sascha Peilicke 3cc3c5b969 Remove check HAVE_POPPLER_08 for now, this breaks build for later versions. The poppler-qt4 generator does version checks itself.
svn path=/trunk/KDE/kdegraphics/okular/; revision=956051
2009-04-19 11:47:25 +00:00