From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4Lz6A2xYZmWkIAEAauVa8A:P1 (envelope-from ) for ; Tue, 28 Nov 2023 22:15:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4Lz6A2xYZmWkIAEAauVa8A (envelope-from ) for ; Tue, 28 Nov 2023 22:15:24 +0100 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 BEBD85A2AD for ; Tue, 28 Nov 2023 22:15:23 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=outlook.es (policy=none) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701206123; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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; bh=A7cdFBDaXRf5Gt61yu0Oae2jqZfj1VPG1ktIEYgBwgI=; b=EhBAolKzq4OZsAaRQ+5XaCoacr2jn0itgaPTqsIcQnkr+HQCWBfSrIjWRSFrLNaIUYQ3vG mBaUISl7jEUrtW96dnIZqCYpmHvkJ/R2Pk4ScP05cqJZVBVVuZxKIQLevH+WujWiwPVoBH 5DNSywtmjSm25LX47T9ZwZkxWZlPTdHIGGsAuvyJGysJ4JYPYp84WMK8ov48nRlQjJGVP7 ew5W4MKkXUAPhrRVYnbcBMLFsVBZsGngg0lgbFnNvkiiJbbIY5GZgDfdiptWRaHh4nZOtl zgUUuT6mLNLG/chwpqQc1TDjiSO4Omi3wCZtxI/RXrqkqLTbqZxwA3r2QittFQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=none; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=outlook.es (policy=none) ARC-Seal: i=2; s=key1; d=yhetil.org; t=1701206123; a=rsa-sha256; cv=fail; b=d+b+mD3/q6KCT05zZj96Qb0KDA7rKNdn+keT1ewVSXTdA2IZ518qKoCx/5g9NBqsMVD5SJ lymR3WP4IpaUCdLAdcC7ID2bpF1a9QKQXkea83DxCRgvH9/lsN3ATnLudNVcIHnMcO/TQB qjtU46gdvB6NB/w3elL1wYRTCtt+ZshMvfNt7/jKf9EeaIaopwr3RJzcALfcPmWT4s+x/q zP2VIHUMTRXHvfAK1FYskHc7uDfE8sEKFXirQC/7RYejdgEjlYoN94G39RSFW5emrmN45A kc2Oxnj8jxgmUmOlRv1tupnmoQDPHkvSqCOUoS5rD9QdGTRAdJp85pX6RZOskg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r85Q6-0003gK-Eu; Tue, 28 Nov 2023 16:15:02 -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 1r85Q5-0003ez-8I for guix-patches@gnu.org; Tue, 28 Nov 2023 16:15:01 -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 1r85Q4-0004XG-VZ for guix-patches@gnu.org; Tue, 28 Nov 2023 16:15:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r85QC-0005I9-0b; Tue, 28 Nov 2023 16:15:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67515] [PATCH 06/91] gnu: Add rust-glib-0.18. Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 28 Nov 2023 21:15:07 +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?Q?P=C3=A9rez?= , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67515-submit@debbugs.gnu.org id=B67515.170120608420141 (code B ref 67515); Tue, 28 Nov 2023 21:15:07 +0000 Received: (at 67515) by debbugs.gnu.org; 28 Nov 2023 21:14:44 +0000 Received: from localhost ([127.0.0.1]:47947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r85Pn-0005EV-Gq for submit@debbugs.gnu.org; Tue, 28 Nov 2023 16:14:44 -0500 Received: from mail-db8eur05olkn2016.outbound.protection.outlook.com ([40.92.89.16]:34845 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r85Pg-0005Bb-Ci for 67515@debbugs.gnu.org; Tue, 28 Nov 2023 16:14:38 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L4I2LdedwISAbexQ9r5Q/0l5Z9fmH5AfZBn5DZKjE3NThs/Yw4nvOMUJSqLfwdc/qySI7sqMsRgGkBDFuIOtIsx/N/VUkVMcGcpb5Ht01iCFkTac5C4PKrzX1O//92r8vxrt3JmXjag5E661biETbl9IsRr0qEyc+wibFPWoPQs5VZBox9qbWqd09I2f8guLSbWgVarjzYzI0Nkezlwd6IjPvVgk13vUBMokhdyV/uwQj0fKVfNVgZabcq3bkVKXhvgsdmFgwt488fYMq3WOo9C8G5KbMWXgePgl9GiaeuxDQaDvdp0n1orqu+JdfAOLlXpWHF+JK5Ggd36zydyGOg== 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=A7cdFBDaXRf5Gt61yu0Oae2jqZfj1VPG1ktIEYgBwgI=; b=azSRABx3vvIjlXST/XNBHNa7vYef6Btl81IToBbrscJ181wnC72AsS796oyjbLvIfr/B7zlsxh4COpVyL8/yItmJoz4zJwLNRz+fCFcEe2vHdTun85SsW3M86zAMmh8+rfAwUNJT3qWEtzZ77hbc41ZqN0kHoca0OkieKpTXzvt4yYyoswdx/Gh4omqf3en01fM/XT297bZ+5NX/55rFJq2m2PxqH8vJy3qXyF6rQF2G/5KQzszSZVgpZSz8XOwaiPFm17/KnShS/mk3zaKcWUzvlZq6Wl1an5XE4wtCCsLjrG1kQTn4AROvpKkbmYKBt46/fg4AZAFCmtpxhqO4DQ== 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:13 +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:13 +0000 From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= Date: Tue, 28 Nov 2023 22:11:44 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [97LLq3sDxhwVhpssP/HHr625xk1n6l2L] 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: <4511204693b1c1162f1112925d2f9e954611bf42.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: 710a8bdb-db58-492c-24b1-08dbf056f89d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RWxJtDCNcnj+MsljUo7R7chS90mioNZfnhJ5TK46BBkXJkIWrrC1h9GZzzJEDuufimPRteiHdSey+G5KtRP/GxMQcotl1gAERVODVH0OiCzmMx6TsE4URFNN5wNvsZ2/Vj6mOjpNK8VIYNekjjtfie0jP54ScFUpfHvksLiqj8yBkmzT1Mk+nAiLJ23IVWNswrmu7in6ja6XerrN181e2FGVOZu6NhuX8L4KRFIUm4wf7S0ODCTiOx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eHoQGY0i7N6LZ+cv8fBCnZOojfEDRMC09MByJmaEdkd68EKxhgEy+g0EFyXc69Dmh8HDvG14PqHyJU8qZI5EMESlDGnD5uIGrijlhb0fpgoSvYUCqKc+SkYeKpgO+txtjkeEFcpDJ4W6Cp4guU7fiHwPvc+AnX/P6sFdAqworGHOcUZZQKnas5zWI2OCdjk5X80glRjX5Yj6auF21S8ITkZG8Izu0ayLlHgqNQQRJNIp381wWnKr226hhZUb6PXHqiqXgnfGRiB86KRQUGLOnDnOCEv3X7YK+tEOHgWtk2EbD kJczssuw4TD1sdvogi5bjKI+pGanHn6Si31oFlSq+2ESVw5NVW3W0Y7Zxt8omPxiiq04JHf00m6+35/kdVYOSKW2anE54zf6/QaAAn/Ai557UKOX+2RaMoqQaKnqKLYpACrMJbMgASGfGEfppUX0MgMkrl4KX3Msz6wqOqRd72w6BtW2xYKGFoZbnhHogEG1CJFjrHgUGWAvN1yqg2oGiSuoZ8ExSTg6YyhYHgITgWSuo+HreIIDzo9CFGT63QHKxRBc21YG2P1D6WzknLljkdkxy7kkLfdBZIxOLZo9hBU= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-80ceb.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 710a8bdb-db58-492c-24b1-08dbf056f89d 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:13.4415 (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+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: 0.36 X-Spam-Score: 0.36 X-Migadu-Queue-Id: BEBD85A2AD X-Migadu-Scanner: mx12.migadu.com X-TUID: p+BNwnTsDdkv * gnu/packages/crates-gtk.scm (rust-glib-0.18): New variable. Change-Id: Id438a37765cc5b00145503401191f37259b3cdc8 --- gnu/packages/crates-gtk.scm | 55 ++++++++++++++++++++++++++++++------- 1 file changed, 45 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index cab580bca6..9de8de3cba 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1221,8 +1221,52 @@ (define-public rust-gir-format-check-0.1 (description "File format checker in Rust.") (license license:expat))) +(define-public rust-glib-0.18 + (package + (name "rust-glib") + (version "0.18.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "glib" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06dxrhispzz20n33b5k2gg723p27rprc87xbxb2ng06f07xnlc8w")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-task" ,rust-futures-task-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gio-sys" ,rust-gio-sys-0.18) + ("rust-glib-macros" ,rust-glib-macros-0.18) + ("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-gir-format-check" ,rust-gir-format-check-0.1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-trybuild2" ,rust-trybuild2-1)))) + (native-inputs (list pkg-config)) + (inputs (list glib)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the GLib library") + (description "Rust bindings for the GLib library") + (license license:expat))) + (define-public rust-glib-0.17 (package + (inherit rust-glib-0.18) (name "rust-glib") (version "0.17.10") (source (origin @@ -1232,7 +1276,6 @@ (define-public rust-glib-0.17 (sha256 (base32 "0jqlipn9zixj8fpqlg45v0f06j2ghdz72cml2akcxlnlm1dx9ynk")))) - (build-system cargo-build-system) (arguments `(;; XXX: Tests are sensitive to the version of glib, even though ;; the library supports a wide range. Skip for now. @@ -1258,15 +1301,7 @@ (define-public rust-glib-0.17 (("rust-criterion" ,rust-criterion-0.4) ("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-tempfile" ,rust-tempfile-3) - ("rust-trybuild2" ,rust-trybuild2-1)))) - (native-inputs - (list pkg-config)) - (inputs - (list glib)) - (home-page "https://gtk-rs.org/") - (synopsis "Rust bindings for the GLib library") - (description "Rust bindings for the GLib library") - (license license:expat))) + ("rust-trybuild2" ,rust-trybuild2-1)))))) (define-public rust-glib-0.15 (package -- 2.41.0