GNU bug report logs - #36387
[PATCH] gnu: mesa: Fix detection of wayland-scanner pkg-config file.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Kei Kebreau <kkebreau@HIDDEN>; Keywords: patch; dated Wed, 26 Jun 2019 01:55:03 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Jun 2019 01:54:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 25 21:54:12 2019
Received: from localhost ([127.0.0.1]:33960 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hfx8W-0007Iv-Df
	for submit <at> debbugs.gnu.org; Tue, 25 Jun 2019 21:54:12 -0400
Received: from lists.gnu.org ([209.51.188.17]:39741)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kkebreau@HIDDEN>) id 1hfx8V-0007Io-42
 for submit <at> debbugs.gnu.org; Tue, 25 Jun 2019 21:54:11 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45683)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <kkebreau@HIDDEN>) id 1hfx8S-0004CR-KP
 for guix-patches@HIDDEN; Tue, 25 Jun 2019 21:54:10 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kkebreau@HIDDEN>) id 1hfx8R-0005Ca-1r
 for guix-patches@HIDDEN; Tue, 25 Jun 2019 21:54:08 -0400
Received: from mout01.posteo.de ([185.67.36.65]:60288)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <kkebreau@HIDDEN>) id 1hfx8Q-0005AU-RC
 for guix-patches@HIDDEN; Tue, 25 Jun 2019 21:54:06 -0400
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 5A35B16005D
 for <guix-patches@HIDDEN>; Wed, 26 Jun 2019 03:54:04 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1561514044; bh=3u6sYwWxssrZu4r699tKr9e4WcT7R3KPsxaJrcRSK0w=;
 h=From:To:Cc:Subject:Date:From;
 b=hvJv2OVdcVOg1/vqyiPWQ+5LGnuXLhUqEZPzwUImglHA8hVPdLerESmXajszEgY8u
 pyTvGdOgR0cW+DVzfNCqzvcJwBEHEl+Z5c0hGtd3kfw8IP4J/4xEj8SPVMOw/P2vP3
 fRoDAssFrG4SojI1mHjNjVSwbHDJgg4oTs/V3RFMaR42wz41dnNr/x6ZWOEvdYSnyM
 oVFltLAAxOuq+KKL1cC7akYIPrd0H1+Ziz2pzV6hjRtznNUuwBV+/JT1OImlxEWWWt
 wZ8EWo5gNo8G0dqwGE0SFhZi4B/q5HyDS9ha7JwhKvrc7UpMvawxR8hvvYNSvLL/Zf
 EkNXWl/yyhJcw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 45YR0C4Ycpz6tm6;
 Wed, 26 Jun 2019 03:54:03 +0200 (CEST)
From: Kei Kebreau <kkebreau@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: mesa: Fix detection of wayland-scanner pkg-config file.
Date: Tue, 25 Jun 2019 21:53:45 -0400
Message-Id: <20190626015345.19432-2-kkebreau@HIDDEN>
X-Mailer: git-send-email 2.22.0
In-Reply-To: <20190626015345.19432-1-kkebreau@HIDDEN>
References: <20190626015345.19432-1-kkebreau@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 185.67.36.65
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Kei Kebreau <kkebreau@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

* gnu/packages/gl.scm (mesa)[arguments]: Add "patch-meson-build" phase.
---
 gnu/packages/gl.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 96e7fc7165..78f7401f20 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -337,6 +337,15 @@ also known as DXTn or DXTC) for Mesa.")
                        (("'u_format_test',") ""))
                      #t)))
                '())
+         (add-after
+           'unpack 'patch-meson-build
+           (lambda _
+             ;; Without this, meson fails with the following error:
+             ;; Dependency "wayland-scanner" not found, tried pkgconfig.
+             (substitute* "meson.build"
+               (("dependency\\('wayland-scanner', native: true\\)")
+                "dependency('wayland-scanner')"))
+             #t))
          (add-before
            'configure 'fix-dlopen-libnames
            (lambda* (#:key inputs outputs #:allow-other-keys)
--=20
2.22.0





Acknowledgement sent to Kei Kebreau <kkebreau@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#36387; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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