* [bug#60343] [PATCH] gnu: latex2html: Update to 2022.2, use new package style.
@ 2022-12-26 20:55 kiasoc5 via Guix-patches via
2023-01-16 20:38 ` bug#60343: " Christopher Baines
0 siblings, 1 reply; 2+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-12-26 20:55 UTC (permalink / raw)
To: 60343; +Cc: kiasoc5
* gnu/packages/documentation.scm (latex2html): Update to 2022.2.
[arguments]: Use G-expressions. Remove trailing #t. Use #$output instead of
assoc-ref.
---
gnu/packages/documentation.scm | 41 ++++++++++++++++------------------
1 file changed, 19 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index 3ded8e1cac..f0cc10bc49 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -66,7 +66,7 @@ (define-module (gnu packages documentation)
(define-public latex2html
(package
(name "latex2html")
- (version "2020.2")
+ (version "2022.2")
(source
(origin
(method git-fetch)
@@ -76,29 +76,26 @@ (define-public latex2html
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1icyl6kl60wh7cavprgbd8q6lpjwr7wn24m34kpiif7ahknhcbcm"))))
+ (base32 "1z71anjzxy5jsdlaqba4w9spncc6iycldarnr2z1dq8xmk6yhpjn"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-configure
- (lambda* (#:key outputs #:allow-other-keys)
- (substitute* "configure"
- (("/usr/local")
- (assoc-ref outputs "out"))
- (("\\$\\{CONFIG_SHELL-/bin/sh\\}")
- (which "bash")))
- #t))
- (replace 'configure
- (lambda _
- (invoke "./configure")
- #t))
- (add-after 'configure 'patch-cfgcache
- (lambda* (#:key outputs #:allow-other-keys)
- (substitute* "cfgcache.pm"
- (("/usr/local")
- (assoc-ref outputs "out")))
- #t)))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "configure"
+ (("/usr/local")
+ #$output)
+ (("\\$\\{CONFIG_SHELL-/bin/sh\\}")
+ (which "bash")))))
+ (replace 'configure
+ (lambda _
+ (invoke "./configure")))
+ (add-after 'configure 'patch-cfgcache
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "cfgcache.pm"
+ (("/usr/local")
+ #$output)))))))
(inputs
(list perl))
(synopsis "LaTeX documents to HTML")
base-commit: 7c476873e0300711bf92668cf01abd28f7295ead
--
2.39.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#60343: [PATCH] gnu: latex2html: Update to 2022.2, use new package style.
2022-12-26 20:55 [bug#60343] [PATCH] gnu: latex2html: Update to 2022.2, use new package style kiasoc5 via Guix-patches via
@ 2023-01-16 20:38 ` Christopher Baines
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2023-01-16 20:38 UTC (permalink / raw)
To: kiasoc5; +Cc: guix-patches, 60343-done
[-- Attachment #1: Type: text/plain, Size: 452 bytes --]
kiasoc5 via Guix-patches via <guix-patches@gnu.org> writes:
> * gnu/packages/documentation.scm (latex2html): Update to 2022.2.
> [arguments]: Use G-expressions. Remove trailing #t. Use #$output instead of
> assoc-ref.
> ---
> gnu/packages/documentation.scm | 41 ++++++++++++++++------------------
> 1 file changed, 19 insertions(+), 22 deletions(-)
Looks good to me :) Pushed to master as
ab09e8e578480463bafd8e21451acf9dd6ddd74f.
Thanks,
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-16 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-26 20:55 [bug#60343] [PATCH] gnu: latex2html: Update to 2022.2, use new package style kiasoc5 via Guix-patches via
2023-01-16 20:38 ` bug#60343: " Christopher Baines
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).