* [bug#63193] [PATCH 0/2] Update mupdf
@ 2023-04-30 18:51 Timotej Lazar
2023-04-30 18:53 ` [bug#63193] [PATCH 1/2] gnu: mupdf: Update to 1.22.0 Timotej Lazar
2023-05-05 22:05 ` bug#63193: [PATCH 0/2] Update mupdf Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Timotej Lazar @ 2023-04-30 18:51 UTC (permalink / raw)
To: 63193; +Cc: Timotej Lazar
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#63193] [PATCH 1/2] gnu: mupdf: Update to 1.22.0.
2023-04-30 18:51 [bug#63193] [PATCH 0/2] Update mupdf Timotej Lazar
@ 2023-04-30 18:53 ` Timotej Lazar
2023-04-30 18:53 ` [bug#63193] [PATCH 2/2] gnu: mupdf: Simplify snippet Timotej Lazar
2023-05-05 22:05 ` bug#63193: [PATCH 0/2] Update mupdf Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: Timotej Lazar @ 2023-04-30 18:53 UTC (permalink / raw)
To: 63193; +Cc: Timotej Lazar
* 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#63193] [PATCH 2/2] gnu: mupdf: Simplify snippet.
2023-04-30 18:53 ` [bug#63193] [PATCH 1/2] gnu: mupdf: Update to 1.22.0 Timotej Lazar
@ 2023-04-30 18:53 ` Timotej Lazar
0 siblings, 0 replies; 4+ messages in thread
From: Timotej Lazar @ 2023-04-30 18:53 UTC (permalink / raw)
To: 63193; +Cc: Timotej Lazar
* 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#63193: [PATCH 0/2] Update mupdf
2023-04-30 18:51 [bug#63193] [PATCH 0/2] Update mupdf Timotej Lazar
2023-04-30 18:53 ` [bug#63193] [PATCH 1/2] gnu: mupdf: Update to 1.22.0 Timotej Lazar
@ 2023-05-05 22:05 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2023-05-05 22:05 UTC (permalink / raw)
To: Timotej Lazar; +Cc: 63193-done
Hi,
Timotej Lazar <timotej.lazar@araneo.si> skribis:
> gnu: mupdf: Update to 1.22.0.
> gnu: mupdf: Simplify snippet.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-05-05 22:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-30 18:51 [bug#63193] [PATCH 0/2] Update mupdf Timotej Lazar
2023-04-30 18:53 ` [bug#63193] [PATCH 1/2] gnu: mupdf: Update to 1.22.0 Timotej Lazar
2023-04-30 18:53 ` [bug#63193] [PATCH 2/2] gnu: mupdf: Simplify snippet Timotej Lazar
2023-05-05 22:05 ` bug#63193: [PATCH 0/2] Update mupdf Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).