gnome3.mutter: add patch for upstream issue #270

This commit is contained in:
Piotr Bogdan 2019-02-23 08:43:27 +00:00
parent d7806fe4ed
commit 4f40607e7e

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
{ fetchurl, fetchpatch, stdenv, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
, libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
, pipewire, libgudev, libwacom, xwayland, autoreconfHook }:
@ -16,6 +16,17 @@ stdenv.mkDerivation rec {
updateScript = gnome3.updateScript { packageName = "mutter"; attrPath = "gnome3.mutter"; };
};
patches = [
# https://gitlab.gnome.org/GNOME/mutter/issues/270
# Fixes direction of the desktop switching animation when using workspace
# grid extension with desktops arranged horizontally.
(fetchpatch {
url = https://gitlab.gnome.org/GNOME/mutter/commit/92cccf53dfe9e077f1d61ac4f896fd391f8cb689.patch;
sha256 = "11vmypypjss50xg7hhdbqrxvgqlxx4lnwy59089qsfl3akg4kk2i";
})
];
configureFlags = [
"--with-x"
"--disable-static"