From patchwork Thu Mar 14 21:16:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 61824 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 2012627BBEB; Thu, 14 Mar 2024 21:19:28 +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_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 6196327BBE9 for ; Thu, 14 Mar 2024 21:19:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rksTO-0006WF-Ll; Thu, 14 Mar 2024 17:18:46 -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 1rksT9-0006N0-VX for guix-patches@gnu.org; Thu, 14 Mar 2024 17:18:31 -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 1rksT5-0004Wp-QT for guix-patches@gnu.org; Thu, 14 Mar 2024 17:18:31 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rksTf-0005BJ-MS for guix-patches@gnu.org; Thu, 14 Mar 2024 17:19:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69803] [PATCH rust-team 14/37] gnu: Add rust-accesskit-winit-0.16. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Mar 2024 21:19:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69803 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69803@debbugs.gnu.org Cc: Herman Rimm Received: via spool by 69803-submit@debbugs.gnu.org id=B69803.171045110619701 (code B ref 69803); Thu, 14 Mar 2024 21:19:03 +0000 Received: (at 69803) by debbugs.gnu.org; 14 Mar 2024 21:18:26 +0000 Received: from localhost ([127.0.0.1]:50832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rksT3-00057e-GF for submit@debbugs.gnu.org; Thu, 14 Mar 2024 17:18:25 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:44669 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rksSd-00051X-TL for 69803@debbugs.gnu.org; Thu, 14 Mar 2024 17:18:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1710451025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=otXFzAmux9NrFZqP/jaVd7D1HwcAvYEZidpyGkHx8oM=; b=ePNi/RvAg9c0X91eI4J2cu7xMMXa+6WKVGPno/PD32TdPOjJzjW9JiGF4xsdjjmpHvbI/t LTtIBbvcSSxeFPMM788prlRFK+gIZMTtGeqfBZLt+KgCotoW6/4T04r9LH9+fC9dOYVjHl yEnpybAUj1U8BcOcQl2OoPliMD5lXUjzw1kDBPQZqyh6IbQPGf9motttvEkhj/pSrKbBus 4b/aNDLnHdwaVek5odN8gJc13iAZ6KX14oyCR4oSek7l026ChQH6REx6wfPCuyluPj4cpH NtRYQ0mKCBARWQwF9VAUzXp84qvJdpcLWXRnarx8vRd9W52n83qPVKceI2nGSw== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id abeed611 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 14 Mar 2024 21:17:05 +0000 (UTC) Date: Thu, 14 Mar 2024 22:16:15 +0100 Message-ID: <20240314211638.6190-14-herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240314211638.6190-1-herman@rimm.ee> References: <20240314211638.6190-1-herman@rimm.ee> 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-io.scm (rust-accesskit-winit-0.16): Add variable. Change-Id: I8f3638de3d6fdceff2fd9f95f9dfab826923bbf2 --- gnu/local.mk | 1 + gnu/packages/crates-io.scm | 26 +++++++++++++++++++ .../rust-accesskit-winit-unix-only.patch | 22 ++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 gnu/packages/patches/rust-accesskit-winit-unix-only.patch diff --git a/gnu/local.mk b/gnu/local.mk index 4750cb290c..503122d2aa 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2005,6 +2005,7 @@ dist_patch_DATA = \ %D%/packages/patches/rustc-1.54.0-src.patch \ %D%/packages/patches/rust-1.64-fix-riscv64-bootstrap.patch \ %D%/packages/patches/rust-1.70-fix-rustix-build.patch \ + %D%/packages/patches/rust-accesskit-winit-unix-only.patch \ %D%/packages/patches/rust-cargo-edit-remove-ureq.patch \ %D%/packages/patches/rust-ring-0.17-ring-core.patch \ %D%/packages/patches/rust-ndarray-remove-blas-src-dep.patch \ diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0ea8d90b64..c37ca845a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -377,6 +377,32 @@ (define-public rust-accesskit-unix-0.6 accessibility infrastructure.") (license (list license:expat license:asl2.0)))) +(define-public rust-accesskit-winit-0.16 + (package + (name "rust-accesskit-winit") + (version "0.16.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "accesskit_winit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rwaz6mkllcl131b8y4s787gfmdrqzms0a242r8f3n8pra52312j")) + (patches (search-patches "rust-accesskit-winit-unix-only.patch")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-accesskit" ,rust-accesskit-0.12) + ("rust-accesskit-unix" ,rust-accesskit-unix-0.6) + ("rust-winit" ,rust-winit-0.29)) + #:cargo-development-inputs (("rust-winit" ,rust-winit-0.29)))) + (home-page "https://github.com/AccessKit/accesskit") + (synopsis "AccessKit UI accessibility infrastructure: winit adapter") + (description + "This package provides a winit adapter for @code{AccessKit} UI +accessibility infrastructure.") + (license license:asl2.0))) + (define-public rust-adaptive-barrier-1 (package (name "rust-adaptive-barrier") diff --git a/gnu/packages/patches/rust-accesskit-winit-unix-only.patch b/gnu/packages/patches/rust-accesskit-winit-unix-only.patch new file mode 100644 index 0000000000..5be5caa562 --- /dev/null +++ b/gnu/packages/patches/rust-accesskit-winit-unix-only.patch @@ -0,0 +1,22 @@ +diff --git a/Cargo.toml b/Cargo.toml +index c382831..76b065a 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -39,7 +39,6 @@ version = "0.12.1" + [dependencies.winit] + version = "0.29" + features = ["rwh_06"] +-default-features = false + + [dev-dependencies.winit] + version = "0.29" +@@ -64,9 +63,3 @@ tokio = ["accesskit_unix/tokio"] + version = "0.6.1" + optional = true + default-features = false +- +-[target."cfg(target_os = \"macos\")".dependencies.accesskit_macos] +-version = "0.10.1" +- +-[target."cfg(target_os = \"windows\")".dependencies.accesskit_windows] +-version = "0.15.1"