summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaghav Gururajan <rg@raghavgururajan.name>2021-05-13 22:35:31 -0400
committerRaghav Gururajan <rg@raghavgururajan.name>2021-05-13 22:53:39 -0400
commit7c5ff1316f295b53413ab582ecfdd186e2879f02 (patch)
tree13a2ecab0563c019e471db5611726c068c85c5ee
parentb9f0e78238e6186d28d738c7c5355a56557ce84f (diff)
downloadguix-7c5ff1316f295b53413ab582ecfdd186e2879f02.tar.gz
gnu: xfe: Update to 1.44 and adjust potfiles.
* gnu/packages/disk.scm (xfe)[version]: Update to 1.44.
[phases](patch-potfiles): New phase.
-rw-r--r--gnu/packages/disk.scm14
1 files 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"))