From patchwork Sat May 4 11:35:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64079 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 74AE227BBE9; Sat, 4 May 2024 12:48:39 +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=unavailable 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 AF8DB27BBE2 for ; Sat, 4 May 2024 12:48:37 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3DrZ-00019F-QP; Sat, 04 May 2024 07:47:33 -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 1s3Dqs-0000ai-UG for guix-patches@gnu.org; Sat, 04 May 2024 07:46:52 -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 1s3Dqn-00007l-3e for guix-patches@gnu.org; Sat, 04 May 2024 07:46:48 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DrA-0007a5-0C; Sat, 04 May 2024 07:47:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 73/75] gnu: Add rust-gdk4-win32-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:47: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.171482322429055 (code B ref 69257); Sat, 04 May 2024 11:47:07 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:47:04 +0000 Received: from localhost ([127.0.0.1]:53228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dr5-0007YL-FB for submit@debbugs.gnu.org; Sat, 04 May 2024 07:47:03 -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 1s3DiI-0004Lm-Ch for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822650; 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=wIwohwZ8+O2+MBum2RuqiUOXyCguLGNvt9JAJfaQOhE=; b=JTbQAXOYRj97HBQ5Ea/1I0dkIR/2l8tAMMDbDeWTGQIwDhWqLq1UeQnqNznshQGIgOfqZV qJmpTJ03HH0T86vggeOohnhNt+6/zkP8Ikp51g9PLLblPdJG7XV3A2FvDeJr9m3MQeDDF6 MzWFadOqzqBJwW0KMR6Bl1qWQqqYqGWSGfUKbMtMmo3FVgwRGlBrZKSi8IHoGw3sHbGgEk ZJNB4vqRh0rm6V6GQIr3a/VzdcBEtZXeztCb/UzsT2mBY3x5uI+tLDfTcZDMi0XkxeBAL1 gQtKufEKVEMVyVZBwpyTpmZHGlIINe0mYjxifGqnQ1lzq89UaLK6ejE9XVrdQQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 240097c0 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:30 +0000 (UTC) Date: Sat, 4 May 2024 13:35:45 +0200 Message-ID: <2bfc785c75163494d693f5c0e783944f6ff4743c.1714820131.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-win32-0.7): Add variable. Change-Id: I18101e081fefb93ea1f3502473c3abc8a2979bf3 --- gnu/packages/crates-gtk.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 991d6b2406..4ec6736329 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1067,6 +1067,40 @@ (define-public rust-gdk4-wayland-sys-0.7 (description "This package provides FFI bindings of GDK4 Wayland.") (license license:expat))) +(define-public rust-gdk4-win32-0.7 + (package + (name "rust-gdk4-win32") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk4-win32" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mv04mipl57v1lj94j2rkrk9qm75jvdlnp7qm6nl2kpn8466arpy")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; missing gtk4-win32 + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)) + #:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7) + ("rust-gdk4-win32-sys" ,rust-gdk4-win32-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-system-deps" ,rust-system-deps-6) + ("rust-windows" ,rust-windows-0.48)))) + (native-inputs (list pkg-config)) + (inputs (list gtk pango)) + (home-page "https://gtk-rs.org/gtk4-rs") + (synopsis "Rust bindings of the GDK4 Win32 library") + (description + "This package provides Rust bindings of the GDK4 Win32 library.") + (license license:expat))) + (define-public rust-gdk4-win32-sys-0.7 (package (name "rust-gdk4-win32-sys")