From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CO98IlPNe2OA0wAAbAwnHQ (envelope-from ) for ; Mon, 21 Nov 2022 20:11:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sIdfIlPNe2PfbAEAauVa8A (envelope-from ) for ; Mon, 21 Nov 2022 20:11:15 +0100 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 1CCC439C39 for ; Mon, 21 Nov 2022 20:11:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxCC8-00071u-TR; Mon, 21 Nov 2022 14:11:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxCC6-00071f-Uy for guix-patches@gnu.org; Mon, 21 Nov 2022 14:11:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxCC6-0007Dz-F6 for guix-patches@gnu.org; Mon, 21 Nov 2022 14:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxCC6-0001H3-0n for guix-patches@gnu.org; Mon, 21 Nov 2022 14:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59453] [PATCH core-updates] gnu: mesa: Fix library paths in Vulkan layer manifests. Resent-From: Kaelyn Takata Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Nov 2022 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59453 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59453@debbugs.gnu.org Cc: Kaelyn Takata X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16690578124820 (code B ref -1); Mon, 21 Nov 2022 19:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Nov 2022 19:10:12 +0000 Received: from localhost ([127.0.0.1]:48854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxCBH-0001Fg-UK for submit@debbugs.gnu.org; Mon, 21 Nov 2022 14:10:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:40536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxCBG-0001FV-1q for submit@debbugs.gnu.org; Mon, 21 Nov 2022 14:10:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxCBF-0006za-0p for guix-patches@gnu.org; Mon, 21 Nov 2022 14:10:09 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxCBC-0006mw-8x for guix-patches@gnu.org; Mon, 21 Nov 2022 14:10:08 -0500 Date: Mon, 21 Nov 2022 19:09:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669057795; x=1669316995; bh=viG4+WRfnocCbqD2OLc5rHHtbYltWwNN8xgOCZgYQwM=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=PDdb17AIjJI4+CeoZX2dltowAaEUxPYLWkajNq2lrmsJp/ZIOOOgk8IBIlD71uW5B iX9EtHK0vIbIELi1CLZC7Zv/x/7YNM8MjONrsTmCvR48uoKnNKcFM/w7DzeAX4VhzG w9HM6Pyhj7xyA+39Jo6idVvhqQZOBIawixyUEuPEUqlTHO/u5ywfQ+VMw79ndJKhkL J5NJ/mK7tKm5fCsIIVA4BxXIEgY2uSfUEjnt6ymGxu7ZOnYkdGJWnmwgPcaPxyTC6/ 0zMJPTOEY6ozJKDi7/tJHXieH9muq9lC5eYculgBgwpFNXFC9fiHi7/XowNkx8Vm3M BhXES9F7aNhNg== Message-ID: <4782cd33fae4a0f5e120dab213753d9d51b6d94a.1669057759.git.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.40.134; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-40134.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, 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: , Reply-to: Kaelyn Takata X-ACL-Warn: , Kaelyn Takata via Guix-patches From: Kaelyn Takata via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org 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=1669057875; 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=viG4+WRfnocCbqD2OLc5rHHtbYltWwNN8xgOCZgYQwM=; b=Uoa8efTY7rNXq18UEayOytsDGwJmdZlc+7tjPh30UnK0R8TuherJjeMs1pOtKb0wudjIWu kLYar02gA4j0w67PYXsln0yqTFaiD9Mc0ClEg+9gklEh4qwB/yCt5L7y5RKYlOd0xX31wY GIlJ7RogfXwqS6zFBdusep9HsE+PCUKfcEp+Y7CcYzUVYlJp/DgPrLZeC57JszqG/FT687 udvGbqmBTtPDzAQSaGA7G7u/rGvJQVjJNv3RrJKZVQJrsdr6Mz4pgy/C/kx1B6FWBOT1my IOhn6Dq2Cb/Vq26pedyhr1M6LPDJWZxQxY4E0B89n1KROVxzHktQOVkxlbGFFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669057875; a=rsa-sha256; cv=none; b=mrhBZFRcQw5oSqBv/d170G0U9jwzI3MVC7Qlmme3fPB918rF32wC0x1AJ0eaYrdM7C8Si3 2IF1uqzEhyKWRn4G2zsarilZFyDR1GckXq2q8/ypkyJhUZUMPy7z8vTP5QjNqvU92MUycb JyMEnWwzgN531si+uamOkFu9HjkgmzqVbXISrP4m1TjuxGSAizIwW6XLZzQ4qI2QiVa7c3 KisbRgGzwkpzTtGxViqqbpc96qmwI8wmmx67ayqsrI1MKoVYTv4vjqonqbud6Mg9Pvkr/z V4/LzfxosZZ2wfhzKG+uNnR4RxM9jiwpeDKpxDRCdRbUujfT8rb8+6Ze7nx5Hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=PDdb17AI; 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.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=PDdb17AI; 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: 1CCC439C39 X-Spam-Score: -3.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: P0FKcMIrARZm * gnu/packages/gl.scm (mesa): Fix library paths in Vulkan layer manifests. --- gnu/packages/gl.scm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index dd62fac13e..c26a51cb32 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -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 base-commit: affaacf4f46639dcc8239a438cad11c2a6ef6c9a -- 2.38.1