GNU bug report logs - #63193
[PATCH 0/2] Update mupdf

Previous Next

Package: guix-patches;

Reported by: Timotej Lazar <timotej.lazar <at> araneo.si>

Date: Sun, 30 Apr 2023 18:52:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63193 in the body.
You can then email your comments to 63193 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63193; Package guix-patches. (Sun, 30 Apr 2023 18:52:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Timotej Lazar <timotej.lazar <at> araneo.si>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 30 Apr 2023 18:52:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Timotej Lazar <timotej.lazar <at> araneo.si>
To: guix-patches <at> gnu.org
Cc: Timotej Lazar <timotej.lazar <at> araneo.si>
Subject: [PATCH 0/2] Update mupdf
Date: Sun, 30 Apr 2023 20:51:02 +0200
Hi, this updates and slightly simplifies the mupdf package. Thanks!

Timotej Lazar (2):
  gnu: mupdf: Update to 1.22.0.
  gnu: mupdf: Simplify snippet.

 gnu/packages/pdf.scm | 27 ++++++++++++---------------
 1 file changed, 12 insertions(+), 15 deletions(-)


base-commit: a34348967e032acfab2aa0b512d318a70f5543dd
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#63193; Package guix-patches. (Sun, 30 Apr 2023 18:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 63193 <at> debbugs.gnu.org (full text, mbox):

From: Timotej Lazar <timotej.lazar <at> araneo.si>
To: 63193 <at> debbugs.gnu.org
Cc: Timotej Lazar <timotej.lazar <at> araneo.si>
Subject: [PATCH 1/2] gnu: mupdf: Update to 1.22.0.
Date: Sun, 30 Apr 2023 20:53:53 +0200
* gnu/packages/pdf.scm (mupdf): Update to 1.22.0.
---
 gnu/packages/pdf.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index ff7d895774..6c44952583 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -796,14 +796,14 @@ (define-public python-pydyf
 (define-public mupdf
   (package
     (name "mupdf")
-    (version "1.21.1")
+    (version "1.22.0")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://mupdf.com/downloads/archive/"
                            "mupdf-" version "-source.tar.lz"))
        (sha256
-        (base32 "0876sn5nd8vyw9d3d3bmripm119jy6734rs0ywppqzvccy839936"))
+        (base32 "0ghwam1c1izks1n2zq2pr8z67nvrx4njk5rla86b75l4pw58mmxy"))
        (modules '((guix build utils)))
        (snippet
         #~(begin
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#63193; Package guix-patches. (Sun, 30 Apr 2023 18:55:01 GMT) Full text and rfc822 format available.

Message #11 received at 63193 <at> debbugs.gnu.org (full text, mbox):

From: Timotej Lazar <timotej.lazar <at> araneo.si>
To: 63193 <at> debbugs.gnu.org
Cc: Timotej Lazar <timotej.lazar <at> araneo.si>
Subject: [PATCH 2/2] gnu: mupdf: Simplify snippet.
Date: Sun, 30 Apr 2023 20:53:54 +0200
* gnu/packages/pdf.scm (mupdf)[source]: Simplify code to remove unused
thirdparty libs.
---
 gnu/packages/pdf.scm | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 6c44952583..1608c49127 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -804,20 +804,17 @@ (define-public mupdf
                            "mupdf-" version "-source.tar.lz"))
        (sha256
         (base32 "0ghwam1c1izks1n2zq2pr8z67nvrx4njk5rla86b75l4pw58mmxy"))
-       (modules '((guix build utils)))
+       (modules '((guix build utils)
+                  (ice-9 ftw)
+                  (srfi srfi-1)))
        (snippet
-        #~(begin
-            ;; Remove bundled software.  Keep patched variants.
-            (let* ((keep (list "extract" "freeglut" "lcms2"))
-                   (from "thirdparty")
-                   (kept (string-append from "~temp")))
-              (mkdir-p kept)
-              (for-each (lambda (file)
-                          (rename-file (string-append from "/" file)
-                                       (string-append kept "/" file)))
-                        keep)
-              (delete-file-recursively from)
-              (rename-file kept from))))))
+        ;; Remove bundled software.  Keep patched variants.
+        #~(with-directory-excursion "thirdparty"
+            (let ((keep '("README" "extract" "freeglut" "lcms2")))
+              (for-each delete-file-recursively
+                        (lset-difference string=?
+                                         (scandir ".")
+                                         (cons* "." ".." keep))))))))
     (build-system gnu-build-system)
     (inputs
      (list curl
-- 
2.39.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 05 May 2023 22:06:02 GMT) Full text and rfc822 format available.

Notification sent to Timotej Lazar <timotej.lazar <at> araneo.si>:
bug acknowledged by developer. (Fri, 05 May 2023 22:06:02 GMT) Full text and rfc822 format available.

Message #16 received at 63193-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Timotej Lazar <timotej.lazar <at> araneo.si>
Cc: 63193-done <at> debbugs.gnu.org
Subject: Re: bug#63193: [PATCH 0/2] Update mupdf
Date: Sat, 06 May 2023 00:05:29 +0200
Hi,

Timotej Lazar <timotej.lazar <at> araneo.si> skribis:

>   gnu: mupdf: Update to 1.22.0.
>   gnu: mupdf: Simplify snippet.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 03 Jun 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 327 days ago.

Previous Next


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