Commit graph

198 commits

Author SHA1 Message Date
Ivailo Monev
cb397b6a75 generic: move find_package() calls to top-level build file
reference:
https://github.com/fluxer/katana/issues/7

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-26 21:58:25 +02:00
Ivailo Monev
45688bbd6f okular: deal with TODO
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-20 12:39:33 +02:00
Ivailo Monev
24d51dde46 okular: theoretical reimplementation of OOO generator decryptor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-19 12:09:54 +02:00
Ivailo Monev
bcb18eae8f okular: fix lookup of part.rc in test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-11 05:42:13 +02:00
Ivailo Monev
82f2575987 okular: build part plugin as module
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-11 05:32:02 +02:00
Ivailo Monev
511a631c65 okular: use QCryptographicHash for hashing
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-11 01:41:14 +02:00
Ivailo Monev
c28af1143c okular: partially deal with TODO
reference:
89a76dc6ca

TODO: do not include the controls in the snapshot

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-10 21:35:51 +02:00
Ivailo Monev
43eed62b7c generic: consistent installation variables usage
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-27 08:56:34 +02:00
Ivailo Monev
5dc3df843b generic: consistent library variables usage
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-26 20:14:18 +02:00
Ivailo Monev
2802b4bbbf generic: adjust to media classes changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-26 09:57:27 +02:00
Ivailo Monev
81d275d498 generic: add X-KDE-MediaPlayer where applicable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-25 22:59:05 +02:00
Ivailo Monev
3cd4937d2a okular: restore behaviour prior to 89a76dc6ca
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-25 22:49:44 +02:00
Ivailo Monev
e27686a808 generic: remove some redundant environment variable queries
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-22 11:56:47 +02:00
Ivailo Monev
02cc6af08c okular: partially revert 8163197edd
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-21 01:07:11 +02:00
Ivailo Monev
8163197edd generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-18 21:53:04 +02:00
Ivailo Monev
35abd48879 okular: remove redundant break statements in ExportFormat::standardFormat()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-12-01 04:33:02 +00:00
Ivailo Monev
e2387fff2a generic: remove KNewStuff leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-26 03:22:22 +00:00
Ivailo Monev
0e82b428a4 okular: drop OkularConfig and OkularConfigVersion
it should provide pkg-config files instead so that build systems other
than CMake can use them, see https://github.com/fluxer/katana/issues/6

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-25 23:57:31 +02:00
Ivailo Monev
ca6ec59cc7 generic: replace macro_log_feature() with set_package_properties() calls
other changes such as syncing properties, updating some of the URLs,
adding missing feature information, removing of redundant checks and
variables and indentation were done in the process while testing if the
changes work as intended.

replacing find_package() with macro_optional_find_package() was also done
where applicable however it's usage is questionable due to the CMake
`CMAKE_DISABLE_FIND_PACKAGE_<PACKAGE>` option.

there is a lot to be done, mostly updating package properties so I am
thinking of either providing a package properties file (like the
MacroLibrary) which sets properties for packages globablly or setting
package properties from the CMake modules shipped with kdelibs. the first
solution may override properties for packages if other projects define them
however a check to ensure that is not done should suffice. the second
solution will cover only DESCRIPTION and URL meaning PURPOSE and TYPE will
still have to be specified in the build systems.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-21 05:37:28 +02:00
Ivailo Monev
f840649b58 generic: support building projects separately
TODO from https://github.com/fluxer/katana/issues/7.

kget and libktorrent cannot be build separately because libktorrent depends
on boost (or miniboost which is bundled) and kget depends on libktorrent.

syndication include paths were adjusted to build from the top-level
directory since it was used not only by akregator, that is no longer the
case and it should probably be moved to akregator sub-directory but that
will be decided in the future.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-10 23:43:40 +00:00
Ivailo Monev
59190d3194 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:12:24 +00:00
Ivailo Monev
f2d29da8b9 generic: remove libkscreen and replace its use with QX11Info in okular
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 15:09:13 +00:00
Ivailo Monev
94f1cae6ce okular: replace use of Poppler with PopplerQt4 CMake module
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-04 23:47:23 +00:00
Ivailo Monev
9f30da3c07 okular: replace use of QImageBlitz with KIconEffect
for build with Katie that means one less library to build and ship since
only KolourPaint is using it now, the pattern wallpaper addon was ported in
the previous commit

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-04 22:10:18 +00:00
Ivailo Monev
185778a560 okular: skip testFowardPDF test if pdflatex is not available
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-04 18:57:01 +00:00
Ivailo Monev
8bd0653477 okular: fix tests build
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-04 04:23:16 +00:00
Ivailo Monev
a768373916 okular: remove incorrect PageViewAnnotator::performRouteMouseOrTabletEvent() QT_NO_TABLE definition guard
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-04 04:22:35 +00:00
Ivailo Monev
a229e5658d okular: namespace Q_DECLARE_TYPEINFO() macro call usage
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-30 19:33:40 +00:00
Ivailo Monev
17bb1cb1e6 okular: correct QTabletEvent header inclusion
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-04 14:00:45 +00:00
Ivailo Monev
9c53ed2348 okular: correct key names in kcfgc files
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-27 04:55:35 +00:00
Ivailo Monev
387f1e5c87 generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-07-11 22:03:23 +00:00
Ivailo Monev
302f2d328a okular: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-30 18:42:44 +00:00
Ivailo Monev
e166af4e02 generic: replace forward declarations with headers inclusions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-23 00:08:45 +00:00
Ivailo Monev
1ece6bca03 generic: adjust to recent KApplication changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-15 20:18:17 +00:00
Ivailo Monev
05e4ee3725 generic: replace obsolete Qt::MidButton with Qt::MiddleButton
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-15 00:25:42 +00:00
Ivailo Monev
c5b174730b generic: avoid use of legacy QString::null, QChar::null, etc.
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-15 00:24:16 +00:00
Ivailo Monev
3977f5122b okular: minor cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-11-11 19:29:06 +00:00
Ivailo Monev
c6ca1775e6 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-11-02 03:20:34 +00:00
Ivailo Monev
b482c93f87 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-09-13 00:53:08 +00:00
Ivailo Monev
75013de9d0 generic: fix build against Katie
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-07-18 04:57:07 +00:00
Ivailo Monev
2b98e58527 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-01 15:32:43 +00:00
Ivailo Monev
167259e7ed generic: no need to call qt4_automoc() anymore
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-02 17:08:48 +00:00
Ivailo Monev
1580ec0417 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-29 21:14:31 +00:00
Ivailo Monev
22fd0cca5f okular: use QThread instead of ThreadWeaver for image rotation jobs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-23 00:50:43 +00:00
Ivailo Monev
08d1a327a7 poppler: bump minimum Poppler version to 0.28.0
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-13 14:41:20 +00:00
Ivailo Monev
e9a067897a generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-09 17:24:49 +00:00
Ivailo Monev
98f25c0c25 okular: remove noop and gone macro use
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-03 23:19:14 +00:00
Ivailo Monev
3f5660c534 okular: use the new overload for KAudioPlayer::load()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-31 17:37:42 +00:00
Ivailo Monev
89a76dc6ca okular: replace Phonon with custom media classes
some form elements were not working before either so the only
regression here is the seek slider, if KMediaWidget is used the
whole custom controls code can be trown out I suppose but I'm not
sure if the controls should be embeded along with the video or
they be can/should be separate

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-31 06:40:57 +00:00
Ivailo Monev
694c592cf2 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 18:49:15 +00:00