Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914571 - x11-wm/mutter-45.0 wont build without wayland
Summary: x11-wm/mutter-45.0 wont build without wayland
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-23 13:26 UTC by Maxim Britov
Modified: 2023-12-25 17:14 UTC (History)
1 user (show)

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


Attachments
workaround for my environment (mutt-wayl.patch,1.11 KB, patch)
2023-09-23 13:26 UTC, Maxim Britov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Britov 2023-09-23 13:26:45 UTC
Created attachment 871191 [details, diff]
workaround for my environment

There is at least two includes without ifdef
Reported upstream https://gitlab.gnome.org/GNOME/mutter/-/issues/3046
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-23 13:54:01 UTC
Thanks. It'll likely be better received upstream if you make an MR.
Comment 2 Maxim Britov 2023-09-26 06:02:14 UTC
It seems dev-util/wayland-scanner can be ifdef in deps when USE='-wayland'.
I can build mutter without this one in ebuild.
Comment 3 opensauce04 2023-10-02 13:19:37 UTC
The above patch fixed the issue for me; I was able to build Mutter perfectly fine after adding it to `portage/patches`
Comment 4 Larry the Git Cow gentoo-dev 2023-12-25 17:14:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61dfbb83a61d0e5ee3e6822f22b1d3a3bb1afbb9

commit 61dfbb83a61d0e5ee3e6822f22b1d3a3bb1afbb9
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2023-12-25 15:39:39 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2023-12-25 17:13:58 +0000

    x11-wm/mutter: fix USE=-wayland build; add various upstream fixes
    
    Upstream patchset up to current state of stable branch most notably includes:
    * fixes compatibility with xdg-desktop-portal-gnome-45.1
    * some important NVIDIA EGLStream fix when that ends up used (with
      e.g. MUTTER_DEBUG_FORCE_EGL_STREAM=1)
    * window size and related fixes when moving fullscreen window across
      differently sized monitors
    * fixes handling of relative mode for tablet
    * improvements for desktop icons extension purposes
    * much more
    
    Closes: https://bugs.gentoo.org/914571
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 x11-wm/mutter/Manifest                    |   1 +
 x11-wm/mutter/files/45.2-fix-X-only.patch |  48 ++++++
 x11-wm/mutter/mutter-45.2-r1.ebuild       | 239 ++++++++++++++++++++++++++++++
 3 files changed, 288 insertions(+)