From patchwork Sat May 4 11:34:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64038 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 0DEA627BBF1; Sat, 4 May 2024 12:39:38 +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 A127627BBEA for ; Sat, 4 May 2024 12:39:35 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3Dj2-0004Gj-KF; Sat, 04 May 2024 07:38: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 1s3Dj0-00048g-D4 for guix-patches@gnu.org; Sat, 04 May 2024 07:38: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 1s3Dix-0006YP-Ez for guix-patches@gnu.org; Sat, 04 May 2024 07:38:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DjK-0004a2-CI; Sat, 04 May 2024 07:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 08/75] gnu: Add rust-gdk4-wayland-0.7. 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:39:02 +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.171482269717452 (code B ref 69257); Sat, 04 May 2024 11:39:02 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:38:17 +0000 Received: from localhost ([127.0.0.1]:53048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3DiW-0004W3-UT for submit@debbugs.gnu.org; Sat, 04 May 2024 07:38:17 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56405 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dhv-0004Lq-Rt for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822620; 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=zrJKHpliRWpgp+kZt3Li48zSM4YuNjVmSeMo3+gCSk4=; b=a/KBdW50C+53mFT4p05ZsROQwekXFgM0fUuGRe/fpYkuZ/Y+MchsCAcCZRkdy38g9Q05eg QrD+b8GPJQb9pBqbwHU51lOrGrXvTkTbDvB75VUNYY6cPTJoCSXgKtMLIVHaxsEnQ8WmyR urarru5oIosbOZdflKa6PcZI2SFCCSAtw4pi4nYpvOTvp7w3RI5dviyDxJwut7XOcnBa8P /ezJFcDo/kGw3LomtnfjS/KuVkHP/WwfvgAnZiCX9og23u15hOdDk7TZXm1A/zSHwKfkmm M56xT2pvgvi1OGZe9AWMfRpDtGeijyMpkCFCZUJW8OO2hwLsScQSpiH61tWoow== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 1eeba62b (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:00 +0000 (UTC) Date: Sat, 4 May 2024 13:34:40 +0200 Message-ID: <0e8ab4d30eed5d01bb87f230673cd7c597a35ff7.1714820129.git.herman@rimm.ee> 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-gtk.scm (rust-gdk4-wayland-0.7): Add variable. Change-Id: Iee8240f41c5a5b9162d420715caef3653a38a2e3 --- gnu/packages/crates-gtk.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index fb26e00da9..bf96cdcb04 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1008,6 +1008,38 @@ (define-public rust-gdk4-sys-0.7 (description "This package provides FFI bindings of GDK 4.") (license license:expat))) +(define-public rust-gdk4-wayland-0.7 + (package + (name "rust-gdk4-wayland") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk4-wayland" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04zkspjs1r6l4gj241p9xm2zmp91phm1khakw5jvsm8yy4pi1f8d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7) + ("rust-gdk4-wayland-sys" ,rust-gdk4-wayland-sys-0.7) + ("rust-gio" ,rust-gio-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-khronos-egl" ,rust-khronos-egl-5) + ("rust-libc" ,rust-libc-0.2) + ("rust-wayland-backend" ,rust-wayland-backend-0.1) + ("rust-wayland-client" ,rust-wayland-client-0.30) + ("rust-xkb" ,rust-xkb-0.3)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list gtk)) + (home-page "https://gtk-rs.org/gtk4-rs") + (synopsis "Rust bindings of the GDK 4 Wayland library") + (description + "This package provides Rust bindings of the GDK 4 Wayland library.") + (license license:expat))) + (define-public rust-gdk4-wayland-sys-0.7 (package (name "rust-gdk4-wayland-sys")