From fc8cd00953081b07d549cbdf0c90f0305a1c6934 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 14 May 2023 21:32:37 +0200 Subject: [PATCH] gnu: texlive-generic-babel-norsk -> texlive-babel-norsk. * gnu/packages/tex.scm (texlive-babel-norsk): New variable. (texlive-generic-babel-norsk): Deprecate variable. --- gnu/packages/tex.scm | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 2bf4f3225c..d069251a4d 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -12135,27 +12135,29 @@ (define-public texlive-babel-finnish settings to typeset Finnish documents.") (license license:lppl1.3c+)))) -(define-public texlive-generic-babel-norsk +(define-public texlive-babel-norsk (package - (name "texlive-generic-babel-norsk") + (name "texlive-babel-norsk") (version (number->string %texlive-revision)) - (source (origin - (method svn-fetch) - (uri (texlive-ref "generic" "babel-norsk")) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "1yf538l2isxgmab8jslxxx5fbdk4njf147n4raf5vyw3l4slxm6m")))) + (source (texlive-origin + name version + (list "doc/generic/babel-norsk/" + "source/generic/babel-norsk/" + "tex/generic/babel-norsk/") + (base32 + "1zsssgcdllhjk7r58k4rv8bh59nmj091syqj45chvp1i667ndryp"))) + (outputs '("out" "doc")) (build-system texlive-build-system) - (arguments '(#:tex-directory "generic/babel-norsk")) - (home-page "https://www.ctan.org/pkg/babel-norsk") + (home-page "https://ctan.org/pkg/babel-norsk") (synopsis "Babel support for Norwegian") (description - "The package provides the language definition file for support of -Norwegian in @code{babel}. Some shortcuts are defined, as well as translations -to Norsk of standard “LaTeX names”.") + "The package provides the language definition file for support of +Norwegian in Babel. Some shortcuts are defined, as well as translations to +Norsk of standard LaTeX names.") (license license:lppl1.3+))) +(define-deprecated-package texlive-generic-babel-norsk texlive-babel-norsk) + (define-public texlive-babel-danish (let ((template (simple-texlive-package "texlive-babel-danish"