From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id wENVOAipWGZCcgAAqHPOHw:P1 (envelope-from ) for ; Thu, 30 May 2024 18:27:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id wENVOAipWGZCcgAAqHPOHw (envelope-from ) for ; Thu, 30 May 2024 18:27:52 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=afxexK1u; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717086472; a=rsa-sha256; cv=none; b=ZwpoEPO6rUV1UdCiJhhf2T6RSItQUvXemlOpZjPt64N1PwKhl8cMe0/wk+YZobq4SlgCSt k9b2dq2d6qf2mFHkChOP7C6NBfxLUTzi2Ckc5HbQiN8aQl/vGZi8smV0PMiaLCIc3NNb86 pvuYYmugrJ2DCQoXCKFr+3m2+JehB0uMfG9hDyC1Ep2WeWYvRjk0PvOx9nW0Z4RCbd6ZMw 0JYL/qMaayjW4SRvfQ9vgE6S+Oj+aoj+AVFmYy4guHNevul6/lwNaGrTT+kCuTFrZw1nAs vmKU6XHETLdB6KXuQ9tVyu0dhHe5Hn24uNUP1uu+6Cl+ySs9zHek2Li+zm81pg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=afxexK1u; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717086472; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4+Stwke2wYxPDBtnGAvPB9UOfRfPtoh3zGxT+9jD8i4=; b=nHKgBsTQCp8hj+lN7DJWLtni2HhabP09uoaAEvli5D/mfK82H1LNz5NJvi2BmW/Lhx0y4D b42/i8rPZgPk5VhbgvSxgwGJi6oQbQ0ivd5CfpuuxiFrU7D//yb3xU6uedsXHaAKh5rDHt /p1ccivjW1/WqKe0OaOT0zGyqTYAlkwOKx+cv6Zg92sjjqe0jeDeix2gjjwW8oFbMhboaO gQYCwtDkP+5hVn2N8A70pWXSavSx93p12F8V/kUrjQ1KE0PBfd2uWxR7kUMYCzo+QqpYW+ f78npCfB+pMS1ikg4QwBC2bDze/Yswz/9SQw/noiy/xJrXCSI2kOV4vVwp09Qg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D464D6B61C for ; Thu, 30 May 2024 18:27:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCicM-0003Cs-LK; Thu, 30 May 2024 12:27:06 -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 1sChbX-0001l7-0f for guix-patches@gnu.org; Thu, 30 May 2024 11:22:11 -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 1sChbW-0007nF-Oz for guix-patches@gnu.org; Thu, 30 May 2024 11:22:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sChbh-00030R-7R; Thu, 30 May 2024 11:22:21 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71278] [PATCH 31/44] gnu: Add rust-gtk-0.17. Resent-From: Murilo Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 30 May 2024 15:22:21 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71278 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71278@debbugs.gnu.org Cc: Murilo , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71278-submit@debbugs.gnu.org id=B71278.171708253311401 (code B ref 71278); Thu, 30 May 2024 15:22:21 +0000 Received: (at 71278) by debbugs.gnu.org; 30 May 2024 15:22:13 +0000 Received: from localhost ([127.0.0.1]:42283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sChbX-0002xU-VO for submit@debbugs.gnu.org; Thu, 30 May 2024 11:22:12 -0400 Received: from layka.disroot.org ([178.21.23.139]:47706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sChbG-0002sm-K4 for 71278@debbugs.gnu.org; Thu, 30 May 2024 11:21:55 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 97D5044DF2; Thu, 30 May 2024 17:21:43 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ca_47aHFuiy6; Thu, 30 May 2024 17:21:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717082502; bh=b7SFBA/B9wx353uts+hAR3JVk/+QkiHOrsnP3o102KQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=afxexK1ushwkf//3uHVLl2OgbkJQurCiaYxk/vjygxte+Tf8qniBdhnbXVbaMCmub //MRP8+aWh9RdgmeQdv71GgsLJxJab5bCQvaWfg0qheQ+2XTffnePrLmqMF4EaVVNw J5J+t2zj+h4ds1FGoh7KRCX3QCtkV/TJ50s018tS4J2O3QYSWEAYkjiR+hkRACiYWt p9nS8Bbig/WK87bA4zgUziShYgr8HKN4aVF5qXcrKSRTbE6Btte7TQZrgIxequQthF iETxpS9mnOrhe2PkErU9TR0sDIlR4YuVAK7Ny/v2HtAQkiLGfPpz6FKsdTMs2/w8v7 j8iEvwYHp4HWQ== Date: Thu, 30 May 2024 12:17:58 -0300 Message-ID: <51eaa545f4cafd83be9b46d54834c9f10aaa34e8.1717072141.git.murilo@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 30 May 2024 12:26:56 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Murilo X-ACL-Warn: , Murilo via Guix-patches From: Murilo via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: D464D6B61C X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.35 X-Spam-Score: -6.35 X-TUID: ndar2rTlEBSH * gnu/packages/crates-gtk.scm (rust-gtk-0.17): New variable. Change-Id: If530817dbece566dc1022dc886ec0b2e138309f5 --- gnu/packages/crates-gtk.scm | 49 +++++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index db5c143bfa..e788d84837 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2478,8 +2478,48 @@ (define-public rust-gstreamer-sys-0.18 "Foreign Function Interface (FFI) bindings to libgstreamer-1.0.") (license license:expat))) +(define-public rust-gtk-0.17 + (package + (name "rust-gtk") + (version "0.17.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gtk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rnrc5k7p3ck1gqcvf58xv77brdlhmhxn3drpb8d821bp4m25i5n")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; requires running server + #:cargo-inputs (("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-pango" ,rust-pango-0.17) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-gtk3-macros" ,rust-gtk3-macros-0.17) + ("rust-gtk-sys" ,rust-gtk-sys-0.17) + ("rust-glib" ,rust-glib-0.17) + ("rust-gio" ,rust-gio-0.17) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.17) + ("rust-gdk" ,rust-gdk-0.17) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-field-offset" ,rust-field-offset-0.3) + ("rust-cairo-rs" ,rust-cairo-rs-0.17) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-atk" ,rust-atk-0.17)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs + (list at-spi2-core cairo glib gtk+ pango)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the GTK+ 3 library") + (description "This package provides Rust bindings for the GTK+ 3 library.") + (license license:expat))) + (define-public rust-gtk-0.14 (package + (inherit rust-gtk-0.17) (name "rust-gtk") (version "0.14.3") (source @@ -2509,14 +2549,7 @@ (define-public rust-gtk-0.14 ("rust-pango" ,rust-pango-0.14) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) - (native-inputs (list pkg-config)) - (inputs - (list at-spi2-core cairo glib gtk+ pango)) - (home-page "https://gtk-rs.org/") - (synopsis "Rust bindings for the GTK+ 3 library") - (description "This package provides Rust bindings for the GTK+ 3 library.") - (license license:expat))) + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-gtk-0.8 (package -- 2.41.0