From patchwork Sat May 4 11:34:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64026 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 19E5B27BBEB; Sat, 4 May 2024 12:38:46 +0100 (BST) 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_INVALID, DKIM_SIGNED,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 CEAD927BBE9 for ; Sat, 4 May 2024 12:38:45 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3Di4-0003Zj-0a; Sat, 04 May 2024 07:37:44 -0400 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 1s3Di2-0003Z0-KB for guix-patches@gnu.org; Sat, 04 May 2024 07:37:42 -0400 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 1s3Di2-0006JS-BM for guix-patches@gnu.org; Sat, 04 May 2024 07:37:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DiP-0004TU-8K; Sat, 04 May 2024 07:38:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 05/75] gnu: Add rust-xkbcommon-sys-1. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:38:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482265916841 (code B ref 69257); Sat, 04 May 2024 11:38:05 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:37:39 +0000 Received: from localhost ([127.0.0.1]:52892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dhy-0004NI-58 for submit@debbugs.gnu.org; Sat, 04 May 2024 07:37:38 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:44215 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dhu-0004Lm-7Q for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5If/T00nQacKZU8O8uNn/4EtMCby+f6Zeu/4g6drxTk=; b=a01nljhA7Ri478aocuk/PN23JVPT7T2IFtPmtMwXOEpcC6Rg7FAkFfuBAm713VoPtWLlXD J/l8xsd3pYn+OuY4X5/kCATBq+UBJwO3Lvgnf3TyJ7lE95nlVOJzk05B0Wcyg5uzDKSWNA NxlKTA5WU8zkYFXEav0SRf5U7MIDOSCt/+H7rAp9JyX+o0w8bMALs48HQjteHrPN55Ztzv 9r60ruv6NaNiZlPM6KsmPcueLlp9ye+2hDSDMp3W8g/X2XbGpWOWqmqPTOsjyJmxl/Zz5L E78WyOO1huQ6jWdfRkTI9UWtTx2Bi08MCm0C4AowrDsBCuXOXfHqzeuZ6S+xyQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 118daf92 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:36:58 +0000 (UTC) Date: Sat, 4 May 2024 13:34:37 +0200 Message-ID: X-Mailer: git-send-email 2.41.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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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-xkbcommon-sys-1): Add variable. Change-Id: I7988733ce92750a0062cd8a81437b454f24cf548 --- gnu/packages/crates-graphics.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 5705fb1af0..07d00550a9 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -5889,6 +5889,35 @@ (define-public rust-xkbcommon-dl-0.4 "Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings.") (license license:expat))) +(define-public rust-xkbcommon-sys-1 + (package + (name "rust-xkbcommon-sys") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "xkbcommon-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "142ww452qq0q47fmc4khzsd0fbwmb71fjl7pci573zf83fvdpxsn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.63) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'add-absolute-library-references + (lambda* (#:key inputs #:allow-other-keys) + (setenv "XKBCOMMON_LIB_DIR" + (assoc-ref inputs "libxkbcommon"))))))) + (native-inputs (list pkg-config)) + (inputs (list clang libxkbcommon-1.5)) + (home-page "https://github.com/meh/rust-xkbcommon-sys") + (synopsis "Bindings to libxkbcommon") + (description "This package provides bindings to libxkbcommon.") + (license license:wtfpl2))) + (define-public rust-xkeysym-0.2 (package (name "rust-xkeysym")