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 ADOZLvqoWGZPOgAAqHPOHw:P1 (envelope-from ) for ; Thu, 30 May 2024 18:27:38 +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 ADOZLvqoWGZPOgAAqHPOHw (envelope-from ) for ; Thu, 30 May 2024 18:27:38 +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=DaApE1ro; 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=1717086458; a=rsa-sha256; cv=none; b=L1ahdAI4US/V9xUQGG99tGzl8DRkmdGetXTYd6KFju++6ENeYfVMIIjaDNWETIRm28qyRc BIQ0wC6iliiW/Lq2XIj8rHbSDkGZfCGNdjaOCaIy9hcqTDgvIBZ+oP0agHmq87VwB9rlMq lcWhYsbgFu81xOFLIipYNckpaEj5D9z+6jTDCMJUfKNAHFf+ptkZVDZDAi9sM7/VmG3YJ6 KpP0RKTViOuh5mtU4XYLefdHIg2DvSBJSdMPVX8K8ZnutbuM8KsaCPfWweo+SbfviphCcD sdN6zGOzlqydx+tlc/UkgeCo0qLXSE1YlLC3JT8OinhfRdA0b4fz/HOPcp2Fpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=DaApE1ro; 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=1717086458; 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=vIN82ESXwxwp1rTrEulAsKYystC8e2GCagS/Uva3SRc=; b=EvB271efkKwFptkUqW0LAfxjIdQQxzqDbL7yWptByDHhxnCZjzQkQ+O1yJ7hYy/xKFgHKx ptsbahHTGTcz1FLqBtb3NgQcY09GBnR8X/4dNQtYEthWGXbqHd/Jm8Lh33HjSVIH8kOcI3 CLK77xwS3wGyQtHehzeFvtjfsLwywVoh1CHWQ9kew/MgmcGa8KAFa5RBBp154iZuIMB/Bw OGhwgMi8lZZc8YEu6DvMMVQI4WVzdgv5Deobxrehu5As6JhSkDIQroSPZ/FgjLRhoQp2VS /UeLU90A7US5nxbBdzft2/LqcWyWzZPpqqGjanED/idC8ZiAzAQx3A23ASCtbw== 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 A323C6B617 for ; Thu, 30 May 2024 18:27:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCicF-00035l-I6; Thu, 30 May 2024 12:26:59 -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 1sChbV-0001kb-OA for guix-patches@gnu.org; Thu, 30 May 2024 11:22:09 -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 1sChbV-0007n3-GF for guix-patches@gnu.org; Thu, 30 May 2024 11:22:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sChbf-000308-Vp; Thu, 30 May 2024 11:22:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71278] [PATCH 29/44] gnu: Add rust-gdk-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:19 +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.171708253111364 (code B ref 71278); Thu, 30 May 2024 15:22:19 +0000 Received: (at 71278) by debbugs.gnu.org; 30 May 2024 15:22:11 +0000 Received: from localhost ([127.0.0.1]:42274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sChbW-0002wx-K2 for submit@debbugs.gnu.org; Thu, 30 May 2024 11:22:11 -0400 Received: from layka.disroot.org ([178.21.23.139]:47690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sChbD-0002sW-9J for 71278@debbugs.gnu.org; Thu, 30 May 2024 11:21:51 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 454BE41400; Thu, 30 May 2024 17:21:40 +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 n9POtBPCeETI; Thu, 30 May 2024 17:21:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717082499; bh=1QdcMBgI3Z88WoeoRhxJYvIrYEbWdLriU7gScgUHBIw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=DaApE1robcrSObGb8l175MGo1pwIfv6fhza0Y+tOpsEldyWzE3HfE76/wb9IoiUsw 6T43Gga+09SWDtjBnYdnqrFEdiuGz03SBNT/Mkm+doM45NCH/IRfiUTQfsJphXjO4o zN6HThiMibMV7F4u9EL1/PXyCKLlv7pVIum5RA+Lpi/oM4VdHR9Lh3VfdXAzXImtUN tGdT0ZO/s/9XgxtDg55+zjatuADJpN9ut98OOuW0JZL4LI7wZY78WFndzVCutCyxLk ParcKTOAWYDxousDepRhY2LUco6bHAr5EgsA5dyYd0jTzjSd05N1HoxSoIFlApLA+1 7arBqgV0OcQEQ== Date: Thu, 30 May 2024 12:17:56 -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-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: A323C6B617 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.35 X-Spam-Score: -6.35 X-TUID: pvcxFWCdRXBC * gnu/packages/crates-gtk.scm (rust-gdk-0.17): New variable. Change-Id: If78874c39c5bcf96e08495cbd19d37bce338e9b3 --- gnu/packages/crates-gtk.scm | 40 +++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index ae64aa3c09..45b2bb6bb6 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -458,8 +458,39 @@ (define-public rust-cairo-sys-rs-0.9 ("rust-x11" ,rust-x11-2) ("rust-pkg-config" ,rust-pkg-config-0.3)))))) +(define-public rust-gdk-0.17 + (package + (name "rust-gdk") + (version "0.17.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lvl9i2lz95gw00jdlaz5ysp90lnciaqncwp10x7xkfcabmga7dy")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-cairo-rs" ,rust-cairo-rs-0.17) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.17) + ("rust-gdk-sys" ,rust-gdk-sys-0.17) + ("rust-gio" ,rust-gio-0.17) + ("rust-glib" ,rust-glib-0.17) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.17)) + #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (inputs + (list cairo gdk-pixbuf glib gtk+ pango)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the GDK 3 library") + (description "This package provides Rust bindings for the GDK 3 library.") + (license license:expat))) + (define-public rust-gdk-0.14 (package + (inherit rust-gdk-0.17) (name "rust-gdk") (version "0.14.3") (source @@ -469,7 +500,6 @@ (define-public rust-gdk-0.14 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0fwkm4glh7cici6yd96qlddyp4s2l029wa1sgh6xxn00zkf4kmxr")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -483,13 +513,7 @@ (define-public rust-gdk-0.14 ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.14)) #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) - (inputs - (list cairo gdk-pixbuf glib gtk+ pango)) - (home-page "https://gtk-rs.org/") - (synopsis "Rust bindings for the GDK 3 library") - (description "This package provides Rust bindings for the GDK 3 library.") - (license license:expat))) + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-gdk-0.13 (package -- 2.41.0