From patchwork Thu Nov 7 22:22:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70078 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 2631F27BBE9; Thu, 7 Nov 2024 22:25:45 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 339B827BBEA for ; Thu, 7 Nov 2024 22:25:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9AwG-0006HS-Qd; Thu, 07 Nov 2024 17:25:18 -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 1t9Avb-0005bC-C3 for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:36 -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 1t9AvD-0006rA-Gb for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=pmmhjZutiG4RQVGV6d9pwt39pKeOo7h3uZqVkuZlm8A=; b=v6gWdhV4bWL0sdJ6kmSVDeECDhCJ8vo18Wzpi9KI+N/TnSbjh1OM1q2cnVLsiNPujiPrBJpHtLObeydMM+bqdzlLXO24hRbKbYJZ8adEFCmilodl09Gt7xKG/4dn5l7yqmj7rwKIT9B9+4cBQHG3Qzv/yyscM5Phy0ycZju2j+bdYz+6YCLevBze/ZqD6QO/89IWQAWFBq0dlwduNw3BlrgzfUXvWjPZQEHnzQ3SCAneMVtbKgtDgUI2JObwofElVZeExJha8u0SjFLq5G8OvRPDK+5UMYQnCW/VXobGMz5/XWiXuvWMlpsdDr3lsMsS7h2ypZ9KwyAfS4ntcx5+oA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9AvD-0007jN-An; Thu, 07 Nov 2024 17:24:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74233] [PATCHv2 rust-team 20/40] gnu: Add rust-khronos-egl-5. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 07 Nov 2024 22:24:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74233@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74233-submit@debbugs.gnu.org id=B74233.173101822529390 (code B ref 74233); Thu, 07 Nov 2024 22:24:11 +0000 Received: (at 74233) by debbugs.gnu.org; 7 Nov 2024 22:23:45 +0000 Received: from localhost ([127.0.0.1]:49987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Aum-0007dr-Gw for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:45 -0500 Received: from confino.investici.org ([93.190.126.19]:49087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9AuY-0007ZA-Qv for 74233@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018210; bh=pmmhjZutiG4RQVGV6d9pwt39pKeOo7h3uZqVkuZlm8A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZNF9YF5jgZXmi6SS4uXHJhhF792ptzMUiXW6iJv6UFBaFV6OPRynolgoTaf9gyh83 pGw0UabssByuYpMr5LGZ6tpGyUGIxpwsWg5LT/Y2SLpXqIPUJ2Y3v6DhKS+NviURgc bf99t9FsUm33kl5sPxPRA0t57a0svBkNXS9Fe6dw= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxRk4pv9z111v; Thu, 7 Nov 2024 22:23:30 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkxRk44FMz111Z; Thu, 7 Nov 2024 22:23:30 +0000 (UTC) Date: Thu, 7 Nov 2024 23:22:05 +0100 Message-ID: <3e13d19f3ba2bc01baefe81df21519a26efaad15.1731018145.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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 * gnu/packages/crates-graphics.scm (rust-khronos-egl-5): New variable. Change-Id: I37f5b4e4a08d51e7dd2b7d6638b5f2c8c9e87c90 --- gnu/packages/crates-graphics.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 6c8e42cdda..f08ef1e5b1 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2023, 2024 Jaeme Sifat ;;; Copyright © 2024 Troy Figiel ;;; Copyright © 2024 Sharlatan Hellseher +;;; Copyright © 2024 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -2371,6 +2372,35 @@ (define-public rust-keyframe-1 @end enumerate") (license license:expat))) +(define-public rust-khronos-egl-5 + (package + (name "rust-khronos-egl") + (version "5.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "khronos-egl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qw31jzaly1kcn2smicmcm6g4y5sh0y5l8fnaca85ssaq0b2nf6i")))) + (build-system cargo-build-system) + (arguments + ;; error: doctest failed + `(#:tests? #f + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-libloading" ,rust-libloading-0.8) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:cargo-development-inputs (("rust-gl" ,rust-gl-0.14) + ("rust-wayland-client" ,rust-wayland-client-0.28) + ("rust-wayland-egl" ,rust-wayland-egl-0.28) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.28)))) + (native-inputs (list pkg-config wayland)) + (inputs (list mesa)) + (home-page "https://github.com/timothee-haudebourg/khronos-egl") + (synopsis "Rust bindings for EGL") + (description "This package provides Rust bindings for EGL.") + (license (list license:expat license:asl2.0)))) + (define-public rust-libdav1d-sys-0.6 (package (name "rust-libdav1d-sys")