From patchwork Fri Mar 8 12:32:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: aurtzy X-Patchwork-Id: 2347 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AE77F27BBEA; Fri, 8 Mar 2024 12:38:54 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 305F227BBE2 for ; Fri, 8 Mar 2024 12:38:54 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riZUf-0005H5-SY; Fri, 08 Mar 2024 07:38:33 -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 1riZUd-0005G8-F2 for guix-patches@gnu.org; Fri, 08 Mar 2024 07:38:31 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1riZUd-0005SV-60 for guix-patches@gnu.org; Fri, 08 Mar 2024 07:38:31 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1riZV8-0005FR-GD for guix-patches@gnu.org; Fri, 08 Mar 2024 07:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69637] [PATCH mesa-updates 0/6] gnu: mesa: Update to 24.0.2. Resent-From: aurtzy Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Mar 2024 12:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69637@debbugs.gnu.org Cc: john.kehayias@protonmail.com, aurtzy X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170990152420131 (code B ref -1); Fri, 08 Mar 2024 12:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Mar 2024 12:38:44 +0000 Received: from localhost ([127.0.0.1]:57001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riZUp-0005Ed-Vq for submit@debbugs.gnu.org; Fri, 08 Mar 2024 07:38:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:54982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riZUm-0005EU-4F for submit@debbugs.gnu.org; Fri, 08 Mar 2024 07:38:42 -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 1riZUE-0005Ei-Hi for guix-patches@gnu.org; Fri, 08 Mar 2024 07:38:07 -0500 Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1riZUC-0005J8-8m for guix-patches@gnu.org; Fri, 08 Mar 2024 07:38:06 -0500 Received: by mail-qv1-xf36.google.com with SMTP id 6a1803df08f44-690578e13c4so9622696d6.1 for ; Fri, 08 Mar 2024 04:38:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709901482; x=1710506282; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=o/i2d6hdYkiA72/+oGrbnyjbR3UKqkDELfdVfbLh3ck=; b=cicge8TMSxGtwKj4nNSs1SlyIC9VigTOcoAZbyjV0+bwCbI4PgmgqJ4Sy9GVmsTHYO pHNL7XJUjGAM6au3oH6wsfQNfDISABx41Ff5UYrnVWCm6JvZczA1rAQOTf9q9mGIY+Hi xVsBDQQFICspQZ4nIQtpqgLAQKzM4KwI/RnoCXE++FJro63Tsmrf6cgmxMxSVHV2k2LW z94rwwwwbivYKGF/QCNwzNNnXfJuf8rvTWLXHLkfmHcdIU5YwPa8+vBBBoy3B7vlU0xB S87mi5sCAHqqVwN7q0EBF4xRaNqR6Q+yXTMjYW9ECZZlHFyXCz0SN8m6Rb0qGUMOLE41 fK3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709901482; x=1710506282; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=o/i2d6hdYkiA72/+oGrbnyjbR3UKqkDELfdVfbLh3ck=; b=tjFgEjhFozFd7twWCM977wWuysab7n9cAonopDmgQZKFRo2pYBhAZc6IAfcQprEOGj Say3+rtY1LVNzxtmdhKZLCUZBFpRW6NdgYGozlP2Q2iyLVYBeFSjazifI2AGhMxx6f6s rskzuDS6TkhJ/sHIutqprI0cz8NsiJgY2auDDO8zleBUXNE11qDl7LzTH+nEh3gH102U qUrKxP6QGQ4177A+nMwsb/Lqs7IP046BCKcE5ZsI1cal2eqxoO2S7K5vfycFqxa517JZ r76iQuJTL85VYxdevYSn0Mjk4/CoXTfzVcirvcvKO9cS31pUyCt3c0Cw3MSwqG5nA5No Hn1g== X-Gm-Message-State: AOJu0Yxh35G7PFFMRagb1E57vHyrCeXYZJj+HvN+rUQa03SDyW34HEgi xzBjow1syG9biPBl9QoCCPoXhnmqsuKnPOaAhXKqsze18LNAZUqbeSxUyPoc X-Google-Smtp-Source: AGHT+IFqETqbG6dCX9wSXMaDGzUJF3ZjSsMBUAIp2Etv5lF3odA7pvmrMNOSrp1/kaxTH3qOO6BdWQ== X-Received: by 2002:a0c:eed3:0:b0:68f:cd2c:ee9f with SMTP id h19-20020a0ceed3000000b0068fcd2cee9fmr11108908qvs.29.1709901481980; Fri, 08 Mar 2024 04:38:01 -0800 (PST) Received: from localhost.localdomain (ool-18bb63f6.dyn.optonline.net. [24.187.99.246]) by smtp.gmail.com with ESMTPSA id op29-20020a056214459d00b0068fa815b517sm9763048qvb.6.2024.03.08.04.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 04:38:01 -0800 (PST) From: aurtzy Date: Fri, 8 Mar 2024 07:32:39 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::f36; envelope-from=aurtzy@gmail.com; helo=mail-qv1-xf36.google.com 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello! This series of patches updates Mesa to the latest stable version with the NVK Vulkan driver for NVIDIA GPUs enabled for x86_64 systems. Mesa 24.0.2 depends on a newer version of libdrm (>= 2.4.119), which is pending in another issue (https://issues.guix.gnu.org/68845). Some packages (rust-syn-2.0.39, rust-proc-macro2-1.0.70, rust-quote-1.0.33) were added specifically to be used as sources that satisfy explicit versions of dependencies required by Mesa (for NVK). Would it be better to inline origins in the change-subproject-sources phase? The same question also applies for the rust-unicode-ident-1 source. Currently, the Rust dependencies are found in the build by substituting the fallback https://* URLs in the relevant ./subprojects/*.wrap files with file://*, then relying on the fallback to "download" from the store. It seemed a bit hacky doing it this way, but I'm not aware of a better solution. A newer Meson version is also required for NVK (>= 1.3.0), which this patch series adds a new variable for. x86_64-linux and i686-linux have been tested to successfully build. Cheers, aurtzy aurtzy (6): gnu: Add meson-1.3. gnu: Add rust-syn-2.0.39. gnu: Add rust-proc-macro2-1.0.70. gnu: Add rust-quote-1.0.33. gnu: Add rust-bindgen-cli-0.69. gnu: mesa: Update to 24.0.2. gnu/packages/build-tools.scm | 14 ++++++ gnu/packages/crates-io.scm | 95 ++++++++++++++++++++++++++++++++++++ gnu/packages/gl.scm | 68 +++++++++++++++++++------- 3 files changed, 160 insertions(+), 17 deletions(-) base-commit: 0b5cbca689b2f91949e191ca256ffc9bb48c1141