diff options
author | Kelly Ledford <stripes416@gmail.com> | 2017-03-03 18:03:30 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2017-03-03 20:37:53 -0800 |
commit | 22e03954608e87d5ff1c6be11605d072cb1ab2dd (patch) | |
tree | 18c0b9a14f72f7ca24d34d5977a945328bfaf4f1 /x11-base | |
parent | x11-base/xorg-drivers: Install xf86-video-intel for VIDEO_CARDS=i915. (diff) | |
download | gentoo-22e03954608e87d5ff1c6be11605d072cb1ab2dd.tar.gz gentoo-22e03954608e87d5ff1c6be11605d072cb1ab2dd.tar.bz2 gentoo-22e03954608e87d5ff1c6be11605d072cb1ab2dd.zip |
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
Diffstat (limited to 'x11-base')
-rw-r--r-- | x11-base/xorg-server/xorg-server-1.19.2.ebuild | 7 | ||||
-rw-r--r-- | x11-base/xorg-server/xorg-server-9999.ebuild | 7 |
2 files changed, 14 insertions, 0 deletions
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 |