[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
75/110: gnu: Add texlive-ruhyphen.
From: |
guix-commits |
Subject: |
75/110: gnu: Add texlive-ruhyphen. |
Date: |
Tue, 23 Jul 2019 15:44:35 -0400 (EDT) |
rekado pushed a commit to branch wip-texlive
in repository guix.
commit 7070d86fd9143520573be44e6f46c573654801ce
Author: Ricardo Wurmus <address@hidden>
Date: Sat Jul 13 23:14:48 2019 +0200
gnu: Add texlive-ruhyphen.
* gnu/packages/tex.scm (texlive-ruhyphen): New variable.
---
gnu/packages/tex.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 4e2734d..52cc2c3 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -66,6 +66,7 @@
#:use-module (gnu packages ruby)
#:use-module (gnu packages shells)
#:use-module (gnu packages base)
+ #:use-module (gnu packages gawk)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
@@ -2512,6 +2513,45 @@ Ukrainian, depending on the encoding of the output font
including the standard
T2A.")
(license license:lppl)))
+(define-public texlive-ruhyphen
+ (let ((template (simple-texlive-package
+ "texlive-ruhyphen"
+ (list "/source/generic/ruhyphen/"
+ "/tex/generic/ruhyphen/")
+ (base32
+ "18n1bqhh8jv765vz3a3fjwffy7m71vhwx9yq8zl0p5j7p72q9qcn")
+ #:trivial? #t)))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (replace 'build
+ (lambda _
+ (let ((cwd (getcwd)))
+ ;; Remove generated files.
+ (for-each delete-file
+ (find-files "tex/generic/ruhyphen/"
+ "^cyry.*.tex$"))
+ (substitute* "source/generic/ruhyphen/Makefile"
+ (("./mkcyryo") (string-append cwd
"/source/generic/ruhyphen/mkcyryo")))
+ (with-directory-excursion "tex/generic/ruhyphen"
+ (invoke "make" "-f"
+ (string-append cwd
"/source/generic/ruhyphen/Makefile"))))))))))
+ (native-inputs
+ `(("coreutils" ,coreutils)
+ ("gawk" ,gawk)
+ ("sed" ,sed)
+ ("grep" ,grep)
+ ("perl" ,perl)))
+ (home-page "https://www.ctan.org/pkg/ruhyphen")
+ (synopsis "Hyphenation patterns for Russian")
+ (description "The package provides a collection of Russian hyphenation
+patterns supporting a number of Cyrillic font encodings, including T2,
+UCY (Omega Unicode Cyrillic), LCY, LWN (OT2), and koi8-r.")
+ (license license:lppl))))
+
(define-public texlive-latex-base
(let ((texlive-dir
(lambda (dir hash)
- 78/110: gnu: Add texlive-docstrip., (continued)
- 78/110: gnu: Add texlive-docstrip., guix-commits, 2019/07/23
- 80/110: gnu: Add texlive-mflogo-font., guix-commits, 2019/07/23
- 83/110: gnu: Add texlive-lm., guix-commits, 2019/07/23
- 85/110: gnu: Add texlive-graphics-def., guix-commits, 2019/07/23
- 90/110: gnu: Add texlive-pstool., guix-commits, 2019/07/23
- 70/110: gnu: Add texlive-hyphen-turkmen., guix-commits, 2019/07/23
- 69/110: gnu: Add texlive-hyphen-turkish., guix-commits, 2019/07/23
- 77/110: gnu: Add texlive-latexconfig., guix-commits, 2019/07/23
- 72/110: gnu: Add texlive-hyphen-uppersorbian., guix-commits, 2019/07/23
- 73/110: gnu: Add texlive-hyphen-welsh., guix-commits, 2019/07/23
- 75/110: gnu: Add texlive-ruhyphen.,
guix-commits <=
- 79/110: gnu: Add texlive-fontinst., guix-commits, 2019/07/23
- 82/110: gnu: texlive-fontname: Simplify., guix-commits, 2019/07/23
- 81/110: gnu: Add texlive-cm-super., guix-commits, 2019/07/23
- 84/110: gnu: Add texlive-epsf., guix-commits, 2019/07/23
- 87/110: gnu: texlive-latex-graphics: Simplify., guix-commits, 2019/07/23
- 86/110: gnu: Add texlive-graphics-cfg., guix-commits, 2019/07/23
- 89/110: gnu: Add texlive-filemod., guix-commits, 2019/07/23
- 88/110: gnu: Add texlive-url., guix-commits, 2019/07/23
- 91/110: gnu: Add texlive-seminar., guix-commits, 2019/07/23
- 99/110: gnu: Replace uses of texlive-*-amsfonts., guix-commits, 2019/07/23