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 ms13.migadu.com with LMTPS id yG6+Mg3VK2daQwEAe85BDQ:P1 (envelope-from ) for ; Wed, 06 Nov 2024 20:43:58 +0000 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 yG6+Mg3VK2daQwEAe85BDQ (envelope-from ) for ; Wed, 06 Nov 2024 21:43:57 +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=br+z6hr1; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=RiCzAlwb; 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=1730925837; 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=cmsNX4p7r2soaIhHOLaXZSUFoG+/WEje39XT1SAWFVA=; b=aSeW2KVFDOJQx5dWoZO18hb9IB7g//EwuvyX78s+FymGBK0YlA5WEH+zHaaW659TH//Aw0 /iFwz5BwWfaXX1vyq1g1WK6khE05fUFyvfgBYgV9aROK4UD6iz+IiFRrlSr0m1ox0Mdcsq lZ8/9ccb7YYUZdPv3aU3dtiWtyiMetEaertRlMzidHGOhwfQf37AlgKLhnRYoosUin+tcW IaAy8FwwIa5M+kJtJhUleZPAC4Dy6JuWx1UOReZ36ov0HcACk93tSEIv17JtUwL4f+eXzH WIz7e/vPtiFkHETE+OXIc+HvJ6/X+9EXAz/hD8dtPJzbtAYKoUK/fVUJZA3JSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730925837; a=rsa-sha256; cv=none; b=d37EWcwvJr8CpIT/1vKZTSd+kO68CwDfr9hPx7tMDyGXjPLsUaArlZP5Zd6vPprkqyqhh3 Iv99zcminDcjOjbXkTUlVm47qYq00TJhXi00u553jMvM7CgSg4L3CviHmCmQqlMkxfNALk GmCFBsUhhB0b5r+PEAI9piPL0yqWcV/PI10C71B7vOgZ6ZC7cmpwPs46aitsFTFQHPoPq+ 9SPoiScMdS1Cef2lNgq88ZaVy7x99+DgKg7zCtVF/xS43GB3CnMKKFV/T6ys9SJeJvDg1+ 9Xzdz2rzYjQIYuxcobldLDfa9JTabqsHyyTY+VLKPs27p5rTVTCsOLCnbTvsEw== 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=br+z6hr1; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=RiCzAlwb; 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 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 B02AD5AD49 for ; Wed, 06 Nov 2024 21:43:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8msQ-0000jM-IG; Wed, 06 Nov 2024 15:43:42 -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 1t8mrq-0008Na-PO for guix-patches@gnu.org; Wed, 06 Nov 2024 15:43:07 -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 1t8mrq-000130-9I for guix-patches@gnu.org; Wed, 06 Nov 2024 15:43:06 -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=cmsNX4p7r2soaIhHOLaXZSUFoG+/WEje39XT1SAWFVA=; b=br+z6hr1MPS47LihtmWJw8xjdX8KXZ6oNYF9osfyz2U3H2HENYHJHSjS5fVbU1DuYif1rMbVFbNOhnHO47X+sQITsPDG0mAWmbQJhmSsZ1ZdaxV48lXwbYI/nitauRNT6tkzT3/tn76wwe8BhN/zqwkSU8yktIe9hOwtWJnE8Qvtb2nMDMecWgSiI4xvozJ4qVPGpytlKjkxgYyOGuzzx52XULY2ek7zgZWfBNrvBFIfSeO1KFXC7Qti1SryRBboNlg2a5aKE8h1+NQRIW4/D1HTxwql8pAFWUbR7Ru/OcoqpuIgHbNEag7VCFtujp29dVSAvlknLwgYyV2cQPGMqQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8mrq-0003N6-5D; Wed, 06 Nov 2024 15:43:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73956] [PATCHv2 rust-team 24/27] gnu: Add rust-gsk4-0.8. 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:06 +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.173092574012765 (code B ref 73956); Wed, 06 Nov 2024 20:43:06 +0000 Received: (at 73956) by debbugs.gnu.org; 6 Nov 2024 20:42:20 +0000 Received: from localhost ([127.0.0.1]:45722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8mr5-0003Ji-Ti for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:42:20 -0500 Received: from confino.investici.org ([93.190.126.19]:54413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8mr0-0003Ia-LV for 73956@debbugs.gnu.org; Wed, 06 Nov 2024 15:42:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1730925734; bh=cmsNX4p7r2soaIhHOLaXZSUFoG+/WEje39XT1SAWFVA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RiCzAlwb4KbPm60ad+5pfYXLtH9BUuyr61j66Ww3XRc3XOn6zLJW5S8BmR7RSMlwW SMi2o8BbPe9Eh+0mpuKx+3jg82jyulsDr3ZoWPtvF1vkjf4wS9Az+vofaU3FwF9nsA +Z6QcX9Iu/xABfTTYU+2KpO+/8s3vIpi2iStnK0Q= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHFL1Mhhz10vX; Wed, 6 Nov 2024 20:42:14 +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 4XkHFK64JZz10vQ; Wed, 6 Nov 2024 20:42:13 +0000 (UTC) Date: Wed, 6 Nov 2024 21:41:28 +0100 Message-ID: <5ca0b1237d18d3b6be5249029f29ee3f366be33f.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: -2.66 X-Spam-Score: -2.66 X-Migadu-Queue-Id: B02AD5AD49 X-Migadu-Scanner: mx13.migadu.com X-TUID: xQJQLnZoVn9/ * gnu/packages/crates-gtk.scm (rust-gsk4-0.8): New variable; (rust-gsk4-0.7): inherit from rust-gsk4-0.8. Change-Id: Ief5de9ea607e6dd2be132cf98b177ecb315fd5c1 --- gnu/packages/crates-gtk.scm | 39 +++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index ad51b6186a..034c543d72 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2662,8 +2662,38 @@ (define-public rust-graphene-sys-0.18 #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gsk4-0.8 + (package + (name "rust-gsk4") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gsk4" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gi1f9s2nd5m2zfwb91vijpzr6nxbfa58inrwml497wkyr5qhqvm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.19) + ("rust-gdk4" ,rust-gdk4-0.8) + ("rust-glib" ,rust-glib-0.19) + ("rust-graphene-rs" ,rust-graphene-rs-0.19) + ("rust-gsk4-sys" ,rust-gsk4-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.19)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list gtk)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings of the GSK 4 library") + (description "Rust bindings of the GSK 4 library.") + (license license:expat))) + (define-public rust-gsk4-0.7 (package + (inherit rust-gsk4-0.8) (name "rust-gsk4") (version "0.7.3") (source @@ -2673,7 +2703,6 @@ (define-public rust-gsk4-0.7 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0zhzs2dkgiinhgc11akpn2harq3x5n1iq21dnc4h689g3lsqx58d")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18) @@ -2684,13 +2713,7 @@ (define-public rust-gsk4-0.7 ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.18)) #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) - (native-inputs (list pkg-config)) - (inputs (list gtk)) - (home-page "https://gtk-rs.org/") - (synopsis "Rust bindings of the GSK 4 library") - (description "Rust bindings of the GSK 4 library.") - (license license:expat))) + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-gsk4-sys-0.8 (package -- 2.46.0