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

This commit is contained in:
Bobby Rong 2025-04-27 21:10:47 +08:00 committed by GitHub
commit cfc9e092bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,8 @@
stdenv,
lib,
mkXfceDerivation,
fetchpatch,
python3,
cairo,
exo,
garcon,
@ -26,15 +28,28 @@
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 [
gobject-introspection
vala # vala bindings require GObject introspection
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
];
buildInputs = [
cairo
exo
@ -55,6 +70,8 @@ mkXfceDerivation {
];
postPatch = ''
patchShebangs xdt-gen-visibility
substituteInPlace plugins/clock/clock.c \
--replace-fail "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
'';