unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27546] [PATCH] Add wine stable release
@ 2017-07-01 11:53 Nicolas Goaziou
  2017-07-01 17:38 ` Leo Famulari
  0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2017-07-01 11:53 UTC (permalink / raw)
  To: 27546

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

Hello,

Not so long ago, I realized, painfully, we were distributing development
version of wine (currently 2.11), but not the stable one (currently
2.0.1).

The following patch attempts to provide the missing release. Ideally,
I think this variable should be named "wine" and the other "wine-dev" or
some such. However, so as to limit fuss, this patches leaves "wine"
as-is, and introduce "wine-2.0.1" instead.


Regards,

-- 
Nicolas Goaziou                                                0x80A93738

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add stable wine --]
[-- Type: text/x-diff, Size: 1144 bytes --]

From 24e94a9109717df9aca8c1f8c4810e2f57e5a682 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date: Sat, 1 Jul 2017 13:42:34 +0200
Subject: [PATCH] gnu: wine: Add stable release

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

diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm
index 1fb2c542c..e3ca11c40 100644
--- a/gnu/packages/wine.scm
+++ b/gnu/packages/wine.scm
@@ -147,6 +147,18 @@ integrate Windows applications into your desktop.")
     ;; effect as building on i686 anyway.
     (supported-systems '("i686-linux" "x86_64-linux"))))
 
+(define-public wine-2.0.1
+  (package (inherit wine)
+    (name "wine")
+    (version "2.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://dl.winehq.org/wine/source/2.0"
+                                  "/wine-" version ".tar.xz"))
+              (sha256
+               (base32
+                "10qm0xxqzvl4y3mhvaxcaacrcs8d5kdz5wf0gbxpmp36wnm4xyvc"))))))
+
 (define-public wine64
   (package
     (inherit wine)
-- 
2.13.2


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

* [bug#27546] [PATCH] Add wine stable release
  2017-07-01 11:53 [bug#27546] [PATCH] Add wine stable release Nicolas Goaziou
@ 2017-07-01 17:38 ` Leo Famulari
  2017-07-01 19:41   ` Nicolas Goaziou
  0 siblings, 1 reply; 9+ messages in thread
From: Leo Famulari @ 2017-07-01 17:38 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 27546

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

On Sat, Jul 01, 2017 at 01:53:26PM +0200, Nicolas Goaziou wrote:
> Hello,
> 
> Not so long ago, I realized, painfully, we were distributing development
> version of wine (currently 2.11), but not the stable one (currently
> 2.0.1).
> 
> The following patch attempts to provide the missing release. Ideally,
> I think this variable should be named "wine" and the other "wine-dev" or
> some such. However, so as to limit fuss, this patches leaves "wine"
> as-is, and introduce "wine-2.0.1" instead.

Since we don't typically package development releases, how about
removing 2.11 and replacing it with 2.0.1?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* [bug#27546] [PATCH] Add wine stable release
  2017-07-01 17:38 ` Leo Famulari
@ 2017-07-01 19:41   ` Nicolas Goaziou
  2017-07-02 11:42     ` Leo Famulari
  0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2017-07-01 19:41 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 27546

Hello,

Leo Famulari <leo@famulari.name> writes:

> On Sat, Jul 01, 2017 at 01:53:26PM +0200, Nicolas Goaziou wrote:
>> Hello,
>> 
>> Not so long ago, I realized, painfully, we were distributing development
>> version of wine (currently 2.11), but not the stable one (currently
>> 2.0.1).
>> 
>> The following patch attempts to provide the missing release. Ideally,
>> I think this variable should be named "wine" and the other "wine-dev" or
>> some such. However, so as to limit fuss, this patches leaves "wine"
>> as-is, and introduce "wine-2.0.1" instead.
>
> Since we don't typically package development releases, how about
> removing 2.11 and replacing it with 2.0.1?

Thank you for the review.

I do not mind, for all I need is the stable release. However, I'm not
the one who packaged wine in the first place. Maybe its author has
a different use case.

Anyway, the patch implements the less invasive solution. We can also
apply it for now and settle on the next stable release, whenever it
happens. Note that we have other packages in the same situation (e.g.,
lilypond).

Regards,

-- 
Nicolas Goaziou                                                0x80A93738

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

* [bug#27546] [PATCH] Add wine stable release
  2017-07-01 19:41   ` Nicolas Goaziou
@ 2017-07-02 11:42     ` Leo Famulari
  2017-07-02 15:09       ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Leo Famulari @ 2017-07-02 11:42 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 27546

[-- Attachment #1: Type: text/plain, Size: 862 bytes --]

On Sat, Jul 01, 2017 at 09:41:37PM +0200, Nicolas Goaziou wrote:
> > Since we don't typically package development releases, how about
> > removing 2.11 and replacing it with 2.0.1?
> 
> Thank you for the review.
> 
> I do not mind, for all I need is the stable release. However, I'm not
> the one who packaged wine in the first place. Maybe its author has
> a different use case.

I see.

> Anyway, the patch implements the less invasive solution. We can also
> apply it for now and settle on the next stable release, whenever it
> happens. Note that we have other packages in the same situation (e.g.,
> lilypond).

IIUC, I think that's a good idea. We'll keep both versions of Wine until
the development releases reach "stable" status, then we'll drop the
development version.

Can you add a code comment that reminds us of this plan? :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* [bug#27546] [PATCH] Add wine stable release
  2017-07-02 11:42     ` Leo Famulari
@ 2017-07-02 15:09       ` Ludovic Courtès
  2017-07-02 21:25         ` Nicolas Goaziou
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2017-07-02 15:09 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 27546

Leo Famulari <leo@famulari.name> skribis:

> On Sat, Jul 01, 2017 at 09:41:37PM +0200, Nicolas Goaziou wrote:
>> > Since we don't typically package development releases, how about
>> > removing 2.11 and replacing it with 2.0.1?
>> 
>> Thank you for the review.
>> 
>> I do not mind, for all I need is the stable release. However, I'm not
>> the one who packaged wine in the first place. Maybe its author has
>> a different use case.
>
> I see.
>
>> Anyway, the patch implements the less invasive solution. We can also
>> apply it for now and settle on the next stable release, whenever it
>> happens. Note that we have other packages in the same situation (e.g.,
>> lilypond).
>
> IIUC, I think that's a good idea. We'll keep both versions of Wine until
> the development releases reach "stable" status, then we'll drop the
> development version.

Sounds reasonable to me too.

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.

Thanks,
Ludo’.

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

* [bug#27546] [PATCH] Add wine stable release
  2017-07-02 15:09       ` Ludovic Courtès
@ 2017-07-02 21:25         ` Nicolas Goaziou
  2017-07-03  7:33           ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2017-07-02 21:25 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27546

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

Hello,

ludo@gnu.org (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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-wine-Add-stable-release.patch --]
[-- Type: text/x-diff, Size: 2110 bytes --]

From 0198473e04fd7f885a6ead5d2ecc5aa1962fd935 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
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


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

* [bug#27546] [PATCH] Add wine stable release
  2017-07-02 21:25         ` Nicolas Goaziou
@ 2017-07-03  7:33           ` Ludovic Courtès
  2017-07-03 16:19             ` Nicolas Goaziou
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2017-07-03  7:33 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 27546

Hello,

Nicolas Goaziou <mail@nicolasgoaziou.fr> skribis:

> From 0198473e04fd7f885a6ead5d2ecc5aa1962fd935 Mon Sep 17 00:00:00 2001
> From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
> 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.

[...]

> +;; 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")
              ^~--

Should be “wine-next”.

Otherwise LGTM, thank you!

Ludo’.

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

* [bug#27546] [PATCH] Add wine stable release
  2017-07-03  7:33           ` Ludovic Courtès
@ 2017-07-03 16:19             ` Nicolas Goaziou
  2017-07-18 12:44               ` bug#27546: " Alex Kost
  0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2017-07-03 16:19 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27546

Hello,

ludo@gnu.org (Ludovic Courtès) writes:

>> +;; 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")
>               ^~--
>
> Should be “wine-next”.

Fixed.

> Otherwise LGTM, thank you!

Pushed. Thank you.

Regards,

-- 
Nicolas Goaziou                                                0x80A93738

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

* bug#27546: [PATCH] Add wine stable release
  2017-07-03 16:19             ` Nicolas Goaziou
@ 2017-07-18 12:44               ` Alex Kost
  0 siblings, 0 replies; 9+ messages in thread
From: Alex Kost @ 2017-07-18 12:44 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 27546-done

Hi, Nicolas.  I've noticed this "bug" is still opened.  In case you
didn't know: you can close any bug by sending a message to
<NNNNN-done@debbugs.gnu.org> (as I am doing with this message).

-- 
Alex

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

end of thread, other threads:[~2017-07-18 12:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-01 11:53 [bug#27546] [PATCH] Add wine stable release Nicolas Goaziou
2017-07-01 17:38 ` Leo Famulari
2017-07-01 19:41   ` Nicolas Goaziou
2017-07-02 11:42     ` Leo Famulari
2017-07-02 15:09       ` Ludovic Courtès
2017-07-02 21:25         ` Nicolas Goaziou
2017-07-03  7:33           ` Ludovic Courtès
2017-07-03 16:19             ` Nicolas Goaziou
2017-07-18 12:44               ` bug#27546: " Alex Kost

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).