diff options
author | Mart Raudsepp <leio@gentoo.org> | 2018-09-19 12:37:21 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2018-09-19 12:37:54 +0300 |
commit | b39c9c0293200ba288230078b5e8fb804c393ba3 (patch) | |
tree | d531788f71d46e4ac312538517c09748d30f29d5 | |
parent | dev-python/pygobject: remove, 3.28.3 available in ::gentoo (diff) | |
download | gnome-b39c9c0293200ba288230078b5e8fb804c393ba3.tar.gz gnome-b39c9c0293200ba288230078b5e8fb804c393ba3.tar.bz2 gnome-b39c9c0293200ba288230078b5e8fb804c393ba3.zip |
x11-wm/mutter: bump to 3.26.2, fix subslot
* upstream bump from over 10 months ago
* mutter subslot should be the mutter-clutter API version - update
this properly.
* remove ancient expocity blocker
* add note about apparently missing nvidia EGLDevice support handling
* add glib-utils build dep
Package-Manager: Portage-2.3.49, Repoman-2.3.10
-rw-r--r-- | x11-wm/mutter/Manifest | 23 | ||||
-rw-r--r-- | x11-wm/mutter/mutter-3.26.2.ebuild | 133 |
2 files changed, 134 insertions, 22 deletions
diff --git a/x11-wm/mutter/Manifest b/x11-wm/mutter/Manifest index ec8f8700..5ffe540e 100644 --- a/x11-wm/mutter/Manifest +++ b/x11-wm/mutter/Manifest @@ -1,23 +1,2 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - DIST mutter-3.26.1.tar.xz 3623648 BLAKE2B 56ca437a9d8c947dce84238a2c13046fd79a25f1a0ec640ff0b8f6a96bef050700a62c025e03f0c2845e6ba2a478bb73800e6bbd9b8105c6d48a4d595400933d SHA512 e638864fddcebcd922637a7a5a17f19815dc9b77bf72568374a81ad1e327c0fb644f546428848aacb39c99b04eba9f651f441b16e21ad880ab1593ee3ba912f4 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iQKTBAEBCAB9FiEEhjiDzgE0H6m8d3Z/4FucaN0bWf0FAlpyJgVfFIAAAAAALgAo -aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDg2 -Mzg4M0NFMDEzNDFGQTlCQzc3NzY3RkUwNUI5QzY4REQxQjU5RkQACgkQ4FucaN0b -Wf2xKw/9HJN5rOxC+/KlqTAHJGE7Xz93GvjegRCnPD9AsFdPQ+ja4PLR3RALLIO1 -dOd/MAb8TlfWzt5Mt7+kxcBXUaKPfcw7iU+9Z+kD8fKi9bEDe9RcYHRT1PmrY6N1 -P7da9KPC1M/t+REgKmAjI92awTL/bperiApTGi5hfhgrusqiP5UDrLLF3zqNWALC -INJmoQJMWxxGZ/1FXQkz6QntPGAeE1F+wrSk3GXcphSnW6hRKk4WBho6Cor+VItK -XNOMPfQLHPKJv+x7jDRtEE7e7iMpO1oJUwuXQ2Qq2sJ/2/MKg5oRD0FowOe8IY2R -dl16RxwwIG24/WBGi1ypOUdqbOHBSNT8/xSNQUUT/JLUSz2nrCLdiTaJUWIZRzs+ -cr96+ETAK3Le+H/eCKg1BcOu5wcKLpiLzYuQ9TG776tekvhaSFNFvhx8rVBhmsl/ -R7LnNRQTAbIS8u2+3HmX8LySE2cZjcTZZxcFiYTzLtCxvskGNVDU63WQplrYY+h/ -t0hgaOcZiLxvY5BLzfHKqZuBPAgVDfsWug+kzgmBl3dXiksOP3J0aGI4Gwn44NoT -gw6Zd41SVTHnAlnxxwWQJtq0x4+KaB0i5WJ840gHkmz8eXzxW1TG/BymUe/cVIYp -MlGsa2HCUEQrGn7dUyFbV5Rx4z2gm6yIWFDo9k1OvK/Rv/eVtvs= -=XpCO ------END PGP SIGNATURE----- +DIST mutter-3.26.2.tar.xz 3622904 BLAKE2B b32af24c6ffcd0e6af38ab1ff7cd0ba16ea3ceb84c62ed21d9e38fff5357eda2648050beada3fc8727474407a419a2c218331c8a87f7eb68eddf824d26ca9c51 SHA512 95885b4c053d4bc467a7c11615ee3d1a3086a674ae10e7cb9bb241f692e66dd8190508db1cdf1760bc2f19100e532e68d5e147d344e94d1430d80dd26ca0156b diff --git a/x11-wm/mutter/mutter-3.26.2.ebuild b/x11-wm/mutter/mutter-3.26.2.ebuild new file mode 100644 index 00000000..935676e5 --- /dev/null +++ b/x11-wm/mutter/mutter-3.26.2.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 virtualx + +DESCRIPTION="GNOME 3 compositing window manager based on Clutter" +HOMEPAGE="https://git.gnome.org/browse/mutter/" + +LICENSE="GPL-2+" +SLOT="0/1" # 0/libmutter_api_version - ONLY gnome-shell (or anything using mutter-clutter-<api_version>.pc) should use the subslot + +IUSE="debug gles2 input_devices_wacom +introspection test udev wayland" + +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +# libXi-1.7.4 or newer needed per: +# https://bugzilla.gnome.org/show_bug.cgi?id=738944 +RDEPEND=" + >=dev-libs/atk-2.5.3 + >=x11-libs/gdk-pixbuf-2:2 + >=dev-libs/json-glib-0.12.0 + >=x11-libs/pango-1.30[introspection?] + >=x11-libs/cairo-1.14[X] + >=x11-libs/gtk+-3.19.8:3[X,introspection?] + >=dev-libs/glib-2.53.2:2 + >=media-libs/libcanberra-0.26[gtk3] + >=x11-libs/startup-notification-0.7 + >=x11-libs/libXcomposite-0.2 + >=gnome-base/gsettings-desktop-schemas-3.21.4[introspection?] + gnome-base/gnome-desktop:3= + >sys-power/upower-0.99:= + + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + >=x11-libs/libXcomposite-0.4 + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + >=x11-libs/libXfixes-3 + >=x11-libs/libXi-1.7.4 + x11-libs/libXinerama + >=x11-libs/libXrandr-1.5 + x11-libs/libXrender + x11-libs/libxcb + x11-libs/libxkbfile + >=x11-libs/libxkbcommon-0.4.3[X] + x11-misc/xkeyboard-config + + gnome-extra/zenity + media-libs/mesa[egl] + + gles2? ( media-libs/mesa[gles2] ) + input_devices_wacom? ( >=dev-libs/libwacom-0.13 ) + introspection? ( >=dev-libs/gobject-introspection-1.42:= ) + udev? ( >=virtual/libgudev-232:= ) + wayland? ( + >=dev-libs/libinput-1.4 + >=dev-libs/wayland-1.13.0 + >=dev-libs/wayland-protocols-1.9 + >=media-libs/mesa-10.3[egl,gbm,wayland] + sys-apps/systemd + >=virtual/libgudev-232:= + >=virtual/libudev-136:= + x11-base/xorg-server[wayland] + x11-libs/libdrm:= + ) +" +DEPEND="${RDEPEND} + dev-util/glib-utils + >=sys-devel/gettext-0.19.6 + virtual/pkgconfig + x11-base/xorg-proto + test? ( app-text/docbook-xml-dtd:4.5 ) + wayland? ( >=sys-kernel/linux-headers-4.4 ) +" + +src_prepare() { + # Disable building of noinst_PROGRAM for tests + if ! use test; then + sed -e '/^noinst_PROGRAMS/d' \ + -i cogl/tests/conform/Makefile.{am,in} || die + sed -e '/noinst_PROGRAMS += testboxes/d' \ + -i src/Makefile-tests.am || die + sed -e '/noinst_PROGRAMS/ s/testboxes$(EXEEXT)//' \ + -i src/Makefile.in || die + fi + + gnome2_src_prepare + + # Leave the damn CFLAGS alone + sed -e 's/$CFLAGS -g/$CFLAGS /' \ + -i clutter/configure || die + sed -e 's/$CFLAGS -g -O0/$CFLAGS /' \ + -i cogl/configure || die + sed -e 's/$CFLAGS -g -O/$CFLAGS /' \ + -i configure || die +} + +src_configure() { + # TODO: pipewire remote desktop support; --disable-remote-desktop actually enables it due to upstream autotools bug in 3.26.2 (omitted means disabled) + # TODO: nvidia EGLDevice support + # Prefer gl driver by default + # GLX is forced by mutter but optional in clutter + # xlib-egl-platform required by mutter x11 backend + # native backend without wayland is useless + gnome2_src_configure \ + --disable-static \ + --enable-compile-warnings=minimum \ + --enable-gl \ + --enable-glx \ + --enable-sm \ + --enable-startup-notification \ + --enable-verbose-mode \ + --enable-xlib-egl-platform \ + --with-default-driver=gl \ + --with-libcanberra \ + $(usex debug --enable-debug=yes "") \ + $(use_enable gles2) \ + $(use_enable gles2 cogl-gles2) \ + $(use_enable introspection) \ + $(use_enable wayland) \ + $(use_enable wayland kms-egl-platform) \ + $(use_enable wayland native-backend) \ + $(use_enable wayland wayland-egl-server) \ + $(use_with input_devices_wacom libwacom) \ + $(use_with udev gudev) +} + +src_test() { + virtx emake check +} |