From 7c5ff1316f295b53413ab582ecfdd186e2879f02 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Thu, 13 May 2021 22:35:31 -0400 Subject: gnu: xfe: Update to 1.44 and adjust potfiles. * gnu/packages/disk.scm (xfe)[version]: Update to 1.44. [phases](patch-potfiles): New phase. --- gnu/packages/disk.scm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index 66d5022cf0..040aa38ebf 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -1068,19 +1068,27 @@ since they are better handled by external tools.") (define-public xfe (package (name "xfe") - (version "1.43.2") + (version "1.44") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/xfe/xfe/" version "/" - "xfe-" version ".tar.gz")) + "xfe-" version ".tar.xz")) (sha256 - (base32 "1fl51k5jm2vrfc2g66agbikzirmp0yb0lqhmsssixfb4mky3hpzs")))) + (base32 "1dihq03jqjllb69r78d9ihjjadi39v7sgzdf68qpxz5xhp8i8k2r")))) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-potfiles + (lambda _ + ;; To add missing entry 'intl/plural.c' to potfiles list. + ;; Refer to https://sourceforge.net/p/xfe/bugs/257/ + (substitute* "po/POTFILES.in" + (("src/help.h") + (string-append "src/help.h\n" + "intl/plural.c"))))) (add-after 'unpack 'patch-bin-dirs (lambda* (#:key inputs #:allow-other-keys) (let* ((bash (assoc-ref inputs "bash")) -- cgit v1.2.3