From patchwork Thu Nov 7 22:22:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70097 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 04C5127BBEA; Thu, 7 Nov 2024 22:26:38 +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.3 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,URIBL_SBL_A 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 B179927BBE2 for ; Thu, 7 Nov 2024 22:26:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9Aw7-00062y-0s; 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-0005b0-9r 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 1t9AvF-0006rJ-0V 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=YZvoLFPCOPx7UmudSB97T/qfFBMyjBH208mS9vL7ca4=; b=m+4AI4aUi7Q2FSFS0z2GVUrkA8RXrmy952K+YRE9nIAzk0nTF+XLRuJFr3I5LSkg4UBX+fuf6N24dR4/2NyUDFB8mvs5fe3eL4/jJVF3CvGk5Vf422EVq+/Z6k0nn1/DO1j3xXkckom6U95BSZ2Vm+0AsPFpFKfR53viXUdblgUVU0HOb9ahVmaw8WdZQO7fQhegyzhJNdHQUdKcO4I/sQxRO3KLMppiitXL01+omueN15Sh41Ylxte7ILBo16eohvjRaLTr7j79yN0c0kQhrzP0CtDFbuLbYdJ2s2Ydrl0FiLp38U0EvOQZ1TjPgxFvwAN9JoZeBzdJJNo0xOz8zA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9AvE-0007jm-RK; Thu, 07 Nov 2024 17:24:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74233] [PATCHv2 rust-team 23/40] gnu: Add rust-gdk4-wayland-0.7. 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.173101822629411 (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]:49993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Aun-0007eE-V5 for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:46 -0500 Received: from confino.investici.org ([93.190.126.19]:42919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9AuZ-0007Yj-NR for 74233@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018211; bh=YZvoLFPCOPx7UmudSB97T/qfFBMyjBH208mS9vL7ca4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b9qXM1mYU2wXjRE1PTzKiFL81unSJB7HovaXuzIeY7TDQvkLLCS/C+ApFYant6nVC jwf3tAgcL7sY6WLPkWi5DeNhnAmnJ/fVi8UTZ5VK3XDXafjG3GvABrgs8WClNHVft2 mCOanUasT2d2nA8l5x1pLczxNFzPRtiB5IAwNwYA= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxRl3zZtz112T; 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 4XkxRl3HhMz111Z; Thu, 7 Nov 2024 22:23:31 +0000 (UTC) Date: Thu, 7 Nov 2024 23:22:08 +0100 Message-ID: <245c366a9a4ca9404ce608aca8208d264b566875.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-gtk.scm (rust-gdk4-wayland-0.7): New variable. Change-Id: If35091927a32854f4c94eae86446498077776351 --- gnu/packages/crates-gtk.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 41b8369232..0ac3aba39e 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1224,6 +1224,37 @@ (define-public rust-gdk4-sys-0.7 #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) +(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 glib 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")