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>
This commit is contained in:
		
							parent
							
								
									9ad311ec15
								
							
						
					
					
						commit
						2c1fc058c5
					
				
					 1 changed files with 56 additions and 38 deletions
				
			
		| 
						 | 
					@ -8211,46 +8211,64 @@ develop documents with LaTeX, in a single application.")
 | 
				
			||||||
    (license license:gpl2+)))
 | 
					    (license license:gpl2+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public teximpatient
 | 
					(define-public teximpatient
 | 
				
			||||||
  (package
 | 
					  ;; The homepage seems to be distributing this version which is currently the
 | 
				
			||||||
    (name "teximpatient")
 | 
					  ;; most recent commit
 | 
				
			||||||
    (version "2.4")
 | 
					  (let ((commit "e3666abff186832fd9c467ceda3958058f30bac2")
 | 
				
			||||||
    (source (origin
 | 
					        (revision "0"))
 | 
				
			||||||
              (method url-fetch/tarbomb)
 | 
					    (package
 | 
				
			||||||
              (uri (string-append "mirror://gnu/" name "/" name "-"
 | 
					      (name "teximpatient")
 | 
				
			||||||
                                  version ".tar.gz"))
 | 
					      (version (git-version "2.4" revision commit))
 | 
				
			||||||
              (sha256
 | 
					      (source (origin
 | 
				
			||||||
               (base32
 | 
					                (method git-fetch)
 | 
				
			||||||
                "0h56w22d99dh4fgld4ssik8ggnmhmrrbnrn1lnxi1zr0miphn1sd"))))
 | 
					                (uri (git-reference
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					                      (url
 | 
				
			||||||
    (arguments
 | 
					                       "https://git.savannah.gnu.org/git/teximpatient.git/")
 | 
				
			||||||
     `(#:tests? #f ; there are none
 | 
					                      (commit commit)))
 | 
				
			||||||
       #:phases
 | 
					                (file-name (git-file-name name version))
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					                (sha256
 | 
				
			||||||
         (add-after 'unpack 'fix-packaging-error
 | 
					                 (base32
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					                  "0r30383nmly7w29il6v3vmilnnyrzak0x0qmabjvnpaga9ansjmi"))))
 | 
				
			||||||
             ;; This file should have been part of the tarball.
 | 
					      (build-system gnu-build-system)
 | 
				
			||||||
             (install-file (car
 | 
					      (arguments
 | 
				
			||||||
                            (find-files
 | 
					       `(#:tests? #f ;there are none
 | 
				
			||||||
                             (assoc-ref inputs "automake")
 | 
					         #:allowed-references ("out")
 | 
				
			||||||
                             "^install-sh$"))
 | 
					         #:phases (modify-phases %standard-phases
 | 
				
			||||||
                           ".")
 | 
					                    (add-after 'unpack 'fix-build
 | 
				
			||||||
             ;; Remove generated file.
 | 
					                      (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (delete-file "book.pdf")
 | 
					                        (chdir "teximpatient")
 | 
				
			||||||
             #t)))))
 | 
					
 | 
				
			||||||
    (native-inputs
 | 
					                        ;; Remove generated files
 | 
				
			||||||
     `(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
 | 
					                        (for-each delete-file
 | 
				
			||||||
                                        texlive-palatino
 | 
					                                  '("book.pdf"
 | 
				
			||||||
                                        texlive-zapfding
 | 
					                                    "book.aux"
 | 
				
			||||||
                                        texlive-knuth-lib
 | 
					                                    "book.ccs"
 | 
				
			||||||
                                        texlive-mflogo-font
 | 
					                                    "book.log"
 | 
				
			||||||
                                        texlive-pdftex)))
 | 
					                                    "book.idx"
 | 
				
			||||||
       ("automake" ,automake)))
 | 
					                                    "config.log"
 | 
				
			||||||
    (home-page "https://www.gnu.org/software/teximpatient/")
 | 
					                                    "config.status"
 | 
				
			||||||
    (synopsis "Book on TeX, plain TeX and Eplain")
 | 
					                                    "configure"
 | 
				
			||||||
    (description "@i{TeX for the Impatient} is a ~350 page book on TeX,
 | 
					                                    "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,
 | 
					plain TeX, and Eplain, originally written by Paul Abrahams, Kathryn Hargreaves,
 | 
				
			||||||
and Karl Berry.")
 | 
					and Karl Berry.")
 | 
				
			||||||
    (license license:fdl1.3+)))
 | 
					      (license license:fdl1.3+))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public lyx
 | 
					(define-public lyx
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue