Subject: [bug#27546] [PATCH] Add wine stable release

From: Nicolas Goaziou <[email-masked]>
Date: Sun, 02 Jul 2017 23:25:41 +0200

Hello,

[email-masked] (Ludovic Courtès) writes:

> As for the name, I would call the stable version “wine”, and the
> development version “wine-next” (we’ve used this naming scheme on a few
> occasions for other packages in the past.)  That way users won’t get the
> development version unless they explicitly ask for it.

Done. Here is the updated patch.

Regards,

-- 
Nicolas Goaziou                                                0x80A93738
>From 0198473e04fd7f885a6ead5d2ecc5aa1962fd935 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <[email-masked]>
Date: Sat, 1 Jul 2017 13:42:34 +0200
Subject: [PATCH] gnu: wine: Add stable release.

* gnu/packages/wine.scm (wine): Refer to stable release instead of development
  one.
(wine-next): New variable.
---
 gnu/packages/wine.scm | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm
index 1fb2c542c..63f8869bd 100644
--- a/gnu/packages/wine.scm
+++ b/gnu/packages/wine.scm
@@ -55,14 +55,14 @@
 (define-public wine
   (package
     (name "wine")
-    (version "2.11")
+    (version "2.0.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://dl.winehq.org/wine/source/2.x"
+              (uri (string-append "https://dl.winehq.org/wine/source/2.0"
                                   "/wine-" version ".tar.xz"))
               (sha256
                (base32
-                "0g6cwjyqwc660w33453aklh3hpc0b8rrb88dryn23ah6wannvagg"))))
+                "10qm0xxqzvl4y3mhvaxcaacrcs8d5kdz5wf0gbxpmp36wnm4xyvc"))))
     (build-system gnu-build-system)
     (native-inputs `(("pkg-config" ,pkg-config)
                      ("gettext" ,gettext-minimal)
@@ -159,3 +159,18 @@ integrate Windows applications into your desktop.")
                                   (package-arguments wine))))
     (synopsis "Implementation of the Windows API (64-bit version)")
     (supported-systems '("x86_64-linux"))))
+
+;; TODO: This is wine development version, provided for historical reasons.
+;; We can remove it as soon as a new stable release is out.
+(define-public wine-next
+  (package (inherit wine)
+    (name "wine")
+    (version "2.11")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://dl.winehq.org/wine/source/2.x"
+                                  "/wine-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0g6cwjyqwc660w33453aklh3hpc0b8rrb88dryn23ah6wannvagg"))))))
+
-- 
2.13.2