Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357169 - In x11 overlay, x11-base/wayland-9999 needs a patch to build
Summary: In x11 overlay, x11-base/wayland-9999 needs a patch to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-02 22:46 UTC by Neil Funk
Modified: 2011-08-14 02:41 UTC (History)
0 users

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


Attachments
Ebuild patch (wayland-9999.patch,722 bytes, patch)
2011-03-02 22:51 UTC, Neil Funk
Details | Diff
media-libs/mesa-9999 patch (mesa-9999.ebuild.patch,898 bytes, patch)
2011-03-13 05:44 UTC, 5FBCDB43
Details | Diff
dev-libs/wayland-9999 (wayland-9999.ebuild.patch,1.74 KB, patch)
2011-03-13 05:46 UTC, 5FBCDB43
Details | Diff
app-misc/wayland-demos-9999 (wayland-demos-9999.ebuild,1.22 KB, application/octet-stream)
2011-03-13 05:49 UTC, 5FBCDB43
Details
media-libs/mesa-9999 patch (mesa-9999.ebuild.patch,860 bytes, patch)
2011-03-19 15:28 UTC, 5FBCDB43
Details | Diff
x11-base/wayland → x11-libs/wayland patch (wayland-9999.ebuild.patch,1.74 KB, patch)
2011-03-19 15:29 UTC, 5FBCDB43
Details | Diff
x11-base/wayland-demos ebuild (wayland-demos-9999.ebuild,1.22 KB, application/octet-stream)
2011-03-19 15:31 UTC, 5FBCDB43
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Funk 2011-03-02 22:46:38 UTC
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.
Comment 1 Neil Funk 2011-03-02 22:51:10 UTC
Created attachment 264537 [details, diff]
Ebuild patch

This worked for me.
Comment 2 Neil Funk 2011-03-04 23:16:56 UTC
Looks like git://anongit.freedesktop.org/wayland/wayland (leaving out the /git/) works just as well, too.
Comment 3 5FBCDB43 2011-03-13 01:26:09 UTC
(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.
Comment 4 5FBCDB43 2011-03-13 01:57:44 UTC
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.
Comment 5 5FBCDB43 2011-03-13 05:44:41 UTC
Created attachment 265687 [details, diff]
media-libs/mesa-9999 patch

A patch that adds wayland USE-flag to enable egl-wayland in Mesa.
Comment 6 5FBCDB43 2011-03-13 05:46:26 UTC
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/.
Comment 7 5FBCDB43 2011-03-13 05:49:38 UTC
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.
Comment 8 5FBCDB43 2011-03-19 15:28:49 UTC
Created attachment 266527 [details, diff]
media-libs/mesa-9999 patch
Comment 9 5FBCDB43 2011-03-19 15:29:48 UTC
Created attachment 266529 [details, diff]
x11-base/wayland → x11-libs/wayland patch
Comment 10 5FBCDB43 2011-03-19 15:31:56 UTC
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.
Comment 11 Matt Turner gentoo-dev 2011-08-14 02:41:18 UTC
This has been fixed for a while. Closing as fixed.

The other stuff should be in separate bug reports, if it's still relevant.