Bug 232356 - [patch] deskutils/plasma5-sddm-kcm: fix sessions path
Summary: [patch] deskutils/plasma5-sddm-kcm: fix sessions path
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (Team)
URL: https://phabricator.kde.org/D16339
Depends on:
Reported: 2018-10-17 14:35 UTC by kikadf
Modified: 2019-02-23 13:10 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+

quick patch (1.56 KB, patch)
2018-10-17 14:35 UTC, kikadf
no flags Details | Diff
maybe upstream patch (2.55 KB, patch)
2018-10-17 14:36 UTC, kikadf
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kikadf 2018-10-17 14:35:29 UTC
Created attachment 198269 [details]
quick patch

The sddm-kcm uses /usr/share/xsessions and /usr/share/wayland-sessions pathes, but in FreeBSD the correct path is /usr/local/share/*.

This cause, that in sddm page of systemsettings, in the part of automatic login, the sessions are empty. 

The quick patch fix this problem, and the other maybe good to the upstream. I tried both patch, works fine for me.
Comment 1 kikadf 2018-10-17 14:36:20 UTC
Created attachment 198270 [details]
maybe upstream patch
Comment 2 Tobias C. Berner freebsd_committer 2018-10-17 17:45:21 UTC
Good catch!

I agree, that looks upstreamable.

mfg Tobias
Comment 3 Raphael Kubo da Costa freebsd_committer 2019-02-23 13:10:29 UTC
Closing, that Phabricator revision was committed upstream and it's been in a stable release since 5.15.0 (we currently have 5.15.1 in the ports tree).