Bug 426036 - org.kde.Spectacle.service not being installed properly
Summary: org.kde.Spectacle.service not being installed properly
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-31 21:44 UTC by Magnus Boman
Modified: 2020-09-01 06:43 UTC (History)
1 user (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 Magnus Boman 2020-08-31 21:44:01 UTC
SUMMARY
Since commit 832974db602c974db271b6453f7db21b1e59f16c org.kde.Spectacle.service is being simply left in build/dbus leading it to be installed to a wildly inappropriate location.
I tried setting both DSYSTEMD_USER_UNIT_INSTALL_DIR and DSYSTEMDUSERUNITDIR but neither had any effect.

This has the potential of being dangerous as it can (and did for me) overwrite things in my home directory and resulted in many head scratches.



STEPS TO REPRODUCE
1. Compile spectacle from git, 832974db602c974db271b6453f7db21b1e59f16c or later
2. Find /build/spectacle-git/src/build/dbus/org.kde.Spectacle.service
3. Now it's installed to /build/dbus/org.kde.Spectacle.service on your system!


OBSERVED RESULT
org.kde.Spectacle.service is being not being installed properly

EXPECTED RESULT
org.kde.Spectacle.service to be located in /usr/lib/systemd/user or at least a configurable location

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.8.5-zen1-1-zen

ADDITIONAL INFORMATION
Exact PKGBUILD being used: https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=spectacle-git
Comment 1 David Redondo 2020-09-01 06:43:23 UTC
Should be fixed