From patchwork Thu Nov 7 22:22:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70095 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 2E06B27BBEA; Thu, 7 Nov 2024 22:26:36 +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=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 E65D927BBE2 for ; Thu, 7 Nov 2024 22:26:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9Aw7-00063p-PT; Thu, 07 Nov 2024 17:25:07 -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-0005bB-Bc 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 1t9AvE-0006rE-HC 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=j+gPdt9EjPLpt0jX1YyMoMSNXH3gxZ9r1LGWiG6+keU=; b=u7M88XqWy6MRpKTnNLHfsVWce4AKx63adm8oqhqc/UxUWrL7eNnpk34kIA5tJ3tvbdL2cdvJ962qr1nt8ZC4Z7wUBJhKvT7Lx5cCJ8dXupVgb4ILhzZMFMlRWnpgKvJWYHW18wSxiet7KXH/6zgcAx4APpZmgGYpR6r+wJAQ2u7IAIq/IJj6u0zdXwGzU/o6ZMFODy9JQ+fEJZeJYGrVrsMVobjUT12ZkemzEVJjiQ5OuTOE7SpFOR3QBM9BvdlFXFgZfNorPEC7dmBf+fudmko+fm3HcsOR7Ohi6o6KGOV5a/0qNmJh8nTjXRJFs76JpGxdHFmj+WjMSe1Ip7D/5Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9AvE-0007jd-AK; Thu, 07 Nov 2024 17:24:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74233] [PATCHv2 rust-team 22/40] gnu: Add rust-xkb-0.3. 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:12 +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.173101822629405 (code B ref 74233); Thu, 07 Nov 2024 22:24:12 +0000 Received: (at 74233) by debbugs.gnu.org; 7 Nov 2024 22:23:46 +0000 Received: from localhost ([127.0.0.1]:49991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Aun-0007e6-Jj for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:45 -0500 Received: from confino.investici.org ([93.190.126.19]:23155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9AuZ-0007Yc-DZ 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=1731018211; bh=j+gPdt9EjPLpt0jX1YyMoMSNXH3gxZ9r1LGWiG6+keU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zr84EcTWW9heyTfzc1+wDmdaY7ryYSxJle/954RALNp8LfLdBg5e+fNfpJrDrmNKX OxtgahvySMlgKw3Xyl88U7TuXC02eDx9tg2g9KQ6URjvlBXq8ZiKZLjO7QxiwMOJVQ 3lcQm25zbVVeT9apXFDSek2Fu6yWEtRb5EMw/Na8= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxRl1sr2z1132; Thu, 7 Nov 2024 22:23:31 +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 4XkxRl14rbz111Z; Thu, 7 Nov 2024 22:23:31 +0000 (UTC) Date: Thu, 7 Nov 2024 23:22:07 +0100 Message-ID: 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-xkb-0.3): New variable. Change-Id: Ie8a93fc23aae86160a2f47b2e5631fc1e6fc9e50 --- gnu/packages/crates-graphics.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index ef79f8aabf..197f77a724 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -5925,6 +5925,32 @@ (define-public rust-xkbcommon-sys-1.4 (description "This package provides Bindings to libxkbcommon.") (license license:wtfpl2))) +(define-public rust-xkb-0.3 + (package + (name "rust-xkb") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "xkb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03rfx8n3pajc95riksnshh3aqm8dqij2iis5icl88pa6ylk9x0gj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-xcb" ,rust-xcb-1) + ("rust-xkbcommon-sys" ,rust-xkbcommon-sys-1.4)))) + (native-inputs + (list pkg-config)) + (inputs + (list clang libxkbcommon-1.5 mesa)) + (home-page "https://github.com/meh/rust-xkb") + (synopsis "Rusty wrapper around libxkbcommon") + (description "This package provides Rusty wrapper around libxkbcommon.") + (license license:wtfpl2))) + (define-public rust-xkeysym-0.2 (package (name "rust-xkeysym")