From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MK+DLl02GGfgCgEAqHPOHw:P1 (envelope-from ) for ; Tue, 22 Oct 2024 23:33:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MK+DLl02GGfgCgEAqHPOHw (envelope-from ) for ; Wed, 23 Oct 2024 01:33:49 +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=eF8wqgOh; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=W8svwP5a; 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=1729640029; 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=rNeaYg6sT03l38noxz+uy9A9oRXDiPBtyGdlT06imXc=; b=SEZbxaMJrWoZU01SJhLmkvhtK0f8OEM/eJozP9T2S/VyYDTrt162eNQTSm3Eb7v+iGw/Ny enzfsHtbOUzcKG9ct/OkTlZooQQvGzCuTZswRjmFTXe1TEYuYQIBjfN75hU1nTvI9oaBn8 vXAR1gsqa+pFvJls8AHw7rHNVZBOKzC3SuIFj0f+AxFJ0OZEAWM4pxKDb+whA/vBSKjQsA Zj2Ediacy55dbDAEIrRX280ijGM3nbHj6gJpCBRv0rhtEKfBS2///o6BkDgSb+c5FRb3Yn Dy3F3d7cAlN9+iWvvQ8FEB1X61SHLJaK30uhEL9sUgR+DCCxVEhFyzQ3y5CciQ== 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=eF8wqgOh; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=W8svwP5a; 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-Seal: i=1; s=key1; d=yhetil.org; t=1729640029; a=rsa-sha256; cv=none; b=gxEEbkbI0e0bicFPJcziW8Jeozh0/7TqSw2D1nwHgcBWhiWuZ4he28MKopfshY43IWq2dm InHIT4oYMbnemZSwn1/uk9jQDWHYwCT1ndu3lGLnsyRMBbExH7I7F9uOSo5qQ5XBk0SMJj GR6Xnkpgy55cml0AWUsVNGZ+CAGOeVjQjngDLAUdsP1A5VM0FoeYQH4q2mvXukiYxZdKjb p4NZDaYpsC/FrkUWC3j9Mrh2F7R9mLosbLQ3wdm1B7S9jn1PDL+yuIF3A2CqNIRIWClg3A S8RPaa6G9u184b+CkhkZOz8CJr0Y/QkSccEILSvhTtIocW2t5uq5PGAZh2LYVw== 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 733667C16C for ; Wed, 23 Oct 2024 01:33:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3OMn-00062B-EJ; Tue, 22 Oct 2024 19:32:45 -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 1t3OMi-0005xc-Ed for guix-patches@gnu.org; Tue, 22 Oct 2024 19:32:40 -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 1t3OMi-0001JN-5L for guix-patches@gnu.org; Tue, 22 Oct 2024 19:32:40 -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=rNeaYg6sT03l38noxz+uy9A9oRXDiPBtyGdlT06imXc=; b=eF8wqgOhkL5u60PlC3bfrroVeHClCE/b5nXa8GEwzcQAR1LwxVOdt767fOzc7fTSeu1I1ZmTrlzCq/UPG/H3W/ML04NeFDNwry8kfUelounUXGt4Eq+yaeGHtdPb0x2EObfRR+rk7O1syqF5/XSJxepE3QaNRTlGbNGypOvL2WKmrEm6mOPU7jmQw5pF56XI13jw7ZhEIOAznV0ajDcQg8LhpIynt98TFmIjP7f+Oq2aHVHUhhJhnR0TsHj1xXfzhcVaC/CmJrVJ5PBH15ZJMJgAIldPZ9E7Ux+bzSUJQAD9UovzJGV0b1BLBAnFiRaI7mgeVzHRZxXTvys51JgDnQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t3ONA-0006iF-H9; Tue, 22 Oct 2024 19:33:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73956] [PATCH 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: Tue, 22 Oct 2024 23:33:08 +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.172963996725627 (code B ref 73956); Tue, 22 Oct 2024 23:33:08 +0000 Received: (at 73956) by debbugs.gnu.org; 22 Oct 2024 23:32:47 +0000 Received: from localhost ([127.0.0.1]:57872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3OMo-0006fB-UA for submit@debbugs.gnu.org; Tue, 22 Oct 2024 19:32:47 -0400 Received: from confino.investici.org ([93.190.126.19]:28815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3OMe-0006bz-PK for 73956@debbugs.gnu.org; Tue, 22 Oct 2024 19:32:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1729639922; bh=rNeaYg6sT03l38noxz+uy9A9oRXDiPBtyGdlT06imXc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W8svwP5azufx95mXSAXrndk6xdtNdPhEyeuCnyVZYCkbwf0y+6f+oM7Ivc86L3P8g JxghlCY1+xtGbiQJaOkhxmisWLciIbVraeqBaTXZ0dPfD2Mo5kR+sAzoHr+ZQT+vqt akIerzuBu0zyRvSaiQFfH0Oz0gPm0be8s86YA/dQ= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XY7kB3g5zz117c; Tue, 22 Oct 2024 23:32:02 +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 4XY7kB2rcqz115q; Tue, 22 Oct 2024 23:32:02 +0000 (UTC) Date: Wed, 23 Oct 2024 01:31:05 +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-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.51 X-Spam-Score: 0.51 X-Migadu-Queue-Id: 733667C16C X-TUID: k+GUECC0W7Ne * 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 2c94824a77..d758f8ee92 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