Summary: | Update README to include dependencies for common distributions and fix the installation guide | ||
---|---|---|---|
Product: | [Plasma] systemdgenie | Reporter: | myndstream |
Component: | general | Assignee: | Ragnar Thomsen <rthomsen6> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | justin.zobel |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
myndstream
2020-11-07 12:01:18 UTC
You'll need to install those dependencies. (In reply to Justin Zobel from comment #1) > You'll need to install those dependencies. That's what the error message should say. And the instructions should be so that no error message appears on latest Debian. Thanks for the help though - I already have libkf5auth5 and libkf5coreaddons5 installed and could not find a package "KF5Auth". I also couldn't find a package "kauth" in the repos. Which dependencies need to be installed? (In reply to myndstream from comment #2) > (In reply to Justin Zobel from comment #1) > > You'll need to install those dependencies. > > That's what the error message should say. And the instructions should be so > that no error message appears on latest Debian. Thanks for the help though - > I already have libkf5auth5 and libkf5coreaddons5 installed and could not > find a package "KF5Auth". I also couldn't find a package "kauth" in the > repos. Which dependencies need to be installed? Which instructions are you referring to? As for the names each distro is different but try this list (it's from Ubuntu 20.04.1 which should have similar names): libkf5auth-dev libkf5coreaddons-dev libkf5crash-dev libkf5i18n-dev libkf5xmlgui-dev Thanks. The command which was missing in the instructions (https://github.com/KDE/systemdgenie#installation) (/ the dependencies not listed under #Dependencies) was: > sudo apt-get install extra-cmake-modules libkf5auth-dev libkf5coreaddons-dev libkf5crash-dev libkf5i18n-dev libkf5xmlgui-dev libsystemd-dev Why do these -dev packages need to be installed? Furthermore the last command in the instruction needed to be sudo make install It doesn't look like it's installed after running sudo make install without any errors (The "Install the project..." step completed with the last output being "-- Installing: /usr/share/polkit-1/actions/org.kde.kcontrol.systemdgenie.policy"). I can not find it in the application menu and command "systemdgenie" is not found. (In reply to myndstream from comment #4) > Thanks. The command which was missing in the instructions > (https://github.com/KDE/systemdgenie#installation) (/ the dependencies not > listed under #Dependencies) was: > > > sudo apt-get install extra-cmake-modules libkf5auth-dev libkf5coreaddons-dev libkf5crash-dev libkf5i18n-dev libkf5xmlgui-dev libsystemd-dev > > Why do these -dev packages need to be installed? You're compiling from source, dev files contain the files needed to compile software against those libraries. > Furthermore the last command in the instruction needed to be sudo make > install > > It doesn't look like it's installed after running sudo make install without > any errors (The "Install the project..." step completed with the last output > being "-- Installing: > /usr/share/polkit-1/actions/org.kde.kcontrol.systemdgenie.policy"). I can > not find it in the application menu and command "systemdgenie" is not found. Is this the final lines of the sudo make install exactly: Install the project... -- Install configuration: "Debug" -- Installing: /usr/bin/systemdgenie -- Installing: /usr/share/kxmlgui5/systemdgenie/systemdgenieui.rc -- Installing: /usr/share/applications/org.kde.systemdgenie.desktop -- Installing: /usr/lib/kauth/libexec/systemdgeniehelper -- Installing: /usr/share/dbus-1/system.d/org.kde.kcontrol.systemdgenie.conf -- Installing: /usr/share/dbus-1/system-services/org.kde.kcontrol.systemdgenie.service -- Installing: /usr/share/polkit-1/actions/org.kde.kcontrol.systemdgenie.policy No, it's: Install the project... -- Install configuration: "" -- Up-to-date: /home/username/path/systemdgenie-master/build/`kf5-config/bin/systemdgenie -- Up-to-date: /home/username/path/systemdgenie-master/build/`kf5-config/share/kxmlgui5/systemdgenie/systemdgenieui.rc -- Up-to-date: /home/username/path/systemdgenie-master/build/`kf5-config/share/applications/org.kde.systemdgenie.desktop -- Up-to-date: /home/username/path/systemdgenie-master/build/`kf5-config/lib/kauth/libexec/systemdgeniehelper -- Up-to-date: /home/username/path/systemdgenie-master/build/`kf5-config/etc/dbus-1/system.d/org.kde.kcontrol.systemdgenie.conf -- Up-to-date: /home/username/path/systemdgenie-master/build/`kf5-config/share/dbus-1/system-services/org.kde.kcontrol.systemdgenie.service -- Installing: /usr/share/polkit-1/actions/org.kde.kcontrol.systemdgenie.policy (In reply to myndstream from comment #6) > No, it's: > > Install the project... > -- Install configuration: "" > -- Up-to-date: > /home/username/path/systemdgenie-master/build/`kf5-config/bin/systemdgenie > -- Up-to-date: > /home/username/path/systemdgenie-master/build/`kf5-config/share/kxmlgui5/ > systemdgenie/systemdgenieui.rc > -- Up-to-date: > /home/username/path/systemdgenie-master/build/`kf5-config/share/applications/ > org.kde.systemdgenie.desktop > -- Up-to-date: > /home/username/path/systemdgenie-master/build/`kf5-config/lib/kauth/libexec/ > systemdgeniehelper > -- Up-to-date: > /home/username/path/systemdgenie-master/build/`kf5-config/etc/dbus-1/system. > d/org.kde.kcontrol.systemdgenie.conf > -- Up-to-date: > /home/username/path/systemdgenie-master/build/`kf5-config/share/dbus-1/ > system-services/org.kde.kcontrol.systemdgenie.service > -- Installing: > /usr/share/polkit-1/actions/org.kde.kcontrol.systemdgenie.policy Ah I see you ran it with a prefix set. So it won't show up in the menu as the menu doesn't look for .desktop files there. /home/username/path/systemdgenie-master/build/`kf5-config/bin/systemdgenie is the binary file, if you run this, systemdgenie will open. If you run cmake without the -DCMAKE_INSTALL_PREFIX=\`kf5-config --prefix\` it will be installed properly in the normal location ie /usr/bin/systemdgenie and the menu item will appear. (In reply to Justin Zobel from comment #7) > Ah I see you ran it with a prefix set. > [...] > If you run cmake without the -DCMAKE_INSTALL_PREFIX=\`kf5-config --prefix\` > it will be installed properly in the normal location [...] Thanks but why is this in the instructions then? (In reply to myndstream from comment #8) > (In reply to Justin Zobel from comment #7) > > Ah I see you ran it with a prefix set. > > [...] > > If you run cmake without the -DCMAKE_INSTALL_PREFIX=\`kf5-config --prefix\` > > it will be installed properly in the normal location [...] > > Thanks but why is this in the instructions then? What instructions? (In reply to Justin Zobel from comment #9) > What instructions? See: (In reply to Justin Zobel from comment #3) > Which instructions are you referring to? [...] (In reply to myndstream from comment #4) > Thanks. The command which was missing in the instructions > (https://github.com/KDE/systemdgenie#installation) (/ the dependencies not > listed under #Dependencies) was: [...] (The instructions in the readme at https://github.com/KDE/systemdgenie#installation as well as https://invent.kde.org/system/systemdgenie) As it's working now this issue is about fixing the readme. I've updated this to a wishlist for the dependencies for common distributions to be added to the README. :) (In reply to Justin Zobel from comment #11) > I've updated this to a wishlist for the dependencies for common > distributions to be added to the README. :) Alright. It would be good if the precise package names were listed. I'd recommend simply adding this to the commands (the package-names should be the same across distros and seem to be required on all of them): sudo apt-get install extra-cmake-modules libkf5auth-dev libkf5coreaddons-dev libkf5crash-dev libkf5i18n-dev libkf5xmlgui-dev libsystemd-dev Furthermore, it's not only about the dependencies as it only worked after deleting the build folder, and running the commands again but without the cmake prefix (cmake ..) so the instructions definitely need to be updated somehow to at least inform about when to use that prefix or have that prefix removed. I'll be honest I don't believe systemdgenie is maintained any more so it might not be updated. (In reply to Justin Zobel from comment #13) > I'll be honest I don't believe systemdgenie is maintained any more so it > might not be updated. It looks like that, yes. But maybe somebody else will develop it further? Maybe somebody could try to contact Thomsen? Any alternative (a Qt GUI in specific)? There was a systemd KCM (KDE config module that goes in System Settings) but I believe that was developed by the same person. Both still work but maintenance doesn't seem to be happening. You're welcome to try reach out to the developers of it and see if they'd be interested in continuing the work or if you can find someone else wanting to take on working on it. |