all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob c2f04547adf5ec82a9531b0769d0e94d7eec4145 4171 bytes (raw)
name: gnu/packages/perl-tex.scm 	 # note: path name is non-authoritative(*)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
 
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2024 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages perl-tex)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix gexp)
  #:use-module (guix download)
  #:use-module (guix build-system perl)
  #:use-module (gnu packages)
  #:use-module (gnu packages bash)
  #:use-module (gnu packages base)
  #:use-module (gnu packages mail)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages tex))

(define-public perl-arxiv
  (package
    (name "perl-arxiv")
    (version "1.01")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "mirror://cpan/authors/id/S/SI/SIMEON/arXiv-" version
                           ".tar.gz"))
       (sha256
        (base32 "0swcgkncc0vk220g5jwpz9j5zyg2995csklmfv09lhwxf6ndrin2"))))
    (build-system perl-build-system)
    (home-page "https://metacpan.org/release/arXiv")
    (synopsis "Utilities from arXiv.org")
    (description "This package contains perl modules with utility procedures
used by other perl software at arXiv.org, most notably AutoTeX.")
    (license license:perl-license)))

(define-public perl-tex-autotex
  (package
   (name "perl-tex-autotex")
   (version "0.906.0")
   (source
    (origin
     (method url-fetch)
     (uri (string-append
           "mirror://cpan/authors/id/T/TS/TSCHWAND/TeX-AutoTeX-v" version
           ".tar.gz"))
     (sha256
      (base32 "1iz64g0a22kb8h8gpkqrc9yxdyr3lvylznvlkpf2a9xanfjr5fki"))))
   (build-system perl-build-system)
   (arguments
    (list
     #:phases
     #~(modify-phases %standard-phases
         (add-after 'unpack 'patch-config
           (lambda* (#:key inputs #:allow-other-keys)
             (substitute* "lib/TeX/AutoTeX/Config.pm"
               (("(\\$DEFAULT_BRANCH[ ]*=).*;" all assign)
                ;; XXX: Get year or smth
                (string-append assign " 'texlive/guix';"))
               (("/opt/texlive/[0-9]*/bin/arch")
                (dirname (search-input-file inputs "/bin/tex")))
               (("^(\\$AUTOTEX_ENV_PATH[ ]*=).*;" all assign)
                (string-append assign " '"
                               (string-join
                                (map (lambda (bin)
                                       (dirname (search-input-file inputs bin)))
                                     '("/bin/sh"
                                       "/bin/sed"
                                       ;; coreutils
                                       "/bin/yes"))
                                ":")
                               "';"))
               (("/usr/bin/sendmail")
                (search-input-file inputs "/bin/sendmail"))))))))
   (inputs (list bash-minimal coreutils sed sendmail
                 texlive-scheme-basic))
   (propagated-inputs (list perl-arxiv perl-cam-pdf perl-class-accessor
                            perl-error))
   (native-inputs (list perl-module-build))
   (home-page "https://metacpan.org/release/TeX-AutoTeX")
   (synopsis "Automatically process (La-)TeX sources")
   (description "AutoTeX is the basis for arXiv's automatic (La-)TeX
processing.  The normal use is to point it at a directory with an assortment
of files in it, and the @code{process} method will attempt to generate DVI,
PostScript, or PDF from the input based on heuristics.  The resulting file(s)
remain in the same directory.")
   (license license:gpl3+)))

debug log:

solving c2f04547ad ...
found c2f04547ad in https://yhetil.org/guix/7a4a072fcc94161b25c4e1b6804aa5e3bd5aa204.1708211806.git.liliana.prikler@gmail.com/
found 315d34856f in https://yhetil.org/guix/24808bdbad7760f287615e15d5a1f698386185c3.1708211806.git.liliana.prikler@gmail.com/

applying [1/2] https://yhetil.org/guix/24808bdbad7760f287615e15d5a1f698386185c3.1708211806.git.liliana.prikler@gmail.com/
diff --git a/gnu/packages/perl-tex.scm b/gnu/packages/perl-tex.scm
new file mode 100644
index 0000000000..315d34856f


applying [2/2] https://yhetil.org/guix/7a4a072fcc94161b25c4e1b6804aa5e3bd5aa204.1708211806.git.liliana.prikler@gmail.com/
diff --git a/gnu/packages/perl-tex.scm b/gnu/packages/perl-tex.scm
index 315d34856f..c2f04547ad 100644

Checking patch gnu/packages/perl-tex.scm...
Applied patch gnu/packages/perl-tex.scm cleanly.
Checking patch gnu/packages/perl-tex.scm...
Applied patch gnu/packages/perl-tex.scm cleanly.

index at:
100644 c2f04547adf5ec82a9531b0769d0e94d7eec4145	gnu/packages/perl-tex.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.