Apparently the freedesktop.org git repo has been reorganized; Wayland is no longer at git://anongit.freedesktop.org/git/wayland but is now at git://anongit.freedesktop.org/git/wayland/wayland So the ebuild failed with "fatal: The remote end hung up unexpectedly" until I fixed EGIT_REPO_URI. Then, src_prepare died with: "sed: can't read compositor/Makefile.am: No such file or directory sed: can't read clients/Makefile.am: No such file or directory" I don't know if this is the correct fix, but when I removed the sed, everything built and installed fine.
Created attachment 264537 [details, diff] Ebuild patch This worked for me.
Looks like git://anongit.freedesktop.org/wayland/wayland (leaving out the /git/) works just as well, too.
(In reply to comment #0) > Apparently the freedesktop.org git repo has been reorganized; Wayland is no > longer at git://anongit.freedesktop.org/git/wayland but is now at > git://anongit.freedesktop.org/git/wayland/wayland > So the ebuild failed with "fatal: The remote end hung up unexpectedly" until I > fixed EGIT_REPO_URI. > > Then, src_prepare died with: > "sed: can't read compositor/Makefile.am: No such file or directory > sed: can't read clients/Makefile.am: No such file or directory" > I don't know if this is the correct fix, but when I removed the sed, everything > built and installed fine. compositor and clients moved to wayland-demos repository; that's why the sed failed.
Wayland will also need a patch on mesa-9999 ebuild to add an USE-flag that enables wayland-egl library, and a new wayland-demos ebuild for the demo applications.
Created attachment 265687 [details, diff] media-libs/mesa-9999 patch A patch that adds wayland USE-flag to enable egl-wayland in Mesa.
Created attachment 265689 [details, diff] dev-libs/wayland-9999 An ebuild for Wayland libraries. Since it is not X it should be moved to dev-libs/.
Created attachment 265691 [details] app-misc/wayland-demos-9999 An ebuild for wayland-demos. I put it in app-misc/ since it didn't fit anywhere else.
Created attachment 266527 [details, diff] media-libs/mesa-9999 patch
Created attachment 266529 [details, diff] x11-base/wayland → x11-libs/wayland patch
Created attachment 266531 [details] x11-base/wayland-demos ebuild Took a look at x11-* dirs and it's not that off to put it in there so I changed the patches.
This has been fixed for a while. Closing as fixed. The other stuff should be in separate bug reports, if it's still relevant.