Commit graph

18 commits

Author SHA1 Message Date
Ivailo Monev
b8b9e2c204 kutils: add assert for the poller in KIdleTimePrivate::loadSystem()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-06 07:10:56 +03:00
Ivailo Monev
2b9b3c8d54 kutils: remove redundant Q_WS_X11 definition checks
if xscreensaver or xsync extension is not found it is most likely because
X11 is not found

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 22:01:27 +03:00
Ivailo Monev
d16c67d15b kutils: log which poller is used by kidletime and warn when there is none
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 21:50:56 +03:00
Ivailo Monev
8eb0c751b8 kutils: log kidletime messages to special area
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 21:36:22 +03:00
Ivailo Monev
4a09dd4dad kutils: use separate build file for kidletime library
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 21:34:06 +03:00
Ivailo Monev
9b64878a8d kutils: do not use org.freedesktop.ScreenSaver in kidletime
the current org.freedesktop.ScreenSaver implementation actually uses
kidletime internally

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 21:18:59 +03:00
Ivailo Monev
74dc8adc62 kutils: include fixx11h header in xsyncbasedpoller header
partially fixes build when CMAKE_UNITY_BUILD is set to ON

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-11 18:42:25 +03:00
Ivailo Monev
806b06db55 kutils: update org.freedesktop.ScreenSaver interface file used by kidletime
those methods were not implemented and were removed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-30 04:58:11 +02:00
Ivailo Monev
803bea264a generic: drop support for operating systems Katie does not support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-10-26 16:34:16 +02:00
Ivailo Monev
4d6fb007e7 generic: fix most of the overlinking issues
TODO from https://github.com/fluxer/katana/issues/7. I've decided to
keep KDE4 and Katie libraries as PUBLIC, all other libraries as PRIVATE
for that and not use INTERFACE at all since that will not require a lot
of changes to all other sub-projects (kde-baseapps, kde-workspace and
kde-extraapps) build systems.

MusicBrainz5 CMake module was also rewritten as the actual library that
should be linked to is libmusicbrainz5cc, libmusicbrainz5 is the C
version of it.

common checks for X11 extensions where move to main config header,
eventually to be moved to separate config-x11 header.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-09 21:58:11 +00:00
Ivailo Monev
61333c4671 generic: namespaced Qt4/Katie build fixes
most of the changes were done trought Katie's namefsck script which
convertes forward class declarations to include directives, however
other fixes here and there were needed as well as some questionable
changes to Q_DECLARE_TYPEINFO() macro calls because they most likely
have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and
probably will be in Katie) meaning that some of the changes may be
temporary and reverted later.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2017-08-04 09:24:39 +00:00
Ivailo Monev
c0da30760b generic: misc cleanups 2015-09-06 14:43:27 +03:00
Ivailo Monev
5b3d79736a kutils: remove mac and win pollers 2015-08-28 04:13:43 +03:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
3f0dd268de remove win and mac cruft 2014-11-27 18:22:42 +00:00
Ivailo Monev
c7a2a17692 yet more windows and mac code remove 2014-11-19 15:30:39 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00