[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: Add texlive-latex-pgf.
From: |
Pierre Neidhardt |
Subject: |
05/06: gnu: Add texlive-latex-pgf. |
Date: |
Fri, 19 Oct 2018 09:18:40 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit 17ef5f1ff9b9bdf1bd19cf21528713cb362a18b6
Author: Pierre Neidhardt <address@hidden>
Date: Fri Oct 19 15:16:40 2018 +0200
gnu: Add texlive-latex-pgf.
* gnu/packages/tex.scm (texlive-latex-pgf): New variable.
---
gnu/packages/tex.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 81c0feb..4f02014 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4620,3 +4620,60 @@ form and as the @code{\\emph} command), so as to make
output look as if it comes
from a typewriter. The package also offers double and wavy underlining, and
striking out (line through words) and crossing out (/// over words).")
(license license:lppl1.3c+)))
+
+(define-public texlive-latex-pgf
+ (package
+ (name "texlive-latex-pgf")
+ (version (number->string %texlive-revision))
+ (source
+ (origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "svn://www.tug.org/texlive/tags/"
+ %texlive-tag "/Master/texmf-dist/"
+ "/tex/latex/pgf"))
+ (revision %texlive-revision)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1dq8p10pz8wn0vx412m7d7d5gj1syxly3yqdqvf7lv2xl8zndn5h"))))
+ (build-system trivial-build-system)
+ (native-inputs
+ `(("texlive-latex-pgf-generic"
+ ,(origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "svn://www.tug.org/texlive/tags/"
+ %texlive-tag "/Master/texmf-dist/"
+ "/tex/generic/pgf"))
+ (revision %texlive-revision)))
+ (file-name (string-append "texlive-latex-pgf-generic" version
"-checkout"))
+ (sha256
+ (base32
+ "0xkxw26sjzr5npjpzpr28yygwdbhzpdd0hsk80gjpidhcxmz393i"))))))
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let ((target-generic (string-append (assoc-ref %outputs "out")
+
"/share/texmf-dist/tex/generic/pgf"))
+ (target-latex (string-append (assoc-ref %outputs "out")
+
"/share/texmf-dist/tex/latex/pgf")))
+ (mkdir-p target-generic)
+ (mkdir-p target-latex)
+ (copy-recursively (assoc-ref %build-inputs
"texlive-latex-pgf-generic") target-generic)
+ (copy-recursively (assoc-ref %build-inputs "source") target-latex)
+ #t))))
+ (home-page "https://www.ctan.org/pkg/tikz")
+ (synopsis "Create PostScript and PDF graphics in TeX")
+ (description
+ "PGF is a macro package for creating graphics. It is platform- and
+format-independent and works together with the most important TeX backend
+drivers, including pdfTeX and dvips. It comes with a user-friendly syntax
layer
+called TikZ.
+
+Its usage is similar to pstricks and the standard picture environment. PGF
+works with plain (pdf-)TeX, (pdf-)LaTeX, and ConTeXt. Unlike pstricks, it can
+produce either PostScript or PDF output.")
+ (license license:lppl1.3c+)))
- branch master updated (0fd874e -> e7b2937), Pierre Neidhardt, 2018/10/19
- 02/06: gnu: Add texlive-latex-needspace., Pierre Neidhardt, 2018/10/19
- 01/06: gnu: Add texlive-latex-ms., Pierre Neidhardt, 2018/10/19
- 03/06: gnu: Add texlive-latex-eukdate., Pierre Neidhardt, 2018/10/19
- 04/06: gnu: Add texlive-generic-ulem., Pierre Neidhardt, 2018/10/19
- 05/06: gnu: Add texlive-latex-pgf.,
Pierre Neidhardt <=
- 06/06: gnu: Add texlive-latex-koma-script., Pierre Neidhardt, 2018/10/19