1 |
commit: 22e03954608e87d5ff1c6be11605d072cb1ab2dd |
2 |
Author: Kelly Ledford <stripes416 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Mar 4 02:03:30 2017 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 4 04:37:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22e03954 |
7 |
|
8 |
x11-base/xorg-server: Warn about performance with USE="wayland -glamor" |
9 |
|
10 |
Bug: https://bugs.gentoo.org/608856 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/4116 |
12 |
|
13 |
x11-base/xorg-server/xorg-server-1.19.2.ebuild | 7 +++++++ |
14 |
x11-base/xorg-server/xorg-server-9999.ebuild | 7 +++++++ |
15 |
2 files changed, 14 insertions(+) |
16 |
|
17 |
diff --git a/x11-base/xorg-server/xorg-server-1.19.2.ebuild b/x11-base/xorg-server/xorg-server-1.19.2.ebuild |
18 |
index 5aeddbe5ee8..3245f045a35 100644 |
19 |
--- a/x11-base/xorg-server/xorg-server-1.19.2.ebuild |
20 |
+++ b/x11-base/xorg-server/xorg-server-1.19.2.ebuild |
21 |
@@ -154,6 +154,13 @@ pkg_pretend() { |
22 |
die "Sorry, but gcc earlier than 4.0 will not work for xorg-server." |
23 |
} |
24 |
|
25 |
+pkg_setup() { |
26 |
+ if use wayland && ! use glamor; then |
27 |
+ ewarn "glamor is necessary for acceleration under Xwayland." |
28 |
+ ewarn "Performance may be unacceptable without it." |
29 |
+ fi |
30 |
+} |
31 |
+ |
32 |
src_configure() { |
33 |
# localstatedir is used for the log location; we need to override the default |
34 |
# from ebuild.sh |
35 |
|
36 |
diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild |
37 |
index 812c9fb6f5f..f4f1bdf7916 100644 |
38 |
--- a/x11-base/xorg-server/xorg-server-9999.ebuild |
39 |
+++ b/x11-base/xorg-server/xorg-server-9999.ebuild |
40 |
@@ -152,6 +152,13 @@ pkg_pretend() { |
41 |
die "Sorry, but gcc earlier than 4.0 will not work for xorg-server." |
42 |
} |
43 |
|
44 |
+pkg_setup() { |
45 |
+ if use wayland && ! use glamor; then |
46 |
+ ewarn "glamor is necessary for acceleration under Xwayland." |
47 |
+ ewarn "Performance may be unacceptable without it." |
48 |
+ fi |
49 |
+} |
50 |
+ |
51 |
src_configure() { |
52 |
# localstatedir is used for the log location; we need to override the default |
53 |
# from ebuild.sh |