Commit graph

216 commits

Author SHA1 Message Date
Albert Astals Cid c05f26c204 Revert needless KF5 dep increase
Laurent it'd be really great if you did read the emails i send you :)

CCMAIL: montel@kde.org
2015-08-05 00:27:36 +02:00
Marco Martin 2533561418 uncomment add_subdirectory(doc)
was disabled by mistake
2015-08-03 14:34:06 +02:00
Marco Martin f3698b6d69 port away from ViewSearch 2015-08-03 14:23:38 +02:00
Montel Laurent adde882203 increase version 2015-08-03 10:08:47 +02:00
Montel Laurent 49ce3fc4d2 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	core/version.h
2015-08-03 09:44:50 +02:00
Albert Astals Cid dafd8f6972 Bring QPageSize from Qt5
Allows us to not use a dummy printer for knowing page size
Which is nice since it won't block because Qt4 QPrinter is a bit weird sometimes

BUGS: 334708
FIXED-IN: KDE Applications 15.08
2015-07-30 12:45:55 +02:00
David Faure 8eb8cfcf1a set cmake_min_req to match kdelibs policy and enable newer cmake policies 2015-07-28 13:27:16 +02:00
Alex Richardson 5ecffc246b Set the CMake target name from Okular::okularcore to Okular::Core
REVIEW: 124381
2015-07-20 14:18:07 +01:00
Alex Richardson f9b90348ec Make the KF5 okular library coinstallable with the KDE4 version
The KF5 based library has been renamed to libOkular5Core.so so that
both can coexist in /usr/lib(64)

REVIEW: 124381
2015-07-20 14:18:03 +01:00
Alex Richardson ed352a06fb Install Okular5Config.cmake instead of OkularConfig.cmake
Otherwise Qt4 projects that have a find_package(Okular) can break
because CMake then selects moc from Qt5 which won't work

REVIEW: 124381
2015-07-20 14:17:38 +01:00
Alex Richardson dcf4d93abb Fix the export header not being found in interfaces/*.h
REVIEW: 123363
2015-04-16 00:54:32 +01:00
Andreas Cord-Landwehr ac258e49f1 Use generated version and CMake config files.
Replace both the package version file by a generated file, as well as
OkularConfig.cmake package configuration file.

Note that with this change the compatibility CMake variable OKULAR_FOUND
is not set anymore, use Okular_FOUND instead.

REVIEW: 123314
2015-04-15 21:55:35 +02:00
Alex Richardson 4a1c199e8e Remove unneeded target_include_directories() 2015-04-15 15:01:57 +01:00
Alex Richardson 475be2073a Fix INTERFACE_INCLUDE_DIRECTORIES for okularcore library 2015-04-15 14:56:37 +01:00
Alex Richardson cfc82ee9b0 Be explicit about the target dependencies 2015-04-14 20:04:26 +01:00
Montel Laurent 5e984303a4 Use new KDE_ macro 2015-03-04 07:52:20 +01:00
Montel Laurent 90b2f6c62c Fix install icons 2015-03-01 10:57:10 +01:00
Jeremy Whiting 61554c833e Reenabled text to speech using QtSpeech as an optional dependency.
If QtSpeech (dev branch) is built and installed this builds and works
very well.
REVIEW:122553
2015-02-23 12:24:44 -07:00
Lukáš Tinkl dc06e72657 fix build and an unintended KScreen change 2015-01-29 21:52:31 +01:00
Lukáš Tinkl fd6a35486e port KUrl -> QUrl 2015-01-29 20:55:57 +01:00
Montel Laurent bb02e208d2 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	CMakeLists.txt
2014-12-28 10:38:34 +01:00
Albert Astals Cid da82ce77bc Prepare for Applications 14.12 release 2014-12-09 19:31:52 +01:00
Marco Martin 3d50fec102 initial port of QML components to QtQuick2
this is an initial port of the qml component set of okular to qtquick2

it's straightforward, except pageitem that right now is a qquickpainteditem, that works fine, but a bit slower than generating and uploading the textures by hand (that may be an eventual future port)

the okular active application is still missing, but the components can be used from anywhere in qml
REVIEW:121326
2014-12-02 20:41:16 +01:00
Hrvoje Senjan 6924fa4ef0 Fix make install 2014-10-28 11:04:01 +01:00
Montel Laurent 5da7c5f77d port to qCDebug. Autogenerate export headers 2014-10-27 22:35:06 +01:00
Montel Laurent 5eea4fd073 Rename to autotests 2014-10-19 18:21:07 +02:00
Montel Laurent 17a55c6dab Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	CMakeLists.txt
	core/document.cpp
	generators/poppler/CMakeLists.txt
	generators/poppler/generator_pdf.cpp
	generators/poppler/generator_pdf.h
2014-10-09 07:34:35 +02:00
Albert Astals Cid d95efa7698 Move synctex up to the core from poppler generator
This way dvi and any other potential user gets it for free

The diff is huge, but the synctex files are just moves.

And the code in core/ is also mostly just a move from the generator_pdf.cpp code

Acked by Luigi

REVIEW: 120311
2014-10-09 00:17:53 +02:00
Montel Laurent 67614e453f Minor 2014-10-06 08:58:55 +02:00
Montel Laurent 9cc0f6bc39 Increase ecm version 2014-10-01 07:22:07 +02:00
Frederik Gladhorn 9d89739972 Use categorized logging 2014-09-16 23:24:36 +02:00
Lukáš Tinkl c5819eec4d set translation domain 2014-09-10 22:30:50 +02:00
Fabio D'Urso 1fc4c747a6 Fix another rc install dir 2014-08-23 21:48:51 +02:00
Arnold Dumas 4298b6ebd5 Reenable doc generation.
REVIEW: 119804
2014-08-16 16:43:46 +02:00
Vishesh Handa a2e353d3cb kde4_add_ui_files -> ki18n_wrap_ui 2014-08-13 11:26:37 +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 7123b4d9d2 Port the tests 2014-08-12 23:36:11 +02:00
Frederik Gladhorn 56eb2ae952 Make cmake more kf5 compliant 2014-08-10 20:35:46 +02:00
Lukáš Tinkl b32306463c look for KF5 versions of libkscreen and kactivities 2014-08-10 17:40:24 +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
Frederik Gladhorn c4eedb68ea Disable text to speech 2014-08-09 21:29:06 +02:00
Frederik Gladhorn 19a73981ea Link Qt Svg 2014-08-09 21:29:06 +02:00
Frederik Gladhorn 51e5589e71 Phonon fix, good bye klocalsocket 2014-08-09 21:29:06 +02:00
Frederik Gladhorn a3fb02b881 Some more linking KF5 2014-08-09 16:16:32 +02:00
Frederik Gladhorn cf6de9bbd8 Enable building of all parts again 2014-08-09 12:47:33 +02:00
Frederik Gladhorn cebdf978ce Fix linking to KF5 libs 2014-08-09 12:46:36 +02:00
Frederik Gladhorn 39787e4324 Use kconfig_add_kcfg_files for kcfgc 2014-08-09 00:21:04 +02:00
Frederik Gladhorn 4f74ed01cf Disable qimageblitz usage 2014-08-08 23:48:00 +02:00
Albert Astals Cid 6e1a33554c Increase okularcore version since we've broken ABI 2014-08-08 22:45:09 +02:00
Frederik Gladhorn 5ab5212e21 Disable subdirs while porting core 2014-08-08 01:40:21 +02:00