1 |
commit: e196bef7e5c4acb837e36a746c01f31fd3a53083 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 27 08:39:07 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 28 13:49:11 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e196bef7 |
7 |
|
8 |
x11-wm/mutter: bump to 3.26.2 |
9 |
|
10 |
Also includes many fixes and updates from upstream |
11 |
unreleased 3.26 branch |
12 |
|
13 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
14 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
15 |
|
16 |
x11-wm/mutter/Manifest | 2 + |
17 |
x11-wm/mutter/mutter-3.26.2-r1.ebuild | 140 ++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 142 insertions(+) |
19 |
|
20 |
diff --git a/x11-wm/mutter/Manifest b/x11-wm/mutter/Manifest |
21 |
index 5ef7ed2aae6..dfd4f2e9ed3 100644 |
22 |
--- a/x11-wm/mutter/Manifest |
23 |
+++ b/x11-wm/mutter/Manifest |
24 |
@@ -1,2 +1,4 @@ |
25 |
DIST mutter-3.22.4.tar.xz 3536792 BLAKE2B e395dec6a8f5f46864ab5d7da3c345c20adf65f7609547d296036b0cb4be79e451387395f32d3d9a736a5b8c4be5a03a9fa56d5fbebeedaef3c35ea6e5c16302 SHA512 849e98186cecb4ffcab3da055febf72ef76fa87ecbdc506c696c2c7debd5183361c4b3b31d00d3c85e45d7f47aa5abf748d999571b147c831eb999116919023c |
26 |
DIST mutter-3.24.4.tar.xz 3583916 BLAKE2B 86a9e16ed96270713e400ccb4dc64b91c263125ea4a04373ed1f8364e906031ef26dc991fa13d01cf0e50895360c87be6773e3332d823c2ce1991cd57d59b292 SHA512 7ae579ab3e9df09cae37fbc1b277e382c9f610058b914b69a7bdb89f3bec510403210c0cded16a6487111507151f4d7075d161e051c0b88585d6ab6b4575b8d3 |
27 |
+DIST mutter-3.26.2-patchset.tar.xz 48156 BLAKE2B 7b33495a8bb7ac69f5610e1dfcb1fef49a983403fd176b229a75bcc7691e83e76a3dd87b7663ece0fcdc4077becd3ffa5e33217584f156456813769646730bf9 SHA512 2eeb9dfe137d6ea65f957ed19aa5ef83106aa16a049531c0c41d3ab6afac6c1b345cc68f2a9a9c41658172cc0dde61b946e6bf2507979ff4155e79770adf5e90 |
28 |
+DIST mutter-3.26.2.tar.xz 3622904 BLAKE2B b32af24c6ffcd0e6af38ab1ff7cd0ba16ea3ceb84c62ed21d9e38fff5357eda2648050beada3fc8727474407a419a2c218331c8a87f7eb68eddf824d26ca9c51 SHA512 95885b4c053d4bc467a7c11615ee3d1a3086a674ae10e7cb9bb241f692e66dd8190508db1cdf1760bc2f19100e532e68d5e147d344e94d1430d80dd26ca0156b |
29 |
|
30 |
diff --git a/x11-wm/mutter/mutter-3.26.2-r1.ebuild b/x11-wm/mutter/mutter-3.26.2-r1.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..71a77b24829 |
33 |
--- /dev/null |
34 |
+++ b/x11-wm/mutter/mutter-3.26.2-r1.ebuild |
35 |
@@ -0,0 +1,140 @@ |
36 |
+# Copyright 1999-2018 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+GNOME2_EAUTORECONF="yes" |
41 |
+inherit gnome2 virtualx |
42 |
+ |
43 |
+DESCRIPTION="GNOME 3 compositing window manager based on Clutter" |
44 |
+HOMEPAGE="https://git.gnome.org/browse/mutter/" |
45 |
+SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz" |
46 |
+ |
47 |
+LICENSE="GPL-2+" |
48 |
+SLOT="0/1" # 0/libmutter_api_version - ONLY gnome-shell (or anything using mutter-clutter-<api_version>.pc) should use the subslot |
49 |
+ |
50 |
+IUSE="debug gles2 input_devices_wacom +introspection test udev wayland" |
51 |
+ |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
53 |
+ |
54 |
+# libXi-1.7.4 or newer needed per: |
55 |
+# https://bugzilla.gnome.org/show_bug.cgi?id=738944 |
56 |
+RDEPEND=" |
57 |
+ >=dev-libs/atk-2.5.3 |
58 |
+ >=x11-libs/gdk-pixbuf-2:2 |
59 |
+ >=dev-libs/json-glib-0.12.0 |
60 |
+ >=x11-libs/pango-1.30[introspection?] |
61 |
+ >=x11-libs/cairo-1.14[X] |
62 |
+ >=x11-libs/gtk+-3.19.8:3[X,introspection?] |
63 |
+ >=dev-libs/glib-2.53.2:2 |
64 |
+ >=media-libs/libcanberra-0.26[gtk3] |
65 |
+ >=x11-libs/startup-notification-0.7 |
66 |
+ >=x11-libs/libXcomposite-0.2 |
67 |
+ >=gnome-base/gsettings-desktop-schemas-3.21.4[introspection?] |
68 |
+ gnome-base/gnome-desktop:3= |
69 |
+ >sys-power/upower-0.99:= |
70 |
+ |
71 |
+ x11-libs/libICE |
72 |
+ x11-libs/libSM |
73 |
+ x11-libs/libX11 |
74 |
+ >=x11-libs/libXcomposite-0.4 |
75 |
+ x11-libs/libXcursor |
76 |
+ x11-libs/libXdamage |
77 |
+ x11-libs/libXext |
78 |
+ >=x11-libs/libXfixes-3 |
79 |
+ >=x11-libs/libXi-1.7.4 |
80 |
+ x11-libs/libXinerama |
81 |
+ >=x11-libs/libXrandr-1.5 |
82 |
+ x11-libs/libXrender |
83 |
+ x11-libs/libxcb |
84 |
+ x11-libs/libxkbfile |
85 |
+ >=x11-libs/libxkbcommon-0.4.3[X] |
86 |
+ x11-misc/xkeyboard-config |
87 |
+ |
88 |
+ gnome-extra/zenity |
89 |
+ media-libs/mesa[egl] |
90 |
+ |
91 |
+ gles2? ( media-libs/mesa[gles2] ) |
92 |
+ input_devices_wacom? ( >=dev-libs/libwacom-0.13 ) |
93 |
+ introspection? ( >=dev-libs/gobject-introspection-1.42:= ) |
94 |
+ udev? ( >=virtual/libgudev-232:= ) |
95 |
+ wayland? ( |
96 |
+ >=dev-libs/libinput-1.4 |
97 |
+ >=dev-libs/wayland-1.13.0 |
98 |
+ >=dev-libs/wayland-protocols-1.9 |
99 |
+ >=media-libs/mesa-10.3[egl,gbm,wayland] |
100 |
+ sys-apps/systemd |
101 |
+ >=virtual/libgudev-232:= |
102 |
+ >=virtual/libudev-136:= |
103 |
+ x11-base/xorg-server[wayland] |
104 |
+ x11-libs/libdrm:= |
105 |
+ ) |
106 |
+" |
107 |
+DEPEND="${RDEPEND} |
108 |
+ dev-util/glib-utils |
109 |
+ >=sys-devel/gettext-0.19.6 |
110 |
+ virtual/pkgconfig |
111 |
+ x11-base/xorg-proto |
112 |
+ test? ( app-text/docbook-xml-dtd:4.5 ) |
113 |
+ wayland? ( >=sys-kernel/linux-headers-4.4 ) |
114 |
+" |
115 |
+ |
116 |
+PATCHES=( |
117 |
+ # Lots of patches from gnome-3-26 branch on top of 3.26.2 |
118 |
+ "${WORKDIR}"/patches/ |
119 |
+) |
120 |
+ |
121 |
+src_prepare() { |
122 |
+ # Disable building of noinst_PROGRAM for tests |
123 |
+ if ! use test; then |
124 |
+ sed -e '/^noinst_PROGRAMS/d' \ |
125 |
+ -i cogl/tests/conform/Makefile.{am,in} || die |
126 |
+ sed -e '/noinst_PROGRAMS += testboxes/d' \ |
127 |
+ -i src/Makefile-tests.am || die |
128 |
+ sed -e '/noinst_PROGRAMS/ s/testboxes$(EXEEXT)//' \ |
129 |
+ -i src/Makefile.in || die |
130 |
+ fi |
131 |
+ |
132 |
+ gnome2_src_prepare |
133 |
+ |
134 |
+ # Leave the damn CFLAGS alone |
135 |
+ sed -e 's/$CFLAGS -g/$CFLAGS /' \ |
136 |
+ -i clutter/configure || die |
137 |
+ sed -e 's/$CFLAGS -g -O0/$CFLAGS /' \ |
138 |
+ -i cogl/configure || die |
139 |
+ sed -e 's/$CFLAGS -g -O/$CFLAGS /' \ |
140 |
+ -i configure || die |
141 |
+} |
142 |
+ |
143 |
+src_configure() { |
144 |
+ # TODO: pipewire remote desktop support; --disable-remote-desktop actually enables it due to upstream autotools bug in 3.26.2 (omitted means disabled) |
145 |
+ # TODO: nvidia EGLDevice support |
146 |
+ # Prefer gl driver by default |
147 |
+ # GLX is forced by mutter but optional in clutter |
148 |
+ # xlib-egl-platform required by mutter x11 backend |
149 |
+ # native backend without wayland is useless |
150 |
+ gnome2_src_configure \ |
151 |
+ --disable-static \ |
152 |
+ --enable-compile-warnings=minimum \ |
153 |
+ --enable-gl \ |
154 |
+ --enable-glx \ |
155 |
+ --enable-sm \ |
156 |
+ --enable-startup-notification \ |
157 |
+ --enable-verbose-mode \ |
158 |
+ --enable-xlib-egl-platform \ |
159 |
+ --with-default-driver=gl \ |
160 |
+ --with-libcanberra \ |
161 |
+ $(usex debug --enable-debug=yes "") \ |
162 |
+ $(use_enable gles2) \ |
163 |
+ $(use_enable gles2 cogl-gles2) \ |
164 |
+ $(use_enable introspection) \ |
165 |
+ $(use_enable wayland) \ |
166 |
+ $(use_enable wayland kms-egl-platform) \ |
167 |
+ $(use_enable wayland native-backend) \ |
168 |
+ $(use_enable wayland wayland-egl-server) \ |
169 |
+ $(use_with input_devices_wacom libwacom) \ |
170 |
+ $(use_with udev gudev) |
171 |
+} |
172 |
+ |
173 |
+src_test() { |
174 |
+ virtx emake check |
175 |
+} |