gnu: Add texlive-lm.
* gnu/packages/tex.scm (texlive-lm): New variable. (texlive-fonts-lm): Deprecate package.
This commit is contained in:
		
							parent
							
								
									14a87760fa
								
							
						
					
					
						commit
						114a5d85aa
					
				
					 1 changed files with 18 additions and 26 deletions
				
			
		| 
						 | 
					@ -802,33 +802,22 @@ originals.")
 | 
				
			||||||
(define-public texlive-fonts-cm-super
 | 
					(define-public texlive-fonts-cm-super
 | 
				
			||||||
  (deprecated-package "texlive-fonts-cm-super" texlive-cm-super))
 | 
					  (deprecated-package "texlive-fonts-cm-super" texlive-cm-super))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public texlive-fonts-lm
 | 
					(define-public texlive-lm
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "texlive-fonts-lm")
 | 
					    (inherit (simple-texlive-package
 | 
				
			||||||
    (version "2.004")
 | 
					              "texlive-lm"
 | 
				
			||||||
    (source (origin
 | 
					              (list "/doc/fonts/lm/"
 | 
				
			||||||
              (method url-fetch)
 | 
					                    "/fonts/afm/public/lm/"
 | 
				
			||||||
              (uri (string-append "http://www.gust.org.pl/projects/e-foundry/"
 | 
					                    "/fonts/enc/dvips/lm/"
 | 
				
			||||||
                                  "latin-modern/download/lm" version "bas.zip"))
 | 
					                    "/fonts/map/dvipdfm/lm/"
 | 
				
			||||||
              (sha256
 | 
					                    "/fonts/map/dvips/lm/"
 | 
				
			||||||
 | 
					                    "/fonts/opentype/public/lm/"
 | 
				
			||||||
 | 
					                    "/fonts/tfm/public/lm/"
 | 
				
			||||||
 | 
					                    "/fonts/type1/public/lm/"
 | 
				
			||||||
 | 
					                    "/tex/latex/lm/")
 | 
				
			||||||
              (base32
 | 
					              (base32
 | 
				
			||||||
                "0z2s253y751m2ci5aw8nq0sf2kyg9hpimv2gyixkch9d07m2b9wp"))))
 | 
					               "0i1hwr8rp0jqyvs4qyplrirscd4w7lsgwsncyv3yzy80bsa56jq5")
 | 
				
			||||||
    (build-system trivial-build-system)
 | 
					              #:trivial? #t))
 | 
				
			||||||
    (arguments
 | 
					 | 
				
			||||||
     `(#:modules ((guix build utils))
 | 
					 | 
				
			||||||
       #:builder
 | 
					 | 
				
			||||||
       (begin
 | 
					 | 
				
			||||||
         (use-modules (guix build utils))
 | 
					 | 
				
			||||||
         (let ((root (string-append (assoc-ref %outputs "out")
 | 
					 | 
				
			||||||
                                    "/share/texmf-dist/")))
 | 
					 | 
				
			||||||
           (mkdir-p root)
 | 
					 | 
				
			||||||
           (with-directory-excursion root
 | 
					 | 
				
			||||||
             (invoke (string-append (assoc-ref %build-inputs "unzip")
 | 
					 | 
				
			||||||
                                    "/bin/unzip")
 | 
					 | 
				
			||||||
                     (assoc-ref %build-inputs "source")))
 | 
					 | 
				
			||||||
           #t))))
 | 
					 | 
				
			||||||
    (native-inputs
 | 
					 | 
				
			||||||
     `(("unzip" ,unzip)))
 | 
					 | 
				
			||||||
    (home-page "http://www.gust.org.pl/projects/e-foundry/latin-modern/")
 | 
					    (home-page "http://www.gust.org.pl/projects/e-foundry/latin-modern/")
 | 
				
			||||||
    (synopsis "Latin Modern family of fonts")
 | 
					    (synopsis "Latin Modern family of fonts")
 | 
				
			||||||
    (description "The Latin Modern fonts are derived from the famous Computer
 | 
					    (description "The Latin Modern fonts are derived from the famous Computer
 | 
				
			||||||
| 
						 | 
					@ -839,6 +828,9 @@ Computers & Typesetting series.")
 | 
				
			||||||
    ;; additional but not legally binding clause.
 | 
					    ;; additional but not legally binding clause.
 | 
				
			||||||
    (license license:lppl1.3c+)))
 | 
					    (license license:lppl1.3c+)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public texlive-fonts-lm
 | 
				
			||||||
 | 
					  (deprecated-package "texlive-fonts-lm" texlive-lm))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public texlive-fonts-knuth-lib
 | 
					(define-public texlive-fonts-knuth-lib
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "texlive-fonts-knuth-lib")
 | 
					    (name "texlive-fonts-knuth-lib")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue