summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2021-04-24 15:06:02 +0300
committerMart Raudsepp <leio@gentoo.org>2021-04-24 15:13:59 +0300
commitc7c838c082ed506f997fab09eb98361e265cd67d (patch)
tree6c31b612554bf11050b50de16fbe35a8be42a4d1 /x11-wm
parentwww-client/chromium: dev channel bump to 92.0.4484.7 (diff)
downloadgentoo-c7c838c082ed506f997fab09eb98361e265cd67d.tar.gz
gentoo-c7c838c082ed506f997fab09eb98361e265cd67d.tar.bz2
gentoo-c7c838c082ed506f997fab09eb98361e265cd67d.zip
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@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/mutter/mutter-3.38.4.ebuild2
-rw-r--r--x11-wm/mutter/mutter-40.0.ebuild2
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 745df2da3847..a72e4c75b10b 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 19f0ff738085..31b0288d695a 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