From patchwork Sat May 4 11:34:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64047 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 2180527BBEA; Sat, 4 May 2024 12:40:01 +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 9424827BBE2 for ; Sat, 4 May 2024 12:40:00 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3DiD-0003d4-2W; Sat, 04 May 2024 07:37:53 -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 1s3Di4-0003b0-H7 for guix-patches@gnu.org; Sat, 04 May 2024 07:37:46 -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 1s3Di4-0006KH-3t for guix-patches@gnu.org; Sat, 04 May 2024 07:37:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DiR-0004U6-2P; Sat, 04 May 2024 07:38:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 10/75] gnu: Add rust-gdk4-x11-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:38:07 +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.171482266516922 (code B ref 69257); Sat, 04 May 2024 11:38:07 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:37:45 +0000 Received: from localhost ([127.0.0.1]:52915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Di4-0004Oh-MR for submit@debbugs.gnu.org; Sat, 04 May 2024 07:37:45 -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 1s3Dhx-0004Lm-0d for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822621; 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=P1qtjneFUYSdXO/SsONbVePT/QzUyLnIX8ZoUjn3fiQ=; b=aJ5xRHrqmMMz0R9QEtz/AUFHUPYrEF0C4FtFAXe8WXCVwQPTURGOOUKPQFD3pGkXX0E5z8 DpBant/DOXVwa+HQ5BrrhHbLULhDLkjXlWmW8GL8m9hHjj9g+WohwAhuG7SjJ6zLrQ+DDF /8G8V0r5yK7W+VhfGyty6wEFRx+QCV/vuA4y8T6Vpi2N86VmQ1N2cWAilfqL0XcnMmVeWR fwczJNZlKBVtOud+AUPes6Re4Q5HSmNdzXuluzMNH0rpwtH3oHpPNggnONXB/iL0QVU/d3 peWeK7sTkGrs3HwDxjv0hzvE5nIQmYtrEfWOuy/o9gEDDNV6ENOvKctWCTbmaA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id cc4315d3 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:01 +0000 (UTC) Date: Sat, 4 May 2024 13:34:42 +0200 Message-ID: <0845ed6a1956901d98c933f297001ac6899c6277.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-x11-0.7): Add variable. Change-Id: I2c389967f6ed29448a060999c8b17191380ffee0 --- gnu/packages/crates-gtk.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index d69dbfe4df..223805273b 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1066,6 +1066,36 @@ (define-public rust-gdk4-wayland-sys-0.7 (description "This package provides FFI bindings of GDK4 Wayland.") (license license:expat))) +(define-public rust-gdk4-x11-0.7 + (package + (name "rust-gdk4-x11") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk4-x11" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l54c1m0gsdm07drvy171a0i97ic2kygmzf3fjg4da0yxbwbpj98")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7) + ("rust-gdk4-x11-sys" ,rust-gdk4-x11-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-x11" ,rust-x11-2)) + #: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 GDK4 X11 library") + (description + "This package provides Rust bindings of the GDK4 X11 library.") + (license license:expat))) + (define-public rust-gdk4-x11-sys-0.7 (package (name "rust-gdk4-x11-sys")