From e41c40098bedd09d22fd10bf957370f3473474d3 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Mon, 26 Dec 2022 18:16:40 +0800 Subject: [PATCH] gtk3: add missing libXdamage, explicitly add libXfixes libXdamage is an optional dependency, however this is needed for XEmbed tray icons on MATE to work properly. This is already enabled in gtk4. https://gitlab.gnome.org/GNOME/gtk/-/blob/3.24.36/meson.build#L583 https://gitlab.gnome.org/search?search=xdamage&project_id=665&group_id=8&search_code=true&repository_ref=gtk-3-24 Also explicitly add libXfixes since gtk3 also optionally directly depends on it. https://gitlab.gnome.org/GNOME/gtk/-/blob/3.24.36/meson.build#L577 (cherry picked from commit 6257a5ae5d24bbb23e37c65902875a65ae438f15) --- pkgs/development/libraries/gtk/3.x.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/gtk/3.x.nix b/pkgs/development/libraries/gtk/3.x.nix index 282486dc88d5c..112158a47276d 100644 --- a/pkgs/development/libraries/gtk/3.x.nix +++ b/pkgs/development/libraries/gtk/3.x.nix @@ -145,6 +145,8 @@ stdenv.mkDerivation rec { libSM libXcomposite libXcursor + libXdamage + libXfixes libXi libXrandr libXrender