From patchwork Wed Dec 15 23:05:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas von Klitzing X-Patchwork-Id: 35253 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 C3EF027BBE9; Wed, 15 Dec 2021 23:06:18 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 128C527BBEA for ; Wed, 15 Dec 2021 23:06:14 +0000 (GMT) Received: from localhost ([::1]:50936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxdLh-0005bh-8M for patchwork@mira.cbaines.net; Wed, 15 Dec 2021 18:06:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxdLW-0005bP-ST for guix-patches@gnu.org; Wed, 15 Dec 2021 18:06:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxdLW-0000Wt-Jy for guix-patches@gnu.org; Wed, 15 Dec 2021 18:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxdLW-0002gQ-De for guix-patches@gnu.org; Wed, 15 Dec 2021 18:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52530] [PATCH core-updates-frozen] WIP: Add rust-gtk4 and dependencies Resent-From: Nicholas von Klitzing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Dec 2021 23:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52530 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52530@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.163960955710301 (code B ref -1); Wed, 15 Dec 2021 23:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Dec 2021 23:05:57 +0000 Received: from localhost ([127.0.0.1]:34021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxdLP-0002g3-KH for submit@debbugs.gnu.org; Wed, 15 Dec 2021 18:05:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:52584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxdLM-0002fu-GW for submit@debbugs.gnu.org; Wed, 15 Dec 2021 18:05:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxdLM-0005aq-7L for guix-patches@gnu.org; Wed, 15 Dec 2021 18:05:52 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:19754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxdLC-0000Nz-Ud for guix-patches@gnu.org; Wed, 15 Dec 2021 18:05:51 -0500 Date: Wed, 15 Dec 2021 23:05:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvk.pm; s=protonmail3; t=1639609529; bh=J6t/4/DmNq9U38pT0hVqdFm6COvqZQXc5v4Ktiw3sZg=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=gCa87WoXBfcGt8Qmm0GCxEotpJZz5WHyLtdlbVc9XWe/C5JnloVNU1wqYskfbDQmq XXpOjsoAy++xAa0d253vb2YxMFGD7XKaVuOJEaYH37AyO7eM0C6dK9o8qhFsF+bNty H5B1qT+qWBaMKPgprRuCQwAB7VSSBm8LUjWVUyr+8yudplVnV9eASCFMgc4l8fYcIQ Tkp7+bG6PPZroAJFDjDDAbNA6pOYYOe3D0BSksOW2gbppV0FlzVbPCxq4ndg3XmWHd 22H2nn4+QOb7p7Kr8H9ydVYrvJIXexOZL2JOoyNJQppjZblCwGabAb1/aKLaKeOOYZ T3CD3j/3skdDA== From: Nicholas von Klitzing Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.23; envelope-from=nicholas@nvk.pm; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Nicholas von Klitzing Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello Guix! These are my WIP patches to add the gtk4 crates. Several Gnome and Gtk applications depend on this crate (Authenticator, Fractal, Shortwave, etc). I based the patches on c-u-f because the master branch isn't building on my machine for unrelated reasons I have yet to explore. Regardless, there should be no conflicts. Several of the dependency package definitions are unedited from `guix import`, so please do let me know if you think I should change them. Looking forward to your feedback! Kind regards, Nicholas von Klitzing From 1b5b51a56b49e73580e8bf8b625872bb4c3f34d5 Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:45:26 +0100 Subject: [PATCH 08/29] gnu: Add rust-system-deps-5. * gnu/packages/crates-gtk.scm (rust-system-deps-5): New variable. --- gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 5a2a75121e..6a05257c89 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1070,6 +1070,34 @@ (define-public rust-cfg-expr-0.9 "This package provides a parser and evaluator for Rust `cfg()` expressions.") (license (list license:expat license:asl2.0)))) +(define-public rust-system-deps-5 + (package + (name "rust-system-deps") + (version "5.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "system-deps" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zkrf58z96y3f5ggglqirc97iy9rvyippkq67vkx0yyvaiaqbnqq")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-cfg-expr" ,rust-cfg-expr-0.9) + ("rust-heck" ,rust-heck-0.3) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-toml" ,rust-toml-0.5) + ("rust-version-compare" ,rust-version-compare-0.0)))) + (home-page "https://github.com/gdesmott/system-deps") + (synopsis + "Discover and configure system dependencies from declarative dependencies in Cargo.toml") + (description + "Discover and configure system dependencies from declarative dependencies in Cargo.toml") + (license (list license:expat license:asl2.0)))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") -- 2.34.0