Commit graph

35 commits

Author SHA1 Message Date
Ivailo Monev
4170541c02 generic: update features information
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-22 01:17:25 +03:00
Ivailo Monev
1cad595824 generic: drop scripting support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 08:14:30 +03:00
Ivailo Monev
afa0efd8e7 generic: remove unused configuration checks and definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-15 15:45:09 +03:00
Ivailo Monev
b5b873c2b3 generic: keyboard layout applet and kayboard KCM reimplementation
lots of changes with this commit - on the plasma applet side:
 + the applet now handles mouse wheel events
 * the applet itself sets its global global shortcut key
 + the applet itself has configuration interface for the text and flag options
 * ported to the new KKeyboardLayout class
 - no per-window or per-application keyboard layout

on the overall keyboard configuration:
 * no KDED module required
 + keyboard layout descriptions (model, layout, variant, etc.) are actually translated
 - no keyboard configuration will be shown when a keyboard is plugged-in (see bellow)
 - keyboard layout options are not configurable, not via GUI interface anyway

the hotplug plasma data engine, device notifications and solid actions
have to be either reimplemented or extended to handle more device types
(currently the above mentioned handle only removable devices by default
such as cameras, not input devices such as keyboard)

overall - from reimplemented one thing to another and the keyboard
configuration is not done yet (adding and editing keyboard layout not
implemented yet) but in a working state

on a side note the changes here affect kvkbd as it uses D-Bus interface
for keyboard layout change that is no more and has to be ported or (most
likely) replaced with a handler for QEvent::RequestSoftwareInputPanel
event that shows a keyboard on demand

there is also the double-keyboard layout applet thing - applet for the
keyboard layout could be added and the daemon (KDED module) was showing
its own keyboard layout indicator automatically (by default)

the X11 keyboard bell options are next to useless btw - there is
KNotification::beep() for such things so the X11 bell options are
simply dropped

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-05 18:12:13 +03:00
Ivailo Monev
5949b572bc khotkeys: drop it
the only use case is to launch ksnapshot which can be done by
plasma-desktop, some of the actions code is borked (notably window
matching, global and menu actions were working) and I have no
intention to fix it. even if fixed when a window (and thus possibly
application) key is grabbed there is a chance the window (application)
may want to grab the grabbed key and fail (i.e. grab conflict) so it
shall be left to the application to set what keys shall be global
(grabbed) hence the bits to start ksnapshot are moved to plasma-desktop

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-29 23:04:14 +03:00
Ivailo Monev
795cb31a59 generic: remove redundant HAVE_XRENDER configuration definition
if Xrender is not found a fatal message will be issued by the top-level
CMakeLists file because it is required by KWin compositor for example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-25 00:46:00 +02:00
Ivailo Monev
609a72aa84 kcontrol: drop legacy configuration support in randr KCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-03 16:35:42 +02:00
Ivailo Monev
881a427576 generic: rework startup to no create a shell script
by the time ksplash gets the X11 events for startup phases the startup
process is (and should be) done, especially after the display
configuration is done and the monitor is ready to output thus ksplash
does not really indicate much

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-03 11:29:28 +02:00
Ivailo Monev
627774bbe3 generic: remove kfontinst references
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-06 14:35:22 +03:00
Ivailo Monev
cdb71f43f3 generic: use the new kde4_bool_to_01() macro
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-27 16:47:13 +03:00
Ivailo Monev
e1c102d439 generic: remove checks for system headers that should be present
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-23 16:21:57 +03:00
Ivailo Monev
38dfc4fa88 generic: remove unused configuration checks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-22 05:35:16 +03:00
Ivailo Monev
03854853a1 kscreensaver: reimplement via X11 DPMS
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-08-03 10:03:37 +03:00
Ivailo Monev
6043f3e61b generic: drop powerdevil and adjust to power manager changes
TODO: reimplement plasma battery applet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-20 06:51:10 +03:00
Ivailo Monev
fcbc69b222 generic: reimplement screen saver interface via xscreensaver
my monitor is not the latest stock but it has its own screen saver
feature

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-13 01:27:15 +03:00
Ivailo Monev
95c6564018 generic: remove KDM references
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-12 18:16:32 +03:00
Ivailo Monev
57626537a8 generic: remove unused configuration definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-01 19:36:01 +03:00
Ivailo Monev
4abe1ff384 generic: remove unused and fix some configuration checks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-01 18:44:39 +03:00
Ivailo Monev
08bc7aeec6 generic: preparations to ditch KDM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-01 16:12:41 +03:00
Ivailo Monev
5d176120e6 generic: link kscreenlocker_greet and plasma-overlay targets to socket libraries if found
fixes build on OpenIndiana

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-09-18 18:54:05 +03:00
Ivailo Monev
126c0bbd4b powerdevil: use X11 video mode extension as fallback for brightness control
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-11 03:52:59 +03:00
Ivailo Monev
9b1959830c generic: update PAM samples and documentation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-01 18:34:35 +03:00
Ivailo Monev
404bccad9b generic: use CMAKE_INSTALL_PREFIX in fallback X11 binary directory
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-01 16:38:19 +03:00
Ivailo Monev
baf774783c generic: add feature information about found X11 extensions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-02 22:24:13 +02:00
Ivailo Monev
02778c601a generic: require X11 include path for DPMS configure checks
fixes its detection on FreeBSD and probably other

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-18 05:10:29 +02:00
Ivailo Monev
01dd6d631d generic: replace cmake_pop_check_state() with cmake_reset_check_state()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-22 03:06:52 +02:00
Ivailo Monev
f39596ee19 generic: review configuration checks
since kde-runtime was merged into kde-workspace some checks definitions are
duplicated in config-runtime headers thus it is removed.

missing function and header checks were added, most of which also missing in
kde-runtime and kde-workspace so that is by no means mistake made during the
merge.

the check for libkstat for Solaris is actually done via /dev/kstat existence
check from ksysguardd/Solaris/Solaris.cmake.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-24 20:10:10 +00:00
Ivailo Monev
70b5acd75c generic: reset and pop check state in Xrandr configuration checks
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-19 22:28:44 +02:00
Ivailo Monev
7b1608bead generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-09-16 23:59:39 +00:00
Ivailo Monev
78ee666dd2 generic: get rid of some OpenGL/OpenGLES requirements 2016-09-01 04:09:09 +00:00
Ivailo Monev
77538485b1 generic: make good use of the X11 CMake module
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-08-13 14:26:06 +00:00
Ivailo Monev
f87760f410 generic: replace kdesu with kdesudo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-15 02:42:57 +00:00
Ivailo Monev
95f8e1b5ac generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 13:44:54 +02:00
Ivailo Monev
53d96e96bb kcontrol: simplify XKB rules finding logic, based on review 124215 2015-07-11 21:27:27 +03:00
Ivailo Monev
a7fd791926 initial import 2014-11-13 19:30:51 +02:00