guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: wine64: Copy missing man file.


From: Rutger Helling
Subject: 01/02: gnu: wine64: Copy missing man file.
Date: Tue, 2 Jan 2018 05:40:43 -0500 (EST)

rhelling pushed a commit to branch master
in repository guix.

commit 68e4921130a9ff8231e971df06dbe4a71998165c
Author: Rutger Helling <address@hidden>
Date:   Tue Jan 2 11:33:16 2018 +0100

    gnu: wine64: Copy missing man file.
    
    * gnu/packages/wine.scm (wine64)[arguments]: Copy missing man file from 
"wine"
    input. Clarify 'copy-wine32-files phase with comments.
    [synopsis]: Use proper "WoW64" term.
---
 gnu/packages/wine.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm
index 28e6f55..91aa56d 100644
--- a/gnu/packages/wine.scm
+++ b/gnu/packages/wine.scm
@@ -175,6 +175,7 @@ integrate Windows applications into your desktop.")
        (modify-phases %standard-phases
          (add-after 'install 'copy-wine32-files
            (lambda* (#:key outputs #:allow-other-keys)
+             ;; Copy the 32-bit binaries needed for WoW64.
              (copy-file (string-append (assoc-ref %build-inputs "wine")
                                        "/bin/wine") (string-append (assoc-ref
                                        %outputs "out") "/bin/wine"))
@@ -182,6 +183,12 @@ integrate Windows applications into your desktop.")
                                        "/bin/wine-preloader") (string-append
                                        (assoc-ref %outputs "out")
                                        "/bin/wine-preloader"))
+             ;; Copy the missing man file for the wine binary from wine.
+             (system (string-append "gunzip < " (string-append (assoc-ref
+                                    %build-inputs "wine")
+                                    "/share/man/man1/wine.1.gz") "> "
+                                    (string-append (assoc-ref %outputs "out")
+                                    "/share/man/man1/wine.1")))
              #t))
          (add-after 'configure 'patch-dlopen-paths
            ;; Hardcode dlopened sonames to absolute paths.
@@ -200,7 +207,7 @@ integrate Windows applications into your desktop.")
        ,@(strip-keyword-arguments '(#:configure-flags #:make-flags #:phases
                                     #:system)
                                   (package-arguments wine))))
-    (synopsis "Implementation of the Windows API (WOW64 version)")
+    (synopsis "Implementation of the Windows API (WoW64 version)")
     (supported-systems '("x86_64-linux" "aarch64-linux"))))
 
 ;; TODO: This is wine development version, provided for historical reasons.



reply via email to

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