[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/102: gnu: Add texlive-hyphen-galician.
From: |
guix-commits |
Subject: |
38/102: gnu: Add texlive-hyphen-galician. |
Date: |
Mon, 15 Jul 2019 16:42:30 -0400 (EDT) |
rekado pushed a commit to branch wip-texlive
in repository guix.
commit 7bcc5274b5614dbacf0d27338e4f3d2be569dd9f
Author: Ricardo Wurmus <address@hidden>
Date: Sat Jul 13 12:55:48 2019 +0200
gnu: Add texlive-hyphen-galician.
* gnu/packages/tex.scm (texlive-hyphen-galician): New variable.
---
gnu/packages/tex.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9bf982f..3a193fe 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1727,6 +1727,54 @@ ASCII encodings.")
;; TODO
(license license:lppl)))
+(define-public texlive-hyphen-galician
+ (let ((template (texlive-hyphen-package
+ "texlive-hyphen-galician" "gl"
+ (list "/source/generic/hyph-utf8/languages/gl/README"
+ "/source/generic/hyph-utf8/languages/gl/glhybiox.tex"
+ "/source/generic/hyph-utf8/languages/gl/glhyextr.tex"
+ "/source/generic/hyph-utf8/languages/gl/glhymed.tex"
+ "/source/generic/hyph-utf8/languages/gl/glhyquim.tex"
+ "/source/generic/hyph-utf8/languages/gl/glhytec.tex"
+ "/source/generic/hyph-utf8/languages/gl/glhyxeog.tex"
+
"/source/generic/hyph-utf8/languages/gl/glpatter-utf8.tex")
+ (base32
+ "1yj1gxhkqqlyaand5gd6ij6xwffskryzlbcigdam3871a9p8x18w"))))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-before 'build 'build-patterns
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((tex (string-append (getcwd)
+
"/tex/generic/hyph-utf8/patterns/tex/")))
+ (mkdir-p tex)
+ (with-directory-excursion
"source/generic/hyph-utf8/languages/gl/"
+ (setenv "TEXINPUTS"
+ (string-append (getcwd) "//:"
+ (assoc-ref inputs
"texlive-mkpattern") "//"))
+ (invoke "tex" "-ini" "-8bit" "glpatter-utf8.tex")
+ (rename-file "hyph-gl.tex"
+ (string-append tex "/hyph-gl.tex"))
+ #t))))
+ (add-after 'install 'install-hyph-gl.tex
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (target (string-append out "/share/texmf-dist/tex")))
+ (copy-recursively "tex" target)
+ #t)))))))
+ (native-inputs
+ `(,@(package-native-inputs template)
+ ("texlive-bin" ,texlive-bin)
+ ("texlive-mkpattern" ,texlive-mkpattern)))
+ (synopsis "Hyphenation patterns for Galician")
+ (description "The package provides hyphenation patterns for Galician in
+T1/EC and UTF-8 encodings.")
+ ;; glhyextr.tex is the only file in the public domain.
+ (license (list license:lppl1.3 license:public-domain)))))
+
(define-public texlive-hyph-utf8
(package
(inherit (simple-texlive-package
- 21/102: gnu: Add texlive-hyphen-belarusian., (continued)
- 21/102: gnu: Add texlive-hyphen-belarusian., guix-commits, 2019/07/15
- 28/102: gnu: Add texlive-hyphen-czech., guix-commits, 2019/07/15
- 29/102: gnu: Add texlive-hyphen-danish., guix-commits, 2019/07/15
- 40/102: gnu: Add texlive-hyphen-german., guix-commits, 2019/07/15
- 32/102: gnu: Add texlive-hyphen-esperanto., guix-commits, 2019/07/15
- 35/102: gnu: Add texlive-hyphen-finnish., guix-commits, 2019/07/15
- 39/102: gnu: Add texlive-hyphen-georgian., guix-commits, 2019/07/15
- 47/102: gnu: Add texlive-hyphen-irish., guix-commits, 2019/07/15
- 14/102: gnu: texlive-fonts-cm: Use simple-texlive-package., guix-commits, 2019/07/15
- 30/102: gnu: Add texlive-hyphen-dutch., guix-commits, 2019/07/15
- 38/102: gnu: Add texlive-hyphen-galician.,
guix-commits <=
- 37/102: gnu: Add texlive-hyphen-friulan., guix-commits, 2019/07/15
- 36/102: gnu: Add texlive-hyphen-french., guix-commits, 2019/07/15
- 46/102: gnu: Add texlive-hyphen-interlingua., guix-commits, 2019/07/15
- 31/102: gnu: Add texlive-hyphen-english., guix-commits, 2019/07/15
- 33/102: gnu: Add texlive-hyphen-estonian., guix-commits, 2019/07/15
- 43/102: gnu: Add texlive-hyphen-icelandic., guix-commits, 2019/07/15
- 44/102: gnu: Add texlive-hyphen-indic., guix-commits, 2019/07/15
- 42/102: gnu: Add texlive-hyphen-hungarian., guix-commits, 2019/07/15
- 45/102: gnu: Add texlive-hyphen-indonesian., guix-commits, 2019/07/15
- 41/102: gnu: Add texlive-hyphen-greek., guix-commits, 2019/07/15