GNU bug report logs - #42923
[core-updates]: Add meson/latest and update wayland/sway.

Previous Next

Package: guix-patches;

Reported by: Brendan Tildesley <mail <at> brendan.scot>

Date: Tue, 18 Aug 2020 23:58:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42923 in the body.
You can then email your comments to 42923 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Tue, 18 Aug 2020 23:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brendan Tildesley <mail <at> brendan.scot>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 18 Aug 2020 23:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <mail <at> brendan.scot>
To: guix-patches <at> gnu.org
Subject: [core-updates]: Add meson/latest and update wayland/sway.
Date: Wed, 19 Aug 2020 09:57:26 +1000
I wanted to update sway but it requires a an update to wayland and 
meson, which rebuilds thousands of things. I'm not sure the full process 
for updating something like meson and wayland but I wanted to get the 
ball rolling so I made these patches that add meson/latest and update 
sway applied to the core-updates branch. I had tested them on master and 
and was able to launch sway 1.5 just fine.





Information forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Wed, 19 Aug 2020 00:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 42923 <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <mail <at> brendan.scot>
To: 42923 <at> debbugs.gnu.org
Subject: [PATCH 1/5] gnu: Add meson/latest.
Date: Wed, 19 Aug 2020 09:58:52 +1000
* gnu/packages/build-tools.scm (meson/latest): New variable.
---
 gnu/packages/build-tools.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 7213c1bd0b..a464009761 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2020 Leo Prikler <leo.prikler <at> student.tugraz.at>
 ;;; Copyright © 2020 Yuval Kogman <nothingmuch <at> woobling.org>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba <at> kadziolka.net>
+;;; Copyright © 2020 Brendan Tildesley <mail <at> brendan.scot>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -222,6 +223,23 @@ resembles Python.")
     ;; People should probably install "meson", not "meson-for-build".
     (properties `((hidden? . #t)))))
 
+(define-public meson/latest
+  ;; The rpath patch is no longer needed since this issue was resolved:
+  ;; https://github.com/mesonbuild/meson/issues/2567
+  (package
+    (inherit meson)
+    (name "meson")
+    (version "0.55.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/mesonbuild/meson/"
+                                  "releases/download/" version  "/meson-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1070kjiirxxdfppmrhi3wsc6rykay1zlciqrzayjhjg0hkw42mrv"))))
+    (properties `((hidden? . #t)))))
+
 (define-public premake4
   (package
     (name "premake")
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Wed, 19 Aug 2020 00:00:03 GMT) Full text and rfc822 format available.

Message #11 received at 42923 <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <mail <at> brendan.scot>
To: 42923 <at> debbugs.gnu.org
Subject: [PATCH 2/5] gnu: wayland: Update to 1.18.0.
Date: Wed, 19 Aug 2020 09:58:53 +1000
* gnu/packages/freedesktop.scm (wayland): Update to 1.18.0.
---
 gnu/packages/freedesktop.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 23cd1aabf9..ff22ff2df3 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -637,14 +637,14 @@ Python.")
 (define-public wayland
   (package
     (name "wayland")
-    (version "1.17.0")
+    (version "1.18.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://wayland.freedesktop.org/releases/"
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "194ibzwpdcn6fvk4xngr4bf5axpciwg2bj82fdvz88kfmjw13akj"))))
+                "0k995rn96xkplrapz5k648j651wc43kq817xk1x8280h16gsfxa6"))))
     (build-system gnu-build-system)
     (arguments
      `(#:parallel-tests? #f))
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Wed, 19 Aug 2020 00:00:03 GMT) Full text and rfc822 format available.

Message #14 received at 42923 <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <mail <at> brendan.scot>
To: 42923 <at> debbugs.gnu.org
Subject: [PATCH 4/5] gnu: wlroots: Update to 0.11.0.
Date: Wed, 19 Aug 2020 09:58:55 +1000
* gnu/packages/wm.scm (wlroots): Update to 0.11.0.
---
 gnu/packages/wm.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 2849873329..fb90173ef5 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -68,6 +68,7 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages build-tools) ;; For meson/latest
   #:use-module (gnu packages base)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages calendar)
@@ -1312,7 +1313,7 @@ functionality to display information about the most commonly used services.")
 (define-public wlroots
   (package
     (name "wlroots")
-    (version "0.10.1")
+    (version "0.11.0")
     (source
      (origin
        (method git-fetch)
@@ -1321,10 +1322,11 @@ functionality to display information about the most commonly used services.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0j2lh9vc92zhn44rjbia5aw3y1rpgfng1x1h17lcvj5m4i6vj0pc"))))
+        (base32 "08d5d52m8wy3imfc6mdxpx8swhh2k4s1gmfaykg02j59z84awc6p"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags '("-Dlogind-provider=elogind")
+       #:meson ,meson/latest
        #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'hardcode-paths
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Wed, 19 Aug 2020 00:00:04 GMT) Full text and rfc822 format available.

Message #17 received at 42923 <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <mail <at> brendan.scot>
To: 42923 <at> debbugs.gnu.org
Subject: [PATCH 3/5] gnu: wayland-protocols: Update to 1.20.
Date: Wed, 19 Aug 2020 09:58:54 +1000
* gnu/packages/freedesktop.scm (wayland-protocols): Update to 1.20.
---
 gnu/packages/freedesktop.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index ff22ff2df3..997d3477e2 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -673,7 +673,7 @@ applications, X servers (rootless or fullscreen) or other display servers.")
 (define-public wayland-protocols
   (package
     (name "wayland-protocols")
-    (version "1.18")
+    (version "1.20")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -681,7 +681,7 @@ applications, X servers (rootless or fullscreen) or other display servers.")
                     "wayland-protocols-" version ".tar.xz"))
               (sha256
                (base32
-                "1cvl93h83ymbfhb567jv5gzyq08181w7c46rsw4xqqqpcvkvfwrx"))))
+                "1rsdgvkkvxs3cjhpl6agvbkm53vm7k8rg127j9y2vn33m2hvg0lp"))))
     (build-system gnu-build-system)
     (inputs
      `(("wayland" ,wayland)))
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Wed, 19 Aug 2020 00:00:04 GMT) Full text and rfc822 format available.

Message #20 received at 42923 <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <mail <at> brendan.scot>
To: 42923 <at> debbugs.gnu.org
Subject: [PATCH 5/5] gnu: sway: Update to 1.5.
Date: Wed, 19 Aug 2020 09:58:56 +1000
* gnu/packages/wm.scm (sway): Update to 1.5.
---
 gnu/packages/wm.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index fb90173ef5..89d0a30712 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1359,7 +1359,7 @@ modules for building a Wayland compositor.")
 (define-public sway
   (package
     (name "sway")
-    (version "1.4")
+    (version "1.5")
     (source
      (origin
        (method git-fetch)
@@ -1368,10 +1368,11 @@ modules for building a Wayland compositor.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "11qf89y3q92g696a6f4d23qb44gqixg6qxq740vwv2jw59ms34ja"))))
+        (base32 "0r3b7h778l9i20z3him9i2qsaynpn9y78hzfgv3cqi8fyry2c4f9"))))
     (build-system meson-build-system)
     (arguments
-     `(#:phases
+     `(#:meson ,meson/latest
+       #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'hardcode-paths
            (lambda* (#:key inputs #:allow-other-keys)
-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Fri, 21 Aug 2020 20:46:01 GMT) Full text and rfc822 format available.

Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Joshua Branson <jbranso <at> dismail.de>
To: guix-patches <at> gnu.org 
Subject: Re: [bug#42923] [PATCH 1/5] gnu: Add meson/latest.
Date: Fri, 21 Aug 2020 16:45:00 -0400
Thanks for your work on this!

I believe that you can make your latest version of meson a "hidden"
package.  You could name it something like "meson-latest", that way only
the newer version of sway would use it.  And it wouldn't require a
rebuild of the world.  Perhaps the same is true for wayland.

You can look for an example in the gcc.scm file.  They have gcc-4.7 as a
hidden package.  Users cannot install that package, instead they install
gcc-toolchain.

Thanks,

Joshua

--
Joshua Branson
Sent from Emacs and Gnus




Information forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Sat, 22 Aug 2020 02:07:02 GMT) Full text and rfc822 format available.

Message #26 received at 42923 <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <mail <at> brendan.scot>
To: 42923 <at> debbugs.gnu.org
Cc: jbranso <at> dismail.de
Subject: [core-updates]: Add meson/latest and update wayland/sway.
Date: Sat, 22 Aug 2020 12:06:06 +1000
[Message part 1 (text/plain, inline)]
I was under the impression that this is precisely what I had done. In Guix, the inputs of a package are typically refered to by its scheme symbol rather than its name, so this does not cause a rebuilt as I have  used the symbol meson/latest. It will mean if someone runs Guix install meson, they will get this latest version by default, by that shouldn't matter. Most of the rebuilding should be caused by the fact that Wayland was also updated. 

Are my assumptions wrong?
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Sat, 22 Aug 2020 02:09:02 GMT) Full text and rfc822 format available.

Message #29 received at 42923 <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <mail <at> brendan.scot>
To: 42923 <at> debbugs.gnu.org
Cc: jbranso <at> dismail.de
Subject: [core-updates]: Add meson/latest and update wayland/sway.
Date: Sat, 22 Aug 2020 12:08:12 +1000
[Message part 1 (text/plain, inline)]
Also it looks like I did make it hidden anyway…
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Sun, 23 Aug 2020 14:40:02 GMT) Full text and rfc822 format available.

Message #32 received at 42923 <at> debbugs.gnu.org (full text, mbox):

From: Joshua Branson <jbranso <at> dismail.de>
To: 42923 <at> debbugs.gnu.org
Subject: Re: [bug#42923] [core-updates]: Add meson/latest and update
 wayland/sway.
Date: Sun, 23 Aug 2020 10:39:47 -0400
Ah, my mistake.  I withdraw my comment.  I'll have to test your patches
at some point.  I'd like to start using the latest sway!

--
Joshua Branson
Sent from Emacs and Gnus




Information forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Mon, 24 Aug 2020 04:38:02 GMT) Full text and rfc822 format available.

Message #35 received at 42923 <at> debbugs.gnu.org (full text, mbox):

From: "bdju" <bdju <at> tilde.team>
To: <42923 <at> debbugs.gnu.org>
Date: Sun, 23 Aug 2020 23:28:00 -0500
+1 for wanting to use latest sway




Information forwarded to guix-patches <at> gnu.org:
bug#42923; Package guix-patches. (Sat, 29 Aug 2020 07:30:02 GMT) Full text and rfc822 format available.

Message #38 received at 42923 <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <mail <at> brendan.scot>
To: 42923 <at> debbugs.gnu.org
Subject: Can't run xwayland applications with Sway 1.5
Date: Sat, 29 Aug 2020 07:29:23 +0000
Currently, when I switch to Sway 1.5, it runs, but any X11 program 
errors saying Cannot open display :0. Not sure what's causing it.





Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sun, 13 Dec 2020 19:47:02 GMT) Full text and rfc822 format available.

Notification sent to Brendan Tildesley <mail <at> brendan.scot>:
bug acknowledged by developer. (Sun, 13 Dec 2020 19:47:02 GMT) Full text and rfc822 format available.

Message #43 received at 42923-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Brendan Tildesley <mail <at> brendan.scot>
Cc: 42923-done <at> debbugs.gnu.org
Subject: Re: [bug#42923] [core-updates]: Add meson/latest and update
 wayland/sway.
Date: Sun, 13 Dec 2020 14:46:29 -0500
On Wed, Aug 19, 2020 at 09:57:26AM +1000, Brendan Tildesley wrote:
> I wanted to update sway but it requires a an update to wayland and meson,
> which rebuilds thousands of things. I'm not sure the full process for
> updating something like meson and wayland but I wanted to get the ball
> rolling so I made these patches that add meson/latest and update sway
> applied to the core-updates branch. I had tested them on master and and was
> able to launch sway 1.5 just fine.

Unfortunately, it appears that somebody else pushed equivalent changes
without noticing these patches :/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 11 Jan 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.