guix-commits
[Top][All Lists]
Advanced

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

05/06: gnu: texlive-psnfss: Incorporate and remove replacement.


From: guix-commits
Subject: 05/06: gnu: texlive-psnfss: Incorporate and remove replacement.
Date: Sun, 8 May 2022 06:15:35 -0400 (EDT)

civodul pushed a commit to branch staging
in repository guix.

commit 0f9d02f1685c1fdc654a52c544ca6d9b44cd2118
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun May 8 12:05:37 2022 +0200

    gnu: texlive-psnfss: Incorporate and remove replacement.
    
    * gnu/packages/tex.scm (texlive-psnfss)[replacement]: Remove.
    [arguments]: Add 'unchdir' and 'delete-extra-files' phases.
    (texlive-psnfss/fixed): Remove.
---
 gnu/packages/tex.scm | 29 +++++++++--------------------
 1 file changed, 9 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 65a3f29a7f..96449a7492 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4139,8 +4139,6 @@ language that is written in a Cyrillic alphabet.")
                     "11f14dzhwsy4pli21acccip43d36nf3pac33ihjffnps1i2mhqkd"))))
     (package
       (inherit template)
-      ;; TODO: This package is missing files.
-      (replacement texlive-psnfss/fixed)
       (arguments
        (substitute-keyword-arguments (package-arguments template)
          ((#:tex-directory _ #t)
@@ -4149,7 +4147,15 @@ language that is written in a Cyrillic alphabet.")
           `(modify-phases ,phases
              (add-after 'unpack 'chdir
                (lambda _
-                 (chdir "source/latex/psnfss") #t))))))
+                 (chdir "source/latex/psnfss")))
+           (add-before 'copy-files 'unchdir
+             (lambda _
+               (chdir "../../..")))
+           (add-after 'copy-files 'delete-extra-files
+             (lambda* (#:key outputs #:allow-other-keys)
+               (delete-file-recursively
+                (string-append (assoc-ref outputs "out")
+                               
"/share/texmf-dist/source/latex/psnfss/build"))))))))
       (native-inputs
        (list texlive-cm))
       (home-page "https://www.ctan.org/pkg/psnfss";)
@@ -4168,23 +4174,6 @@ means to select single glyphs from symbol fonts.  The 
bundle as a whole is
 part of the LaTeX required set of packages.")
       (license license:lppl1.2+))))
 
-(define-public texlive-psnfss/fixed
-  (package
-    (inherit texlive-psnfss)
-    (name "texlive-psnfss-fixed")
-    (arguments
-     (substitute-keyword-arguments (package-arguments texlive-psnfss)
-       ((#:phases phases)
-        `(modify-phases ,phases
-           (add-before 'copy-files 'unchdir
-             (lambda _
-               (chdir "../../..")))
-           (add-after 'copy-files 'delete-extra-files
-             (lambda* (#:key outputs #:allow-other-keys)
-               (delete-file-recursively
-                (string-append (assoc-ref outputs "out")
-                               
"/share/texmf-dist/source/latex/psnfss/build"))))))))))
-
 (define-deprecated-package texlive-latex-psnfss texlive-psnfss)
 
 ;; For user profiles



reply via email to

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