Commit graph

37 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
c6ca1775e6 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-11-02 03:20:34 +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
1580ec0417 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-29 21:14:31 +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
48c8cdac1e okular: fix poppler detection in some cases
it fails when build against Katie for some reason, the version required is
ancient anyway so most systems should have a more recent version by now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-15 02:41:32 +00:00
Ivailo Monev
cbf29a08cf generic: make changes required for building against Katie
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-25 10:01:00 +00:00
Ivailo Monev
7ce4a91236 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-16 14:21:28 +02:00
Ivailo Monev
7dc45583ee generic: replace KShared with QSharedData
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 07:36:17 +02:00
Ivailo Monev
774fad98ba okular: stop using obsolete code paths
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-29 13:40:57 +02:00
Ivailo Monev
e9b375cec3 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-29 12:07:13 +02:00
Ivailo Monev
2cc68eae69 okular: use QTextCodec instead of KEncodingProber for unicode conversion of text 2015-10-18 15:28:37 +03:00
Ivailo Monev
2f06e6b8b6 okular: do not attempt to install desktop file for active desktop 2015-10-10 13:18:36 +03:00
Ivailo Monev
a31e8980d2 generic: proper support for icon and caption in .desktop files 2015-09-21 01:46:42 +00:00
Ivailo Monev
c270d80ec8 generic: misc cleanups 2015-09-02 08:54:43 +03:00
Ivailo Monev
f58a4c5452 generic: major build system cleanup 2015-09-02 02:13:50 +03:00
Ivailo Monev
f3dbe2df4d okular: remove double inclusion of qdom header 2015-08-20 18:08:21 +03:00
Ivailo Monev
567a715515 okular: show icon in the menu entry for the component 2015-08-19 17:55:21 +03:00
Ivailo Monev
d8a22fda42 generic: optimize png images with optipng 2015-07-26 23:49:06 +03:00
Ivailo Monev
c135cfa6bf generic: adjust for CMake moc 2015-02-27 11:02:43 +00:00
Ivailo Monev
f5b2f7892c cleanup okular, rendition actions are JavaScript related and Okular no longer supports those since the KJS removal 2014-12-04 22:31:43 +00:00
Ivailo Monev
17072e20e9 bumped KDE4 and Qt version requirements 2014-11-22 14:03:56 +00:00
Ivailo Monev
21ecea343c further code remove on JS action of okular 2014-11-21 21:04:11 +00:00
Ivailo Monev
bc0c84db53 sub-directory build fixup 2014-11-21 16:50:57 +00:00
Ivailo Monev
aa3e109cf6 removed chm generator for okular (requires khtml) 2014-11-20 09:29:26 +00:00
Ivailo Monev
bf2d9dcd05 import a bunch of important libraries and applications 2014-11-19 02:23:05 +00:00