From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +ECzJ3VYZmWAGQAA9RJhRA:P1 (envelope-from ) for ; Tue, 28 Nov 2023 22:15:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +ECzJ3VYZmWAGQAA9RJhRA (envelope-from ) for ; Tue, 28 Nov 2023 22:15:33 +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 A9AF759495 for ; Tue, 28 Nov 2023 22:15:32 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=outlook.es (policy=none); 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=2; s=key1; d=yhetil.org; t=1701206132; a=rsa-sha256; cv=fail; b=VK+V8l8yT6eBj/J58BhqU6Do9pQ3uyPje2HkQbIia0NwKPld9tX2vlwWLPs6yagUMpNclK L6iQE4ip8hGf/tubFkkPqgBhGrvd/qJElOO+1ESuaiScXJ++YylcCrbrVwwD12YNn9CzYg p/GwqzK62sd9HAbXfTbVXEF1cbgj7X/L8IBdx94UaeBoXq8V548qWH8hKGqVCLtiUVniO+ 5rCVPuoNCef/a8+V8NIt2HA/W/naF8vFNySv1b1uhGgQB4zcMTdte1EcWpCZNsFB4ik8qp TErElwOy2soLZREB1s8YQqAlakWe6bvgiADnfHhz8C5v24jyFOi0m57WaQP3Fg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=none; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=outlook.es (policy=none); 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701206132; 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=jkiGPGsDzBVoT6kLK/qgnzeu6f/tOWIKrUe978MPp74=; b=XuaOPZGidjTAUdhUK+bxnPR1+9iUDM+Ary0xqeQI61qMFQJHALrQ9ON9j+UiBFGMWAOKjW DWxr3JEMIhl44E8DnlaNOkb7ISSgi60Sa0zfLKCCR7PBgh+sgmnqqz6vuCOgELFnETBaUq G6DsRmBtvTX3OWiOTnXMNHA/jHNIhFNjGa3yEcat6iQADgo6gs6g1Y2ycwsGG2wbKa8EMu BQYW4L2XOaFQBibCu6jDr4cz3VqgJ8QadkfQopHiQROQTQkSicND9E+aBB/ATkcNapFMvY Dz6rRVGBgJstevOqEgNHkvcz/RXJt0a2B2ovgxcvrYQ2rv6ah/PU1Jdy2bGkfA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r85Q7-0003h5-Kp; Tue, 28 Nov 2023 16:15:03 -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 1r85Q6-0003gH-8R for guix-patches@gnu.org; Tue, 28 Nov 2023 16:15:02 -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 1r85Q5-0004Xv-Uo for guix-patches@gnu.org; Tue, 28 Nov 2023 16:15:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r85QD-0005IT-0h; Tue, 28 Nov 2023 16:15:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67515] [PATCH 04/91] gnu: Add rust-gio-sys-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:08 +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.170120608620165 (code B ref 67515); Tue, 28 Nov 2023 21:15:08 +0000 Received: (at 67515) by debbugs.gnu.org; 28 Nov 2023 21:14:46 +0000 Received: from localhost ([127.0.0.1]:47955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r85Pp-0005F0-CR for submit@debbugs.gnu.org; Tue, 28 Nov 2023 16:14:46 -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 1r85Pg-0005B8-RH 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=b11x8CYrabYMu7irVOTrrSvq1uOw0vMkECSCaF++5qRy+8mpQkpA+IqPk0Z4poelQzQWcqsIqA3qyvylW/5/yPKbfF4rlailZwcnTt3o5npgNbDoi0gOf2dbRm39CYCEDV7jhG6KrodLGOfYRuhd1WUTTcs9VdYsRv36MPnvXzGl88zrkhh+gJbbqp29gMDeKIwhxSm+L32+Ga4qMo4NUC/Vvybm68fnTxBpX8AtWJOl7QRhhQ6gb0mPzu+2wWCRnf1kpMwrUQ5mqaJDiBv/Podbl5+F1y98vs7owSBd9CHoO263uyclVBgQSGFm7QawfeH3z5M1l2L0rh3PS2qfGQ== 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=jkiGPGsDzBVoT6kLK/qgnzeu6f/tOWIKrUe978MPp74=; b=Nw4Oj1uooWO8n43PFSfQuXQgV5Sb35nMDNe4SwTARxsFxRP9tX7JTimU3A7W4LpxFA1e0wZmu1KbM09UtoSBB56qb7XuQa07uDoJl19HlRZ5vYJr7OZBQtiCf7nQU1a0ZMBghDRrJpgGGz2qDgN7PcxroND+La8D3qMfyZiqyDiXJyugH7Fgkp1e1RrRE8fZHe3L6fxGn4amcin999pwMn/A0nRm1N62f3ThX0bqSs4xQ06xme35xXsmzQVOPhp++BMzXKWsa/PNwTBRsExQpKPaxrsVxE4K/l5sWdsHyL2XWrg90JtEKTciFuzRbGBN7H8jlSb3HtlDtgtQ0utDpg== 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:12 +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:12 +0000 From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= Date: Tue, 28 Nov 2023 22:11:42 +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: [B640ZpZM89lJaB0EyPTRyESkfT1YGuja] 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: <8c09c5a9313e171f028040cb03db8519782aa5a0.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: 1cec8752-7b35-4e2d-6967-08dbf056f7cc X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 81ix2+Ic/y6uqJqbHEV0QMaYsSdUqohOqOhk2UfDrQCJN1w7bIrQAzD2wFEqRHIn8hJlzPGY1JfNHp1/mgLvUh6y0CzuEX5g2SgVfkbz8ayhEtCjSe66D3S8lYfRSp4+ZuI6uEpMMCAJiCGE2QFdRjsdZ8YXUKJwA44exOc7CVC4L8mVj0mpW+IeyrXb8PH/g7J5WhlXngMzH47NBFCaILUjtv5ojJpH8MlHXVd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M5lGSr1Pht8EknlxrbKcFACnarOs/jtI+UuGHuvXFMjTM6q7Kh0LGeLAmaP3NGeHw7Hbm3FQMd9wXYWzKzwoglfRv2a1A9W1tY5RNqbcibyk8POC+OxDRbziWYBIuYYCBFF4/bno/w1XvJKPQ5UF9bqbasntXJA+wB0KCQ/bCWr/KTKm+/sQnnLQ3PIYv7tCLrTrMWOO3kkQNbTFdMHNzIiUzRs9frizPOLVTSAjGEbTvBCr8DMERcbyHic+kxb+qE7UdW9xzLA3224rNRh48vO9A/79VQrNDMpGjoQ68Pbr8qUwX+odeb1Kpik4xb7ragxRyBfrFh4 cgvRqcI9WpEVjcT/ThakXvQngwk3YtEwHcGbjPABv2HSwppxiv2YXNoWqfdq3fY16FNJV0MM9juGR1/Ts3uBqXUCh41bH0esNipwHWeNp+8R8vQRbwCs/2NzcIUm2heQCcIGvK+Ej5bTzJhmSTr51Iy5ZXPEmDHvsjii+9Wd7DGFizcxCi5lBFi32O5ONQHEbrPNAVkggiJA1aNzHg2bUaMow49m3BBe85dW7LsWfphImN5JVVBpgW37T22kIIcE82ez9hkbiDodlLqX3fkE9fYs+lIfHqsRBKAjAICi8Ko= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-80ceb.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 1cec8752-7b35-4e2d-6967-08dbf056f7cc 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:12.1263 (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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: 0.36 X-Spam-Score: 0.36 X-Migadu-Queue-Id: A9AF759495 X-TUID: a4ntFF8a/Xiv * gnu/packages/crates-gtk.scm (rust-gio-sys-0.18): New variable. Change-Id: I923a6a4361c1c8e420e2d947714bfcce326cb772 --- gnu/packages/crates-gtk.scm | 51 +++++++++++++++++++++++++++++-------- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index d8d223aa37..53bb539c80 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1027,8 +1027,48 @@ (define-public rust-gio-0.8 ("rust-serial-test" ,rust-serial-test-0.1) ("rust-serial-test-derive" ,rust-serial-test-derive-0.1)))))) +(define-public rust-gio-sys-0.18 + (package + (name "rust-gio-sys") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gio-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lip8z35iy9d184x2qwjxlbxi64q9cpayy7v1p5y9xdsa3w6smip")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases (modify-phases %standard-phases + (add-before 'check 'extend-include-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((gio-headers (search-input-directory + inputs "include/gio-unix-2.0"))) + ;; Tests rely on these headers. + (setenv "C_INCLUDE_PATH" + (string-append gio-headers ":" + (getenv "C_INCLUDE_PATH"))))))))) + (native-inputs (list pkg-config)) + (inputs (list glib)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to libgio-2.0") + (description "This package provides FFI bindings to libgio-2.0.") + (license license:expat))) + (define-public rust-gio-sys-0.17 (package + (inherit rust-gio-sys-0.18) (name "rust-gio-sys") (version "0.17.10") (source (origin @@ -1038,7 +1078,6 @@ (define-public rust-gio-sys-0.17 (sha256 (base32 "1hr84vgpz1hbs9q7wgvpnwhbxwh9kim0z5aqv6v6ki0j1b1qgkqc")))) - (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. @@ -1060,15 +1099,7 @@ (define-public rust-gio-sys-0.17 ;; Tests rely on these headers. (setenv "C_INCLUDE_PATH" (string-append gio-headers ":" - (getenv "C_INCLUDE_PATH"))))))))) - (native-inputs - (list pkg-config)) - (inputs - (list glib)) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libgio-2.0") - (description "This package provides FFI bindings to libgio-2.0.") - (license license:expat))) + (getenv "C_INCLUDE_PATH"))))))))))) (define-public rust-gio-sys-0.15 (package -- 2.41.0