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 ABDXNmw2GGcGjwAA62LTzQ:P1 (envelope-from ) for ; Tue, 22 Oct 2024 23:34:05 +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 ABDXNmw2GGcGjwAA62LTzQ (envelope-from ) for ; Wed, 23 Oct 2024 01:34:04 +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=oAbmISla; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=utqlfWte; 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=1729640044; a=rsa-sha256; cv=none; b=ToDAhHMkYqJRTV9CzI8rO9UzOzy3AsvYv0gaZMAH1JIkSjuI/796zqZN8QRaweqY5MnZbG NSQMs+rdrEXAzqC6lmaqsfvcUOhfapC16dVOigznDLqW72z1L/I0+bF6tNS9g+quzhai1a UGGnjEciP3gcrir8ZSyFAjapSKfxf9bRpijgIFOaFrsGGMXYBxhcJYIdb6lEuqh5+ow49T G2bQdYKLaLFGwX0bUZin7JjQjM6bkgFZkEsNk+vMvT49v7TYsKiUcb/l3IkDWycZvrbiUY +2oxXKE/jEFEgnSv25l2ac70BOI8HtEgzbySa0BF3hrL6pQkzEfgzXzI5mysaw== 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=oAbmISla; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=utqlfWte; 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=1729640044; 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=LRvgLSf+yOQJqnLxFDiRoOO3XyjZk2UalbNR6KagRZ8=; b=r54pORv4CwdSFSpr4cfr+FVjpzcf3vcbnPMv7wAI+aemyOE5It5mWXequ4LEqRvY6DtMsz wKw2LfTaiZeXnbUZdR6RcmxAn8TXMLyO0AaCq+aHcL7gzHPJTzJzoJ4l2Qr2tcoPlvr/cb 9mqZk9mst4K48L8wdAT1KqaxqzfbUhXrCeP2EJhM0nmSqw4XltgkKe9hvSlD6Ab75y327C KiW79DSwVeHiWfEPMbCFmHPCD0uimDD54wGsWOTSrcw7ubAV3OlZS+varuy8YBgH3TU3Cl ZzOz6MploBmSr6x46IgFgsf8S9ZsMjRCWP+bfLqCpYt6/2/ZcuvYiPV3hmz7FQ== 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 CF5E0255E for ; Wed, 23 Oct 2024 01:34:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3ONj-0006j0-1z; 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-0006bm-6t 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 1t3ONc-0001SP-TU for guix-patches@gnu.org; Tue, 22 Oct 2024 19:33:36 -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=LRvgLSf+yOQJqnLxFDiRoOO3XyjZk2UalbNR6KagRZ8=; b=oAbmISlaY3nU5oXZERxwA6BIlTo+vAuYa4EmEDN0ZJJficnQOkdiH2pX9sl+Lp2ixmk89xNrq2weQDf9T8QsNMMqdI2B5G2cGgaJ1v2S19+Wj21E34WdPF/sOaWVKvbwm1f3/nxvBe7z6xrG1y5UYOtqQkNgs+QdbyJyLylViiSYR5GPTdAcYDyYTUFXj11/2SNve2lCeGbN46PQYY5sOG1HVKhoa5PaDaXh57DwSXRor46em2y+pqpE1SzA7d5tD/cEfKT2FLzsQ7G/3WPcfPuA2MTuxd8S+rcH7vx6eE24/Jx6rGgTvv/uJ99OIiuP9mcAMKModPNmyxiUeFf2hw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t3OO5-0006m4-Au; Tue, 22 Oct 2024 19:34:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73956] [PATCH 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: 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.172964001225941 (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]:57940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3ONX-0006kE-Fa for submit@debbugs.gnu.org; Tue, 22 Oct 2024 19:33:31 -0400 Received: from confino.investici.org ([93.190.126.19]:57005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3OMm-0006eI-Ak for 73956@debbugs.gnu.org; Tue, 22 Oct 2024 19:32:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1729639923; bh=LRvgLSf+yOQJqnLxFDiRoOO3XyjZk2UalbNR6KagRZ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=utqlfWteTQYcDBAQHPOujxHhEBglcLJAzUztHLyy/XQUwQ22BZ8iN1lYOQiKJev8b T0/4fm8nZkiBp019b8Y5dAzwi0feqEMXyw1G7yTHzjcyDbk9Q6FJPO0gMj9vPJwVZS KkQHyUHcy1Le9qKuQ+P5IoIPVegyql/IOllhWNEY= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XY7kC4ksvz117h; Tue, 22 Oct 2024 23:32:03 +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 4XY7kC3ySpz115q; Tue, 22 Oct 2024 23:32:03 +0000 (UTC) Date: Wed, 23 Oct 2024 01:31:09 +0200 Message-ID: <198a44bcd5c9abcd9d1d57e5188b13a146b9c73f.1729639872.git.goodoldpaul@autistici.org> 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.01 X-Spam-Score: 1.01 X-Migadu-Queue-Id: CF5E0255E X-Migadu-Scanner: mx12.migadu.com X-TUID: MNKng04/nZaf * 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 e641d1a3ca..86feff444e 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