[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/11: gnu: teximpatient: Update to 2.4-0.e3666ab.
From: |
guix-commits |
Subject: |
11/11: gnu: teximpatient: Update to 2.4-0.e3666ab. |
Date: |
Mon, 7 Nov 2022 14:52:11 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 2c1fc058c58c716575260170ff4f3cf9afbf24fb
Author: Morgan Smith <Morgan.J.Smith@outlook.com>
AuthorDate: Sun Nov 6 21:15:24 2022 -0500
gnu: teximpatient: Update to 2.4-0.e3666ab.
* gnu/packages/tex.scm (teximpatient): Update to 2.4-0.e3666ab.
[source]: Use git repository.
[native-inputs]: Add autoconf.
[arguments]: Make build reproducible.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/tex.scm | 94 +++++++++++++++++++++++++++++++---------------------
1 file changed, 56 insertions(+), 38 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9b0c4743cc..81f74f17df 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8211,46 +8211,64 @@ develop documents with LaTeX, in a single application.")
(license license:gpl2+)))
(define-public teximpatient
- (package
- (name "teximpatient")
- (version "2.4")
- (source (origin
- (method url-fetch/tarbomb)
- (uri (string-append "mirror://gnu/" name "/" name "-"
- version ".tar.gz"))
- (sha256
- (base32
- "0h56w22d99dh4fgld4ssik8ggnmhmrrbnrn1lnxi1zr0miphn1sd"))))
- (build-system gnu-build-system)
- (arguments
- `(#:tests? #f ; there are none
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-packaging-error
- (lambda* (#:key inputs #:allow-other-keys)
- ;; This file should have been part of the tarball.
- (install-file (car
- (find-files
- (assoc-ref inputs "automake")
- "^install-sh$"))
- ".")
- ;; Remove generated file.
- (delete-file "book.pdf")
- #t)))))
- (native-inputs
- `(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
- texlive-palatino
- texlive-zapfding
- texlive-knuth-lib
- texlive-mflogo-font
- texlive-pdftex)))
- ("automake" ,automake)))
- (home-page "https://www.gnu.org/software/teximpatient/")
- (synopsis "Book on TeX, plain TeX and Eplain")
- (description "@i{TeX for the Impatient} is a ~350 page book on TeX,
+ ;; The homepage seems to be distributing this version which is currently the
+ ;; most recent commit
+ (let ((commit "e3666abff186832fd9c467ceda3958058f30bac2")
+ (revision "0"))
+ (package
+ (name "teximpatient")
+ (version (git-version "2.4" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://git.savannah.gnu.org/git/teximpatient.git/")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0r30383nmly7w29il6v3vmilnnyrzak0x0qmabjvnpaga9ansjmi"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ;there are none
+ #:allowed-references ("out")
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'fix-build
+ (lambda* (#:key inputs #:allow-other-keys)
+ (chdir "teximpatient")
+
+ ;; Remove generated files
+ (for-each delete-file
+ '("book.pdf"
+ "book.aux"
+ "book.ccs"
+ "book.log"
+ "book.idx"
+ "config.log"
+ "config.status"
+ "configure"
+ "Makefile"))
+ (delete-file-recursively "autom4te.cache")
+
+ ;; make build reproducible
+ (substitute* "eplain.tex"
+ (("timestamp.*%")
+ (string-append "timestamp{"
+ ,version "}"))))))))
+ (native-inputs (list autoconf automake
+ (texlive-updmap.cfg (list texlive-amsfonts
+ texlive-palatino
+ texlive-zapfding
+ texlive-knuth-lib
+ texlive-mflogo-font
+ texlive-pdftex))))
+ (home-page "https://www.gnu.org/software/teximpatient/")
+ (synopsis "Book on TeX, plain TeX and Eplain")
+ (description
+ "@i{TeX for the Impatient} is a ~350 page book on TeX,
plain TeX, and Eplain, originally written by Paul Abrahams, Kathryn Hargreaves,
and Karl Berry.")
- (license license:fdl1.3+)))
+ (license license:fdl1.3+))))
(define-public lyx
(package
- branch master updated (b670dc6c8a -> 2c1fc058c5), guix-commits, 2022/11/07
- 02/11: gnu: Add siosocks., guix-commits, 2022/11/07
- 01/11: services: gitolite: Add local-code configuration option., guix-commits, 2022/11/07
- 07/11: gnu: Add avr-gdb., guix-commits, 2022/11/07
- 03/11: gnu: Add aioftp., guix-commits, 2022/11/07
- 04/11: gnu: Add pytest-socket., guix-commits, 2022/11/07
- 09/11: gnu: rlwrap: Update to 0.46.1., guix-commits, 2022/11/07
- 05/11: gnu: Add parfive., guix-commits, 2022/11/07
- 11/11: gnu: teximpatient: Update to 2.4-0.e3666ab.,
guix-commits <=
- 10/11: services: qemu-binfmt: Add x86_64 QEMU target., guix-commits, 2022/11/07
- 08/11: build-system/linux-module: Add #:source-directory to linux-module-build-cross., guix-commits, 2022/11/07
- 06/11: gnu: Add kconfig-hardened-check., guix-commits, 2022/11/07