GNU bug report logs - #77159
[PATCH 0/7] Update Zathura and plugins

Previous Next

Package: guix-patches;

Reported by: Andrew Wong <wongandj <at> icloud.com>

Date: Fri, 21 Mar 2025 21:09:02 UTC

Severity: normal

Tags: patch

Done: Andrew Wong <wongandj <at> icloud.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andrew Wong <wongandj <at> icloud.com>
To: 77159 <at> debbugs.gnu.org
Cc: Andrew Wong <wongandj <at> icloud.com>
Subject: [bug#77159] [PATCH 6/7] gnu: zathura-ps: Update to 0.2.8.
Date: Fri, 21 Mar 2025 17:11:58 -0400
* gnu/packages/pdf.scm (zathura-ps): Update to 0.2.8.
[arguments] <#:phases>: Remove unneeded 'patch-plugin-directory phase

Change-Id: Ib05756b8fb2729c5bf996301440a90832220dd29
---
 gnu/packages/pdf.scm | 31 ++++++++++---------------------
 1 file changed, 10 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index cfdf8d9289..4a32473f89 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -548,31 +548,20 @@ (define-public zathura-cb
 (define-public zathura-ps
   (package
     (name "zathura-ps")
-    (version "0.2.7")
-    (source (origin
-              (method url-fetch)
-              (uri
-               (string-append "https://pwmt.org/projects/zathura-ps/download/zathura-ps-"
-                              version ".tar.xz"))
-              (sha256
-               (base32
-                "0ilf63wxn1yzis9m3qs8mxbk316yxdzwxrrv86wpiygm9hhgk5sq"))))
+    (version "0.2.8")
+    (source
+     (origin (method url-fetch)
+             (uri (string-append "https://pwmt.org/projects/zathura-ps"
+                                 "/download/zathura-ps-" version ".tar.xz"))
+             (sha256
+              (base32 "0jifjfl3dzwyavwr0g795109d8iy6hc8811q01nqgybpf97mkjh7"))))
     (native-inputs (list pkg-config))
     (inputs (list libspectre zathura))
     (build-system meson-build-system)
     (arguments
-     `(#:tests? #f                      ; package does not contain tests
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'patch-plugin-directory
-           ;; Something of a regression in 0.2.7: the new Meson build system
-           ;; now hard-codes an incorrect plugin directory.  Fix it.
-           (lambda* (#:key outputs #:allow-other-keys)
-             (substitute* "meson.build"
-               (("(install_dir:).*" _ key)
-                (string-append key
-                               "'" (assoc-ref outputs "out") "/lib/zathura'\n")))
-             #t)))))
+     (list #:tests? #f                  ; package does not contain tests
+           #:configure-flags
+           #~(list (string-append "-Dplugindir=" #$output "/lib/zathura"))))
     (home-page "https://pwmt.org/projects/zathura-ps/")
     (synopsis "PS support for zathura (libspectre backend)")
     (description "The zathura-ps plugin adds PS support to zathura
-- 
2.48.1





This bug report was last modified 40 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.