Subject: bug#56396: closed (Re: bug#56396: [PATCH] gnu: Add texlive-babel-finnish.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 08 Jul 2022 21:41:02 +0000

Your bug report

#56396: [PATCH] gnu: Add texlive-babel-finnish.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
56396: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56396
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#56396: [PATCH] gnu: Add texlive-babel-finnish.
From: Ludovic Courtès <[email-masked]>
To: Wiktor Żelazny <[email-masked]>
Cc: [email-masked], Wiktor Żelazny <[email-masked]>
Date: Fri, 08 Jul 2022 23:39:51 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Wiktor Żelazny <[email-masked]> skribis:

> From: Wiktor Żelazny <[email-masked]>
>
> * gnu/packages/tex.scm (texlive-babel-finnish): New variable.

Applied with the change below, thanks!

Ludo’.

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d8f415ad9a..08e506bf1c 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11002,9 +11002,9 @@ (define-public texlive-babel-finnish
                (lambda _
                  (chdir "source/generic/babel-finnish")))))))
       (home-page "https://www.ctan.org/pkg/babel-finnish")
-      (synopsis "Babel support for finnish")
+      (synopsis "Babel support for Finnish")
       (description
        "This package provides the language definition file for support of
-finnish in @code{babel}.  It provides all the necessary macros, definitions and
-settings to typeset finnish documents.")
+Finnish in @code{babel}.  It provides all the necessary macros, definitions and
+settings to typeset Finnish documents.")
       (license license:lppl1.3c+))))

Subject: [PATCH] gnu: Add texlive-babel-finnish.
From: Wiktor Żelazny <[email-masked]>
To: [email-masked]
Cc: Wiktor Żelazny <[email-masked]>
Date: Tue, 5 Jul 2022 13:08:49 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Wiktor Żelazny <[email-masked]>

* gnu/packages/tex.scm (texlive-babel-finnish): New variable.
---
 gnu/packages/tex.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f6b4c25595..d8f415ad9a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -10981,3 +10981,30 @@ (define-public texlive-lineno
 mechanism.  Line numbering may be extended to footnote lines, using the
 fnlineno package.")
     (license license:lppl1.3a+)))
+
+(define-public texlive-babel-finnish
+  (let ((template (simple-texlive-package
+                   "texlive-babel-finnish"
+                   (list "/source/generic/babel-finnish/")
+                   (base32
+                    "1930zxk4l6k5q4wcbvpvijv4s0gxp2mkxvblczn4gcbar10vfd4x"))))
+    (package
+      (inherit template)
+      (arguments
+       (substitute-keyword-arguments (package-arguments template)
+         ((#:tex-directory _ '())
+          "generic/babel-finnish")
+         ((#:build-targets _ '())
+          ''("finnish.ins")) ; TODO: use dtx and build documentation
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (add-after 'unpack 'chdir
+               (lambda _
+                 (chdir "source/generic/babel-finnish")))))))
+      (home-page "https://www.ctan.org/pkg/babel-finnish")
+      (synopsis "Babel support for finnish")
+      (description
+       "This package provides the language definition file for support of
+finnish in @code{babel}.  It provides all the necessary macros, definitions and
+settings to typeset finnish documents.")
+      (license license:lppl1.3c+))))

base-commit: 06493e738825598447f5b45d7100ca7eff8b669d
-- 
2.36.1