From: Kelly Ledford Date: Sat, 4 Mar 2017 02:03:30 +0000 (-0800) Subject: x11-base/xorg-server: Warn about performance with USE="wayland -glamor" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=22e03954608e87d5ff1c6be11605d072cb1ab2dd;p=gentoo.git x11-base/xorg-server: Warn about performance with USE="wayland -glamor" Bug: https://bugs.gentoo.org/608856 Closes: https://github.com/gentoo/gentoo/pull/4116 --- diff --git a/x11-base/xorg-server/xorg-server-1.19.2.ebuild b/x11-base/xorg-server/xorg-server-1.19.2.ebuild index 5aeddbe5ee85..3245f045a355 100644 --- a/x11-base/xorg-server/xorg-server-1.19.2.ebuild +++ b/x11-base/xorg-server/xorg-server-1.19.2.ebuild @@ -154,6 +154,13 @@ pkg_pretend() { die "Sorry, but gcc earlier than 4.0 will not work for xorg-server." } +pkg_setup() { + if use wayland && ! use glamor; then + ewarn "glamor is necessary for acceleration under Xwayland." + ewarn "Performance may be unacceptable without it." + fi +} + src_configure() { # localstatedir is used for the log location; we need to override the default # from ebuild.sh diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild index 812c9fb6f5f4..f4f1bdf79160 100644 --- a/x11-base/xorg-server/xorg-server-9999.ebuild +++ b/x11-base/xorg-server/xorg-server-9999.ebuild @@ -152,6 +152,13 @@ pkg_pretend() { die "Sorry, but gcc earlier than 4.0 will not work for xorg-server." } +pkg_setup() { + if use wayland && ! use glamor; then + ewarn "glamor is necessary for acceleration under Xwayland." + ewarn "Performance may be unacceptable without it." + fi +} + src_configure() { # localstatedir is used for the log location; we need to override the default # from ebuild.sh