commit: c7c838c082ed506f997fab09eb98361e265cd67d
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 24 12:06:02 2021 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Apr 24 12:13:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7c838c0
x11-wm/mutter: ensure libX11 with XSetIOErrorExitHandler func
If XSetIOErrorExitHandler function, provided by libX11-1.7.0, is present
at build time, any IO error within Xwayland will end up cleanly shutting it
down instead of the default fatal error behaviour, and it will just be
restarted on next need of Xwaylayd. This in practice will mean that instead
of the whole compositor (e.g. gnome-shell) exiting, in what appears to be a
crash, only Xwayland using X11 apps will disappear.
This is only useful for wayland builds, but main tree doesn't have older
versions by now anyways, so just unconditionally minimum version depend
on it to guarantee the less "crashing" experience.
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
x11-wm/mutter/mutter-3.38.4.ebuild | 2 +-
x11-wm/mutter/mutter-40.0.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/x11-wm/mutter/mutter-3.38.4.ebuild
b/x11-wm/mutter/mutter-3.38.4.ebuild
index 745df2da384..a72e4c75b10 100644
--- a/x11-wm/mutter/mutter-3.38.4.ebuild
+++ b/x11-wm/mutter/mutter-3.38.4.ebuild
@@ -23,7 +23,7 @@ KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc
x86"
# xorg-server is needed at build and runtime with USE=wayland for Xwayland
# v3.32.2 has many excessive or unused *_req variables declared, thus
currently the dep order ignores those and goes via dependency() call order
DEPEND="
- x11-libs/libX11
+ >=x11-libs/libX11-1.7.0
>=media-libs/graphene-1.9.3[introspection?]
>=x11-libs/gtk+-3.19.8:3[X,introspection?]
x11-libs/gdk-pixbuf:2
diff --git a/x11-wm/mutter/mutter-40.0.ebuild b/x11-wm/mutter/mutter-40.0.ebuild
index 19f0ff73808..31b0288d695 100644
--- a/x11-wm/mutter/mutter-40.0.ebuild
+++ b/x11-wm/mutter/mutter-40.0.ebuild
@@ -23,7 +23,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc
~x86"
# xorg-server is needed at build and runtime with USE=wayland for Xwayland
# v3.32.2 has many excessive or unused *_req variables declared, thus
currently the dep order ignores those and goes via dependency() call order
DEPEND="
- x11-libs/libX11
+ >=x11-libs/libX11-1.7.0
>=media-libs/graphene-1.10.2[introspection?]
>=x11-libs/gtk+-3.19.8:3[X,introspection?]
x11-libs/gdk-pixbuf:2