emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#62565: closed ([PATCH] gnu: Add texlive-soulutf8.)


From: GNU bug Tracking System
Subject: bug#62565: closed ([PATCH] gnu: Add texlive-soulutf8.)
Date: Sat, 08 Apr 2023 12:09:03 +0000

Your message dated Sat, 08 Apr 2023 14:08:41 +0200
with message-id <87mt3ilgom.fsf@nicolasgoaziou.fr>
and subject line Re: [bug#62565] [PATCH] gnu: Add texlive-soulutf8.
has caused the debbugs.gnu.org bug report #62565,
regarding [PATCH] gnu: Add texlive-soulutf8.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62565: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62565
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add texlive-soulutf8. Date: Fri, 31 Mar 2023 09:54:52 +0200
* gnu/packages/tex.scm (texlive-soulutf8): 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 b40e72c582..0257bb89a6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -12452,6 +12452,46 @@ (define-public texlive-soul
 
 (define-deprecated-package texlive-generic-soul texlive-soul)
 
+(define-public texlive-soulutf8
+  (let ((template (simple-texlive-package
+                   "texlive-soulutf8"
+                   (list "doc/latex/soulutf8/"
+                         "source/latex/soulutf8/"
+                         "tex/generic/soulutf8/")
+                   (base32
+                    "0d9lv3xsads8ms642ys3pghxnsa2hlzafkcx66d2hbq224bz1phc"))))
+    (package
+      (inherit template)
+      (outputs '("out" "doc"))
+      (arguments
+       (substitute-keyword-arguments (package-arguments template)
+         ((#:tex-directory _ #t) "generic/soulutf8")
+         ((#:build-targets _ '()) '(list "soulutf8.dtx"))
+         ((#:phases phases)
+          #~(modify-phases #$phases
+              (add-after 'unpack 'chdir
+                (lambda _ (chdir "source/latex/soulutf8/")))
+              (replace 'copy-files
+                (lambda* (#:key inputs #:allow-other-keys)
+                  (let ((origin (assoc-ref inputs "source"))
+                        (source (string-append #$output
+                                               "/share/texmf-dist/source"))
+                        (doc (string-append #$output:doc
+                                            "/share/texmf-dist/doc")))
+                    (copy-recursively (string-append origin "/source") source)
+                    (copy-recursively (string-append origin "/doc") doc))))))))
+      (propagated-inputs
+       (list texlive-generic-etexcmds
+             texlive-generic-infwarerr
+             texlive-soul))
+      (home-page "https://ctan.org/pkg/soulutf8";)
+      (synopsis "Permit use of UTF-8 characters in @code{soul}")
+      (description
+       "This package extends package @code{soul} and adds some support for
+UTF-8.  Namely the input encodings in @file{utf8.def} from package
+@code{inputenc} and @file{utf8x.def} from package @code{ucs} are supported.")
+      (license license:lppl1.3+))))
+
 (define-public texlive-xstring
   (let ((template (simple-texlive-package
                    "texlive-xstring"

base-commit: 65afc8fa44051da2c5acaa230af74fa0a99cbbd5
-- 
2.39.2




--- End Message ---
--- Begin Message --- Subject: Re: [bug#62565] [PATCH] gnu: Add texlive-soulutf8. Date: Sat, 08 Apr 2023 14:08:41 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> * gnu/packages/tex.scm (texlive-soulutf8): New variable.

Applied.


--- End Message ---

reply via email to

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