From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EK2zFvY2TGOagAEAbAwnHQ (envelope-from ) for ; Sun, 16 Oct 2022 18:53:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ccaxFvY2TGP6VAEA9RJhRA (envelope-from ) for ; Sun, 16 Oct 2022 18:53:10 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 213462712E for ; Sun, 16 Oct 2022 18:53:10 +0200 (CEST) Received: from localhost ([::1]:38832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok6sv-000467-4S for larch@yhetil.org; Sun, 16 Oct 2022 12:53:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok6so-00045y-BX for guix-patches@gnu.org; Sun, 16 Oct 2022 12:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46905) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ok6so-0006dQ-4H for guix-patches@gnu.org; Sun, 16 Oct 2022 12:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ok6sn-0001T2-UL for guix-patches@gnu.org; Sun, 16 Oct 2022 12:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58566] [PATCH core-updates] gnu: mesa: Update to 22.2.1. Resent-From: Kaelyn Takata Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Oct 2022 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58566 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58566@debbugs.gnu.org Cc: Kaelyn Takata X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16659391335570 (code B ref -1); Sun, 16 Oct 2022 16:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Oct 2022 16:52:13 +0000 Received: from localhost ([127.0.0.1]:45983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok6s0-0001Rl-L9 for submit@debbugs.gnu.org; Sun, 16 Oct 2022 12:52:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:45078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok6ry-0001Re-Q0 for submit@debbugs.gnu.org; Sun, 16 Oct 2022 12:52:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok6ry-00043r-KU for guix-patches@gnu.org; Sun, 16 Oct 2022 12:52:10 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:32577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok6rw-0006aB-VF for guix-patches@gnu.org; Sun, 16 Oct 2022 12:52:10 -0400 Date: Sun, 16 Oct 2022 16:51:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1665939120; x=1666198320; bh=5qGgXWEGnAw51893jRLGZBBNOVwYAKwjBZEkZavTbS8=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=W+VZtg7pX+bgu7nEhRfel9yevW7F99iERjb2eSrUzGHSyX2NcpLSZOj0H25Q8a//6 wN+2RWAOEtUst6bSY4MnsQiycN2ThgnW+oJIMxxb6TY2yubTCEEfAQQMfVbFx2T//F 2Z6vU/M+Nd44jFORaiWoi7KuQ8SOPY9bi0kvnAGccLZr5DoyzmNfjr2zBTZ1N8IqjH 22HxaHCEQEaDfB7I7cmkNKl7vMXf3XZuHlB22ztP28v76Y+xXMVwYFwT3AR1iDisih W83BlgspmsQdh6dPGZIDVaYrwJm6ffhgBip14As3Uyf62ByyX8lREjvw0IzEs7K/1I ieZzLyHOsXetw== Message-ID: <20221016165127.23333-1-kaelyn.alexi@protonmail.com> Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Kaelyn Takata X-ACL-Warn: , Kaelyn Takata via Guix-patches From: Kaelyn Takata via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665939190; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5qGgXWEGnAw51893jRLGZBBNOVwYAKwjBZEkZavTbS8=; b=N2VgDxZnGxxCWeatOxxdzuPcN9EwQD1zyuryDAeR6LllksvXvO4E2ly4fqSwQpPIR/tILP th7S0qrUWbMg+sdWtGaoAROWNIdrJj3hMTVvTHOAaClz2iooCqAtWIsLfo8+qTupNFCXzA PLt1MaXyAflravNstgAcMKD4esANHZ6HPnw1k0gSrHpdOVLIltiocEh0fiZ33UksAzoOGn YNyVozdpVmYAO8QaGeewRH77JAT80uIxTMtafdjzsN9bfgwL33tHcmwa6FeBo5ok9PqvC2 3tTkepf/psfYYmA6VQPGJHzCD84QyFJpaA+DkUyZk0SEF+RzUMj7EZrUHc7s5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665939190; a=rsa-sha256; cv=none; b=VXEEvwNfC0j0i0CzxBhdsV2fG7yNQ8cPI9mQWYU9hnH1n5x2xWiwrM5AR+wMVb7yACF6oD OuSPzAocy7MFwxKGP1KaX0OI2yhe2cmt76t+uV6gAxt5CQI4JVG0pzRQDwcWgYaPbAd1Pe x0XYSXUdUtVVkuGVZ0ZbhhjSAQnGSDFJhWRql/CUqZwbxwOMyvRlhYJvn+QkyG0ergJRpa g72CMhEW2V66zvhZjHe+gAqhHSgGkuMDV0DRlMqQP7sU+FnwcymfifjCid6m/4rtYBgUE1 iggdYlL8oC43Kh2IF8hGFYWidChzRp+udC4zfHNRfgs/SMqsGs5SwhEKJP7wPA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=W+VZtg7p; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=W+VZtg7p; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 213462712E X-Spam-Score: -3.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: PyJ5UX6vKcMJ * gnu/packages/gl.scm (mesa): Update to 22.1.7. [phases]: Add phase to insert the full store path to the vulkan layer shared libraries into the layer manifests so the vulkan loader can find the layer shared libraries. --- gnu/packages/gl.scm | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 7810d1d8ae..895c9c1b54 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -267,7 +267,7 @@ (define libva-without-mesa (define-public mesa (package (name "mesa") - (version "22.1.7") + (version "22.2.1") (source (origin (method url-fetch) @@ -279,7 +279,7 @@ (define-public mesa version "/mesa-" version ".tar.xz"))) (sha256 (base32 - "12ax6lmshc8aqzw5ca7ab7f7z64n9nyzci4r1s6y1l0iryr8x0ys")))) + "0g5ij57ljh3l04qf7qpildl45g5g7s8ycngc19z5xx1k1anbwy80")))) (build-system meson-build-system) (propagated-inputs ;; The following are in the Requires.private field of gl.pc. @@ -488,7 +488,28 @@ (define-public mesa file) (symlink reference file))) others)))) - (delete-duplicates inodes)))))))) + (delete-duplicates inodes))))) + (add-after 'install 'set-layer-path-in-manifests + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (implicit-path (string-append + out + "/share/vulkan/implicit_layer.d/")) + (explicit-path (string-append + out + "/share/vulkan/explicit_layer.d/")) + (fix-layer-path + (lambda (layer-name) + (let* ((explicit (string-append explicit-path layer= -name ".json")) + (implicit (string-append implicit-path layer= -name ".json")) + (manifest (if (file-exists? explicit) + explicit + implicit))) + (substitute* manifest + (((string-append "\"lib" layer-name ".so\"")) + (string-append "\"" out "/lib/lib" layer-name= ".so\""))))))) + (for-each fix-layer-path '("VkLayer_MESA_device_select" + "VkLayer_MESA_overlay")))))))) (home-page "https://mesa3d.org/") (synopsis "OpenGL and Vulkan implementations") (description "Mesa is a free implementation of the OpenGL and Vulkan -- 2.37.3