From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id QEx3H4vKWWYCbwAAe85BDQ:P1 (envelope-from ) for ; Fri, 31 May 2024 15:03:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QEx3H4vKWWYCbwAAe85BDQ (envelope-from ) for ; Fri, 31 May 2024 15:03:07 +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=RoHlNZYe; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717160587; 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=3t0wC80hrrw3Bb3VRbVQJ4kTo48xsDVuPklvmkYqGo8=; b=UmYWo5Wy2VWRQWV0FD+4ZcTilm8SS251QBFevWiqR0IyLiYuyXXwiZOd4E7NBt8yFdfboO AxgGH2ZFbMdKXSx9iJujkm+fH3JTPxdIqKRPjfbiQAnOy+YkBmOm1QP2Gerw6dhZQaYhsR O3XVkaSovuaUUDsZUHSukWOLxoKcy4VNpUPoEaXoOSunloQfB6Zc3axJx3vKYIlNzwfmm/ AqVtvSxP7/gJ9OK2+XdaI9YHcRn83DsVElK7t0PXlyQbZDMWGPZhgGZyxJm+SNcpeQhndt yFEhtX7ABB6408r2HyjZEGY5CEufaj9qJ5VetkLk6ZuVXIMLNJv7Qovn5pcnTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=RoHlNZYe; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717160587; a=rsa-sha256; cv=none; b=VfyYgdS1O+QTa2isRsHY3uhz3EBvffmEe6Xri5aIBSJIjqulpKthyJWRf/6r9w0XoKDJZx SBQ3naQmo25+Mq3Kn5rfjmx/TTR2PlBWyibckzypvYup0zKm5gu8Nrrw6PXHN7J7rRBGb6 GsoLLCdtFp0GAtF+7q+ONuC/BRoZVCCsdHcwuF8A5weIQUZ9VrFfD66Mn4NqqfwEuVSjdE zaDG+H9L4uWiEgeIp144/21QL/cIMvKEkuMfUTZkYakpfUe386IVAecf7gWMRARAhXxaM0 rr2p/zTkNG5pLsaA7D/rW80JHhz4TniRAlaY0sHLgOpR5bdnoScBbbow71+4LA== 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 67EDD1557E for ; Fri, 31 May 2024 15:03:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sD1uS-000884-Mc; Fri, 31 May 2024 09:03:04 -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 1sD1uL-0007vA-44 for guix-patches@gnu.org; Fri, 31 May 2024 09:02:58 -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 1sD1uF-0005un-PJ for guix-patches@gnu.org; Fri, 31 May 2024 09:02:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sD1uQ-0006RR-Pn; Fri, 31 May 2024 09:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71278] [PATCH v2 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: Fri, 31 May 2024 13:03:02 +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.171716053124574 (code B ref 71278); Fri, 31 May 2024 13:03:02 +0000 Received: (at 71278) by debbugs.gnu.org; 31 May 2024 13:02:11 +0000 Received: from localhost ([127.0.0.1]:53676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sD1ta-0006OE-Sl for submit@debbugs.gnu.org; Fri, 31 May 2024 09:02:11 -0400 Received: from layka.disroot.org ([178.21.23.139]:37258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sD1sp-0006Jb-2r for 71278@debbugs.gnu.org; Fri, 31 May 2024 09:01:23 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 87D52414B8; Fri, 31 May 2024 15:01:11 +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 qkU6GpEToARZ; Fri, 31 May 2024 15:01:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717160469; bh=dk7w7tqFk7cmUn3nXgu5WLTOEhfzcjej92ItUQXFK7o=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RoHlNZYewA7Bl3uGAkbcCXB0kTPtFHziZnw4cw7UzcWFccnftCRBVg4mtyZpc3S1K 6ouAljr6z7A9N65v9KVIbVmK7bv8hkB13OsbjUqjGWKTAYm7wyvXrZdI7vC5RImp5x J1afzGWwy+jiNbUMUcl6ZfjSf/4hLAPCLjbkl/jEIchPy0QJKGctbKb1bZcybXYdl5 HYqAKZ26TIKYs6KGFUbWdmDM/XqJdQMZDQNA3K1iR2btoYLmma4LMKQhwnKq23r2uP yG9kYHTaDV1Q62oC9HvrRYDi/fzyQQNwCAbVf/oQYdF/AE5Pf8epzaBHuxeU0RNxLO oC/bkdr9SckAg== Date: Fri, 31 May 2024 09:38:21 -0300 Message-ID: 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-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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.35 X-Spam-Score: -6.35 X-Migadu-Queue-Id: 67EDD1557E X-Migadu-Scanner: mx13.migadu.com X-TUID: O6jXLQGfwNcW * gnu/packages/crates-gtk.scm (rust-gtk-0.17): New variable. * gnu/packages/crates-gtk.scm (rust-gtk-0.14): Update package definition to inherit from newer version. Change-Id: I91981dcac908ae073a58d8a6d1d6eb89d095650a --- 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