Skip to content

new package: xwayland - #5061

Merged
vcunat merged 2 commits into
NixOS:masterfrom
drvirgilio:xwayland
Dec 25, 2014
Merged

vcunat merged 2 commits into
NixOS:masterfrom
drvirgilio:xwayland

Conversation

@drvirgilio

Copy link
Copy Markdown
Contributor

Xwayland is an X server which interfaces X11 apps with a wayland server. To test it in weston, put the following in ~/.config/weston.ini with the correct path.

[xwayland]
path=/path/to/Xwayland

@vcunat

vcunat commented Nov 20, 2014

Copy link
Copy Markdown
Member

BTW, I would expect that almost all people using weston will want to have xwayland (for the next few years). It would be nice if that didn't need handling ~/.config/*; perhaps solution at nixos-level would be best.

@vcunat

vcunat commented Nov 20, 2014

Copy link
Copy Markdown
Member

This doesn't build in chroot, because it tries to write to /var/tmp. (I strongly recommend using chrooted builds for nixpkgs contributions at least.)

There may be more problems with xkb handling. Our server is patched to use $XKB_BINDIR. I know no details ATM, but surely there were some reasons for such special handling.

@vcunat

vcunat commented Nov 20, 2014

Copy link
Copy Markdown
Member

Removing the last two configure lines makes it build (and closer to our xserver config), but I didn't check in any way if it's a correct thing to do.

@drvirgilio

Copy link
Copy Markdown
Contributor Author

I will set weston to point to xwayland. I'm looking into the xkb thing now.

@drvirgilio

Copy link
Copy Markdown
Contributor Author

The environment variables can be used to override where xserver looks for xkbcomp. However, if weston is started without those environment variables set, it uses a default, which I set using those configure flags.
I changed --with-xkb-output flag to be the same as xorgserver. Note without setting the flag it defaults to a path relative to xkb-path which cannot work.

I also added a xwayland as a dependency for weston. I assumed that westonLite shouldn't pull in xwayland, however I'm not familiar with its use case.

@vcunat

vcunat commented Nov 20, 2014

Copy link
Copy Markdown
Member

westonLite was added by @wkennington.

@cillianderoiste

Copy link
Copy Markdown
Member

This depends on 7ff232e being reverted.

@drvirgilio drvirgilio mentioned this pull request Nov 21, 2014
6 of 13 tasks
vcunat added a commit that referenced this pull request Nov 24, 2014
This reverts commit 7ff232e.
See discussion at the original commit.

CC: #4999, #5001, #5061, #5071.
@lucabrunox

Copy link
Copy Markdown
Contributor

The mesa/wayland change was reverted in staging.

@domenkozar

Copy link
Copy Markdown
Member

Restarted travis build, now that wayland support is back in.

@vcunat
vcunat merged commit 1d131a0 into NixOS:master Dec 25, 2014
vcunat added a commit that referenced this pull request Dec 25, 2014
Also resolve minor nitpicks -- *during* the merge commit.
@vcunat

vcunat commented Dec 25, 2014

Copy link
Copy Markdown
Member

Looks good. Pushed with a few nitpick changes as 081e5c8. CC wayland maintainer @wkennington: xwayland is added to weston by default (and not added to -lite).

vcunat added a commit that referenced this pull request Jun 27, 2015
Maybe it was just covered by #7524 until now.
/cc #5061 and @echo-oddly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants