Subject: Re: [bug#42828] [PATCH] gnu: meson: Update to 0.55.0. [core-updates]

From: Alexandros Theodotou <[email-masked]>
Date: Thu, 10 Sep 2020 02:46:48 +0100

Hi,

It seems that what the patch was accomplishing was fixed in version
0.55.0 of meson, so I removed it. I have rebuilt many things using this
meson-for-build (like pango, mesa etc., which use meson) and have
verified that it works.

Please find the updated patch attached. Note that the patch was created
on master since core-updates was broken for me.

Thanks,
Alex

On Wed, 2020-08-12 at 16:26 +0200, Tobias Geerinckx-Rice wrote:
> Alex,
> 
> Alexandros Theodotou 写道：
> > This patch updates meson.
> > Thanks,
> 
> Thank you!  However, this fails to account for 
> meson-for-build-rpath.patch, which is used by the (hidden) 
> ‘meson-for-build’ variant and all meson-build-system packages.
> 
> Kind regards,
> 
> T G-R
From 10f26034fe889baa5704e182d1a37d11871b2207 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <[email-masked]>
Date: Thu, 10 Sep 2020 02:45:43 +0100
Subject: [PATCH] gnu: meson: Update to 0.55.1.

* gnu/packages/build-tools.scm (meson): Update to 0.55.1.
---
 gnu/packages/build-tools.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 7213c1bd0b..c3bb3042a6 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -179,7 +179,7 @@ files and generates build instructions for the Ninja build system.")
 (define-public meson
   (package
     (name "meson")
-    (version "0.53.2")
+    (version "0.55.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://github.com/mesonbuild/meson/"
@@ -187,7 +187,7 @@ files and generates build instructions for the Ninja build system.")
                                   version ".tar.gz"))
               (sha256
                (base32
-                "07y2hh9dfn1m9g4bsy49nbn3vdmd0b2iwr8bxg19fhqq6c7q73ry"))))
+                "1070kjiirxxdfppmrhi3wsc6rykay1zlciqrzayjhjg0hkw42mrv"))))
     (build-system python-build-system)
     (arguments
      `(;; FIXME: Tests require many additional inputs, a fix for the RUNPATH
@@ -216,8 +216,7 @@ resembles Python.")
     (inherit meson)
     (name "meson-for-build")
     (source (origin
-              (inherit (package-source meson))
-              (patches (search-patches "meson-for-build-rpath.patch"))))
+              (inherit (package-source meson))))
 
     ;; People should probably install "meson", not "meson-for-build".
     (properties `((hidden? . #t)))))
-- 
2.27.0