Commit Graph

132 Commits

Author SHA1 Message Date
Alexander Lohnau
93ad33569b Convert CMake module license statements to SPDX 2021-06-10 08:11:56 +00:00
Alexander Lohnau
2f193a63de Convert license headers to SPDX 2021-06-10 08:11:56 +00:00
Albert Astals Cid
99788b907e Second attempt at fixing the windows/craft build
Since libspectre includes reference themselves with libspectre/ change
the cmake find_path to also include libspectre/ when doing the include
path search
2021-05-20 10:00:18 +02: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
Sune Vuorela
3e48663fb7 Use a target in FindDiscount (modern cmake) rather than variables
Test Plan: Things still builds

Reviewers: kde-buildsystem, apol

Reviewed By: apol

Subscribers: apol, aacid, #okular

Tags: #okular

Differential Revision: https://phabricator.kde.org/D12672
2018-05-08 21:39:06 +02: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
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
Albert Astals Cid
2868e3e5ca Support SetOCGState links
Needs a very recent poppler

BUGS: 368402
REVIEW: 129216
2016-11-26 16:00:46 +01:00
Aleix Pol
505ef44479 Fix LibSpectre look-up 2016-10-29 18:17:41 +02:00
Albert Astals Cid
425dc7d948 FindPoppler.cmake: Fix endif mismatched condition by removing it 2016-03-03 00:21:12 +01:00
Arseniy Lartsev
76c1e944a8 Support for non-integer transition durations in PDF presentations
REVIEW: 125329
2015-10-15 00:16:55 +02:00
Heiko Becker
966e19582c FindLibSpectre: Use FindPkgConfig instead of UsePkgConfig
The latter is deprecated and doesn't respect the PKG_CONFIG
environment variable which makes it easy to deal with differently
named pkg-config executables, e.g. arch-prefixed ones.

REVIEW: 123393
2015-04-19 14:42:57 +02:00
Albert Astals Cid
19a216a275 Don't ask for link annotations, they are slow and we don't use them
Needs poppler 0.28 that is yet to be released

BUGS: 317891
2014-05-11 18:44:56 +02:00
Albert Astals Cid
38c4efef4f Fix cmake condition 2013-02-24 00:40:39 +01:00
Albert Astals Cid
69f683b9a4 Expose the thin line support of poppler 0.24
Based on a patch by Thomas Freitag - Thomas.Freitag@alfa.de
2013-02-24 00:37:33 +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
b839ad266f More messages 2013-01-22 00:01:16 +01:00
Albert Astals Cid
ba503f9bc7 Try to find out why build.kde.org doesn't find spectre 2013-01-21 23:55:11 +01:00
Fabio D'Urso
f33bff0268 FindPoppler.cmake: Updated poppler 0.22 to check that it is really the lastest version 2012-11-03 18:28:53 +01:00
Tobias Koenig
24e8fbd447 Make sure HAVE_POPPLER_0_22 really checks for latest version 2012-10-28 17:38:21 +01:00
Tobias Koenig
770e2818bb Evaluate additional actions of screen and widget annotations
This fixes the auto-start feature of PDFs generated with the LaTeX movie
package, which uses the additional action of a widget annotation to start
the movie when entering the page.

BUG: 300051
REVIEW: 106430
FIXED-IN: 4.10
2012-09-21 10:50:57 +02:00
Tobias Koenig
8dbd83ab2a Implement support for poster image of videos in PDF documents
With this commit Okular will show a so called poster image for PDF documents
containing movie annotations. The image will be a screenshot of the first frame
of the video.

BUGS: 301603
REVIEW: 105890
FIXED-IN: 4.10.0
2012-08-19 12:23:47 +02:00
Tobias Koenig
4639ded310 Implement autostart support for movie annotations
Evaluate MovieActions to implement autostart behavior for movie annotations.

REVIEW:104271
2012-04-03 14:18:10 +02:00
Guillermo A. Amaral B
592c0c1611 Allow PDF Generator to handle embedded movies 2012-03-22 17:35:33 +00: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
Valentin Rusu
d13d0064f2 Fixed a test (thanks Alex Neundorf) when libpoppler-qt4 was incorrectly not found 2011-06-07 00:07:49 +02:00
Pino Toscano
09af0e40c4 cmake: remove obsolete/leftover cmake modules 2011-05-30 17:54:05 +02:00
Rohan Garg
b9710a3cb6 FindKSane.cmake moved to git, removing unnecessary files
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1223126
2011-02-28 13:47:33 +00:00
Albert Astals Cid
9d1bdb296e look for poppler 0.16
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1209700
2010-12-28 00:11:34 +00:00
Albert Astals Cid
64063fe996 Alex says FindOkular.cmake is not the way to go and that we need to install an OkularConfig.cmake
That get_filename_component thing seems quite fragile and hacky to me but he is the expert :-)

CCMAIL: neundorf@kde.org

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1179984
2010-09-26 17:31:31 +00:00
Pino Toscano
1f809924aa improve a bit the library search of this module:
- use pkg_check_modules() instead of the deprecated pkgconfig()
- search for library and includes also if we use pkg-config, generalizing the search a bit
should make its code a bit cleaner, and still make it working on windows (in case, just tell me)

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1069564
2010-01-03 19:11:24 +00:00
Albert Astals Cid
27830a988e Add a [hidden] config option to set hinting to fonts
Defaults to disabled
Made the dvi and pdf backends honor the hinting setting

svn path=/trunk/KDE/kdegraphics/okular/; revision=1032936
2009-10-08 21:55:51 +00:00
Christian Ehrlicher
42354f1a7f add CheckCXXSourceCompiles
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1024495
2009-09-16 17:21:52 +00:00
Aaron J. Seigo
5deac8b65b api change
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=1019128
2009-09-02 23:05:16 +00:00
Laurent Montel
512981a36b Port to knotificationitem
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=989091
2009-06-29 12:03:25 +00:00
Pino Toscano
ede4f767ce - add a compile check for poppler 0.8
- improve the message shown

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=940936
2009-03-18 14:27:23 +00:00
Laurent Montel
73ce3b48b7 Port to find_package(PkgConfig)
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=897480
2008-12-16 08:15:04 +00:00
Laurent Montel
f6828bab02 Not necessary
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=882088
2008-11-09 18:52:57 +00:00
Patrick Spendrin
9c368e7567 forward port r853349 and r853404
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=853595
2008-08-28 00:05:31 +00:00
Pino Toscano
e14d036f44 install the FindKScan cmake module
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=817540
2008-06-06 09:03:15 +00:00
Kåre Särs
084cc0772e Move libksane to libs/ for consistency
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=816855
2008-06-04 20:22:38 +00:00
Pino Toscano
f05c68a6b2 there's a better (or supposed so) FindKipi coming with kdelibs, so use that one
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=815311
2008-06-01 14:31:01 +00:00
Kåre Särs
84c5b70b89 Enable building of libksane in kdegraphics
Disablebuilding of libkscan (prepare to move to unmaintained/4/)

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=807802
2008-05-14 19:26:15 +00:00
Kevin Kofler
9af278d1c9 Fix obvious pasto.
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=806100
2008-05-10 01:06:43 +00:00
Laurent Montel
a3287b38c7 Don't try to use pkg-config on win32
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=804224
2008-05-05 11:44:53 +00:00
Kåre Särs
51e58cc949 move FindKSane.cmake (for ksaneplugin) to kdegraphics
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=803911
2008-05-04 12:44:49 +00:00
Angelo Naselli
0ea8aa75a1 Added base kipi support
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=797438
2008-04-15 21:19:55 +00:00
Angelo Naselli
8728b8b2de Added kipi support
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=797437
2008-04-15 21:19:52 +00:00