From patchwork Tue Nov 28 21:11:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Sergio_Pastor_P=C3=A9rez?= X-Patchwork-Id: 56960 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6710827BBE2; Tue, 28 Nov 2023 21:16:48 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 70AE127BBEC for ; Tue, 28 Nov 2023 21:16:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r85Q5-0003ew-2i; Tue, 28 Nov 2023 16:15:01 -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 1r85Q1-0003cp-UV for guix-patches@gnu.org; Tue, 28 Nov 2023 16:14:57 -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 1r85Q1-0004WR-MI for guix-patches@gnu.org; Tue, 28 Nov 2023 16:14:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r85Q8-0005Gw-Jq; Tue, 28 Nov 2023 16:15:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67515] [PATCH 07/91] gnu: Add rust-gio-0.18. Resent-From: Sergio Pastor =?utf-8?b?UMOpcmV6?= Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 28 Nov 2023 21:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67515 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67515@debbugs.gnu.org Cc: Sergio Pastor =?utf-8?b?UMOpcmV6?= , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67515-submit@debbugs.gnu.org id=B67515.170120607820008 (code B ref 67515); Tue, 28 Nov 2023 21:15:04 +0000 Received: (at 67515) by debbugs.gnu.org; 28 Nov 2023 21:14:38 +0000 Received: from localhost ([127.0.0.1]:47918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r85Pg-0005CQ-R0 for submit@debbugs.gnu.org; Tue, 28 Nov 2023 16:14:37 -0500 Received: from mail-db8eur05olkn2015.outbound.protection.outlook.com ([40.92.89.15]:24096 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r85Pe-0005B8-Hr for 67515@debbugs.gnu.org; Tue, 28 Nov 2023 16:14:34 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UQRnwz+f6aHi+33WmyrHdTmL1xANq1CfOKYWVTZVWZawz4mNoWKGMMSDQr3ufqmAnrR5GiiiHspmAchxYknjw3em4p6/xlgzkpsxCldQVLu/0baxkHVQqg2eltvhiO2yzyr3H6WKC6+ce/ZKvETKKR2qflSi52pnNePmDT3oU513VJ6RzfM6oNnBiiyTw+o0irtx2AV+T6XDJUe5FpH2US+Wx+1IlcBONkeZ3uGi9Q6uRJpeJ2DtMptTGLNsEVJrOtGruBQooJtkmyMDCuN/p1o0FLTy2BpliqkTtr6edpx2tcste/gbNVG2J9ymM61XfFccvg050eqGFrZ5JebtyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nR52sqaEySduA+CKle7JMAcNClIoKXzdXpMeiduLovs=; b=kMvtad3Q7KsTUcFtn8M9xQAFCWiPc6W0htggEOobPOki1pRqwYGwbLyyVz0e1c1bTkKIh2n6OXQtmMbnwFFh4XB8XuCQtBgMRkFqMPOKPIMvhXZb24ljZuwfxcvjMqDAylAarElgaakzPYeu6iHtE3sn3fJ1TzdLVbFtb+gmTgfiUAsUbBiwgc/bt93pqaK3c0EhvGG8m4ruzKSdXCQEgXQVORofLm2TEl2W5PmWEGF0AjnNaDQmhgw6LEvh5pwHzPK07oUBsYUp+t1Rbs8GmaatM+HMScAXoI4dH2aV/vgIHn3FI4fDRIjmple1Qg1fA7zj9ACc5YEBwpEXpr3Zag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DU2P193MB2132.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:2f8::9) by AM8P193MB0867.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:1ea::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.28; Tue, 28 Nov 2023 21:14:14 +0000 Received: from DU2P193MB2132.EURP193.PROD.OUTLOOK.COM ([fe80::b769:d56e:2eaa:ffd8]) by DU2P193MB2132.EURP193.PROD.OUTLOOK.COM ([fe80::b769:d56e:2eaa:ffd8%4]) with mapi id 15.20.7046.015; Tue, 28 Nov 2023 21:14:14 +0000 From: Sergio Pastor =?utf-8?b?UMOpcmV6?= Date: Tue, 28 Nov 2023 22:11:45 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: X-TMN: [kwUEGUhjQdtU/UXSGb2JXR4QNB2HM0g2] X-ClientProxiedBy: MR2P264CA0080.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:32::20) To DU2P193MB2132.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:2f8::9) X-Microsoft-Original-Message-ID: <07db918cbc96659043fe8034d2e74aae5559bf45.1701202944.git.sergio.pastorperez@outlook.es> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2P193MB2132:EE_|AM8P193MB0867:EE_ X-MS-Office365-Filtering-Correlation-Id: 03239609-24fe-4494-afbc-08dbf056f905 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: quaZGBBGlOM55JL7bSOkHx0SwrBsvz4YaBK88Lzqu0VEb9QRgVQ7XwLa4pQ/5fUPhXdt1s5cQHeAI80Vt/Df+mGwAkNz3g4+AueN28/XB5OwrmriIWSdbpymD19uUAOPohWuuIOyifcWQALAv/jehSVdX3OZ5darOh3TaBQQs46Xb08PuXYafODcH4nmdkARUYAz8tu7OAnX4JIyZf5I+NR2iGnBMD/cd1ustf+NG+Sh1fvfVAEHHkUuV/sQ3UI7sDmbJJx+/D30t7BoqSY0LDKO7s2Srd/y0JWAr1Q3psz19hTACNpjNpJiKsESA3MgqTIu7L3GPsxT4pTtrvm9//rXl++G1zBkPQLHvbTres/+Z2SSte4jVKEbVguHolYMMKXiW0WnXjSlWTEGpDk2xlBiQi6iVsB7WH5iXA514IEiHJc3UkCYlbwhhspRtQRgMnAlUdhO8MGP3qMKcq7fZ6+72iDIN/01ROzuOexrFBHIAp/89/Tpa3zqoRQsa7S79RFo2DmRdImWvnbfluCO/IYBVU66I/T1i6HyMk1yy9li0sI+8dXx4Tt3QiL73AbMrEWuaDd4+silOaul7ictTDunJXi/KVTtHPaHR3W73ak= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 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Ij4/efk7zYDOf0bIlb8XNIKli+v3fx1H+BXrRtpMsecVXskKYjL5KCrJSX3VXxLo9ZrIdb/ndvBiLv7QtDPiQE4EWuQ6oZlLSf/ruIjf5nPGCC3EfYYfNwvutFZse9vKkOK+OFrWe3nsN23zw5GqT9NZd3i+Xx8vrEQpt0aeIFg+hEF8ZwS72byjLMjsVY/sfmNT44= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-80ceb.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 03239609-24fe-4494-afbc-08dbf056f905 X-MS-Exchange-CrossTenant-AuthSource: DU2P193MB2132.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2023 21:14:14.1241 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8P193MB0867 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gio-0.18): New variable. Change-Id: Iea32a91f484f73dbdcf12d877c45af7944bab398 --- gnu/packages/crates-gtk.scm | 49 +++++++++++++++++++++++++++++-------- 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 9de8de3cba..87006b65e1 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -860,8 +860,46 @@ (define-public rust-gdk-sys-0.9 (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gio-0.18 + (package + (name "rust-gio") + (version "0.18.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1caryyr1sciqd25np4v4701nkb7h59gqzpwaiqjrp6g5x222y1ap")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` + #:cargo-inputs + (("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gio-sys" ,rust-gio-sys-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gir-format-check" ,rust-gir-format-check-0.1) + ("rust-serial-test" ,rust-serial-test-1)))) + (native-inputs (list pkg-config glib)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the Gio library") + (description "Rust bindings for the Gio library") + (license license:expat))) + (define-public rust-gio-0.17 (package + (inherit rust-gio-0.18) (name "rust-gio") (version "0.17.10") (source @@ -871,7 +909,6 @@ (define-public rust-gio-0.17 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "02nkqpq1a6ikzhv5x4nyfvzx8zk5dkjsjm50ns4qdybwjf93x5x6")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` #:cargo-inputs @@ -891,15 +928,7 @@ (define-public rust-gio-0.17 (("rust-futures" ,rust-futures-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gir-format-check" ,rust-gir-format-check-0.1) - ("rust-serial-test" ,rust-serial-test-1)))) - (native-inputs - (list pkg-config)) - (inputs - (list glib)) - (home-page "https://gtk-rs.org/") - (synopsis "Rust bindings for the Gio library") - (description "Rust bindings for the Gio library") - (license license:expat))) + ("rust-serial-test" ,rust-serial-test-1)))))) (define-public rust-gio-0.15 (package