[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37121] [PATCH 15/40] gnu: xfce4-panel: Fix tzdata path.
From: |
L p R n d n |
Subject: |
[bug#37121] [PATCH 15/40] gnu: xfce4-panel: Fix tzdata path. |
Date: |
Tue, 20 Aug 2019 23:50:18 +0200 |
* gnu/packages/xfce.scm (xfce4-panel)[inputs]: Add tzdata.
[arguments] Add Fix-tzdata-path phase.
---
gnu/packages/xfce.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 56477adc0b..24e95fe36e 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -37,6 +37,7 @@
#:use-module (guix build-system trivial)
#:use-module (gnu artwork)
#:use-module (gnu packages)
+ #:use-module (gnu packages base)
#:use-module (gnu packages calendar)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages pkg-config)
@@ -311,6 +312,15 @@ management D-Bus specification.")
"1x3flv86jh9vqah7mr5mmfx2991mc6icsqjygsc3j88lgsyz7y6m"))
(patches (search-patches "xfce4-panel-plugins.patch"))))
(build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'Fix-tzdata-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* (string-append "plugins/clock/clock.c")
+ (("/usr/share/zoneinfo")
+ (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo")))
+ #t)))))
(native-inputs
`(("pkg-config" ,pkg-config)
("intltool" ,intltool)
@@ -319,7 +329,8 @@ management D-Bus specification.")
`(("gtk+-3" ,gtk+) ; required by libxfce4panel-2.0.pc
("libxfce4util" ,libxfce4util))) ; required by libxfce4panel-2.0.pc
(inputs
- `(("exo" ,exo)
+ `(("tzdata" ,tzdata) ;; For Fix-tzdata-path phase only.
+ ("exo" ,exo)
("gtk+-2" ,gtk+-2)
("xfconf" ,xfconf)
("garcon" ,garcon)
--
2.22.0
- [bug#37121] [PATCH 05/40] gnu: xfconf: Add vala support., (continued)
- [bug#37121] [PATCH 05/40] gnu: xfconf: Add vala support., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 02/40] gnu: libxfce4util: Add gobject-introspection support., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 07/40] gnu: libxfce4ui: Add gobject-introspection support., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 08/40] gnu: libxfce4ui: Add vendor., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 11/40] gnu: tumbler: Update to 0.2.7., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 09/40] gnu: exo: Update to 0.12.8., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 13/40] gnu: tumbler: Remove unused gstreamer., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 14/40] gnu: xfce4-panel: Update to 4.14.0., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 12/40] gnu: tumbler: Fix pdf thumbnailer., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 10/40] gnu: garcon: Update to 0.6.4., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 15/40] gnu: xfce4-panel: Fix tzdata path.,
L p R n d n <=
- [bug#37121] [PATCH 26/40] gnu: mousepad: Update to 0.4.2., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 34/40] gnu: xfce4-taskmanager: Switch from libwnck-2 to libwnck., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 28/40] gnu: xfce4-terminal: Update to 0.8.8., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 16/40] gnu: xfce4-appfinder: Update to 4.14.0., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 40/40] gnu: Add copyright header., L p R n d n, 2019/08/20
- [bug#37121] [PATCH 32/40] gnu: libxklavier: Update to 5.4., L p R n d n, 2019/08/20
[bug#37121] [PATCH 20/40] gnu: Thunar: Add gobject-introspection support., L p R n d n, 2019/08/20