mate.mate-panel: 1.26.4 -> 1.28.0

https://github.com/mate-desktop/mate-panel/compare/v1.26.4...v1.28.0

Also enables wayland support.

+27 -10
+27 -10
pkgs/desktops/mate/mate-panel/default.nix
··· 5 , gettext 6 , itstool 7 , glib 8 , libwnck 9 , librsvg 10 , libxml2 11 , dconf 12 - , gtk3 13 - , mate 14 , hicolor-icon-theme 15 , gobject-introspection 16 , wrapGAppsHook 17 , mateUpdateScript 18 }: 19 20 stdenv.mkDerivation rec { 21 pname = "mate-panel"; 22 - version = "1.26.4"; 23 24 src = fetchurl { 25 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 - sha256 = "IHD51RVlfl3c2g2H73KXE9upy3sq0GIjvWdKIcxrPa8="; 27 }; 28 29 nativeBuildInputs = [ ··· 35 ]; 36 37 buildInputs = [ 38 - glib 39 libwnck 40 librsvg 41 libxml2 42 - gtk3 43 dconf 44 - mate.libmateweather 45 - mate.mate-desktop 46 - mate.mate-menus 47 hicolor-icon-theme 48 ]; 49 50 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 51 52 makeFlags = [ ··· 57 preFixup = '' 58 gappsWrapperArgs+=( 59 # Workspace switcher settings, works only when passed after gtk3 schemas in the wrapper for some reason 60 - --prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath mate.marco}" 61 ) 62 ''; 63
··· 5 , gettext 6 , itstool 7 , glib 8 + , gnome 9 + , gtk-layer-shell 10 + , gtk3 11 + , libmateweather 12 , libwnck 13 , librsvg 14 , libxml2 15 , dconf 16 + , mate-desktop 17 + , mate-menus 18 , hicolor-icon-theme 19 + , wayland 20 , gobject-introspection 21 , wrapGAppsHook 22 + , marco 23 , mateUpdateScript 24 }: 25 26 stdenv.mkDerivation rec { 27 pname = "mate-panel"; 28 + version = "1.28.0"; 29 30 src = fetchurl { 31 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 + sha256 = "s70EoJTQ61vX3DOA728MSdmp1SCXM9fM17RtBmogjLo="; 33 }; 34 35 nativeBuildInputs = [ ··· 41 ]; 42 43 buildInputs = [ 44 + gtk-layer-shell 45 + libmateweather 46 libwnck 47 librsvg 48 libxml2 49 dconf 50 + mate-desktop 51 + mate-menus 52 hicolor-icon-theme 53 + wayland 54 ]; 55 56 + propagatedBuildInputs = [ 57 + glib 58 + gtk3 59 + # See https://github.com/mate-desktop/mate-panel/issues/1402 60 + # This is propagated for mate_panel_applet_settings_new and applet's wrapGAppsHook 61 + gnome.dconf-editor 62 + ]; 63 + 64 + # Needed for Wayland support. 65 + configureFlags = [ "--with-in-process-applets=all" ]; 66 + 67 env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 68 69 makeFlags = [ ··· 74 preFixup = '' 75 gappsWrapperArgs+=( 76 # Workspace switcher settings, works only when passed after gtk3 schemas in the wrapper for some reason 77 + --prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath marco}" 78 ) 79 ''; 80