Bug 431940 - plasma-workspace cannot be compiled with systemd user session support enabled
Summary: plasma-workspace cannot be compiled with systemd user session support enabled
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.90
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-22 17:17 UTC by Neal Gompa
Modified: 2021-01-27 10:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neal Gompa 2021-01-22 17:17:40 UTC
SUMMARY
When trying to build plasma-workspace with systemd-user session support instead of classic session handling by passing "-DPLASMA_SYSTEMD_BOOT:BOOL=ON" to CMake, it reports that the option is unhandled.

STEPS TO REPRODUCE
1. Download plasma-workspace 5.20.90
2. Run cmake with "-DPLASMA_SYSTEMD_BOOT:BOOL=ON"

OBSERVED RESULT
CMake spits out the following output:

CMake Warning:
  Manually-specified variables were not used by the project:
    PLASMA_SYSTEMD_BOOT


EXPECTED RESULT
Plasma is built with systemd user sessions instead of classic ones.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 34 (Rawhide)
(available in About System)
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
The option exists in the CMakeLists file: https://invent.kde.org/plasma/plasma-workspace/-/blob/252482e9/CMakeLists.txt#L195
Comment 1 David Edmundson 2021-01-22 17:21:34 UTC
Urgh, will fix.
Comment 2 David Edmundson 2021-01-27 10:43:34 UTC
The leftover cmake option was removed, there is a runtime config option which we discussed on IRC