From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YDHmBfLUK2cyjwAA62LTzQ:P1 (envelope-from ) for ; Wed, 06 Nov 2024 20:43:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YDHmBfLUK2cyjwAA62LTzQ (envelope-from ) for ; Wed, 06 Nov 2024 21:43:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=eEgw9Ie2; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=T6X1uNHv; 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=1730925809; a=rsa-sha256; cv=none; b=S1c1ZmQxcCcSk/MDik6arhYQ4kJ7NgT8WZKRrISSoF85BLEMWR1SoSRYo0kzl+LK7j46Vl dGwGo65zntX6GsybMNFQ2/xLT/CzfwvhYb71vrfJoE6zbu+9YkCO1o1g4jVVHJ+rupvkYs vZnpOOw6z6D1zV00BHq0tMcJ+GSatyl8nISbOBGPPIa7MAi9f19TthHktf0anKAK2/M6Ez Uvypca5idPnILUWtpti7Pcr8kAT7WemGaQ24t3edes8eOqdaS9ratG3KTtTeiQJ6Mly/Uf b3r1t6/g72SAeF6/APGbNfQTmU2hrE6v2/0lkcUsv4kwN8KDvW9/gvCQBSQ+tA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=eEgw9Ie2; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=T6X1uNHv; 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=1730925809; 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=5ms496SdtmFNBCpTC5vqZkkDFD2+Ph62x18S+6BFjkE=; b=Wx3fG0s5CRO0mVOLi3vhX5efQpiemKPUZKZOB6tmkQtojUAU5ixjkl3BFmbDGsLSUz9ZFC ThY+rItq+TGAPOHP42oABfaRUHckQK+TFzWddXVWJyiIRr9xj6mOzHH04MZBpzlvGLgHzf y3VXhP7S5jHyO58bYNPGKYz+L/0OqxVWZMH0UicHrZWFrAFuMDTWVXDUiaQFV70bP/HehX bunsTLtLwbRTtvpB8N2LnIsXsgZvNTV28CN7ffRIEM2xF+MkMA5XBogWbfLThMNc1XFLTE /mk3SBKCXYJsK3YUpZzdS9EhzZz05Ki5JOUn+JgnbrtcRYSb7A+FGkO60yl4rA== 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 A284064F41 for ; Wed, 06 Nov 2024 21:43:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8ms3-0000Jp-UX; Wed, 06 Nov 2024 15:43:20 -0500 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 1t8mrs-0008Ok-0C for guix-patches@gnu.org; Wed, 06 Nov 2024 15:43:08 -0500 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 1t8mrr-00013O-Nk for guix-patches@gnu.org; Wed, 06 Nov 2024 15:43:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=5ms496SdtmFNBCpTC5vqZkkDFD2+Ph62x18S+6BFjkE=; b=eEgw9Ie2fwz99/7IW8MZ14TBR+r6npYeTV6Av0yo/gT2l31+LLeJb9rfTyuZeb3VcTrLDIj0oFRwrYWUB+t9wHBn4atGxBH1BQCRC052QP98OSKTSKa+Y2yPd29QREyYvbF++fI/ol3joeUdhS//7HJ42ZkMCMIPNOiYQ4ZrC3G8fewBqMBs8+mA4tcCFbr8LrCCIEoZ/rCELZ600hmM1vttU7/lNKHVk97yjJ65ZdO72jkYPoGwuDKQnsrXBnJkqzmQtEymzrYlXu8Tnoqg/pbee6IbkpR9C3NjwRAgjKvTwOg4keM/QPZezUBDzfId0a+AwlBjZkpUFCRSSZSwqQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8mrr-0003NV-IR; Wed, 06 Nov 2024 15:43:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73956] [PATCHv2 rust-team 27/27] gnu: Add rust-libadwaita-0.6. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 06 Nov 2024 20:43:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73956 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73956@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 73956-submit@debbugs.gnu.org id=B73956.173092574212794 (code B ref 73956); Wed, 06 Nov 2024 20:43:07 +0000 Received: (at 73956) by debbugs.gnu.org; 6 Nov 2024 20:42:22 +0000 Received: from localhost ([127.0.0.1]:45729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8mr7-0003K5-8n for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:42:21 -0500 Received: from confino.investici.org ([93.190.126.19]:62231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8mr3-0003J3-Jo for 73956@debbugs.gnu.org; Wed, 06 Nov 2024 15:42:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1730925737; bh=5ms496SdtmFNBCpTC5vqZkkDFD2+Ph62x18S+6BFjkE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T6X1uNHv9fTT2u7KfpxZh21HmTuzZNFjtuEY4caJF0VK5vszHlrbsHsGl+3sSdGYA 0L5/ucVj7z0rQtWdg16l1Y+QD5wDwWjsgVRReaUZVkanrcwUJV/EEpMTzIZxPggTgN Ns/LRpy4O7ojj1HNwIIseyUJCF+yYaJnG9bhEKSE= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHFP3B4Pz10vX; Wed, 6 Nov 2024 20:42:17 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkHFP0cRZz10vQ; Wed, 6 Nov 2024 20:42:16 +0000 (UTC) Date: Wed, 6 Nov 2024 21:41:31 +0100 Message-ID: <779061ae3af8eeb2021dcab1b900b6d7c02e555f.1730925691.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <0084c1ccd6c3a7ff853bfc25cc3f2f7e1131f898.1730925691.git.goodoldpaul@autistici.org> References: <0084c1ccd6c3a7ff853bfc25cc3f2f7e1131f898.1730925691.git.goodoldpaul@autistici.org> 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi 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: 1.06 X-Spam-Score: 1.06 X-Migadu-Queue-Id: A284064F41 X-Migadu-Scanner: mx12.migadu.com X-TUID: owYAXtZeRMjB * gnu/packages/crates-gtk.scm (rust-libadwaita-0.6): New variable; (rust-libadwaita-0.5): inherit from rust-libadwaita-0.6. Change-Id: I3244ee4e3114cdc1a61a1f0e4e1e1f165c131707 --- gnu/packages/crates-gtk.scm | 40 ++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 82143ebbed..17afb65321 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -3433,15 +3433,38 @@ (define-public rust-gtk4-sys-0.7 ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-libadwaita-0.6 + (package + (name "rust-libadwaita") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libadwaita" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nf5hxmk1bzjj8hxavwgz04kiv3hxb52qjh9f9gfrqdr9019kd4i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.20) + ("rust-gdk4" ,rust-gdk4-0.8) + ("rust-gio" ,rust-gio-0.20) + ("rust-glib" ,rust-glib-0.20) + ("rust-gtk4" ,rust-gtk4-0.8) + ("rust-libadwaita-sys" ,rust-libadwaita-sys-0.6) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.20)))) (native-inputs (list pkg-config)) - (inputs (list cairo gdk-pixbuf graphene gtk pango)) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings of GTK 4") - (description "This package provides FFI bindings of GTK 4.") + (inputs (list libadwaita)) + (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs") + (synopsis "Rust bindings for libadwaita") + (description "Rust bindings for libadwaita.") (license license:expat))) (define-public rust-libadwaita-0.5 (package + (inherit rust-libadwaita-0.6) (name "rust-libadwaita") (version "0.5.3") (source @@ -3451,7 +3474,6 @@ (define-public rust-libadwaita-0.5 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "174pzn9dwsk8ikvrhx13vkh0zrpvb3rhg9yd2q5d2zjh0q6fgrrg")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18) ("rust-gdk4" ,rust-gdk4-0.7) @@ -3460,13 +3482,7 @@ (define-public rust-libadwaita-0.5 ("rust-gtk4" ,rust-gtk4-0.7) ("rust-libadwaita-sys" ,rust-libadwaita-sys-0.5) ("rust-libc" ,rust-libc-0.2) - ("rust-pango" ,rust-pango-0.18)))) - (native-inputs (list pkg-config)) - (inputs (list libadwaita)) - (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs") - (synopsis "Rust bindings for libadwaita") - (description "Rust bindings for libadwaita.") - (license license:expat))) + ("rust-pango" ,rust-pango-0.18)))))) (define-public rust-libadwaita-sys-0.6 (package -- 2.46.0