unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27395] [PATCH] gnu: wine: Add wine64.
@ 2017-06-16 11:36 Rutger Helling
  2017-06-20 20:33 ` bug#27395: " Danny Milosavljevic
  2017-06-20 21:39 ` [bug#27395] " Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Rutger Helling @ 2017-06-16 11:36 UTC (permalink / raw)
  To: 27395


[-- Attachment #1.1: Type: text/plain, Size: 54 bytes --]

Hey Guix, 

this patch adds a 64-bit version for Wine.

[-- Attachment #1.2: Type: text/html, Size: 264 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-wine-Add-wine64.patch --]
[-- Type: text/x-diff; name=0001-gnu-wine-Add-wine64.patch, Size: 1756 bytes --]

From 2674af475c3f970800ddb97de40f5497f15ef3c5 Mon Sep 17 00:00:00 2001
From: Rutger Helling <rhelling@mykolab.com>
Date: Fri, 16 Jun 2017 13:30:58 +0200
Subject: [PATCH] gnu: wine: Add wine64.

* gnu/packages/wine.scm (wine64): New variable.
---
 gnu/packages/wine.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm
index 72700ef3d..520ac7a0f 100644
--- a/gnu/packages/wine.scm
+++ b/gnu/packages/wine.scm
@@ -147,3 +147,22 @@ integrate Windows applications into your desktop.")
     ;; It really only supports IA32, but building on x86_64 will have the same
     ;; effect as building on i686 anyway.
     (supported-systems '("i686-linux" "x86_64-linux"))))
+
+(define-public wine64
+  (package
+    (inherit wine)
+    (name "wine64")
+    (arguments `(#:configure-flags
+                 (list "--enable-win64"
+                       (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib64"))
+                 ,@(strip-keyword-arguments '(#:configure-flags #:system)
+                                            (package-arguments wine))))
+               (synopsis "Implementation of the Windows API (64-bit version)")
+               (description
+                     "Wine (originally an acronym for \"Wine Is Not an Emulator\") is a
+compatibility layer capable of running Windows applications.  Instead of
+simulating internal Windows logic like a virtual machine or emulator, Wine
+translates Windows API calls into POSIX calls on-the-fly, eliminating the
+performance and memory penalties of other methods and allowing you to cleanly
+integrate Windows applications into your desktop.  This is the 64-bit version.")
+    (supported-systems '("x86_64-linux"))))
-- 
2.13.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#27395: [PATCH] gnu: wine: Add wine64.
  2017-06-16 11:36 [bug#27395] [PATCH] gnu: wine: Add wine64 Rutger Helling
@ 2017-06-20 20:33 ` Danny Milosavljevic
  2017-06-20 21:39 ` [bug#27395] " Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2017-06-20 20:33 UTC (permalink / raw)
  To: Rutger Helling; +Cc: 27395-done

Hi,

On Fri, 16 Jun 2017 13:36:58 +0200
Rutger Helling <rhelling@mykolab.com> wrote:

> this patch adds a 64-bit version for Wine.

Pushed to master as b3ebd24162f69e55b9847d9a160d255737e39d68.

Thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#27395] [PATCH] gnu: wine: Add wine64.
  2017-06-16 11:36 [bug#27395] [PATCH] gnu: wine: Add wine64 Rutger Helling
  2017-06-20 20:33 ` bug#27395: " Danny Milosavljevic
@ 2017-06-20 21:39 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-06-20 21:39 UTC (permalink / raw)
  To: Rutger Helling; +Cc: 27395-done

Rutger Helling <rhelling@mykolab.com> skribis:

> From 2674af475c3f970800ddb97de40f5497f15ef3c5 Mon Sep 17 00:00:00 2001
> From: Rutger Helling <rhelling@mykolab.com>
> Date: Fri, 16 Jun 2017 13:30:58 +0200
> Subject: [PATCH] gnu: wine: Add wine64.
>
> * gnu/packages/wine.scm (wine64): New variable.

[...]

> +(define-public wine64
> +  (package
> +    (inherit wine)
> +    (name "wine64")
> +    (arguments `(#:configure-flags
> +                 (list "--enable-win64"
> +                       (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib64"))
> +                 ,@(strip-keyword-arguments '(#:configure-flags #:system)
> +                                            (package-arguments wine))))
> +               (synopsis "Implementation of the Windows API (64-bit version)")
> +               (description
> +                     "Wine (originally an acronym for \"Wine Is Not an Emulator\") is a
> +compatibility layer capable of running Windows applications.  Instead of
> +simulating internal Windows logic like a virtual machine or emulator, Wine
> +translates Windows API calls into POSIX calls on-the-fly, eliminating the
> +performance and memory penalties of other methods and allowing you to cleanly
> +integrate Windows applications into your desktop.  This is the 64-bit version.")
> +    (supported-systems '("x86_64-linux"))))

I reindented and remove the description (I think it’s enough to mention
“64-bit” in the synopsis.)

Applied, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-20 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-16 11:36 [bug#27395] [PATCH] gnu: wine: Add wine64 Rutger Helling
2017-06-20 20:33 ` bug#27395: " Danny Milosavljevic
2017-06-20 21:39 ` [bug#27395] " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).