[PATCH] gnu: teximpatient: Update to 2.4-0.e3666ab.

  • Done
  • quality assurance status badge
Details
2 participants
  • Morgan.J.Smith
  • Christopher Baines
Owner
unassigned
Submitted by
Morgan.J.Smith
Severity
normal

Debbugs page

Morgan.J.Smith wrote 2 years ago
(address . guix-patches@gnu.org)(name . Morgan Smith)(address . Morgan.J.Smith@outlook.com)
DM5PR03MB31634329FB04A46D0120D9F1C53C9@DM5PR03MB3163.namprd03.prod.outlook.com
From: Morgan Smith <Morgan.J.Smith@outlook.com>

* gnu/packages/tex.scm (teximpatient): Update to 2.4-0.e3666ab
[source]: Use git repository
[native-inputs]: Add autoconf
[arguments]: Make build reproducible
---
gnu/packages/tex.scm | 94 ++++++++++++++++++++++++++------------------
1 file changed, 56 insertions(+), 38 deletions(-)

Toggle diff (109 lines)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 7d41d16dd0..a44936ada9 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -8211,46 +8211,64 @@ (define-public texmaker
(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
--
2.38.0
Christopher Baines wrote 2 years ago
(address . Morgan.J.Smith@outlook.com)
87a652o7gl.fsf@cbaines.net
Morgan.J.Smith@outlook.com writes:

Toggle quote (10 lines)
> From: Morgan Smith <Morgan.J.Smith@outlook.com>
>
> * gnu/packages/tex.scm (teximpatient): Update to 2.4-0.e3666ab
> [source]: Use git repository
> [native-inputs]: Add autoconf
> [arguments]: Make build reproducible
> ---
> gnu/packages/tex.scm | 94 ++++++++++++++++++++++++++------------------
> 1 file changed, 56 insertions(+), 38 deletions(-)

I guess it's not ideal that there hasn't been release, but anyway,
thanks for taking the time to work on and update the package.

The changes seem reasonable to me, so I've pushed this to master as
2c1fc058c58c716575260170ff4f3cf9afbf24fb.

Thanks again,

Chris
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNpZTpfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xem8w//cXZtbgDQMJQ5ZCqi7+wx5kMuXuYJw83I
NothlPsKf1kWU/CpfVNBS2DfxbqY77MozXue8md4tjyKvMSiR/ODsd+kDuLR0zR0
LsSlD7Ua6GsvDpfaJPgHcAtNx+ieJJnqbcsliKOkG4t/7rrJW1ZlPq8GckOubOt5
Ivpz6uKs26BZhOMDVBYVwA1j5gHR51CVKlWuUY43ach/bREaX7rWVxnIgOHmHA6t
A4IWBVPXxx2x2aiTA+nLz1gKKk4jKi4abMZ51dRMdEcdhtEvh64jCiQgj4VSr8jL
kwOjmd83l2MH1THRjLRvANGUHLQGSBtxXX58e/vuU2tbEy1jql5KrvmuXxv1t60H
Qm4V52wPwSCl3QCD/aZz4nBpmqOyccssZ/FwQVYY2B8pmziOdAivJtqIKggKmPPA
tOG9DaEbiTYgMma7fCKUxA4TvmhJJE6aITq8X9U+fHUy85c518R8ZIOUtSzqxIwb
CoqqK0OT9tSb0616kG1s4Fvn15t7h/yfIdhn06PzF/M4w5T6+cq53u4nAenvYCHX
T2a72VzQzVfYruiyoAGj6eRziNigAqrNz6h6b8DjNiFCFPr6VS3S4GXCsJ2HwFL/
CmQQDImdO4nvwTP/JohGsa5dZXqYwWJvd20GVfxnEXyZx5paVX4ecaUK4C4dGWoB
HDqvtnEcho4=
=0JQN
-----END PGP SIGNATURE-----

?
Your comment

This issue is archived.

To comment on this conversation send an email to 59086@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 59086
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help