guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

434/435: gnu: Clear or deprecate hyphen-related texlive packages or func


From: guix-commits
Subject: 434/435: gnu: Clear or deprecate hyphen-related texlive packages or functions.
Date: Tue, 6 Jun 2023 11:40:39 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit eccce5f9b85d8385a7e9ce5756216803249aad7a
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Jun 5 21:27:22 2023 +0200

    gnu: Clear or deprecate hyphen-related texlive packages or functions.
    
    * gnu/packages/tex.scm (define-deprecated-package): Move near the top of the
    module so it can be called earlier.
    (hyph-utf8-scripts): Remove package.
    (texlive-hyphen-package): Remove function.
    (texlive-dehyph):
    (texlive-generic-dehyph-exptl):
    (texlive-generic-hyph-utf8):
    (texlive-hyphen-afrikaans):
    (texlive-hyphen-ancientgreek):
    (texlive-hyphen-armenian):
    (texlive-hyphen-basque):
    (texlive-hyphen-belarusian):
    (texlive-hyphen-bulgarian):
    (texlive-hyphen-catalan):
    (texlive-hyphen-chinese):
    (texlive-hyphen-churchslavonic):
    (texlive-hyphen-coptic):
    (texlive-hyphen-croatian):
    (texlive-hyphen-czech):
    (texlive-hyphen-danish):
    (texlive-hyphen-dutch):
    (texlive-hyphen-english):
    (texlive-hyphen-esperanto):
    (texlive-hyphen-estonian):
    (texlive-hyphen-ethiopic):
    (texlive-hyphen-finnish):
    (texlive-hyphen-french):
    (texlive-hyphen-friulan):
    (texlive-hyphen-galician):
    (texlive-hyphen-georgian):
    (texlive-hyphen-german):
    (texlive-hyphen-greek):
    (texlive-hyphen-hungarian):
    (texlive-hyphen-icelandic):
    (texlive-hyphen-indic):
    (texlive-hyphen-indonesian):
    (texlive-hyphen-interlingua):
    (texlive-hyphen-irish):
    (texlive-hyphen-italian):
    (texlive-hyphen-kurmanji):
    (texlive-hyphen-latin):
    (texlive-hyphen-latvian):
    (texlive-hyphen-lithuanian):
    (texlive-hyphen-macedonian):
    (texlive-hyphen-mongolian):
    (texlive-hyphen-norwegian):
    (texlive-hyphen-occitan):
    (texlive-hyphen-pali):
    (texlive-hyphen-piedmontese):
    (texlive-hyphen-polish):
    (texlive-hyphen-portuguese):
    (texlive-hyphen-romanian):
    (texlive-hyphen-romansh):
    (texlive-hyphen-russian):
    (texlive-hyphen-sanskrit):
    (texlive-hyphen-schoolfinnish):
    (texlive-hyphen-serbian):
    (texlive-hyphen-slovak):
    (texlive-hyphen-slovenian):
    (texlive-hyphen-spanish):
    (texlive-hyphen-swedish):
    (texlive-hyphen-thai):
    (texlive-hyphen-turkish):
    (texlive-hyphen-turkmen):
    (texlive-hyphen-ukrainian):
    (texlive-hyphen-uppersorbian):
    (texlive-hyphen-welsh):
    (texlive-ruhyphen):
    (texlive-ukrhyph): Deprecate package.
    * gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch: Delete file.
    * gnu/local.mk (dist_patch_DATA): Unregister it.
---
 gnu/local.mk                                       |    1 -
 .../patches/texlive-hyph-utf8-no-byebug.patch      |   13 -
 gnu/packages/tex.scm                               | 1221 ++------------------
 3 files changed, 76 insertions(+), 1159 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index df294564df..6f74b0136c 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1952,7 +1952,6 @@ dist_patch_DATA =                                         
\
   %D%/packages/patches/telegram-purple-adjust-test.patch       \
   %D%/packages/patches/texi2html-document-encoding.patch       \
   %D%/packages/patches/texi2html-i18n.patch                    \
-  %D%/packages/patches/texlive-hyph-utf8-no-byebug.patch       \
   %D%/packages/patches/thefuck-test-environ.patch              \
   %D%/packages/patches/tidy-CVE-2015-5522+5523.patch           \
   %D%/packages/patches/timewarrior-time-sensitive-tests.patch  \
diff --git a/gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch 
b/gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch
deleted file mode 100644
index fb29b76ef2..0000000000
--- a/gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Description: Avoid dependency on byebug to reduce package closure
-  significantly, see https://issues.guix.gnu.org/55997
-diff --git a/lib/tex/hyphen/language.rb b/lib/tex/hyphen/language.rb
-index 12831417..df6daa39 100644
---- a/lib/tex/hyphen/language.rb
-+++ b/lib/tex/hyphen/language.rb
-@@ -1,6 +1,5 @@
- require 'yaml'
- require 'hydra'
--require 'byebug'
- 
- require_relative 'path'
- 
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 1ac2460fb5..55b88635c2 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -103,89 +103,10 @@
   #:use-module (ice-9 match)
   #:use-module ((srfi srfi-1) #:hide (zip)))
 
-(define hyph-utf8-scripts
-  (origin
-    (method svn-fetch)
-    (uri (texlive-ref "generic" "hyph-utf8"))
-    (file-name (string-append "hyph-utf8-scripts-"
-                              (number->string %texlive-revision)
-                              "-checkout"))
-    (patches (search-patches "texlive-hyph-utf8-no-byebug.patch"))
-    (sha256
-     (base32
-      "04xzf5gr3ylyh3ls09imrx4mwq3qp1k97r9njzlan6hlff875rx2"))))
-
-(define (texlive-hyphen-package name code locations hash)
-  "Return a TeX Live hyphenation package with the given NAME, using source
-files from LOCATIONS with expected checksum HASH.  CODE is not currently in
-use."
-  (package
-    (name name)
-    (version (number->string %texlive-revision))
-    (source (texlive-origin name version location hash))
-    (build-system texlive-build-system)
-    (arguments
-     (list
-      #:texlive-latex-base #f
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'build
-            (lambda* (#:key inputs #:allow-other-keys)
-              (let* ((root (string-append #$output "/share/texmf-dist"))
-                     (patterns
-                      (string-append root 
"/tex/generic/hyph-utf8/patterns/txt/"))
-                     (loaders
-                      (string-append root "/tex/generic/hyph-utf8/loadhyph"))
-                     (ptex
-                      (string-append root 
"/tex/generic/hyph-utf8/patterns/ptex"))
-                     (quote
-                      (string-append root 
"/tex/generic/hyph-utf8/patterns/quote")))
-                (mkdir "scripts")
-                (copy-recursively
-                 (dirname (search-input-file inputs "hyph-utf8.rb"))
-                 "scripts")
-
-                ;; Prepare target directories
-                (mkdir-p patterns)
-                (mkdir-p loaders)
-                (mkdir-p ptex)
-                (mkdir-p quote)
-
-                ;; Generate plain patterns
-                (with-directory-excursion "scripts"
-                  (substitute* "lib/tex/hyphen/path.rb"
-                    (("^([[:blank:]]+)TeXROOT = .*" _ indent)
-                     (string-append indent "TeXROOT = \""
-                                    (getcwd) "/..\"\n")))
-
-                  (substitute* "generate-plain-patterns.rb"
-                    ;; Ruby 2 does not need this.
-                    (("require 'unicode'") "")
-                    ;; Write directly to the output directory
-                    (("File\\.join\\(PATH::TXT")
-                     (string-append "File.join(\"" patterns "\""))
-                    (("File\\.join\\(PATH::QUOTE")
-                     (string-append "File.join(\"" quote "\"")))
-                  (invoke "ruby" "generate-plain-patterns.rb")
-
-                  ;; Build pattern loaders
-                  (substitute* "generate-pattern-loaders.rb"
-                    (("File\\.join\\(PATH::LOADER")
-                     (string-append "File.join(\"" loaders "\"")))
-
-                  (invoke "ruby" "generate-pattern-loaders.rb")
-
-                  ;; Build ptex patterns
-                  (substitute* "generate-ptex-patterns.rb"
-                    (("File\\.join\\(PATH::PTEX")
-                     (string-append "File.join(\"" ptex "\"")))
-                  (invoke "ruby" "generate-ptex-patterns.rb"))))))))
-    (native-inputs
-     (list hyph-utf8-scripts ruby ruby-hydra-minimal))
-    (home-page "https://ctan.org/pkg/hyph-utf8";)
-    (synopsis #f)
-    (description #f)
-    (license #f)))
+(define-syntax-rule (define-deprecated-package old-name name)
+  "Define OLD-NAME as a deprecated package alias for NAME."
+  (define-deprecated/public old-name name
+    (deprecated-package (symbol->string 'old-name) name)))
 
 (define-public texlive-hyphen-complete
   (package
@@ -338,8 +259,78 @@ and should be preferred to it whenever a package would 
otherwise depend on
             "Ancestral BSD variant")
            (license:non-copyleft
             "file:///tex/generic/hyph-utf8/patterns/tex/hyph-en-us.tex"
-            "FSF all permissive license")))))
-
+            "FSF all permissive license")
+           (license:non-copyleft
+            "/tex/generic/hyph-utf8/patterns/tex/hyph-no.tex"
+            "FSF All permissive license")
+           (license:non-copyleft
+            "file:///tex/generic/hyph-utf8/patterns/tex/hyph-sa.tex")))))
+
+(define-deprecated-package texlive-dehyph texlive-hyphen-complete)
+(define-deprecated-package texlive-generic-dehyph-exptl 
texlive-hyphen-complete)
+(define-deprecated-package texlive-generic-hyph-utf8 texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-afrikaans texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-ancientgreek texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-armenian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-basque texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-belarusian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-bulgarian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-catalan texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-chinese texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-churchslavonic 
texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-coptic texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-croatian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-czech texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-danish texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-dutch texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-english texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-esperanto texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-estonian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-ethiopic texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-finnish texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-french texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-friulan texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-galician texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-georgian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-german texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-greek texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-hungarian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-icelandic texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-indic texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-indonesian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-interlingua texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-irish texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-italian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-kurmanji texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-latin texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-latvian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-lithuanian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-macedonian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-mongolian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-norwegian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-occitan texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-pali texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-piedmontese texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-polish texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-portuguese texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-romanian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-romansh texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-russian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-sanskrit texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-schoolfinnish 
texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-serbian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-slovak texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-slovenian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-spanish texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-swedish texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-thai texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-turkish texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-turkmen texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-ukrainian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-uppersorbian texlive-hyphen-complete)
+(define-deprecated-package texlive-hyphen-welsh texlive-hyphen-complete)
+(define-deprecated-package texlive-ruhyphen texlive-hyphen-complete)
+(define-deprecated-package texlive-ukrhyph texlive-hyphen-complete)
 
 (define texlive-extra-src
   (origin
@@ -838,11 +829,6 @@ includes adaptations for use with many other commonly-used 
packages.")
 from a list of user-specified directories similar to how shells look up
 executables.  It is maintained as a part of TeX Live.")))
 
-(define-syntax-rule (define-deprecated-package old-name name)
-  "Define OLD-NAME as a deprecated package alias for NAME."
-  (define-deprecated/public old-name name
-    (deprecated-package (symbol->string 'old-name) name)))
-
 (define-public texlive-alphalph
   (package
     (name "texlive-alphalph")
@@ -2053,1061 +2039,6 @@ Adobe's basic set.")
     ;; No license version specified.
     (license license:gpl3+)))
 
-(define-public texlive-hyphen-afrikaans
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-afrikaans" "af"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-af.tex")
-              (base32
-               "1k9k27a27bbrb0gz36191w32l2v6d3zbdh8zhrp4l3ild2pj3n4l")))
-    (synopsis "Hyphenation patterns for Afrikaans")
-    (description "The package provides hyphenation patterns for the Afrikaans
-language.")
-    (license license:lppl1.3+)))
-
-(define-public texlive-hyphen-ancientgreek
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-ancientgreek" "grc"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-grc.tex"
-                    "/tex/generic/hyphen/grahyph5.tex"
-                    "/tex/generic/hyphen/ibyhyph.tex")
-              (base32
-               "01326lb6z0s8krcfgs8i1pnjfrm4gr33rc53gy80f63qbv4ssxrw")))
-    (synopsis "Hyphenation patterns for ancient Greek")
-    (description "The package provides hyphenation patterns for ancient
-Greek.")
-    (license license:lppl1.3+)))
-
-(define-public texlive-hyphen-armenian
-  (let ((template (texlive-hyphen-package
-                   "texlive-hyphen-armenian" "hy"
-                   (list "/tex/generic/hyph-utf8/patterns/tex/hyph-hy.tex")
-                   (base32
-                    "0hzny0npynsb07syxrpbfa5pkpj8r0j51pj64yxyfl1c0bak1fwp"))))
-    (package
-      (inherit template)
-      (synopsis "Hyphenation patterns for Armenian")
-      (description "The package provides hyphenation patterns for the Armenian
-language.")
-      ;; Any version of the LGPL.
-      (license license:lgpl3+))))
-
-(define-public texlive-hyphen-basque
-  (let ((template (texlive-hyphen-package
-                    "texlive-hyphen-basque" "eu"
-                    (list "/tex/generic/hyph-utf8/patterns/tex/hyph-eu.tex")
-                    (base32
-                     "15w969g1jqzn68l2b2lzf7iv7g3kil02aba3if6cag3qcnq92ra9"))))
-    (package
-      (inherit template)
-      (synopsis "Hyphenation patterns for Basque")
-      (description "The package provides hyphenation patterns for the Basque
-language.")
-      ;; Similar to Unicode license.
-      (license (license:fsf-free
-                "/tex/generic/hyph-utf8/patterns/tex/hyph-eu.tex")))))
-
-(define-public texlive-hyphen-belarusian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-belarusian" "be"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-be.tex")
-              (base32
-               "0ppm12wndaxv9da62dwkbnk7w9nijikn6jkc97m76xis338g2h02")))
-    (synopsis "Hyphenation patterns for Belarusian")
-    (description "The package provides hyphenation patterns for the Belarusian
-language.")
-    (license license:expat)))
-
-(define-public texlive-hyphen-bulgarian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-bulgarian" "bg"
-              '("/tex/generic/hyph-utf8/patterns/tex/hyph-bg.tex")
-              (base32
-               "0m254y71j3qrb71klvfalfmic3kjy31l85b9cgpdm5yznlsq3i8d")))
-    (synopsis "Hyphenation patterns for Bulgarian")
-    (description "The package provides hyphenation patterns for the Bulgarian
-language in T2A and UTF-8 encodings.")
-    (license (license:non-copyleft
-              "file:///tex/generic/hyph-utf8/patterns/tex/hyph-bg.tex"
-              "Ancestral BSD variant"))))
-
-(define-public texlive-hyphen-catalan
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-catalan" "ca"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-ca.tex")
-              (base32
-               "10zzlfz5v8d9csg85ibpp2vfvmpqa56vbl85qy5gws099vygpayg")))
-    (synopsis "Hyphenation patterns for Catalan")
-    (description "The package provides hyphenation patterns for Catalan in
-T1/EC and UTF-8 encodings.")
-    (license license:lppl1.0+)))
-
-(define-public texlive-hyphen-chinese
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-chinese" "zh-latn-pinyin"
-              
'("/tex/generic/hyph-utf8/patterns/ptex/hyph-zh-latn-pinyin.ec.tex"
-                "/tex/generic/hyph-utf8/patterns/tex/hyph-zh-latn-pinyin.tex")
-              (base32
-               "1hhh30hcjymm2igpllly04cavsfmd6xrjkd9zax6b2wdxn3ka4pm")))
-    (synopsis "Hyphenation patterns for unaccented Chinese pinyin")
-    (description "The package provides hyphenation patterns for unaccented
-Chinese pinyin T1/EC and UTF-8 encodings.")
-    (license license:gpl2+)))
-
-(define-public texlive-hyphen-churchslavonic
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-churchslavonic" "cu"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-cu.tex")
-              (base32
-               "0fhbwaapq2213msbhgr0d1lw06ihmrqirxj092mn73d8ynl13qlh")))
-    (synopsis "Hyphenation patterns for Church Slavonic")
-    (description "The package provides hyphenation patterns for Church
-Slavonic in UTF-8 encoding.")
-    (license license:expat)))
-
-(define-public texlive-hyphen-coptic
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-coptic" "cop"
-              (list "/tex/generic/hyph-utf8/patterns/tex-8bit/copthyph.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-cop.tex")
-              (base32
-               "1jlxxvyfa2aljizaa3qlcxyhqsrb4dawv3q3fbyp2lxz6ag9fy6m")))
-    (synopsis "Hyphenation patterns for Coptic")
-    (description "The package provides hyphenation patterns for Coptic in
-UTF-8 encoding as well as in ASCII-based encoding for 8-bit engines.")
-    ;; No explicit license declaration, so we use the project license.
-    (license license:lppl)))
-
-(define-public texlive-hyphen-croatian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-croatian" "hr"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-hr.tex")
-              (base32
-               "12n9r2winai15jc622sqdwclgcs1s68r6vcf7ic8vvq0x9qhwc5v")))
-    (synopsis "Hyphenation patterns for Croatian")
-    (description "The package provides hyphenation patterns for Croatian in
-T1/EC and UTF-8 encodings.")
-    (license license:lppl1.0+)))
-
-(define-public texlive-hyphen-czech
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-czech" "cs"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-cs.tex")
-              (base32
-               "1q37s6p8yfyi3rp1azbz421lg4lr4aiki8m631i4x9rmps89m8iq")))
-    (synopsis "Hyphenation patterns for Czech")
-    (description "The package provides hyphenation patterns for Czech in T1/EC
-and UTF-8 encodings.")
-    (license license:gpl2+)))
-
-(define-public texlive-hyphen-danish
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-danish" "da"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-da.tex")
-              (base32
-               "1vj8nip64rzcrcg3skm4vqad1ggqwgan74znrdns610wjcm1z9qd")))
-    (synopsis "Hyphenation patterns for Danish")
-    (description "The package provides hyphenation patterns for Danish in
-T1/EC and UTF-8 encodings.")
-    ;; Either LPPL 1.3 or later, or Expat
-    (license (list license:lppl1.3+ license:expat))))
-
-(define-public texlive-hyphen-dutch
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-dutch" "nl"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-nl.tex")
-              (base32
-               "1bg9g790ksq5cn8qihai6pacmkp9vpf35h4771z361nvwa40l8yk")))
-    (synopsis "Hyphenation patterns for Dutch")
-    (description "The package provides hyphenation patterns for Dutch in T1/EC
-and UTF-8 encodings.")
-    (license license:lppl1.0+)))
-
-(define-public texlive-hyphen-english
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-english" '("en-gb" "en-us")
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-en-gb.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-en-us.tex")
-              (base32
-               "08b3jihjaamcl1pvffi0s47nwavkm66l9mrrmby3l32dfpkprrc5")))
-    (synopsis "Hyphenation patterns for American and British English")
-    (description "The package provides additional hyphenation patterns for
-American and British English in ASCII encoding.")
-    (license (license:non-copyleft
-              "file:///tex/generic/hyph-utf8/patterns/tex/hyph-en-us.tex"
-              "FSF all permissive license"))))
-
-(define-public texlive-hyphen-esperanto
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-esperanto" "eo"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-eo.tex")
-              (base32
-               "1503kzn9bk4mm4ba35cka2hm8rz0v3j5l30v5rrsd4rqgpibcgic")))
-    (synopsis "Hyphenation patterns for Esperanto")
-    (description "The package provides hyphenation patterns for Esperanto ISO
-Latin 3 and UTF-8 encodings.")
-    (license license:lppl1.0+)))
-
-(define-public texlive-hyphen-estonian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-estonian" "et"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-et.tex")
-              (base32
-               "1rdas2450ib02rwy65i69l86nyc9h15bl07xbbwhmhxfnj8zj4v8")))
-    (synopsis "Hyphenation patterns for Estonian")
-    (description "The package provides hyphenation patterns for Estonian in
-T1/EC and UTF-8 encodings.")
-    ;; Dual licensed under either license.
-    (license (list license:lppl1.3+ license:expat))))
-
-(define-public texlive-hyphen-ethiopic
-  (let ((template (texlive-hyphen-package
-                   "texlive-hyphen-ethiopic" "mul-ethi"
-                   (list 
"/tex/generic/hyph-utf8/patterns/tex/hyph-mul-ethi.tex")
-                   (base32
-                    "1b93fc6j4aybh0pgq23hsn1njm6asf7sfz803fbj3ai0whsxd10l"))))
-    (package
-      (inherit template)
-      (synopsis "Hyphenation patterns for Ethiopic scripts")
-      (description "The package provides hyphenation patterns for languages
-written using the Ethiopic script for Unicode engines.  They are not supposed
-to be linguistically relevant in all cases and should, for proper typography,
-be replaced by files tailored to individual languages.")
-      (license license:expat))))
-
-(define-public texlive-hyphen-finnish
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-finnish" "fi"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-fi.tex")
-              (base32
-               "1pa8sjs9zvnv1y6dma4s60sf9cr4zrvhxwm6i8cnshm84q16w4bc")))
-    (synopsis "Hyphenation patterns for Finnish")
-    (description "The package provides hyphenation patterns for Finnish in
-T1/EC and UTF-8 encodings.")
-    (license license:public-domain)))
-
-(define-public texlive-hyphen-schoolfinnish
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-schoolfinnish" "fi-x-school"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-fi-x-school.tex")
-              (base32
-               "1w5n6gaclgifbbnafg32vz3mfaibyldvh4yh1ya3sq9fwfmv035c")))
-    (synopsis "Hyphenation patterns for Finnish for school")
-    (description "The package provides hyphenation patterns for Finnish for
-school in T1/EC and UTF-8 encodings.")
-    (license license:public-domain)))
-
-(define-public texlive-hyphen-french
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-french" "fr"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-fr.tex")
-              (base32
-               "0jc3kqys6cxjw8x8pzjln7z78l8s7f5rlyrkv7dzr1kiwnwilk9d")))
-    (synopsis "Hyphenation patterns for French")
-    (description "The package provides hyphenation patterns for French in
-T1/EC and UTF-8 encodings.")
-    (license license:expat)))
-
-(define-public texlive-hyphen-friulan
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-friulan" "fur"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-fur.tex")
-              (base32
-               "1dlnh8slpf50mryxv7zzbx08xp54zkdfs1j7y37ipwbrajvd740f")))
-    (synopsis "Hyphenation patterns for Friulan")
-    (description "The package provides hyphenation patterns for Friulan in
-ASCII encodings.")
-    (license license:lppl1.3+)))
-
-(define-public texlive-hyphen-galician
-  (let ((template (texlive-hyphen-package
-                   "texlive-hyphen-galician" "gl"
-                   (list "/tex/generic/hyph-utf8/patterns/tex/hyph-gl.tex")
-                   (base32
-                    "13zx2r3nrxdr025g2lxrph0ga6wf7cs8dxixn4fhbl6xr1cx028g"))))
-    (package
-      (inherit template)
-      (synopsis "Hyphenation patterns for Galician")
-      (description "The package provides hyphenation patterns for Galician in
-T1/EC and UTF-8 encodings.")
-      (license license:lppl1.3))))
-
-(define-public texlive-hyphen-georgian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-georgian" "ka"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-ka.tex")
-              (base32
-               "0l0hk7ka04fr8x11nnw95x151cxyycy0fph772m3a3p8qk4x9wp7")))
-    (synopsis "Hyphenation patterns for Georgian")
-    (description "The package provides hyphenation patterns for Georgian in
-T8M, T8K, and UTF-8 encodings.")
-    (license license:lppl1.3+)))
-
-(define-public texlive-hyphen-german
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-german" '("de-1901" "de-1996" "de-ch-1901")
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-de-1901.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-de-1996.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-de-ch-1901.tex"
-                    "/tex/generic/dehyph/dehyphn.tex"
-                    "/tex/generic/dehyph/dehypht.tex"
-                    "/tex/generic/dehyph/dehyphtex.tex"
-                    "/tex/generic/dehyph/README")
-              (base32
-               "17cc5hd0fr3ykpgly9nxaiz4sik3kmfn2wyxz1fkdnqqhl3i41a0")))
-    (synopsis "Hyphenation patterns for German")
-    (description "This package provides hyphenation patterns for German in
-T1/EC and UTF-8 encodings, for traditional and reformed spelling, including
-Swiss German.")
-    ;; The patterns are released under the Expat license; the dehyph* files
-    ;; are released under the LPPL version 1 or later.
-    (license (list license:expat license:lppl1.0+))))
-
-(define-public texlive-hyphen-greek
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-greek" '("el-monoton" "el-polyton")
-              (list "/doc/generic/elhyphen/"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-el-monoton.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-el-polyton.tex"
-                    "/tex/generic/hyphen/grmhyph5.tex"
-                    "/tex/generic/hyphen/grphyph5.tex")
-              (base32
-               "1qyr6m1nh6d4wj68616cfxv4wjpiy1w2rlldxlx2ajzba381w3hf")))
-    (synopsis "Hyphenation patterns for Greek")
-    (description "This package provides hyphenation patterns for Modern Greek
-in monotonic and polytonic spelling in LGR and UTF-8 encodings.")
-    (license license:lppl)))
-
-(define-public texlive-hyphen-hungarian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-hungarian" "hu"
-              (list "/doc/generic/huhyphen/"
-                    "/doc/generic/hyph-utf8/languages/hu/"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-hu.tex")
-              (base32
-               "006d2290lcsqzh9ljansbaj9k52s17zgkw0kpsspn5l7a8n00zcl")))
-    (synopsis "Hyphenation patterns for Hungarian")
-    (description "This package provides hyphenation patterns for Hungarian in
-T1/EC and UTF-8 encodings.")
-    ;; Any of these licenses
-    (license (list license:gpl2 license:lgpl2.1+ license:mpl1.1))))
-
-(define-public texlive-hyphen-icelandic
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-icelandic" "is"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-is.tex")
-              (base32
-               "1m9xj41csj3ldym09d82zjbd3345sg2z10d8pxpvhgibf97mb66h")))
-    (synopsis "Hyphenation patterns for Icelandic")
-    (description "This package provides hyphenation patterns for Icelandic in
-T1/EC and UTF-8 encodings.")
-    (license license:lppl1.2+)))
-
-(define-public texlive-hyphen-indic
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-indic"
-              '("as" "bn" "gu" "hi" "kn" "ml" "mr" "or" "pa" "ta" "te")
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-as.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-bn.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-gu.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-hi.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-kn.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-ml.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-mr.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-or.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-pa.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-ta.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-te.tex")
-              (base32
-               "02d2kcd3lpk95fykjwhzw9s2a1s2w1skz8h2mmszrz979d1xzhpm")))
-    (synopsis "Indic hyphenation patterns")
-    (description "This package provides hyphenation patterns for Assamese,
-Bengali, Gujarati, Hindi, Kannada, Malayalam, Marathi, Oriya, Panjabi, Tamil
-and Telugu for Unicode engines.")
-    (license license:expat)))
-
-(define-public texlive-hyphen-indonesian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-indonesian" "id"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-id.tex")
-              (base32
-               "1r62w02rf0i4z0jgij54d16qjbj0zyfwm9dwdkqka76jrivij83q")))
-    (synopsis "Indonesian hyphenation patterns")
-    (description "This package provides hyphenation patterns for
-Indonesian (Bahasa Indonesia) in ASCII encoding.  They are probably also
-usable for Malay (Bahasa Melayu).")
-    (license license:gpl2)))
-
-(define-public texlive-hyphen-interlingua
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-interlingua" "ia"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-ia.tex")
-              (base32
-               "0a9na20vjnzhgjbicaxay0jk4rm5zg1rjyiswr377mjhd9mx5cg3")))
-    (synopsis "Interlingua hyphenation patterns")
-    (description "This package provides hyphenation patterns for Interlingua
-in ASCII encoding.")
-    (license license:lppl1.3+)))
-
-(define-public texlive-hyphen-irish
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-irish" "ga"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-ga.tex")
-              (base32
-               "1h1l9jzkpsb91nyhz6s6c9jfrbz8jx5ip8vyq3dkz0rl6g960i6b")))
-    (synopsis "Irish hyphenation patterns")
-    (description "This package provides hyphenation patterns for
-Irish (Gaeilge) in T1/EC and UTF-8 encodings.")
-    ;; Either of these licenses
-    (license (list license:gpl2+ license:expat))))
-
-(define-public texlive-hyphen-italian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-italian" "it"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-it.tex")
-              (base32
-               "03c7jiqslfxvl3gbdx79hggbvrfi2l4z2bnwxc0na8f8lkp1m787")))
-    (synopsis "Italian hyphenation patterns")
-    (description "This package provides hyphenation patterns for Italian in
-ASCII encoding.  Compliant with the Recommendation UNI 6461 on hyphenation
-issued by the Italian Standards Institution (Ente Nazionale di Unificazione
-UNI).")
-    (license license:lppl1.3+)))
-
-(define-public texlive-hyphen-kurmanji
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-kurmanji" "kmr"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-kmr.tex")
-              (base32
-               "01ylbsi5wymrdrxr9b28nmjmcj72mdhqr657lwsb6m9aj33c9ql6")))
-    (synopsis "Kurmanji hyphenation patterns")
-    (description "This package provides hyphenation patterns for
-Kurmanji (Northern Kurdish) as spoken in Turkey and by the Kurdish diaspora in
-Europe, in T1/EC and UTF-8 encodings.")
-    (license license:lppl1.3)))
-
-(define-public texlive-hyphen-latin
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-latin" '("la-x-classic" "la-x-liturgic" "la")
-              '("/tex/generic/hyph-utf8/patterns/tex/hyph-la-x-classic.tex"
-                "/tex/generic/hyph-utf8/patterns/tex/hyph-la-x-liturgic.tex"
-                "/tex/generic/hyph-utf8/patterns/tex/hyph-la.tex"
-                
"/tex/generic/hyph-utf8/patterns/tex-8bit/hyph-la-x-classic.ec.tex")
-              (base32
-               "119rf6sk1f639ky6zr9njn21nsxzgfmjci94y26745qs8w08ilkl")))
-    (synopsis "Liturgical Latin hyphenation patterns")
-    (description "This package provides hyphenation patterns for Latin in
-T1/EC and UTF-8 encodings, mainly in modern spelling (u when u is needed and v
-when v is needed), medieval spelling with the ligatures @code{\\ae} and
-@code{\\oe} and the (uncial) lowercase 'v' written as a 'u' is also supported.
-Apparently there is no conflict between the patterns of modern Latin and those
-of medieval Latin.  It also includes hyphenation patterns for the Classical
-Latin in T1/EC and UTF-8 encodings.  Classical Latin hyphenation patterns are
-different from those of 'plain' Latin, the latter being more adapted to modern
-Latin.  It also provides hyphenation patterns for the Liturgical Latin in
-T1/EC and UTF-8 encodings.")
-    ;; Either of these licenses
-    (license (list license:lppl1.0+ license:expat))))
-
-(define-public texlive-hyphen-latvian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-latvian" "lv"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-lv.tex")
-              (base32
-               "00jf8xma4ldz0zpqwma97k9q3j0mqx7qdj6b7baph3n5xgc24aaw")))
-    (synopsis "Latvian hyphenation patterns")
-    (description "This package provides hyphenation patterns for Latvian in
-L7X and UTF-8 encodings.")
-    ;; Either of these licenses.
-    (license (list license:gpl2 license:lgpl2.1))))
-
-(define-public texlive-hyphen-lithuanian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-lithuanian" "lt"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-lt.tex")
-              (base32
-               "1kfq7j2ajg6nj952s1ygd520sj9z9kl0bqvd291a36ni2b1frzgd")))
-    (synopsis "Lithuanian hyphenation patterns")
-    (description "This package provides hyphenation patterns for Lithuanian in
-L7X and UTF-8 encodings.")
-    ;; "Do ... whatever ... as long as you respect the copyright"; as part of
-    ;; the hyph-utf8 package we choose the LPPL license.
-    (license license:lppl)))
-
-(define-public texlive-hyphen-macedonian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-macedonian" "mk"
-              '("/tex/generic/hyph-utf8/patterns/tex/hyph-mk.tex"
-                
"/tex/generic/hyph-utf8/patterns/tex-8bit/hyph-mk.macedonian.tex")
-              (base32
-               "1fv6y8gpic5ciw8cclfxc8h3wr5xir1j0a7shixja1pmdyz7db2b")))
-    (synopsis "Macedonian hyphenation patterns")
-    (description "This package provides hyphenation patterns for Macedonian.")
-    ;; XXX: License just says 'GPL'.  Assume GPL2 since the file predates GPL3.
-    (license license:gpl2+)))
-
-(define-public texlive-hyphen-mongolian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-mongolian" '("mn-cyrl-x-lmc" "mn-cyrl")
-              (list 
"/tex/generic/hyph-utf8/patterns/tex/hyph-mn-cyrl-x-lmc.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-mn-cyrl.tex")
-              (base32
-               "1y1b91ihrdl9bad3rxlsfjpd9wmyd5zzgci3qv9w8qqk33jxhwya")))
-    (synopsis "Mongolian hyphenation patterns in Cyrillic script")
-    (description "This package provides hyphenation patterns for Mongolian in
-T2A, LMC and UTF-8 encodings.")
-    ;; Either of these licenses
-    (license (list license:lppl1.3+ license:expat))))
-
-(define-public texlive-hyphen-norwegian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-norwegian" '("nb" "nn" "no")
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-nb.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-nn.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-no.tex")
-              (base32
-               "08gbwj64p4fckm199k52yp5lx65h9f4wwdkvl4pv4aa7k370jq9y")))
-    (synopsis "Norwegian Bokmal and Nynorsk hyphenation patterns")
-    (description "This package provides hyphenation patterns for Norwegian
-Bokmal and Nynorsk in T1/EC and UTF-8 encodings.")
-    (license (license:non-copyleft
-              "/tex/generic/hyph-utf8/patterns/tex/hyph-no.tex"
-              "FSF All permissive license"))))
-
-(define-public texlive-hyphen-occitan
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-occitan" "oc"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-oc.tex")
-              (base32
-               "0vhjbq2nr58vhqwwky3cwx4dqiwjmmfwp81rb65mfpf0m8yypdfg")))
-    (synopsis "Occitan hyphenation patterns")
-    (description "This package provides hyphenation patterns for Occitan in
-T1/EC and UTF-8 encodings.  They are supposed to be valid for all the Occitan
-variants spoken and written in the wide area called 'Occitanie' by the French.
-It ranges from the Val d'Aran within Catalunya, to the South Western Italian
-Alps encompassing the southern half of the French pentagon.")
-    (license license:lppl1.0+)))
-
-(define-public texlive-hyphen-pali
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-pali" "pi"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-pi.tex")
-              (base32
-               "1fak853s4ijdqgrnhwymaq1lh8jab3qfyxapdmf6qpg6bqd20kxq")))
-    (synopsis "Panjabi hyphenation patterns")
-    (description "This package provides hyphenation patterns for Panjabi in
-T1/EC encoding.")
-    ;; Can be used with either license.
-    (license (list license:expat license:lgpl3+ license:gpl3+))))
-
-(define-public texlive-hyphen-piedmontese
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-piedmontese" "pms"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-pms.tex")
-              (base32
-               "0xva3l2gwzkqw1sz64k5g5iprhdyr27w1mv8rxp8x62i5y3aqr1k")))
-    (synopsis "Piedmontese hyphenation patterns")
-    (description "This package provides hyphenation patterns for Piedmontese
-in ASCII encoding.  Compliant with 'Gramatica dla lengua piemonteisa' by
-Camillo Brero.")
-    (license license:lppl1.3+)))
-
-(define-public texlive-hyphen-polish
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-polish" "pl"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-pl.tex")
-              (base32
-               "1c22g99isxapv4xjrmsw24hhp1xb83wbgcxyd8j24mxdnizywxzm")))
-    (synopsis "Polish hyphenation patterns")
-    (description "This package provides hyphenation patterns for Polish in QX
-and UTF-8 encodings.")
-    ;; No differing license declared, so we choose the project license.
-    (license license:lppl)))
-
-(define-public texlive-hyphen-portuguese
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-portuguese" "pt"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-pt.tex")
-              (base32
-               "00rkjy4p7893zs940bq3s4hp7al0skgxqggj5qfax0bx8karf30b")))
-    (synopsis "Portuguese hyphenation patterns")
-    (description "This package provides hyphenation patterns for Portuguese in
-T1/EC and UTF-8 encodings.")
-    (license license:bsd-3)))
-
-(define-public texlive-hyphen-romanian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-romanian" "ro"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-ro.tex")
-              (base32
-               "1ykb5v7ip6p3n34wq8qypfyrap4gg946by5rsl6ab0k5gv6ypsbf")))
-    (synopsis "Romanian hyphenation patterns")
-    (description "This package provides hyphenation patterns for Romanian in
-T1/EC and UTF-8 encodings.")
-    ;; No differing license declared, so we choose the project license.
-    (license license:lppl)))
-
-(define-public texlive-hyphen-romansh
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-romansh" "rm"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-rm.tex")
-              (base32
-               "0a1q9p6sp5n6a9w6xhwk03vmkrrmnh2md7g1k4qhnf0dc4h7dy9r")))
-    (synopsis "Romansh hyphenation patterns")
-    (description "This package provides hyphenation patterns for Romansh in
-ASCII encodings.  They are supposed to comply with the rules indicated by the
-Lia Rumantscha (Romansh language society).")
-    (license license:lppl1.3+)))
-
-(define-public texlive-hyphen-russian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-russian" "ru"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-ru.tex")
-              (base32
-               "00sy7qh5f8ryxw36fwbyd1yi2hxhv7hmk99yp7dwh73n4mxv6lpl")))
-    (synopsis "Russian hyphenation patterns")
-    (description "This package provides hyphenation patterns for Russian in
-T2A and UTF-8 encodings.")
-    (license license:lppl1.2+)))
-
-(define-public texlive-hyphen-sanskrit
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-sanskrit" "sa"
-              (list "/doc/generic/hyph-utf8/languages/sa/hyphenmin.txt"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-sa.tex")
-              (base32
-               "1bkzj8swj4lbswf1vr4pb1jg6dixzs7p8h8zm8s8as52h442aida")))
-    (synopsis "Sanskrit hyphenation patterns")
-    (description "This package provides hyphenation patterns for Sanskrit and
-Prakrit in longdesc transliteration, and in Devanagari, Bengali, Kannada,
-Malayalam longdesc and Telugu scripts for Unicode engines.")
-    ;; "You may freely use, copy, modify and/or distribute this file."
-    (license (license:non-copyleft
-              "file:///tex/generic/hyph-utf8/patterns/tex/hyph-sa.tex"))))
-
-(define-public texlive-hyphen-serbian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-serbian" '("sh-cyrl" "sh-latn" "sr-cyrl")
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-sh-cyrl.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-sh-latn.tex"
-                    "/tex/generic/hyph-utf8/patterns/tex/hyph-sr-cyrl.tex")
-              (base32
-               "0pwc9z0m5y6acq1vqm0da9akg156jbhxzvsfp2f8bsz5b99y5z45")))
-    (synopsis "Serbian hyphenation patterns")
-    (description "This package provides hyphenation patterns for Serbian in
-T1/EC, T2A and UTF-8 encodings.")
-    ;; Any version of the GPL.
-    (license license:gpl3+)))
-
-(define-public texlive-hyphen-slovak
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-slovak" "sk"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-sk.tex")
-              (base32
-               "0ppp53bbclp5c8wvx748krvrp5y5053khgkjnnv966a90fvp3vgd")))
-    (synopsis "Slovak hyphenation patterns")
-    (description "This package provides hyphenation patterns for Slovak in
-T1/EC and UTF-8 encodings.")
-    (license license:gpl2+)))
-
-(define-public texlive-hyphen-slovenian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-slovenian" "sl"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-sl.tex")
-              (base32
-               "02n8l9yf4hqyhbpsc1n6b2mggy09z6lq4dcb8ndiwawb6h0mp7s4")))
-    (synopsis "Slovenian hyphenation patterns")
-    (description "This package provides hyphenation patterns for Slovenian in
-T1/EC and UTF-8 encodings.")
-    ;; Either license
-    (license (list license:lppl1.0+ license:expat))))
-
-(define-public texlive-hyphen-spanish
-  (package
-    ;; The source files "eshyph-make.lua" and "eshyph.src" are provided to
-    ;; generate obsolete hyphenation patterns, which aren't included in a
-    ;; default TeX Live distribution, so we don't include them either.
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-spanish" "es"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-es.tex")
-              (base32
-               "05lbvjkj304xxghyihk8js0kmg97ddlgijld3bp81bc28h4cav0v")))
-    (synopsis "Hyphenation patterns for Spanish")
-    (description "The package provides hyphenation patterns for Spanish in
-T1/EC and UTF-8 encodings.")
-    (license license:expat)))
-
-(define-public texlive-hyphen-swedish
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-swedish" "sv"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-sv.tex")
-              (base32
-               "1n7incy7n24pix1q2i8c3h7i78zpql5ayhskavlmy6mhd7ayncaw")))
-    (synopsis "Swedish hyphenation patterns")
-    (description "This package provides hyphenation patterns for Swedish in
-T1/EC and UTF-8 encodings.")
-    (license license:lppl1.2+)))
-
-(define-public texlive-hyphen-thai
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-thai" "th"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-th.tex")
-              (base32
-               "00gxcs4jfqifd5cnrjipn77m73fmpw2qms4lp216jj3kz4a7h9kf")))
-    (synopsis "Thai hyphenation patterns")
-    (description "This package provides hyphenation patterns for Thai in LTH
-and UTF-8 encodings.")
-    (license license:lppl1.3+)))
-
-(define-public texlive-hyphen-turkish
-  (let ((template (texlive-hyphen-package
-                   "texlive-hyphen-turkish" "tr"
-                   (list "/tex/generic/hyph-utf8/patterns/tex/hyph-tr.tex")
-                   (base32
-                    "04sihjgpm31i5bi67rrfp15w3imn7hxwwk70v0vhx053ghxy72vh"))))
-    (package
-      (inherit template)
-      (synopsis "Hyphenation patterns for Turkish")
-      (description "The package provides hyphenation patterns for Turkish in
-T1/EC and UTF-8 encodings.  The patterns for Turkish were first produced for
-the Ottoman Texts Project in 1987 and were suitable for both Modern Turkish
-and Ottoman Turkish in Latin script, however the required character set didn't
-fit into EC encoding, so support for Ottoman Turkish had to be dropped to keep
-compatibility with 8-bit engines.")
-      (license license:lppl1.0+))))
-
-(define-public texlive-hyphen-turkmen
-  (let ((template (texlive-hyphen-package
-                   "texlive-hyphen-turkmen" "tk"
-                   (list "/tex/generic/hyph-utf8/patterns/tex/hyph-tk.tex")
-                   (base32
-                    "0g5ip2lw9g47s61mv3cypswc6qm7zy9c4iqq4h19ysvds81adzkr"))))
-    (package
-      (inherit template)
-      (synopsis "Hyphenation patterns for Turkmen")
-      (description "The package provides hyphenation patterns for Turkmen in
-T1/EC and UTF-8 encodings.")
-      (license license:expat))))
-
-(define-public texlive-hyphen-ukrainian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-ukrainian" "uk"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-uk.tex")
-              (base32
-               "0fbfhx1fmbshxr4ihsjaqgx251h69h7i288p8gh3w6ysgxr53p60")))
-    (synopsis "Ukrainian hyphenation patterns")
-    (description "This package provides hyphenation patterns for Ukrainian in
-T2A and UTF-8 encodings.")
-    ;; No version specified
-    (license license:lppl)))
-
-(define-public texlive-hyphen-uppersorbian
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-uppersorbian" "hsb"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-hsb.tex")
-              (base32
-               "0x0051wph3sqmzzw6prvjy6bp7gn02rbmys1bmbc210jk3pkylfj")))
-    (synopsis "Upper Sorbian hyphenation patterns")
-    (description "This package provides hyphenation patterns for Upper Sorbian
-in T1/EC and UTF-8 encodings.")
-    (license license:lppl1.3a+)))
-
-(define-public texlive-hyphen-welsh
-  (package
-    (inherit (texlive-hyphen-package
-              "texlive-hyphen-welsh" "cy"
-              (list "/tex/generic/hyph-utf8/patterns/tex/hyph-cy.tex")
-              (base32
-               "1bpxp3jiifdw7waw2idz5j9xgi3526nkxm8mbmsspr4mlf2xyr76")))
-    (synopsis "Welsh hyphenation patterns")
-    (description "This package provides hyphenation patterns for Welsh in
-T1/EC and UTF-8 encodings.")
-    ;; Either license
-    (license (list license:lppl1.0+ license:expat))))
-
-(define-public texlive-hyph-utf8
-  (package
-    (name "texlive-hyph-utf8")
-    (version (number->string %texlive-revision))
-    (source (texlive-origin
-             name version
-             (list "doc/luatex/hyph-utf8/"
-                   "source/generic/hyph-utf8/"
-                   "source/generic/hyph-utf8/contributed/"
-                   "source/generic/hyph-utf8/data/"
-                   "source/luatex/hyph-utf8/"
-                   "tex/luatex/hyph-utf8/"
-                   ;; Documentation; we can't use the whole directory because
-                   ;; it includes files from other packages.
-                   "doc/generic/hyph-utf8/CHANGES"
-                   "doc/generic/hyph-utf8/HISTORY"
-                   "doc/generic/hyph-utf8/hyph-utf8.pdf"
-                   "doc/generic/hyph-utf8/hyph-utf8.tex"
-                   "doc/generic/hyph-utf8/hyphenation-distribution.pdf"
-                   "doc/generic/hyph-utf8/hyphenation-distribution.tex"
-                   "doc/generic/hyph-utf8/img/miktex-languages.png"
-                   "doc/generic/hyph-utf8/img/texlive-collection.png")
-             (base32
-              "1dm023k05c0pnnyqgbsy1cbpq8layabdp8acln0v59kpsx7flmj9")))
-    (outputs '("out" "doc"))
-    (build-system gnu-build-system)
-    (arguments
-     (list
-      #:tests? #f                       ; there are none
-      #:modules '((guix build gnu-build-system)
-                  (guix build utils)
-                  (ice-9 match))
-      #:make-flags
-      #~(list "-C" "source/luatex/hyph-utf8/"
-              (string-append "DO_TEX = tex --interaction=nonstopmode '&tex' 
$<")
-              (string-append "RUNDIR =" (assoc-ref %outputs "out") 
"/share/texmf-dist/tex/luatex/hyph-utf8/")
-              (string-append "DOCDIR =" (assoc-ref %outputs "doc") 
"/share/texmf-dist/doc/luatex/hyph-utf8/")
-              ;; hyphen.cfg is neither included nor generated, so let's only 
build the lua file.
-              (string-append "UNPACKED = $(NAME).lua"))
-      #:phases
-      #~(modify-phases %standard-phases
-          ;; TeX isn't usable at this point, so we first need to generate the
-          ;; tex.fmt.
-          (replace 'configure
-            (lambda* (#:key inputs outputs #:allow-other-keys)
-              ;; Target directories must exist.
-              (mkdir-p (string-append (assoc-ref %outputs "out")
-                                      
"/share/texmf-dist/tex/luatex/hyph-utf8/"))
-              (mkdir-p (string-append (assoc-ref %outputs "doc")
-                                      
"/share/texmf-dist/doc/luatex/hyph-utf8/"))
-
-              ;; We cannot build the documentation because that requires a
-              ;; fully functional pdflatex, which depends on this package.
-              (substitute* "source/luatex/hyph-utf8/Makefile"
-                (("all: .*") "all: $(RUNFILES)\n"))
-
-              ;; Find required fonts for building tex.fmt
-              (setenv "TFMFONTS"
-                      (string-append (assoc-ref inputs "texlive-cm")
-                                     "/share/texmf-dist/fonts/tfm/public/cm:"
-                                     (assoc-ref inputs "texlive-knuth-lib")
-                                     
"/share/texmf-dist/fonts/tfm/public/knuth-lib"))
-              ;; ...and find all tex files in this environment.
-              (setenv "TEXINPUTS"
-                      (string-append
-                       (getcwd) ":"
-                       (string-join
-                        (map (match-lambda ((_ . dir) dir)) inputs)
-                        "//:")))
-
-              ;; Generate tex.fmt.
-              (let ((where "source/luatex/hyph-utf8"))
-                (mkdir-p where)
-                (with-directory-excursion where
-                  (invoke "tex" "-ini"
-                          (string-append (assoc-ref inputs "texlive-plain")
-                                         
"/share/texmf-dist/tex/plain/config/tex.ini"))))))
-          (add-before 'build 'build-loaders-and-converters
-            (lambda _
-              (let* ((root (string-append #$output "/share/texmf-dist"))
-                     (conv
-                      (string-append root 
"/tex/generic/hyph-utf8/conversions")))
-
-                ;; Build converters
-                (mkdir-p conv)
-                (with-directory-excursion "source/generic/hyph-utf8"
-                  (substitute* "generate-converters.rb"
-                    (("\\$path_root=File.*")
-                     (string-append "$path_root=\"" root "\"\n"))
-                    ;; Avoid error with newer Ruby.
-                    (("#1\\{%") "#1{%%"))
-                  (invoke "ruby" "generate-converters.rb")))))
-          (replace 'install
-            (lambda* (#:key source #:allow-other-keys)
-              (mkdir-p #$output:doc)
-              (copy-recursively
-               (string-append source "/doc")
-               (string-append #$output:doc "/doc"))
-              (install-file
-               (string-append source "/tex/luatex/hyph-utf8/etex.src")
-               (string-append #$output 
"/share/texmf-dist/tex/luatex/hyph-utf8/")))))))
-    (native-inputs
-     (list ruby
-           texlive-bin
-           ;; The following packages are needed for build "tex.fmt", which we
-           ;; need for a working "tex".
-           texlive-cm
-           texlive-docstrip
-           texlive-knuth-lib
-           texlive-hyphen-base
-           texlive-plain))
-    (home-page "https://ctan.org/pkg/hyph-utf8";)
-    (synopsis "Hyphenation patterns expressed in UTF-8")
-    (description "Modern native UTF-8 engines such as XeTeX and LuaTeX need
-hyphenation patterns in UTF-8 format, whereas older systems require
-hyphenation patterns in the 8-bit encoding of the font in use (such encodings
-are codified in the LaTeX scheme with names like OT1, T2A, TS1, OML, LY1,
-etc).  The present package offers a collection of conversions of existing
-patterns to UTF-8 format, together with converters for use with 8-bit fonts in
-older systems.  Since hyphenation patterns for Knuthian-style TeX systems are
-only read at iniTeX time, it is hoped that the UTF-8 patterns, with their
-converters, will completely supplant the older patterns.")
-    ;; Individual files each have their own license.  Most of these files are
-    ;; independent hyphenation patterns.
-    (license (list license:lppl1.0+
-                   license:lppl1.2+
-                   license:lppl1.3
-                   license:lppl1.3+
-                   license:lppl1.3a+
-                   license:lgpl2.1
-                   license:lgpl2.1+
-                   license:lgpl3+
-                   license:gpl2+
-                   license:gpl3+
-                   license:mpl1.1
-                   license:asl2.0
-                   license:expat
-                   license:bsd-3
-                   license:cc0
-                   license:public-domain
-                   license:wtfpl2))))
-
-(define-deprecated-package texlive-generic-hyph-utf8 texlive-hyph-utf8)
-
-(define-public texlive-dehyph
-  (package
-    (name "texlive-dehyph")
-    (version (number->string %texlive-revision))
-    (source (texlive-origin
-             name version
-             (list "tex/generic/dehyph/")
-             (base32
-              "0fkqlsknrlxk8zazcqy4q3nisxr3a4x21aiwqhz8s237rdf3w39g")))
-    (build-system texlive-build-system)
-    (home-page "https://ctan.org/pkg/dehyph";)
-    (synopsis "German hyphenation patterns for traditional orthography")
-    (description
-     "The package provides older hyphenation patterns for the German language.
-Please note that by default only pdfLaTeX uses these patterns (mainly for
-backwards compatibility).  The older packages ghyphen and gnhyph are now
-bundled together with dehyph, and are no longer be updated.  Both XeLaTeX and
-LuaLaTeX use the current German hyphenation patterns taken from Hyphenation
-patterns in UTF-8, and using the Experimental hyphenation patterns for the
-German language package it is possible to make pdfLaTeX use the new German
-patterns as well.")
-    (license license:lppl1.0+)))
-
-(define-public texlive-dehyph-exptl
-  (package
-    (name "texlive-dehyph-exptl")
-    (version (number->string %texlive-revision))
-    (source (texlive-origin
-             name version
-             (list "doc/generic/dehyph-exptl/"
-                   "tex/generic/dehyph-exptl/")
-             (base32
-              "0l57a0r4gycp94kz6lrxqvh9m57j2shmbr2laf5zjb0qnrisq46d")))
-    (outputs '("out" "doc"))
-    (build-system texlive-build-system)
-    (arguments (list #:texlive-latex-base #f))
-    (propagated-inputs (list texlive-hyph-utf8 texlive-hyphen-base))
-    (home-page "https://ctan.org/pkg/dehyph-exptl";)
-    (synopsis "Hyphenation patterns for German")
-    (description
-     "The package provides experimental hyphenation patterns for the German
-language, covering both traditional and reformed orthography.  The patterns
-can be used with packages Babel and @code{hyphsubst} from the Oberdiek
-bundle.")
-    ;; Hyphenation patterns are under the Expat license; documentation is
-    ;; under LPPL.
-    (license (list license:expat license:lppl))))
-
-(define-deprecated-package texlive-generic-dehyph-exptl texlive-dehyph-exptl)
-
-(define-public texlive-ukrhyph
-  (package
-    (name "texlive-ukrhyph")
-    (version (number->string %texlive-revision))
-    (source (texlive-origin
-             name version
-             (list "doc/generic/ukrhyph/" "tex/generic/ukrhyph/")
-             (base32
-              "01ma274sixcrbpb7fpqkxwfvrnzfj2srv9b4a42rfnph1pdql74z")))
-    (outputs '("out" "doc"))
-    (build-system texlive-build-system)
-    (arguments (list #:texlive-latex-base #f))
-    (home-page "https://ctan.org/pkg/ukrhyph";)
-    (synopsis "Hyphenation Patterns for Ukrainian")
-    (description "The package provides a range of hyphenation patterns for
-Ukrainian, depending on the encoding of the output font including the standard
-T2A.")
-    (license license:lppl)))
-
-(define-public texlive-ruhyphen
-  (package
-    (name "texlive-ruhyphen")
-    (version (number->string %texlive-revision))
-    (source (texlive-origin
-             name version
-             (list "source/generic/ruhyphen/"
-                   "tex/generic/ruhyphen/")
-             (base32
-              "18n1bqhh8jv765vz3a3fjwffy7m71vhwx9yq8zl0p5j7p72q9qcn")))
-    (build-system texlive-build-system)
-    (arguments (list #:texlive-latex-base #f))
-    (home-page "https://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-inputenx
   (package
     (name "texlive-inputenx")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]