Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536140 - x11-misc/sddm-0.11.0 - add dev-libs/wayland support
Summary: x11-misc/sddm-0.11.0 - add dev-libs/wayland support
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jauhien Piatlicki (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-09 16:39 UTC by Thomas
Modified: 2016-05-05 17:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for x11-sddm-0.11.0.ebuild (sddm-wayland.patch,512 bytes, patch)
2015-01-09 16:40 UTC, Thomas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2015-01-09 16:39:24 UTC
SDDM is already able to run on Wayland, for example Fedora 21 is able to run that configuration.
So this request is for adding the wayland USE flag to x11-misc/sddm-0.11.0. The patch should also apply to x11-misc/sddm-0.10.0, older versions are untested.

Reproducible: Always
Comment 1 Thomas 2015-01-09 16:40:03 UTC
Created attachment 393568 [details, diff]
Patch for x11-sddm-0.11.0.ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-09 16:46:22 UTC
Comment on attachment 393568 [details, diff]
Patch for x11-sddm-0.11.0.ebuild

There is no such thing as "x11-misc/sddm-0.11.0.ebuild".
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-09 16:47:25 UTC
Comment on attachment 393568 [details, diff]
Patch for x11-sddm-0.11.0.ebuild

Missing dependency on dev-libs/wayland.
Comment 4 Thomas 2015-01-09 17:24:12 UTC
(In reply to Jeroen Roovers from comment #2)
> There is no such thing as "x11-misc/sddm-0.11.0.ebuild".

Sorry, typo. Anyway, there is no such thing as x11-sddm-0.11.0.ebuild. It's x11-misc/sddm/sddm-0.11.0.ebuild or sddm-0.11.0.ebuild, which one do you prefer? :)

(In reply to Jeroen Roovers from comment #3)
> Missing dependency on dev-libs/wayland.

I just noticed that, too. Also I noticed that "grep -r -e wayland -e Wayland -e WAYLAND" doesn't find anything in SDDMs build dir, so setting -DWAYLAND has no effect. On the other hand at least Arch, Fedora and Wikipedia say SDDM is able to run on Wayland. Fedora (and Maui/Hawaii?) even proved it, so more research is needed. I just tried to talk to the SDDM devs via IRC but they don't seem to be available.
Comment 5 Tony Murray 2015-01-09 22:20:03 UTC
I'm pretty sure they are using a patch authored by Pier from the Maui Project.
https://github.com/sddm/sddm/pull/153
Comment 6 Thomas 2015-01-09 22:48:42 UTC
(In reply to Tony Murray from comment #5)
> I'm pretty sure they are using a patch authored by Pier from the Maui
> Project.
> https://github.com/sddm/sddm/pull/153
Good catch, thanks. Now I'm not that git expert but I checked the commit history against the commits added to the pull request. It looks like all patches are already in master or not needed, except the "Wayland port" one, which is broken. 

As SDDM is licensed under the terms of the GPL Fedoras fixes for the commit must be somewhere but their changelog doesn't give any hint https://apps.fedoraproject.org/packages/sddm/changelog/ and they say they didn't apply any patches: https://apps.fedoraproject.org/packages/sddm/sources
Comment 7 Tony Murray 2015-02-03 14:36:15 UTC
> As SDDM is licensed under the terms of the GPL Fedoras fixes for the commit
> must be somewhere but their changelog doesn't give any hint
> https://apps.fedoraproject.org/packages/sddm/changelog/ and they say they
> didn't apply any patches:
> https://apps.fedoraproject.org/packages/sddm/sources

Are you sure SDDM on Fedora uses Wayland?  I looked through the spec file and I don't think it does.  I think you can launch a wayland session from SDDM, but it is using X itself.
Comment 8 Tony Murray 2015-12-21 20:44:55 UTC
Please close this bug.  SDDM does have a released wayland backend yet.  It does support starting Wayland sessions and that works with the current packages.