[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
75/109: gnu: Add texlive-ruhyphen.
From: |
guix-commits |
Subject: |
75/109: gnu: Add texlive-ruhyphen. |
Date: |
Tue, 16 Jul 2019 08:22:50 -0400 (EDT) |
rekado pushed a commit to branch wip-texlive
in repository guix.
commit 31a84634ea1af6d06034e7af26b1d350e15885dc
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 f89b4a4..4a838d7 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)
@@ -2491,6 +2492,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)
- 80/109: gnu: Add texlive-mflogo-font., (continued)
- 80/109: gnu: Add texlive-mflogo-font., guix-commits, 2019/07/16
- 77/109: gnu: Add texlive-latexconfig., guix-commits, 2019/07/16
- 78/109: gnu: Add texlive-docstrip., guix-commits, 2019/07/16
- 74/109: gnu: Add texlive-ukrhyph., guix-commits, 2019/07/16
- 83/109: gnu: Add texlive-lm., guix-commits, 2019/07/16
- 65/109: gnu: Add texlive-hyphen-slovenian., guix-commits, 2019/07/16
- 71/109: gnu: Add texlive-hyphen-ukrainian., guix-commits, 2019/07/16
- 67/109: gnu: Add texlive-hyphen-swedish., guix-commits, 2019/07/16
- 73/109: gnu: Add texlive-hyphen-welsh., guix-commits, 2019/07/16
- 72/109: gnu: Add texlive-hyphen-uppersorbian., guix-commits, 2019/07/16
- 75/109: gnu: Add texlive-ruhyphen.,
guix-commits <=
- 76/109: gnu: Add texlive-etex., guix-commits, 2019/07/16
- 79/109: gnu: Add texlive-fontinst., guix-commits, 2019/07/16
- 81/109: gnu: Add texlive-cm-super., guix-commits, 2019/07/16
- 84/109: gnu: Add texlive-epsf., guix-commits, 2019/07/16
- 89/109: gnu: Add texlive-filemod., guix-commits, 2019/07/16
- 87/109: gnu: texlive-latex-graphics: Simplify., guix-commits, 2019/07/16
- 95/109: gnu: texlive-bin: Include scripts., guix-commits, 2019/07/16
- 86/109: gnu: Add texlive-graphics-cfg., guix-commits, 2019/07/16
- 100/109: gnu: texlive-fonts-ec: Update license URL., guix-commits, 2019/07/16
- 85/109: gnu: Add texlive-graphics-def., guix-commits, 2019/07/16