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 8EAiLwTVK2enLQAAe85BDQ:P1 (envelope-from ) for ; Wed, 06 Nov 2024 20:43:48 +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 8EAiLwTVK2enLQAAe85BDQ (envelope-from ) for ; Wed, 06 Nov 2024 21:43:48 +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=j1ljqIyg; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=CsQ2FAP1; 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=1730925828; a=rsa-sha256; cv=none; b=W6l7SmUI1+llZyjwJR5I6geDSTKlmYISYrEwFfYgvFDnyR9dMvp1SBxIGNOsV0vrnVN5mg MRPlAm8LwNs+6KwPw50yXvN1uazvVUqvhoOIAI2TLvfbnVrayVB4QwR2TN0hoP9Ik01dd9 VaS3se2TNIaboGN9AqtzpKTkNoK25hOnicDIjC98bzsB2EVuqLK5Y9+yexMOt37+ElQFWd KM5ua/ZPmwAqnQAVZ4FbNnaIN/dCVQVZAEt6guFtGPN5uHwM5STuMidDSl7phdZYfcL5MI oeKvA5eYRAAUZ8y0qwObK2wo/gzIj6OXR42xB1ug4EVPtnG635aN9bSgglW+8g== 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=j1ljqIyg; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=CsQ2FAP1; 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=1730925828; 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=jEI1F/LvkAsKSrwD8OK60OlKNZXaRJ+tyuknR2aB+as=; b=DYPmcOfZlKDAC/nl6v2U8LU+UtrOg70vXbWjBMWnZhvKPwjVtt8MvU9hc7nGqd/AAXpub8 GCuXL8heGRT1U5YvA7QgxCs8hxDjvupBE7I8JVl2ic2tmz2TAqatEkLjhikbidLs8IJB4N TCzf0A3JtXXoS7KRU2BY8zMtfD7nxG33goAG5+f0GdBPUdMN2Fl0LAwCkOemRMSS79jjN5 QNVcz6LK9a1mh1/sDQX86L2icDlFaGSkMFh7TGWL+GbtDL3LFyohijLCHnhQqkbFqTuz5c wcYugARjzxp1LZL8mwqV96AuR+quLmVedbpY7Uyu48DGFyUd06AqlmqPrQZ44Q== 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 B1E658366F for ; Wed, 06 Nov 2024 21:43:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8msL-0000ZQ-7S; Wed, 06 Nov 2024 15:43:37 -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 1t8mrr-0008Oj-Ia 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-00013F-98 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=jEI1F/LvkAsKSrwD8OK60OlKNZXaRJ+tyuknR2aB+as=; b=j1ljqIyg2kg7kc5PzdAM2xTVqMldvpqLW9l+yGiUxpU7vFlcH09AS3ecm357++HZQEYMMuuQwwYQB+QKu+sBYYMos9pjXTXXfCqXYHw9gdbL3CzJSkvHTcTSbiabhvy1QpRC15gYmK+WFMtLBcT9tOVaUEBeD19rWsxGEX5XQSa2frbHzs8vkgQ43Gj2ttrNswua4oB1kRFMu61wwrqIzreFsht1wePOaz+9FlWMlVWWWe+i6fwyb02g0iL1fzgeLrCJQ3HX9pPFwU9JElyGbcS+ujJr56awAD6egjs+qPRgJZvqtRAP9PM7cl9yGm4h6O6WO3EkiZskiha4XrYmZg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8mrr-0003NN-4D; Wed, 06 Nov 2024 15:43:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73956] [PATCHv2 rust-team 20/27] gnu: Add rust-gdk4-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: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.173092574112780 (code B ref 73956); Wed, 06 Nov 2024 20:43:07 +0000 Received: (at 73956) by debbugs.gnu.org; 6 Nov 2024 20:42:21 +0000 Received: from localhost ([127.0.0.1]:45726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8mr6-0003Jy-Q6 for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:42:21 -0500 Received: from confino.investici.org ([93.190.126.19]:38723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8mr3-0003JO-OI 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=1730925730; bh=jEI1F/LvkAsKSrwD8OK60OlKNZXaRJ+tyuknR2aB+as=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CsQ2FAP1kAP9ApkuHt9cWCv38pdfPR4KjwOz4C/qrZsgo6u2enneZ12eu7n5AAoR0 GST8L2k4hFA3uT706eDXY3vUkp2CUlU10F3Q1H6gzcxc03AKhrN6sizIg0aKF2tWhI Y2+ur8d1G4yvmdspFxIpxgMFmgqb5eQcC3++Kvs0= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHFG0QX8z10t7; Wed, 6 Nov 2024 20:42:10 +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 4XkHFD0jLLz10vQ; Wed, 6 Nov 2024 20:42:08 +0000 (UTC) Date: Wed, 6 Nov 2024 21:41:24 +0100 Message-ID: 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.89 X-Spam-Score: -2.89 X-Migadu-Queue-Id: B1E658366F X-Migadu-Scanner: mx10.migadu.com X-TUID: NYNMAplugVrg * gnu/packages/crates-gtk.scm (rust-gdk4-0.8): New variable; (rust-gd4-0.7): inherit from rust-gdk4-0.8. Change-Id: I66df513b683b44414e4994f0225dda6f391e3dad --- 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 d0db2f16a3..99068e8c02 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1112,8 +1112,39 @@ (define-public rust-gdk-sys-0.9 (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gdk4-0.8 + (package + (name "rust-gdk4") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk4" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01qak43mrlszsy9cfsmqk1ql4228m2rylbg514g3fsidsjfmq9nv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.19) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.19) + ("rust-gdk4-sys" ,rust-gdk4-sys-0.8) + ("rust-gio" ,rust-gio-0.19) + ("rust-gl" ,rust-gl-0.14) + ("rust-glib" ,rust-glib-0.19) + ("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 cairo gdk-pixbuf gtk)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings of the GDK 4 library") + (description "This package provides rust bindings of the GDK 4 library.") + (license license:expat))) + (define-public rust-gdk4-0.7 (package + (inherit rust-gdk4-0.8) (name "rust-gdk4") (version "0.7.3") (source @@ -1123,7 +1154,6 @@ (define-public rust-gdk4-0.7 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1xiacc63p73apr033gjrb9dsk0y4yxnsljwfxbwfry41snd03nvy")))) - (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) @@ -1135,13 +1165,7 @@ (define-public rust-gdk4-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 cairo gdk-pixbuf gtk)) - (home-page "https://gtk-rs.org/") - (synopsis "Rust bindings of the GDK 4 library") - (description "This package provides rust bindings of the GDK 4 library.") - (license license:expat))) + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-gdk4-sys-0.8 (package -- 2.46.0