From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WG+EO2k2GGdlZQAAe85BDQ:P1 (envelope-from ) for ; Tue, 22 Oct 2024 23:34:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WG+EO2k2GGdlZQAAe85BDQ (envelope-from ) for ; Wed, 23 Oct 2024 01:34:02 +0200 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=syVQH0j0; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=EYbptGIg; 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=1729640041; a=rsa-sha256; cv=none; b=rWTFXzUM/ABdGPydoaAm062LMsEKpW51i5xRLawgY9SNy9cVUCt6lyuFxRXDzCi1kzYtRQ qyMtwSEA9NQJX2IEDmjyq6V7QZsZpTZLkoDLZO5JlO7dMoDXDN56ZrZZcoCjRZySBHEcND uS3jP4sVzud+9RG0Ma5RUW1IWOZ0wcG0Lu7EiD4nE6FjMmzdM73b2riiOCu0oWkJbp/z5S RWMHJjVLru8V7Puu4sBB4xwF1ms+XR9HL+YDRVfvpo++5HHbafuYQ+zE0Ze+62vl5lnSjn sZkYbYwNJVOk3I9lfboZ1afqoXkL99rf/wcLwYLrA+evnSrFJtRE1OR8vCFWfQ== 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=syVQH0j0; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=EYbptGIg; 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=1729640041; 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=S53fKxzLQEUaNMw/eQztFf2dlYaReR7HDNmKkRFd1eY=; b=Grw7SFVUrEvOl2HU8+mVqRcGV760ODFPreN0LXj+sTZfJoUMMmxfLHrZUhmDu+EDdArlaw q/GRCZE9r+cgmdwDQ0svl8DC+4S6fLGaONSvR4idB85tB1hOu1ssHjMnMK9wBDdr2Xio9J A3KB+mznkcg5o3VxNm/jjbuRvH4DemtDqp9XsXZb5esaZo6Q441/m2dcTjypLWpL9c/A2g gC+LgoH1EPppsIQ1vG/6KK7uNJMntxgjaLJGcf41vMG1a7r1HRr8gAFsmA0yHwAotGkaye ey4v5v6DJTADB9bXFrvRimjw6LJl6GMd0NYQft7ypXmURgU1idWUT2Wv4cCErQ== 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 91AB231C93 for ; Wed, 23 Oct 2024 01:34:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3ONj-0006j5-29; Tue, 22 Oct 2024 19:33:43 -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 1t3ONd-0006cf-Ms for guix-patches@gnu.org; Tue, 22 Oct 2024 19:33:37 -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 1t3ONd-0001SZ-Dt for guix-patches@gnu.org; Tue, 22 Oct 2024 19:33:37 -0400 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=S53fKxzLQEUaNMw/eQztFf2dlYaReR7HDNmKkRFd1eY=; b=syVQH0j0jptPblL752pysb6+04RzRsKLAffMhAFeubPtzCf+cqSHI3mFjXDqJxogiQXj/Is0OhV8XGEY7ICmDg2pncDU3pAmZ0edu6NbsXrosb6LztlXQ3fnSbN9Uk7//Oer2+GdqW21GzLetQP2zK+5Er/Oj+7t5jSOTLXTqYLr1GF0kwo/cC15Svif+/iRnA8LNGM0YxzQfY+4cRXzmPgu2ozk7z0GQlrtHkOkXmDGQ7Sdmp0Q5eBhDXIhc8pJllllUqUW1A4DICCOZTvIgTEkxOZNoOXQEZAbbTJ1Yrq1TH/aR8JBNczTJ8h8bKFSicOBAg3IKsXWiAc4G9tUqw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t3OO5-0006mG-Rn; Tue, 22 Oct 2024 19:34:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73956] [PATCH 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: Tue, 22 Oct 2024 23:34:05 +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.172964001225948 (code B ref 73956); Tue, 22 Oct 2024 23:34:05 +0000 Received: (at 73956) by debbugs.gnu.org; 22 Oct 2024 23:33:32 +0000 Received: from localhost ([127.0.0.1]:57942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3ONX-0006kM-Uf for submit@debbugs.gnu.org; Tue, 22 Oct 2024 19:33:32 -0400 Received: from confino.investici.org ([93.190.126.19]:62721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3OMn-0006eQ-Ja for 73956@debbugs.gnu.org; Tue, 22 Oct 2024 19:32:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1729639924; bh=S53fKxzLQEUaNMw/eQztFf2dlYaReR7HDNmKkRFd1eY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EYbptGIg775HzUDGKL9U0iQurwmcIRrhn0J3pzrSpsIOzOdF02iRRxo0k0xSxPjWm w+p2VoWIvDeKPAkAhazVtPF1HtnuZJwqHduNOIHCMaLUSacp1bp5XoQAoEaT2jIu1G ExVS8RudQaN0BLKADHanRyGPF70FpG4843iQ/ZDY= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XY7kD3n9wz117k; Tue, 22 Oct 2024 23:32:04 +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 4XY7kD2zMsz115q; Tue, 22 Oct 2024 23:32:04 +0000 (UTC) Date: Wed, 23 Oct 2024 01:31:12 +0200 Message-ID: X-Mailer: git-send-email 2.46.0 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: 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.04 X-Spam-Score: -3.04 X-Migadu-Queue-Id: 91AB231C93 X-Migadu-Scanner: mx10.migadu.com X-TUID: F04WLFxZx6VE * 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 d73dbda005..0cc0a3b998 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.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libadwaita" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0955c0zryz7xjkkrvbn6z4lmlqgf1vykjbnjndapbcni38zz1zyv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.20) + ("rust-gdk4" ,rust-gdk4-0.7) + ("rust-gio" ,rust-gio-0.20) + ("rust-glib" ,rust-glib-0.20) + ("rust-gtk4" ,rust-gtk4-0.7) + ("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