Unverified Commit cfc9e092 authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

xfce.xfce4-panel: 4.20.3 -> 4.20.4 (#402021)

parents 4ac13950 773d6c4c
Loading
Loading
Loading
Loading
+22 −5
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
  stdenv,
  lib,
  mkXfceDerivation,
  fetchpatch,
  python3,
  cairo,
  exo,
  garcon,
@@ -26,11 +28,24 @@
mkXfceDerivation {
  category = "xfce";
  pname = "xfce4-panel";
  version = "4.20.3";
  version = "4.20.4";

  sha256 = "sha256-tLWjU0M7tuE+qqDwaE1CtnOjDiPWno8Mf7hhxYxbvjo=";
  sha256 = "sha256-P1EZefpGRZ0DQ5S4Okw9pyly23d+UdPp5xMj1wJc44c=";

  nativeBuildInputs = lib.optionals withIntrospection [
  patches = [
    # Fixes panel not shown on external display after reconnecting
    # https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/925
    (fetchpatch {
      url = "https://gitlab.xfce.org/xfce/xfce4-panel/-/commit/e2451cacd950f4b7539efd1e5e36b067515dba9b.patch";
      hash = "sha256-h2iPlghHJeHD9PJp6RJrRx4MBsaqXuNclAJW6CKHE4A=";
    })
  ];

  nativeBuildInputs =
    [
      python3
    ]
    ++ lib.optionals withIntrospection [
      gobject-introspection
      vala # vala bindings require GObject introspection
    ];
@@ -55,6 +70,8 @@ mkXfceDerivation {
  ];

  postPatch = ''
    patchShebangs xdt-gen-visibility

    substituteInPlace plugins/clock/clock.c \
       --replace-fail "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
  '';