From patchwork Thu Mar 11 22:07:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27612 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 A31FD27BC54; Thu, 11 Mar 2021 22:09:34 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EC8D627BC50 for ; Thu, 11 Mar 2021 22:09:33 +0000 (GMT) Received: from localhost ([::1]:38258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTUr-00035y-2p for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:09:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTUM-000350-J6 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43555) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTUM-0007nu-Bc for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTUM-0005fD-5S for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 01/47] gnu: Add rust-ruma-identifiers-validation-0.1. References: <87tuu2p37n.fsf@cbaines.net> In-Reply-To: <87tuu2p37n.fsf@cbaines.net> Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550052921667 (code B ref 44492); Thu, 11 Mar 2021 22:09:02 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:08:49 +0000 Received: from localhost ([127.0.0.1]:55083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTU8-0005dM-Pg for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:49 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:8240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTU5-0005d2-T4 for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:46 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNPj63c1z3xPC for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:08:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500521; bh=4DwvixvlqN0HSreVVPkBHqfV/OGt9zYbpA8mhGkf6iE=; h=From:To:Subject:Date; b=mxURf+nGTVsyOq9wut7DTsZMdjCKIxy5NI9ITfVYKSCxGKtgRHhrmtqsd+RDAFiOr Ij/pbOwHcPV26hDphQLXDL3gx4gFrHwQLyBrV24hPOsSl0LnQiftTz4kMTujCIEtWZ oLW3PBdnDdxavKpcKkVHx6gxBjOyK1QySLzddgF8= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:10 +0100 Message-Id: <20210311220756.23132-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-ruma-identifiers-validation-0.1): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index abe4a937e5..bebe80e2b6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32754,6 +32754,30 @@ console applications.") (base32 "1v255xqkig5lwnczvm3achydhxx6kf9jcdxdlgzndgpd18bp6x6k")))))) +(define-public rust-ruma-identifiers-validation-0.1 + (package + (name "rust-ruma-identifiers-validation") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ruma-identifiers-validation" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nv0zqsq5lhybckvfr5wmcp8pipqfs2hjgn9kvn9w33xacfzs4n1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-strum" ,rust-strum-0.18)))) + (home-page "https://www.ruma.io/") + (synopsis "Validation logic for RUMA") + (description "This package provides the validation logic needed by other +rust-ruma packages.") + (license license:expat))) + (define-public rust-runtime-0.3 (package (name "rust-runtime") From patchwork Thu Mar 11 22:07:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27616 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 57C5827BC51; Thu, 11 Mar 2021 22:09:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D072127BC50 for ; Thu, 11 Mar 2021 22:09:42 +0000 (GMT) Received: from localhost ([::1]:39074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTV0-0003nN-22 for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:09:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTUN-000356-09 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTUM-0007o4-PA for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTUM-0005fK-K7 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 02/47] gnu: Add rust-ruma-identifiers-macros-0.17. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550052921674 (code B ref 44492); Thu, 11 Mar 2021 22:09:02 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:08:49 +0000 Received: from localhost ([127.0.0.1]:55085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTU9-0005dQ-2o for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:49 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:8391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTU6-0005d7-P1 for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:47 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNPm0wFPz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:08:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500524; bh=za1DHGJCcaCuGkBM7rEAP5rSYs3JmyQJP99SOf99SJY=; h=From:To:Subject:Date:In-Reply-To:References; b=qpzC/K8gGyH7uQ06+vHdSCdLZIyTwLQ6DSpqpZHfEpxNfqJ5sPPRfJOT8ldAC0j+s 1RYRUgiehlSW3rIRRRLmaY8tkgUI6GEMGQvOPo0CMq/kLkI6iKLkvWo9R19knXY6j8 944dbA1agY+QJo5UN8u8giu1JxfPkRUwTxTKGmhI= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:11 +0100 Message-Id: <20210311220756.23132-2-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-ruma-identifiers-macros-0.17): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bebe80e2b6..38e4c6d229 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32754,6 +32754,33 @@ console applications.") (base32 "1v255xqkig5lwnczvm3achydhxx6kf9jcdxdlgzndgpd18bp6x6k")))))) +(define-public rust-ruma-identifiers-macros-0.17 + (package + (name "rust-ruma-identifiers-macros") + (version "0.17.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "ruma-identifiers-macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03p3qp12h4aajixcyk44q2bcid6fa4nmipysvcpy4w5cbak7wvwq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-ruma-identifiers-validation" + ,rust-ruma-identifiers-validation-0.1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://www.ruma.io/") + (synopsis "Create Matrix identifiers") + (description "This package provides procedural macros for creating Matrix +identifiers.") + (license license:expat))) + (define-public rust-ruma-identifiers-validation-0.1 (package (name "rust-ruma-identifiers-validation") From patchwork Thu Mar 11 22:07:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27614 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 4514427BC51; Thu, 11 Mar 2021 22:09:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 80CF127BC52 for ; Thu, 11 Mar 2021 22:09:34 +0000 (GMT) Received: from localhost ([::1]:38268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTUr-00036N-JD for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:09:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTUN-00035C-Bs for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTUN-0007oT-4p for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTUN-0005fR-0U for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 03/47] gnu: Add rust-ruma-identifiers-0.17. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550053321698 (code B ref 44492); Thu, 11 Mar 2021 22:09:02 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:08:53 +0000 Received: from localhost ([127.0.0.1]:55089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUC-0005ds-JB for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:52 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:39235) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTU9-0005dL-0d for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:49 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNPp2jqFz3xPN for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:08:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500526; bh=Pv6LOIG6DhgwfvPulHLbgOqdbIphoqiWCBa1jNaL2q0=; h=From:To:Subject:Date:In-Reply-To:References; b=Gll3SW6dwwB8DorbvAWzxf1+2fVi046z/kVsAHt30vzXtJVgSJrpcLeraiQAMQiQN wG1Q445PG6UYKFg7CumuMTS4Fd54FVwhtkj978FnGdqOEuVYHLLEkfKKzWrgysbaq4 0OGjrWCk2p60BQAd8W2bIo1vdOmRyStX5DfPoIw0= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:12 +0100 Message-Id: <20210311220756.23132-3-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-ruma-identifiers-0.17): New variable. --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 38e4c6d229..40a48dd6c5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32754,6 +32754,40 @@ console applications.") (base32 "1v255xqkig5lwnczvm3achydhxx6kf9jcdxdlgzndgpd18bp6x6k")))))) +(define-public rust-ruma-identifiers-0.17 + (package + (name "rust-ruma-identifiers") + (version "0.17.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "ruma-identifiers" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vjxws5yw1c8lmwc5p036319vwwna1sxb7pkl6lw1pl8rwp0j5sr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-either" ,rust-either-1) + ("rust-rand" ,rust-rand-0.7) + ("rust-ruma-identifiers-macros" + ,rust-ruma-identifiers-macros-0.17) + ("rust-ruma-identifiers-validation" + ,rust-ruma-identifiers-validation-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-strum" ,rust-strum-0.18)) + #:cargo-development-inputs + (("rust-matches" ,rust-matches-0.1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://www.ruma.io/") + (synopsis "Rust types for Matrix resource identifiers") + (description "This package provides Rust type bindings for Matrix resource +identifiers.") + (license license:expat))) + (define-public rust-ruma-identifiers-macros-0.17 (package (name "rust-ruma-identifiers-macros") From patchwork Thu Mar 11 22:07:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27615 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 D11DA27BC51; Thu, 11 Mar 2021 22:09:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CC84627BC50 for ; Thu, 11 Mar 2021 22:09:34 +0000 (GMT) Received: from localhost ([::1]:38286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTUr-00037S-Ux for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:09:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTUN-00035P-OU for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTUN-0007oo-HG for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTUN-0005fa-Cy for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 04/47] gnu: Add rust-entities-1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550053321705 (code B ref 44492); Thu, 11 Mar 2021 22:09:03 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:08:53 +0000 Received: from localhost ([127.0.0.1]:55091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUC-0005du-WF for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:53 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:41715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUB-0005dl-8v for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:51 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNPr4XRSz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:08:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500528; bh=M1eE2+Uk72PK9uJHOz2tBUxvjTggL9pAyBm1ZcPj/+o=; h=From:To:Subject:Date:In-Reply-To:References; b=BByxIjSNVxd4yDZU0/ly+72skXHk8xnidP8z9W+Xd6BcIYI4a72LgQqfm6rFKSdTx nyPFdO2WI8ub3kXx7IHhGzCkjPfD605MlDmmpAjdCse0cvTY0gqSoK0pHLqG85NKcT 1NY6uFVX0/Mhe+Z0YEPkp3N7DrieU+6Grrbav608= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:13 +0100 Message-Id: <20210311220756.23132-4-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-entities-1): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 40a48dd6c5..25aec64ee6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12676,6 +12676,27 @@ Standard.") "Streaming transcoding for encoding_rs.") (license (list license:asl2.0 license:expat)))) +(define-public rust-entities-1 + (package + (name "rust-entities") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "entities" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jnpr0zvj97wm9pnh7fnl74rzaar39hhg65p03cm08bqqgj0lcmm")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/p-jackson/entities") + (synopsis "Raw data for converting HTML entities") + (description "This package provides the raw data needed to convert to and +from HTML entities.") + (license license:expat))) + (define-public rust-enum-as-inner-0.3 (package (name "rust-enum-as-inner") From patchwork Thu Mar 11 22:07:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27613 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 671B727BC54; Thu, 11 Mar 2021 22:09:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 56A6C27BC51 for ; Thu, 11 Mar 2021 22:09:34 +0000 (GMT) Received: from localhost ([::1]:38264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTUr-000369-FH for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:09:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTUO-00035X-Ca for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTUO-0007ot-51 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTUN-0005fi-VW for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 05/47] gnu: Add rust-twoway-0.2. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550053621725 (code B ref 44492); Thu, 11 Mar 2021 22:09:03 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:08:56 +0000 Received: from localhost ([127.0.0.1]:55094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUG-0005eJ-BV for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:56 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:42030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUE-0005eC-JC for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:54 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNPt6MbRz3xPC for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:08:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500530; bh=YD8OmSjhMSTb0uS0W8b000/5aTXGRgCJw0atdMJgFMY=; h=From:To:Subject:Date:In-Reply-To:References; b=Q4IAQxvNo75ZVff9T9DG7eHqA6Hv8e2aixJMuDp8VAwdS4f4bB7E9m1tG2JZ3Kkdz dhPd03OM3yXEHD/HGZw0wO12CNlU7fLfKmN1H+iDaJLBVcZx8+vL9sHRaNMFOFBsBL 1IdF52U4C3tXVWExhoxrBwpk5V51kV982KnsFKGU= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:14 +0100 Message-Id: <20210311220756.23132-5-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-twoway-0.2): New variable. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 25aec64ee6..162617c7aa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -45009,8 +45009,38 @@ design abstracts away all the internals of the WebSocket protocol but still makes them accessible for those who wants full control over the network.") (license (list license:expat license:asl2.0)))) +(define-public rust-twoway-0.2 + (package + (name "rust-twoway") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "twoway" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1g55kf4rx0q682fvzxdixqihmlbamn5ms2yqvcm92fny21chfh3b")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-galil-seiferas" ,rust-galil-seiferas-0.1) + ("rust-jetscii" ,rust-jetscii-0.3) + ("rust-memchr" ,rust-memchr-2) + ("rust-unchecked-index" + ,rust-unchecked-index-0.2)))) + (home-page "https://github.com/bluss/twoway") + (synopsis "Fast substring search for strings and byte strings") + (description + "This package provides a fast substring search for strings and byte +strings.") + (license (list license:expat license:asl2.0)))) + (define-public rust-twoway-0.1 (package + (inherit rust-twoway-0.2) (name "rust-twoway") (version "0.1.8") (source @@ -45020,20 +45050,13 @@ makes them accessible for those who wants full control over the network.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1lbf64snscr3vz71jbl6i2c8zr2ndsiqbk6316z39fj1a8mipcar")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-galil-seiferas" ,rust-galil-seiferas-0.1) ("rust-jetscii" ,rust-jetscii-0.3) ("rust-memchr" ,rust-memchr-2) - ("rust-unchecked-index" ,rust-unchecked-index-0.2)))) - (home-page "https://github.com/bluss/twoway") - (synopsis "Fast substring search for strings and byte strings") - (description - "This package provides a fast substring search for strings and byte -strings.") - (license (list license:expat license:asl2.0)))) + ("rust-unchecked-index" ,rust-unchecked-index-0.2)))))) (define-public rust-typeable-0.1 (package From patchwork Thu Mar 11 22:07:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27618 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 C199727BC50; Thu, 11 Mar 2021 22:09:45 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 80B8527BC52 for ; Thu, 11 Mar 2021 22:09:43 +0000 (GMT) Received: from localhost ([::1]:39118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTV0-0003p3-Mb for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:09:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTUP-000366-0I for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTUO-0007oz-Oz for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTUO-0005g1-K2 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 06/47] gnu: Add rust-comrak-0.7. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:09:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550053921740 (code B ref 44492); Thu, 11 Mar 2021 22:09:04 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:08:59 +0000 Received: from localhost ([127.0.0.1]:55097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUI-0005eZ-LG for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:59 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:40067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUG-0005eM-VE for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:57 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNPy1WGnz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:08:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500534; bh=q2yI11rPh9Q5aarERB6fNUZMIY9GNqgwGB4Dh8fCc+I=; h=From:To:Subject:Date:In-Reply-To:References; b=VtnmcD6bW2oq32zdWh9GcdCxjR/EwsSb1Q9jOG9tYXtDIhupeGje13A8LDZhApvaC wZpxcDT5fQD5xkDVPH9KCgQ0J6SqCdo7ZinmYPQF7tAgAEQAUiTTjfWToC0uRfSqsR DpcaPzHbAJgFA+NcVxmdlFDMRcnAfmAnfkSmBVYA= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:15 +0100 Message-Id: <20210311220756.23132-6-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/patches/rust-comrak-0.7-rustsec-2021-0026.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it here. * gnu/packages/crates-io.scm (rust-comrak-0.7): New variable. --- gnu/local.mk | 1 + gnu/packages/crates-io.scm | 44 +++++++++++++++++++ .../rust-comrak-0.7-rustsec-2021-0026.patch | 41 +++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 gnu/packages/patches/rust-comrak-0.7-rustsec-2021-0026.patch diff --git a/gnu/local.mk b/gnu/local.mk index 39037d3499..b879131131 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1608,6 +1608,7 @@ dist_patch_DATA = \ %D%/packages/patches/rust-1.45-linker-locale.patch \ %D%/packages/patches/rust-1.48-linker-locale.patch \ %D%/packages/patches/rust-bootstrap-stage0-test.patch \ + %D%/packages/patches/rust-comrak-0.7-rustsec-2021-0026.patch \ %D%/packages/patches/rust-coresimd-doctest.patch \ %D%/packages/patches/rust-ndarray-remove-blas-src-dep.patch \ %D%/packages/patches/rust-nettle-disable-vendor.patch \ diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 162617c7aa..77f88dff21 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7655,6 +7655,50 @@ harness.") ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-comrak-0.7 + (package + (name "rust-comrak") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "comrak" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07026j0ghwgv5z61fc4l893wwc30krxpsy487rb91wkcag65hw71")) + (patches + (search-patches + "rust-comrak-0.7-rustsec-2021-0026.patch")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "src/tests.rs" + (("data:(png|jpeg|gif|webp)" all what) + (string-append "data:image/" what))) + #t)))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-clap" ,rust-clap-2) + ("rust-entities" ,rust-entities-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("rust-regex" ,rust-regex-1) + ("rust-twoway" ,rust-twoway-0.2) + ("rust-typed-arena" ,rust-typed-arena-1) + ("rust-unicode-categories" + ,rust-unicode-categories-0.1)) + #:cargo-development-inputs + (("rust-timebomb" ,rust-timebomb-0.1)))) + (home-page "https://github.com/kivikakk/comrak") + (synopsis "Markdown parser and formatter") + (description "This package provides a parser and formatter for Github +Flavored Markdown, that is compatible with CommonMark.") + (license license:bsd-2))) + (define-public rust-concurrent-queue-1 (package (name "rust-concurrent-queue") diff --git a/gnu/packages/patches/rust-comrak-0.7-rustsec-2021-0026.patch b/gnu/packages/patches/rust-comrak-0.7-rustsec-2021-0026.patch new file mode 100644 index 0000000000..9a74b7b971 --- /dev/null +++ b/gnu/packages/patches/rust-comrak-0.7-rustsec-2021-0026.patch @@ -0,0 +1,41 @@ +From 285e9647c6d2f90d8cb7af543b14c986a8efa631 Mon Sep 17 00:00:00 2001 +From: Asherah Connor +Date: Fri, 12 Feb 2021 21:15:29 +1100 +Subject: [PATCH] SECURITY: match unsafe prefixes case-insensitively + +Many thanks to Kouhei Morita for reporting this. + +Co-authored-by: Kouhei Morita +--- + src/lexer.pest | 2 +- + src/tests.rs | 146 +++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 147 insertions(+), 1 deletion(-) + +diff --git a/src/lexer.pest b/src/lexer.pest +index e97647c..7f6cd3f 100644 +--- a/src/lexer.pest ++++ b/src/lexer.pest +@@ -55,4 +55,4 @@ table_start = { "|"? ~ table_marker ~ ("|" ~ table_marker)* ~ "|"? ~ table_space + table_cell_end = { "|" ~ table_spacechar* ~ table_newline? } + table_row_end = { table_spacechar* ~ table_newline } + +-dangerous_url = { "data:" ~ !("png" | "gif" | "jpeg" | "webp") | "javascript:" | "vbscript:" | "file:" } ++dangerous_url = { ^"data:" ~ !(^"image/" ~ (^"png" | ^"gif" | ^"jpeg" | ^"webp")) | ^"javascript:" | ^"vbscript:" | ^"file:" } +diff --git a/src/tests.rs b/src/tests.rs +index c61a493..5f3e0cc 100644 +--- a/src/tests.rs ++++ b/src/tests.rs +@@ -998,3 +998,11 @@ fn description_lists() { + ), + ); + } ++ ++#[test] ++fn case_insensitive_safety() { ++ html( ++ "[a](javascript:a) [b](Javascript:b) [c](jaVascript:c) [d](data:xyz) [e](Data:xyz) [f](vbscripT:f) [g](FILE:g)\n", ++ "

a b c d e f g

\n", ++ ); ++} +-- +2.30.1 From patchwork Thu Mar 11 22:07:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27617 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 B22F427BC51; Thu, 11 Mar 2021 22:09:44 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5BB8727BC50 for ; Thu, 11 Mar 2021 22:09:43 +0000 (GMT) Received: from localhost ([::1]:39134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTV0-0003pO-Hu for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:09:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTUP-00036m-Dk for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTUP-0007pd-51 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTUP-0005g8-15 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 07/47] gnu: Add rust-fragile-1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:09:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550054021756 (code B ref 44492); Thu, 11 Mar 2021 22:09:04 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:00 +0000 Received: from localhost ([127.0.0.1]:55100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUK-0005eq-2K for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:00 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:42490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUJ-0005ea-6B for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:08:59 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQ0483Tz3xPN for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:08:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500536; bh=j0IzDppmcuQlFdJ2kgqK1MpPcTjDkyy1kUViDThgg4I=; h=From:To:Subject:Date:In-Reply-To:References; b=qg1q2XCTpARdDCe8IhBFC+TKXZ0dzakG2whlQ5SgZJK8K6bQA1vEoHc6dSZCQOB59 6eKjMGMBG0xiBI56s9OMSigCVrORJF9fObG/IChkJwUe2BP8unxD5ZWKOhxU7wdbPq oUWjXC5Dhe3xjjpF7swh479RiLIprivYXG2Cx80I= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:16 +0100 Message-Id: <20210311220756.23132-7-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-fragile-1): New variable. --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 77f88dff21..fc451ed1da 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14362,6 +14362,26 @@ implementation that is more efficient for smaller hash keys.") syntax, as used by HTML forms.") (license (list license:expat license:asl2.0)))) +(define-public rust-fragile-1 + (package + (name "rust-fragile") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fragile" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wlihmkjyhvl5rckal32p010piy1l15s6l81h7z31jcd971kk839")))) + (build-system cargo-build-system) + (home-page "https://github.com/mitsuhiko/rust-fragile") + (synopsis "Wrapper types for sending non-send values to other threads") + (description "This package provides wrapper types for sending non-send +values to other threads.") + (license license:asl2.0))) + (define-public rust-fragile-0.3 (package (name "rust-fragile") From patchwork Thu Mar 11 22:07:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27619 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 27B3527BC51; Thu, 11 Mar 2021 22:10:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B6AD027BC50 for ; Thu, 11 Mar 2021 22:10:25 +0000 (GMT) Received: from localhost ([::1]:39836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTVg-0004Je-Sv for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:10:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTUP-000389-Rn for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTUP-0007pk-IF for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTUP-0005gG-E3 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:09:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 08/47] gnu: rust-either-1: Update to 1.6.1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:09:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550054421815 (code B ref 44492); Thu, 11 Mar 2021 22:09:05 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:04 +0000 Received: from localhost ([127.0.0.1]:55108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUN-0005fh-Mw for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:04 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:42775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUL-0005ex-4s for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:01 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQ25jHLz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:08:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500538; bh=nLGnmxpeR/cqPkezi9a2gNe3UvX7ijPVihCQ7Qc/8pg=; h=From:To:Subject:Date:In-Reply-To:References; b=XgraOK+XAj8EIbmLG8P6kiWxPpEDMD6IgTHIW70wCFuCUyPDlFkazYfVxf3ng+q1T pgrKaUh1nYGnfhPVrrT8ka86u0LmQDm9ujVoCA7yaBk0SGTIrumkGhxz7A9ZLYUv6i K7vqg5QXKSAeISMjbqitixMegWuzGxbpqCwFPkcY= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:17 +0100 Message-Id: <20210311220756.23132-8-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-either-1): Update to 1.6.1. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fc451ed1da..73c9fcb05e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12374,7 +12374,7 @@ signing, and verification in pure Rust.") (define-public rust-either-1 (package (name "rust-either") - (version "1.5.3") + (version "1.6.1") (source (origin (method url-fetch) @@ -12383,7 +12383,7 @@ signing, and verification in pure Rust.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1qyz1b1acad6w0k5928jw5zaq900zhsk7p8dlcp4hh61w4f6n7xv")))) + "0mwl9vngqf5jvrhmhn9x60kr5hivxyjxbmby2pybncxfqhf4z3g7")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t From patchwork Thu Mar 11 22:07:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27623 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 1959727BC52; Thu, 11 Mar 2021 22:10:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2AAFA27BC50 for ; Thu, 11 Mar 2021 22:10:38 +0000 (GMT) Received: from localhost ([::1]:40620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTVt-0005Td-Ay for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:10:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVK-0004hI-GW for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43641) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVK-0008Hx-8q for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVK-0005n0-3W for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 09/47] gnu: Add rust-gspell-sys-0.4. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550054721869 (code B ref 44492); Thu, 11 Mar 2021 22:10:02 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:07 +0000 Received: from localhost ([127.0.0.1]:55115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUR-0005ge-2L for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:07 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:40867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUN-0005fY-F2 for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:04 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQ45Qxlz3xPN for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500540; bh=zJa/VkSC08IK5Do6xxb/YeOJ8XLAjfI66JW+UB47Y1A=; h=From:To:Subject:Date:In-Reply-To:References; b=sPZx0DoxqczYM1OGqeegDk/rDzBjWqdf71Nw1tXMwBt+g2NtgPUk7TyOPpfEAKu79 YpIOXXIOBbeHbJBWFlVBa5cQeKluLY1xT1iU3sphy89UwEzRzc3kpeFMCF1VFB9E/C A/9WlqA8bB9IpqqAo/Ci3o0bJIsms78pIzgF5pA8= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:18 +0100 Message-Id: <20210311220756.23132-9-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gspell-sys-0.4): New variable. --- gnu/packages/crates-gtk.scm | 48 ++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 0d72fbf321..09aa79daba 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -26,7 +26,8 @@ #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages glib) - #:use-module (gnu packages gtk)) + #:use-module (gnu packages gtk) + #:use-module (gnu packages pkg-config)) ;;; ;;; Please: Try to add new module packages in alphabetic order. @@ -887,6 +888,51 @@ (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gspell-sys-0.4 + (package + (name "rust-gspell-sys") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gspell-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07snannzd36wlms2x880ylkq7h1162g0kv9y54wlrc2nd11kjc2c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gtk-sys" ,rust-gtk-sys-0.9) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CC" (which "gcc")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("glib" ,glib) + ("gspell" ,(module-ref (resolve-module '(gnu packages gnome)) + 'gspell)) + ("gtk+" ,gtk+) + ("pango" ,pango))) + (home-page "https://gitlab.gnome.org/World/Rust/gspell-rs") + (synopsis "Raw C-FFI bindings for gspell") + (description "This package provides raw C-FFI bindings for the gspell library.") + (license license:gpl3+))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") From patchwork Thu Mar 11 22:07:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27627 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 12D1227BC51; Thu, 11 Mar 2021 22:11:00 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3716527BC50 for ; Thu, 11 Mar 2021 22:10:59 +0000 (GMT) Received: from localhost ([::1]:41528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTWE-00064C-AK for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:10:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVL-0004hk-8d for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVK-0008I1-Qs for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVK-0005n9-Kg for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 10/47] gnu: Add rust-gspell-0.4. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550054721877 (code B ref 44492); Thu, 11 Mar 2021 22:10:02 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:07 +0000 Received: from localhost ([127.0.0.1]:55117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUR-0005gg-CW for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:07 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:43366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUP-0005gM-QF for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:06 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQ70Tnwz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500543; bh=/rY1ROwkQsDWksNYUc/en5NJCBOifTCF3mbyDXS0mcI=; h=From:To:Subject:Date:In-Reply-To:References; b=U/RP9CZYCnfhgdwSOlHc8W4AfhJFg6f3K/RxWzcO8yb8EhqKtY+9uDnM1hfqyDAeP 5S5pHNDLQEq728B4vOvTNZuySjiObrPQnTD1+c6fYSyyNw0cGQxiLMLsYn3eUBz4gs KvClsRrSwrCyDy3qjMMnkchqcWpPQ0htKByhuCl0= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:19 +0100 Message-Id: <20210311220756.23132-10-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gspell-0.4): New variable. --- gnu/packages/crates-gtk.scm | 66 ++++++++++++++++++++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 09aa79daba..5d66ed1c13 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -23,11 +23,13 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) + #:use-module (gnu packages aspell) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) - #:use-module (gnu packages pkg-config)) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages xorg)) ;;; ;;; Please: Try to add new module packages in alphabetic order. @@ -933,6 +935,68 @@ (description "This package provides raw C-FFI bindings for the gspell library.") (license license:gpl3+))) +(define-public rust-gspell-0.4 + (package + (name "rust-gspell") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gspell" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10wi6p6dhdqypfqlih18mrl7vgni7y64mrhdh5ymayp4d07djshk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gdk" ,rust-gdk-0.12) + ("rust-gdk-sys" ,rust-gdk-sys-0.9) + ("rust-gio" ,rust-gio-0.8) + ("rust-gio-sys" ,rust-gio-sys-0.9) + ("rust-glib" ,rust-glib-0.9) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gspell-sys" ,rust-gspell-sys-0.4) + ("rust-gtk" ,rust-gtk-0.8) + ("rust-gtk-sys" ,rust-gtk-sys-0.9) + ("rust-libc" ,rust-libc-0.2)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + ;; Tests require a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + + ;; For the missing /etc/machine-id. + (setenv "DBUS_FATAL_WARNINGS" "0") + + ;; Allow Enchant and its Aspell backend to find the en_US + ;; dictionary. + (setenv "ASPELL_DICT_DIR" + (string-append (assoc-ref inputs "aspell-dict-en") + "/lib/aspell")) + #t))))) + (native-inputs + `(("aspell-dict-en" ,aspell-dict-en) + ("xorg-server" ,xorg-server-for-tests))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("glib" ,glib) + ("gspell" ,(module-ref (resolve-module '(gnu packages gnome)) + 'gspell)) + ("gtk+" ,gtk+) + ("pango" ,pango))) + (home-page + "https://gitlab.gnome.org/World/Rust/gspell-rs") + (synopsis "Rust bindings for gspell") + (description "This package provides Rust bindings for the gspell spell +checking library.") + (license license:gpl3+))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") From patchwork Thu Mar 11 22:07:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27620 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 B082E27BC52; Thu, 11 Mar 2021 22:10:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2781427BC50 for ; Thu, 11 Mar 2021 22:10:30 +0000 (GMT) Received: from localhost ([::1]:39976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTVl-0004s6-8W for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:10:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVL-0004jI-SI for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVL-0008IV-LJ for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVL-0005nM-Fu for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 11/47] gnu: Add rust-muldiv-0.2. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550055021891 (code B ref 44492); Thu, 11 Mar 2021 22:10:03 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:10 +0000 Received: from localhost ([127.0.0.1]:55120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUT-0005h1-PP for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:10 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:43424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUS-0005go-31 for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:08 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQ933dnz3xPN for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500545; bh=K9ElUdhwiTzNNTsAKCh99kKCX/Pl9lMR7Zq3LH7WjnM=; h=From:To:Subject:Date:In-Reply-To:References; b=cpk9NfAYfWHmVtoaLredqxWlgWQ0QjEo7iSbzshfGDD3F5TJwjqPe/8W/oSCS6glu IerS1sy/5kxFIUL58nhfswb+esx0tpy5iuPCKwm3VPE5x6GBzU1AKYTVLVueQiqlRD NF9gWnKFjinVOr2tpoZcTygAYKGCNwfuncAs/vNg= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:20 +0100 Message-Id: <20210311220756.23132-11-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-muldiv-0.2): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 73c9fcb05e..d54e29edcd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23534,6 +23534,29 @@ checking.") "Chaining APIs for both self -> Self and &mut self methods.") (license license:expat))) +(define-public rust-muldiv-0.2 + (package + (name "rust-muldiv") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "muldiv" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "014jlry2l2ph56mp8knw65637hh49q7fmrraim2bx9vz0a638684")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.9)))) + (home-page "https://github.com/sdroege/rust-muldiv") + (synopsis "Perform combined multiplication and division") + (description "This package provides a trait for numeric types to perform +combined multiplication and division with overflow protection.") + (license license:expat))) + (define-public rust-multi-default-trait-impl-0.1 (package (name "rust-multi-default-trait-impl") From patchwork Thu Mar 11 22:07:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27631 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 0375027BC52; Thu, 11 Mar 2021 22:11:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 53EF627BC50 for ; Thu, 11 Mar 2021 22:11:12 +0000 (GMT) Received: from localhost ([::1]:42466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTWR-0006t2-H3 for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:11:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVN-0004k9-8v for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVM-0008Iq-8v for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVM-0005nT-3p for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 12/47] gnu: Add rust-gstreamer-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550055321914 (code B ref 44492); Thu, 11 Mar 2021 22:10:04 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:13 +0000 Received: from localhost ([127.0.0.1]:55124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUX-0005hI-2U for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:13 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:43786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUU-0005h7-Cb for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:10 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQC4wjNz3xRh for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500547; bh=Qrp+W4a6dBM/aekBVohXfPwmHmPaEzjyRO9ocmRiqyc=; h=From:To:Subject:Date:In-Reply-To:References; b=RfKMJLY4D9UHuXhZMIBFysMCWdK4Vow/TLWDGjnY/hMRn4/rkd/kDRjqQfNE6bYAc 497YE7nZagJhvLVbyME61lcjWN1cp7qkVVd3dFYlUD0aZNfvgCZXjfw2I9aQA8PUxV IHs1ia6LI1Hxu2OchApd0qRFa34aEGU/smaP2vu4= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:21 +0100 Message-Id: <20210311220756.23132-12-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-sys-0.8): New variable. --- gnu/packages/crates-gtk.scm | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 5d66ed1c13..41cbe597db 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -27,6 +27,7 @@ #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages glib) + #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages pkg-config) #:use-module (gnu packages xorg)) @@ -997,6 +998,46 @@ checking library.") (license license:gpl3+))) +(define-public rust-gstreamer-sys-0.8 + (package + (name "rust-gstreamer-sys") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1nsk802vlcyi9p93sg60wv8fzb2mq7j52lfdda4va2kxp40xl60x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CC" (which "gcc")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base))) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to GStreamer") + (description "This package provides FFI bindings to libgstreamer-1.0.") + (license license:expat))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") From patchwork Thu Mar 11 22:07:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27621 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 256FD27BC54; Thu, 11 Mar 2021 22:10:32 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8BC5C27BC51 for ; Thu, 11 Mar 2021 22:10:30 +0000 (GMT) Received: from localhost ([::1]:39988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTVl-0004tY-OK for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:10:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVN-0004kB-8u for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVM-0008Ir-QE for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVM-0005nc-Lc for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 13/47] gnu: Add rust-gstreamer-0.15. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550055521929 (code B ref 44492); Thu, 11 Mar 2021 22:10:04 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:15 +0000 Received: from localhost ([127.0.0.1]:55127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUZ-0005hd-Do for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:15 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:44015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUW-0005hH-ND for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:13 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQF75jqz3xPN for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500550; bh=LBt9QbvjkbQ9EFVQ3lwrHcwMNLcqDprGhi+yT52M1DM=; h=From:To:Subject:Date:In-Reply-To:References; b=mIuXLBDIBA6P5QnUb0qDbZPS6nLZ1Zt9+b+Mq3wfxtOuBMbXWs4SbqbCOeOdbnA+n BTEl1Y5sILS0GEXoTI8RFYcwJ6AXjfSi7KgIWIIy2I0p9JAYMZXVmJ+DrjO3Ov6eE0 PuaRo8OVelDMa2fuMIs4lUtKxnRUtZLszQZ3BODM= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:22 +0100 Message-Id: <20210311220756.23132-13-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-0.15): New variable. --- gnu/packages/crates-gtk.scm | 50 +++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 41cbe597db..f6e1505ce5 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -998,6 +998,56 @@ checking library.") (license license:gpl3+))) +(define-public rust-gstreamer-0.15 + (package + (name "rust-gstreamer") + (version "0.15.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qx1fhr9ajms0128ixmi2ncr35llwppdb0z7ximw2vnd2jhn91nf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-futures-channel" + ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-glib" ,rust-glib-0.9) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-muldiv" ,rust-muldiv-0.2) + ("rust-num-rational" ,rust-num-rational-0.2) + ("rust-paste" ,rust-paste-0.1) + ("rust-rustdoc-stripper" + ,rust-rustdoc-stripper-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-derive" ,rust-serde-derive-1)) + #:cargo-development-inputs + (("rust-futures-executor" + ,rust-futures-executor-0.3) + ("rust-ron" ,rust-ron-0.5) + ("rust-serde-json" ,rust-serde-json-1)))) + (inputs + `(("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base))) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "Rust bindings for GStreamer") + (description "This package provides Rust bindings for GStreamer.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gstreamer-sys-0.8 (package (name "rust-gstreamer-sys") From patchwork Thu Mar 11 22:07:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27635 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 1771E27BC51; Thu, 11 Mar 2021 22:11:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8309D27BC50 for ; Thu, 11 Mar 2021 22:11:42 +0000 (GMT) Received: from localhost ([::1]:43360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTWv-0007Ti-OE for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:11:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVN-0004lQ-NH for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVN-0008J2-Fs for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVN-0005nk-A2 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 14/47] gnu: Add rust-gstreamer-base-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550055821944 (code B ref 44492); Thu, 11 Mar 2021 22:10:05 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:18 +0000 Received: from localhost ([127.0.0.1]:55130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUb-0005hs-Op for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:18 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:44347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUY-0005hW-VX for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:15 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQJ2HXfz3xRh for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500552; bh=RTNJVAogu8x1J3dTJv5YkOdo8dz4J0gbF+OYkt8lxR4=; h=From:To:Subject:Date:In-Reply-To:References; b=k+TO8qvwgclyYFV+VtuTeqztpE1nbH/CVhruPhXhq3MuY61MUGuctIS7q31c0bLHR TBHiF7qGMRMGEqlyEdw7mqYrR5K8Sn23o72Qat8BoMRhGlVChWzdoeVFD5dQ7P1MUN 9r2oeuDpmypP1/oBMHDxSD/HsLd1BZhXipXQZvqw= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:23 +0100 Message-Id: <20210311220756.23132-14-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-base-sys-0.8): New variable. --- gnu/packages/crates-gtk.scm | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index f6e1505ce5..8fbb78480b 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1048,6 +1048,47 @@ checking library.") (description "This package provides Rust bindings for GStreamer.") (license (list license:expat license:asl2.0)))) +(define-public rust-gstreamer-base-sys-0.8 + (package + (name "rust-gstreamer-base-sys") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-base-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1v9v09jqjrwz87c4r7za3yb6g7had112d8zwjdjmhg2b2x94yf5s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CC" (which "gcc")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base))) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to glibgstbase-1.0") + (description "This package provides FFI bindings to libgstbase-1.0.") + (license license:expat))) + (define-public rust-gstreamer-sys-0.8 (package (name "rust-gstreamer-sys") From patchwork Thu Mar 11 22:07:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27626 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 C0C0B27BC50; Thu, 11 Mar 2021 22:10:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E5F4F27BC54 for ; Thu, 11 Mar 2021 22:10:40 +0000 (GMT) Received: from localhost ([::1]:40908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTVw-0005fu-28 for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:10:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVP-0004m6-9H for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43653) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVO-0008Jf-1s for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVN-0005o4-RW for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 15/47] gnu: Add rust-gstreamer-video-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550056021959 (code B ref 44492); Thu, 11 Mar 2021 22:10:05 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:20 +0000 Received: from localhost ([127.0.0.1]:55133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUe-0005i2-38 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:20 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:42487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUb-0005hl-B2 for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:17 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQL48hMz3xPN for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500554; bh=0nOPoelcp6vkDSRxoR7PaRR64RtbnUfydmPec5kHj+0=; h=From:To:Subject:Date:In-Reply-To:References; b=FK7CIalEwfeU/OCipLkyUt2kTRBWDhmoHDY1UlUA2DPVRaUHrQJOqTgHyE/2agmls 3BF6orZgMOK7Lxf5jt/XM22K21t53Na6gDp3mtH7AKQptk4kUJ4WJ0VRICZpNGbIZp kWg7C/QcyW5QGFvGwfE3TExVdiJkQWimfiaMBK5g= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:24 +0100 Message-Id: <20210311220756.23132-15-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-video-sys-0.8): New variable. --- gnu/packages/crates-gtk.scm | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 8fbb78480b..9134a80fdb 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1129,6 +1129,50 @@ checking library.") (description "This package provides FFI bindings to libgstreamer-1.0.") (license license:expat))) +(define-public rust-gstreamer-video-sys-0.8 + (package + (name "rust-gstreamer-video-sys") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-video-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1k5prjimlrm5c68vk6wq1l9y440p5vskrq862rcb9x22z2c44pv1")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; XXX: ABI mismatch + #:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gstreamer-base-sys" + ,rust-gstreamer-base-sys-0.8) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CC" (which "gcc")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base))) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to libgstvideo-1.0") + (description "This package provides FFI bindings to libgstvideo-1.0.") + (license license:expat))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") From patchwork Thu Mar 11 22:07:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27639 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 CDD6B27BC51; Thu, 11 Mar 2021 22:12:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ECC6927BC50 for ; Thu, 11 Mar 2021 22:12:14 +0000 (GMT) Received: from localhost ([::1]:44330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXS-0008GG-4B for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:12:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVP-0004m5-9w for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVO-0008Jg-G6 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVO-0005oH-BG for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 16/47] gnu: Add rust-gstreamer-player-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550056221974 (code B ref 44492); Thu, 11 Mar 2021 22:10:06 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:22 +0000 Received: from localhost ([127.0.0.1]:55136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUg-0005iM-Ck for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:22 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:42765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUd-0005i0-HI for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:20 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQN6344z3xRh for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500556; bh=mMn4Z5d1bPcVZsSpS70bvNz19FMXNjfXvhXEceJe2Vc=; h=From:To:Subject:Date:In-Reply-To:References; b=XdaRAkRphr8tcrOE4u4pXyziHaEl75IwQ96YlwQdIZGrAQgZuBxHNSm506pm2KSqp Q9OVUTwNSOtd0imHQHplW5A764LRC6S4rqazM7U1jmJg1EnrRU9lL2BnpQJ8gKzC5p 4CEf/996MFd4BgcNdjhjmNpLvfqmOl2dBAl3ucvI= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:25 +0100 Message-Id: <20210311220756.23132-16-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-player-sys-0.8): New variable. --- gnu/packages/crates-gtk.scm | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 9134a80fdb..79c0463cc5 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1089,6 +1089,50 @@ checking library.") (description "This package provides FFI bindings to libgstbase-1.0.") (license license:expat))) +(define-public rust-gstreamer-player-sys-0.8 + (package + (name "rust-gstreamer-player-sys") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-player-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0g21c7yk1855k5qdyn0hcwa6v1dy9admipy8s7544d7d19rqmhww")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) + ("rust-gstreamer-video-sys" + ,rust-gstreamer-video-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CC" (which "gcc")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base) + ("gst-plugins-bad" ,gst-plugins-bad))) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to libgstplayer-1.0") + (description "This package provides FFI bindings to libgstplayer-1.0.") + (license license:expat))) + (define-public rust-gstreamer-sys-0.8 (package (name "rust-gstreamer-sys") From patchwork Thu Mar 11 22:07:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27629 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 DADE327BC51; Thu, 11 Mar 2021 22:11:04 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CFF4D27BC50 for ; Thu, 11 Mar 2021 22:11:02 +0000 (GMT) Received: from localhost ([::1]:41796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTWH-0006PY-U5 for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:11:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVP-0004m8-AN for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVO-0008Jh-Sw for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVO-0005oP-Nx for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 17/47] gnu: Add rust-gstreamer-base-0.15. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550056521990 (code B ref 44492); Thu, 11 Mar 2021 22:10:06 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:25 +0000 Received: from localhost ([127.0.0.1]:55139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUi-0005ic-Mj for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:24 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:45023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUf-0005iF-P6 for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:22 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQR11Gtz3xPN for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500559; bh=4GwFON6fd7Pd0fP31lI21MvFIHwdrHjot+mcbKppWj4=; h=From:To:Subject:Date:In-Reply-To:References; b=TvSyNSuC42TnG2aUWaoJ6FdtKs/mt6qQqmFMNynqBxZhnwR+OQSNHzUHcNw8G6crO Ya0sI38QopDYdFy0/p3P1LMKODQ58TkJvZXKx3wup9qp+RzyF28OOvtcncTlSgDZxV 3k/6rYm9405s4VoDwAkA16LTcgnapBTNiaKn4QPs= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:26 +0100 Message-Id: <20210311220756.23132-17-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-base-0.15): New variable. --- gnu/packages/crates-gtk.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 79c0463cc5..7be3276ab7 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1048,6 +1048,43 @@ checking library.") (description "This package provides Rust bindings for GStreamer.") (license (list license:expat license:asl2.0)))) +(define-public rust-gstreamer-base-0.15 + (package + (name "rust-gstreamer-base") + (version "0.15.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-base" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04hwa85j3w959i025il908bvsx6dyiawkmc0w45hn9kcrisjyma2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-glib" ,rust-glib-0.9) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gstreamer" ,rust-gstreamer-0.15) + ("rust-gstreamer-base-sys" + ,rust-gstreamer-base-sys-0.8) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-rustdoc-stripper" + ,rust-rustdoc-stripper-0.1)))) + (inputs + `(("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base))) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "Rust bindings for GStreamer Base") + (description "This package provides Rust bindings for the base library of +GStreamer.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gstreamer-base-sys-0.8 (package (name "rust-gstreamer-base-sys") From patchwork Thu Mar 11 22:07:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27633 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 0919227BC54; Thu, 11 Mar 2021 22:11:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DB87227BC50 for ; Thu, 11 Mar 2021 22:11:15 +0000 (GMT) Received: from localhost ([::1]:42718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTWV-00072J-0a for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:11:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVR-0004oJ-7i for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVP-0008Ju-9r for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVP-0005oX-5M for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 18/47] gnu: Add rust-gstreamer-video-0.15. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550056822012 (code B ref 44492); Thu, 11 Mar 2021 22:10:07 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:28 +0000 Received: from localhost ([127.0.0.1]:55142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUm-0005iw-0t for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:28 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:45451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUi-0005iU-1R for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:24 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQT2kZ3z3xRh for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500561; bh=Cic/o+UPH6ypvPOazWjHLjIKHTgmvZWqtjMGAqnQIsM=; h=From:To:Subject:Date:In-Reply-To:References; b=uVAC6JYveoRfv/IUSb8/TtI5aHpUZLgQaSYsJoRDOjqz/t0OoPHKBrolz29Uqjf/e rDPsSpaiWDpkKkEFyEjobcN1GjcWWjA/+Hy70i+WCUQGop062fJw86b1lFV6nmzu4w Cr6Q3x/9JFPsTGMJ4+x2CJq8Q6Tji/A6hPd+AOek= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:27 +0100 Message-Id: <20210311220756.23132-18-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-video-0.15): New variable. --- gnu/packages/crates-gtk.scm | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 7be3276ab7..a6c416530d 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1210,6 +1210,50 @@ GStreamer.") (description "This package provides FFI bindings to libgstreamer-1.0.") (license license:expat))) +(define-public rust-gstreamer-video-0.15 + (package + (name "rust-gstreamer-video") + (version "0.15.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-video" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jaday8gsmhixv5k78wxcsricmvqfsip486750ad8ih2jjdfdmqa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-futures-channel" + ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-glib" ,rust-glib-0.9) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gstreamer" ,rust-gstreamer-0.15) + ("rust-gstreamer-base" ,rust-gstreamer-base-0.15) + ("rust-gstreamer-base-sys" + ,rust-gstreamer-base-sys-0.8) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) + ("rust-gstreamer-video-sys" + ,rust-gstreamer-video-sys-0.8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-rustdoc-stripper" + ,rust-rustdoc-stripper-0.1)))) + (inputs + `(("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base))) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "Rust bindings for GStreamer video") + (description "This package provides Rust bindings for the video library of +GStreamer.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gstreamer-video-sys-0.8 (package (name "rust-gstreamer-video-sys") From patchwork Thu Mar 11 22:07:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27625 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 4115F27BC50; Thu, 11 Mar 2021 22:10:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DA23C27BC52 for ; Thu, 11 Mar 2021 22:10:40 +0000 (GMT) Received: from localhost ([::1]:40900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTVv-0005fG-So for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:10:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVR-0004oU-AX for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVQ-0008KX-1x for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVP-0005om-Si for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 19/47] gnu: Add rust-gstreamer-player-0.15. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550056822018 (code B ref 44492); Thu, 11 Mar 2021 22:10:07 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:28 +0000 Received: from localhost ([127.0.0.1]:55144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUm-0005iz-9y for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:28 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:43670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUk-0005im-AE for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:26 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQW4gzFz3xbk for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500563; bh=fOsc139jOxNIJQ1OoNiHVFQCs7fRyXBHPLGQwo2YrXk=; h=From:To:Subject:Date:In-Reply-To:References; b=XffxBVM9IXFEpTEPD3HjUTyKxf7vuD/SSGqAHU5vPkYe0pyO0/3F/IRwHvAeL0NPU xzssOZ8bOnXxjuBgY9poWChyimDTJWjzsc0IG3LxZr20XCcntMULGMQn5F0LupydQE +cBs/fjvs5MKSEwA5KBLut2rOKHPfd89daHIqOCo= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:28 +0100 Message-Id: <20210311220756.23132-19-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-player-0.15): New variable. --- gnu/packages/crates-gtk.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index a6c416530d..f5e9972653 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1126,6 +1126,46 @@ GStreamer.") (description "This package provides FFI bindings to libgstbase-1.0.") (license license:expat))) +(define-public rust-gstreamer-player-0.15 + (package + (name "rust-gstreamer-player") + (version "0.15.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-player" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "167nv3s6pwr746gjm2i0vd6ygfmbp80hi4wm46lly3jgciy4kcq4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-glib" ,rust-glib-0.9) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gstreamer" ,rust-gstreamer-0.15) + ("rust-gstreamer-player-sys" + ,rust-gstreamer-player-sys-0.8) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) + ("rust-gstreamer-video" + ,rust-gstreamer-video-0.15) + ("rust-libc" ,rust-libc-0.2) + ("rust-rustdoc-stripper" + ,rust-rustdoc-stripper-0.1)))) + (inputs + `(("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base) + ("gst-plugins-bad" ,gst-plugins-bad))) ; for -lgstplayer-1.0 + (home-page "https://gstreamer.freedesktop.org") + (synopsis "Rust bindings for GStreamer player") + (description "This package provides Rust bindings for the player library of +GStreamer.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gstreamer-player-sys-0.8 (package (name "rust-gstreamer-player-sys") From patchwork Thu Mar 11 22:07:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27647 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 0E0C227BC51; Thu, 11 Mar 2021 22:12:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 84B3627BC50 for ; Thu, 11 Mar 2021 22:12:54 +0000 (GMT) Received: from localhost ([::1]:45992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTY5-0000aA-OI for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:12:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVR-0004oP-87 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVQ-0008KY-FV for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVQ-0005ot-AL for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 20/47] gnu: Add rust-gstreamer-audio-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550057422048 (code B ref 44492); Thu, 11 Mar 2021 22:10:08 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:34 +0000 Received: from localhost ([127.0.0.1]:55149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUr-0005jX-KD for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:33 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:43889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUm-0005ix-IX for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:28 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQY6Yp7z3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500565; bh=gGZhQQ8hbf+20CNoQFya4MSrYB77c0fd68t6cilgb3w=; h=From:To:Subject:Date:In-Reply-To:References; b=jSJ0hVUeFlOL/QB8jJcH3L4srfVxqBgHj2nkyGmE/cY3Itf1LI0C3OmTetmLWRbcM obBsNKZRXdWt9J9xVRMslQiJkd/GOYZOfHo6zipQ95SUeXAC6MYNfLIZqApbploG4B IWx+Lxya8enWk1ZgAZ0NkyWgap0F38XfQlqyuGfQ= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:29 +0100 Message-Id: <20210311220756.23132-20-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-audio-sys-0.8): New variable. --- gnu/packages/crates-gtk.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index f5e9972653..de4251b515 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1048,6 +1048,51 @@ checking library.") (description "This package provides Rust bindings for GStreamer.") (license (list license:expat license:asl2.0)))) +(define-public rust-gstreamer-audio-sys-0.8 + (package + (name "rust-gstreamer-audio-sys") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-audio-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rxw1s57yrw1zsbindaf2sj05df4qh17bshadqfw77y4xr9izjdv")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gstreamer-base-sys" + ,rust-gstreamer-base-sys-0.8) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CC" (which "gcc")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base))) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to libgstaudio-1.0") + (description "This package provides FFI bindings to libgstaudio-1.0.") + (license license:expat))) + (define-public rust-gstreamer-base-0.15 (package (name "rust-gstreamer-base") From patchwork Thu Mar 11 22:07:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27628 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 CFDB927BC51; Thu, 11 Mar 2021 22:11:03 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C981627BC52 for ; Thu, 11 Mar 2021 22:11:01 +0000 (GMT) Received: from localhost ([::1]:41742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTWG-0006HB-Ts for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:11:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVR-0004oZ-Ax for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43660) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVQ-0008KZ-Rv for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVQ-0005p0-N7 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 21/47] gnu: Add rust-gstreamer-pbutils-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550057422054 (code B ref 44492); Thu, 11 Mar 2021 22:10:08 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:34 +0000 Received: from localhost ([127.0.0.1]:55151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUr-0005jZ-T2 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:34 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:46341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUo-0005jI-Qx for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:31 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQc1KZjz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500568; bh=V5pdpLpvYPCVMIVzbSY5TiRi96cs/d/YXrU33LTfGa8=; h=From:To:Subject:Date:In-Reply-To:References; b=U+26uDEnvWa5XZE6jkWY+F5uMs5HCf0YOUbPOZca9sxaCSesHH9no8KMflF9t6Rgp AYwI63ry6pRqGZiqk4mPBxrudmMs7wLLlnwhZFpBePUx927Kh5iX8S0wNjDM0dyEEm 9kA5cjl7PdOc1iVLo6VpjLiYL2lRVCKM5JctafsY= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:30 +0100 Message-Id: <20210311220756.23132-21-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-pbutils-sys-0.8): New variable. --- gnu/packages/crates-gtk.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index de4251b515..044de7671e 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1171,6 +1171,51 @@ GStreamer.") (description "This package provides FFI bindings to libgstbase-1.0.") (license license:expat))) +(define-public rust-gstreamer-pbutils-sys-0.8 + (package + (name "rust-gstreamer-pbutils-sys") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-pbutils-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1s4dgmq9ai1jz5w5vllji8087khw7hja97hii4lgl29figkakdsf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gstreamer-audio-sys" + ,rust-gstreamer-audio-sys-0.8) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) + ("rust-gstreamer-video-sys" + ,rust-gstreamer-video-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CC" (which "gcc")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base))) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to libgstpbutils-1.0") + (description "This package provides FFI bindings to libgstpbutils-1.0.") + (license license:expat))) + (define-public rust-gstreamer-player-0.15 (package (name "rust-gstreamer-player") From patchwork Thu Mar 11 22:07:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27624 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 D477D27BC50; Thu, 11 Mar 2021 22:10:41 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1C69527BC51 for ; Thu, 11 Mar 2021 22:10:40 +0000 (GMT) Received: from localhost ([::1]:40812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTVv-0005cH-6X for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:10:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVS-0004qK-8R for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVR-0008LA-Dn for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVR-0005pA-7b for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 22/47] gnu: Add rust-gstreamer-pbutils-0.15. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550057722075 (code B ref 44492); Thu, 11 Mar 2021 22:10:09 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:37 +0000 Received: from localhost ([127.0.0.1]:55154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUv-0005jx-6y for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:37 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:44318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUr-0005jQ-2s for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:33 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQf382kz3xNt for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500570; bh=1uu6Ay+6FRybZZU4gr4hAmCCpaUMbwGUVHsf9EUBuV0=; h=From:To:Subject:Date:In-Reply-To:References; b=bO1CRfRU4fZ391lJxkG/3pJLY1SXse/yAJ0BGrSh54W2L0vtqPJHHR/FS2e5UdN0Q 8GOd97NrvXWgCyFtUHVoQ2uNwUyYMtr4vS7hQUXGwWKJ0aTzRHdRYi6+AdTzj1C+B4 juVFTk6+8Oe5ZKdWGiZGzZLxPwGcc9QWsfFzOg6o= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:31 +0100 Message-Id: <20210311220756.23132-22-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-pbutils-0.15): New variable. --- gnu/packages/crates-gtk.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 044de7671e..61dc047ac4 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1171,6 +1171,43 @@ GStreamer.") (description "This package provides FFI bindings to libgstbase-1.0.") (license license:expat))) +(define-public rust-gstreamer-pbutils-0.15 + (package + (name "rust-gstreamer-pbutils") + (version "0.15.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-pbutils" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1q8hv8i41mwhr84ydwlv7qspf49s5i7pz3lnjwl0l9gyp2anq97d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-glib" ,rust-glib-0.9) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gstreamer" ,rust-gstreamer-0.15) + ("rust-gstreamer-pbutils-sys" + ,rust-gstreamer-pbutils-sys-0.8) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-rustdoc-stripper" + ,rust-rustdoc-stripper-0.1)))) + (inputs + `(("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base))) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "Rust bindings for GStreamer base utils") + (description "This package provides Rust bindings for the pb_utils library +of GStreamer.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gstreamer-pbutils-sys-0.8 (package (name "rust-gstreamer-pbutils-sys") From patchwork Thu Mar 11 22:07:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27643 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 AA36027BC51; Thu, 11 Mar 2021 22:12:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 242C127BC50 for ; Thu, 11 Mar 2021 22:12:28 +0000 (GMT) Received: from localhost ([::1]:45174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXf-0000DA-9s for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:12:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVS-0004qL-80 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVR-0008Ld-TF for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVR-0005pV-O3 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 23/47] gnu: Add rust-markup5ever-rcdom-0.1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550057822082 (code B ref 44492); Thu, 11 Mar 2021 22:10:09 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:38 +0000 Received: from localhost ([127.0.0.1]:55156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUv-0005k0-GA for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:37 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:44688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUt-0005jo-BI for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:35 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQh4yWnz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500572; bh=6myIQRFyLnqoRODPzKm2QCb0j6Mt3dD58ZpgcjUD4A0=; h=From:To:Subject:Date:In-Reply-To:References; b=huYIMz7tDLpEzqaSZZlmKbYyo/SqEj+JkWrx4NKJxdCIAa5LLRVTEWbTXf0ZTNDss I+Y9yiIy20Vx6LF779VUhYRSvPFmJL/m2o3jzrnEuDzuYSznAUc1Px++jxTtAG+dBh tOVBZ5FhwjMVp6I4Qmtr6mfSwGwnmZRVZY71+7vU= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:32 +0100 Message-Id: <20210311220756.23132-23-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-markup5ever-rcdom-0.1): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d54e29edcd..faacdba674 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22283,6 +22283,35 @@ platform-independently.") (base32 "08ayl9aqjnmf7ly1ipy6dk3wjvyfn4w51l40jzh1fh984ykldbzi")))))) +(define-public rust-markup5ever-rcdom-0.1 + (package + (name "rust-markup5ever-rcdom") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "markup5ever_rcdom" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0axf6vrms8579lvhbjaj0v7bhs8xb7s26d4sam2g3m6qpi1xl5gh")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Some test files not included in release. + #:cargo-inputs + (("rust-html5ever" ,rust-html5ever-0.25) + ("rust-markup5ever" ,rust-markup5ever-0.10) + ("rust-tendril" ,rust-tendril-0.4) + ("rust-xml5ever" ,rust-xml5ever-0.16)) + #:cargo-development-inputs + (("rust-rustc-test" ,rust-rustc-test-0.3)))) + (home-page "https://github.com/servo/html5ever") + (synopsis "html5ever test DOM structure") + (description "This package provides a basic DOM structure for use by tests +in html5ever/xml5ever. It is not supposed to be used in user-facing code.") + (license (list license:expat license:asl2.0)))) + (define-public rust-match-cfg-0.1 (package (name "rust-match-cfg") From patchwork Thu Mar 11 22:07:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27653 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 35F3827BC50; Thu, 11 Mar 2021 22:13:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BC1C227BC55 for ; Thu, 11 Mar 2021 22:13:26 +0000 (GMT) Received: from localhost ([::1]:47950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTYb-0001UH-U5 for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:13:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVV-0004rw-5S for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43668) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVS-0008Ll-Cm for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVS-0005pj-7h for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 24/47] gnu: Add rust-ammonia-3. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550058122103 (code B ref 44492); Thu, 11 Mar 2021 22:10:10 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:41 +0000 Received: from localhost ([127.0.0.1]:55160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUy-0005kQ-SF for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:41 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:46983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUv-0005jy-JQ for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:37 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQk6pKKz3xNt for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500575; bh=+2MRtQ1KcASk6TxYMCii/IzNmg0spYrNuyLsMBSMFec=; h=From:To:Subject:Date:In-Reply-To:References; b=CxjWU1R+vpdp+NiL8OsLgnZ7ZnzBiIF9n3rxF5tOvt4+npnOaHDYkSzA/OspeW+tM 5yua1GIIXzW8w5OOEuJRezirXhQqbMGGOVXoMq7nTbpkRpIYgswJhtYWLfpsg8GI3y DmYDnpdsGs7HZpH1SyU3yIWO25iL3qe0JOegxA2E= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:33 +0100 Message-Id: <20210311220756.23132-24-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-ammonia-3): New variable. --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index faacdba674..ba7ebf5f0f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1700,6 +1700,40 @@ options to use calloc or a mutable global variable for pre-zeroed memory.") be used with the stdlib.") (license license:bsd-3))) +(define-public rust-ammonia-3 + (package + (name "rust-ammonia") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ammonia" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fzaj1fx3yhz2qd47gfvz7n8xjrnn37w2hp4qlyzpczlf18wisl9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-html5ever" ,rust-html5ever-0.25) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-maplit" ,rust-maplit-1) + ("rust-markup5ever-rcdom" + ,rust-markup5ever-rcdom-0.1) + ("rust-matches" ,rust-matches-0.1) + ("rust-tendril" ,rust-tendril-0.4) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-version-sync" ,rust-version-sync-0.8)))) + (home-page "https://github.com/rust-ammonia/ammonia") + (synopsis "HTML Sanitization") + (description "Ammonia is a whitelist-based HTML sanitization library. +It is designed to prevent cross-site scripting, layout breaking, and +clickjacking caused by untrusted user-provided HTML being mixed into a larger +web page.") + (license (list license:expat license:asl2.0)))) + (define-public rust-android-glue-0.2 (package (name "rust-android-glue") From patchwork Thu Mar 11 22:07:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27651 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 1946527BC52; Thu, 11 Mar 2021 22:13:25 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D2CBC27BC51 for ; Thu, 11 Mar 2021 22:13:14 +0000 (GMT) Received: from localhost ([::1]:47200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTYP-00019B-WF for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:13:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVV-0004ry-5J for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43669) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVS-0008Ln-RJ for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVS-0005ps-MH for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 25/47] gnu: Add rust-html2pango-0.3. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550058322113 (code B ref 44492); Thu, 11 Mar 2021 22:10:10 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:43 +0000 Received: from localhost ([127.0.0.1]:55163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTV1-0005ka-4O for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:43 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:14907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTUx-0005kJ-Rq for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:40 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQn1VGMz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500577; bh=6qe/4lHCNwSoEbapt3p+B1pT4h5qThspI7Hyf0kKr+0=; h=From:To:Subject:Date:In-Reply-To:References; b=LG8VmUMrTrrnxGhBIAi/s6iOLsvirNTiAHaeojqTlWLAE1fSlPIuBv9VwBAZp42Pe zURaSjcHMPYkpaB3Uwg2uR3+n4T2uINi3pHe0IXeb4Vg6h+HlRyBMOxNxjWGOPNzfY TKpy3xjnnPt+3c1UfXmTrStZwa9oTXheuJpQokcw= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:34 +0100 Message-Id: <20210311220756.23132-25-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-html2pango-0.3): New variable. --- gnu/packages/crates-gtk.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 61dc047ac4..917006cb9a 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1569,6 +1569,40 @@ GStreamer.") (description "This package provides FFI bindings to libgtk-3.") (license license:expat))) +(define-public rust-html2pango-0.3 + (package + (name "rust-html2pango") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "html2pango" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f0phim3bgmq0gcsvm9q8674190d5v5idlsqyxykxjf36d02i6s6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ammonia" ,rust-ammonia-3) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-html5ever" ,rust-html5ever-0.25) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-linkify" ,rust-linkify-0.4) + ("rust-maplit" ,rust-maplit-1) + ("rust-markup5ever-rcdom" + ,rust-markup5ever-rcdom-0.1) + ("rust-regex" ,rust-regex-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" + ,rust-pretty-assertions-0.6)))) + (home-page "https://gitlab.gnome.org/World/html2pango") + (synopsis "Convert HTML to pango.") + (description "html2pango converts html tags to Pango markup. It also +converts raw links to http links and strips unwanted tags.") + (license license:gpl3))) + (define-public rust-pango-0.9 (package (name "rust-pango") From patchwork Thu Mar 11 22:07:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27649 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 DED9D27BC51; Thu, 11 Mar 2021 22:13:02 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3A16A27BC50 for ; Thu, 11 Mar 2021 22:13:02 +0000 (GMT) Received: from localhost ([::1]:46774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTYD-0000wr-DI for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:13:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVV-0004s5-60 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVT-0008Lt-AB for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVT-0005q0-5Y for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 26/47] gnu: Add rust-pangocairo-sys-0.11. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550058522127 (code B ref 44492); Thu, 11 Mar 2021 22:10:11 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:45 +0000 Received: from localhost ([127.0.0.1]:55165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTV2-0005kp-Cv for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:44 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:47486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTV0-0005kY-5X for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:43 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQq3NR4z3xNt for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500579; bh=55l4xCSUpPPoe9ODtHl0lO8+bw64YCofpXllU/aIX6w=; h=From:To:Subject:Date:In-Reply-To:References; b=txsBxVk48mCrt3gAZWjcxASFlcmylC3DzctI123Qv7ymFPXV4k/Ns9DtpttVf3NlD SR7NZdltrefWGjZt12CH8IN61I+ECsguESP4fpqQmujxuBPeal+PRV1aDWFAeiMrH/ fVZKy4/GKk9/M4ahjGmg5aNkV/hafsIDuqmupqt8= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:35 +0100 Message-Id: <20210311220756.23132-26-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-pangocairo-sys-0.11): New variable. --- gnu/packages/crates-gtk.scm | 53 ++++++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 917006cb9a..99fc6fe451 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1805,8 +1805,54 @@ converts raw links to http links and strips unwanted tags.") #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) +(define-public rust-pangocairo-sys-0.11 + (package + (name "rust-pangocairo-sys") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pangocairo-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "167b1z6ns3lw1dqfq3mnhmknf7isi5vacp2fp0rh4bwcd5zwkk4l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) + ("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.10) + ("rust-system-deps" ,rust-system-deps-1)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'fix-version-requirements + (lambda* (#:key inputs vendor-dir #:allow-other-keys) + (substitute* + (map + (lambda (dir) (string-append dir "/Cargo.toml")) + (find-files vendor-dir "system-deps.*" #:directories? #t)) + (("0.0.10") ,(package-version rust-version-compare-0.0))) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("pango" ,pango))) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to pangocairo") + (description "This package provides FFI bindings to pangocairo.") + (license license:expat))) + (define-public rust-pangocairo-sys-0.10 (package + (inherit rust-pangocairo-sys-0.11) (name "rust-pangocairo-sys") (version "0.10.1") (source @@ -1818,7 +1864,6 @@ converts raw links to http links and strips unwanted tags.") (sha256 (base32 "1zlyf5vajarnxg5034b8qa5w5zajv96lfvlgiki26svpmcqip4m3")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) @@ -1830,8 +1875,4 @@ converts raw links to http links and strips unwanted tags.") (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (inputs - `(("gtk+" ,gtk+))) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libgtk-3") - (description "This package provides FFI bindings to libgtk-3.") - (license license:expat))) + `(("gtk+" ,gtk+))))) From patchwork Thu Mar 11 22:07:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27654 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 CBA7927BC51; Thu, 11 Mar 2021 22:13:51 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D1C6827BC50 for ; Thu, 11 Mar 2021 22:13:50 +0000 (GMT) Received: from localhost ([::1]:48456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTZ0-0001hH-2t for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:13:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVV-0004sC-8m for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVT-0008Lz-NE for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVT-0005q9-IM for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 27/47] gnu: Add rust-pangocairo-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550058822149 (code B ref 44492); Thu, 11 Mar 2021 22:10:11 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:48 +0000 Received: from localhost ([127.0.0.1]:55169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTV5-0005lB-RB for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:48 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:47890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTV2-0005kn-Dg for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:44 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQs5Tmnz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500581; bh=uZaK32oi6C2FCa6HbqzO0Zdv8HCZFsdtMemehFDdURo=; h=From:To:Subject:Date:In-Reply-To:References; b=Qo8UGr7f9LQIme5uZOQ6/JC/3PXWM4YShFTvEzSC//GWT06uzxLd4PqdJZLmNuM8K nh5EoglZbvhpvVw+9bJopxTo2BaC+IokdH80R37z5gHoGW98c58BB4Y4NrgqN3n619 crCbjQquqNg+ljiSdZBq4ki8Dshb/DJVL1dEh+hg= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:36 +0100 Message-Id: <20210311220756.23132-27-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-pangocairo-0.10): New variable. --- gnu/packages/crates-gtk.scm | 52 +++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 99fc6fe451..7a0fdd6a59 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1738,6 +1738,58 @@ converts raw links to http links and strips unwanted tags.") (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-pangocairo-0.10 + (package + (name "rust-pangocairo") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pangocairo" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10z8hlc82984nwvy5pnyh95ls9s5r1qrlkpn14zh4pjsl1ksxx80")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cairo-rs" ,rust-cairo-rs-0.9) + ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) + ("rust-glib" ,rust-glib-0.10) + ("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-gobject-sys" ,rust-gobject-sys-0.10) + ("rust-gtk-rs-lgpl-docs" + ,rust-gtk-rs-lgpl-docs-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.9) + ("rust-pango-sys" ,rust-pango-sys-0.10) + ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.11)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'fix-version-requirements + (lambda* (#:key inputs vendor-dir #:allow-other-keys) + (substitute* + (map + (lambda (dir) (string-append dir "/Cargo.toml")) + (find-files vendor-dir "system-deps.*" #:directories? #t)) + (("0.0.10") ,(package-version rust-version-compare-0.0))) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("pango" ,pango))) + (home-page "http://gtk-rs.org/") + (synopsis "Rust bindings for the PangoCairo library") + (description + "Rust bindings for the PangoCairo library.") + (license license:expat))) + (define-public rust-pangocairo-0.9 (package (name "rust-pangocairo") From patchwork Thu Mar 11 22:07:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27632 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 B0A7327BC51; Thu, 11 Mar 2021 22:11:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2360E27BC50 for ; Thu, 11 Mar 2021 22:11:15 +0000 (GMT) Received: from localhost ([::1]:42624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTWU-0006yc-84 for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:11:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVV-0004s3-6L for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVU-0008MX-Dg for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVU-0005qI-7I for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 28/47] gnu: Add rust-letter-avatar-1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550059022167 (code B ref 44492); Thu, 11 Mar 2021 22:10:12 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:50 +0000 Received: from localhost ([127.0.0.1]:55172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTV8-0005lT-3n for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:50 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:46021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTV4-0005l3-O5 for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:47 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQw0FDFz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500584; bh=3hMpE1wgmLtx7gkjI/bawu7D97B7v4+Owaqa5/c5iUA=; h=From:To:Subject:Date:In-Reply-To:References; b=lCh5ou/+eD6zCY1nbj0KN5cF7DAvJbZnJLp7I0Xi46jlBYIuaoK9wm4DYJwWnv5gA zBPX74a8hz/wFwXYeWavhxTCtgjGr/2TK5tTpGBbXB+iaIUA2uZDyNHmFtMsA+4y6u RdsxZ8nyBvrOHzPE4NhPoFZTW+Zdb9TY7oaM5Ydc= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:37 +0100 Message-Id: <20210311220756.23132-28-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-letter-avatar-1): New variable. --- gnu/packages/crates-gtk.scm | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 7a0fdd6a59..e945adf3af 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1603,6 +1603,49 @@ GStreamer.") converts raw links to http links and strips unwanted tags.") (license license:gpl3))) +(define-public rust-letter-avatar-1 + (package + (name "rust-letter-avatar") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "letter-avatar" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0if2mihpxn4xissv68qciqn5vywy0kl0sx9hcyrhd70s2fyn09k6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cairo-rs" ,rust-cairo-rs-0.9) + ("rust-pango" ,rust-pango-0.9) + ("rust-pangocairo" ,rust-pangocairo-0.10) + ("rust-unicode-segmentation" + ,rust-unicode-segmentation-1)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'fix-version-requirements + (lambda* (#:key inputs vendor-dir #:allow-other-keys) + (substitute* + (map + (lambda (dir) (string-append dir "/Cargo.toml")) + (find-files vendor-dir "system-deps.*" #:directories? #t)) + (("0.0.10") ,(package-version rust-version-compare-0.0))) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("pango" ,pango))) + (home-page "https://gitlab.gnome.org/jsparber/letter-avatar") + (synopsis "Generate user avatars") + (description "This package provides a user avatar generator based, that +renders username initials.") + (license license:gpl3+))) + (define-public rust-pango-0.9 (package (name "rust-pango") From patchwork Thu Mar 11 22:07:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27622 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 D922B27BC51; Thu, 11 Mar 2021 22:10:32 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DA90727BC50 for ; Thu, 11 Mar 2021 22:10:30 +0000 (GMT) Received: from localhost ([::1]:40014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTVm-0004wb-08 for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:10:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVV-0004sA-81 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVU-0008Ma-Vd for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVU-0005qU-QE for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 29/47] gnu: Add rust-libhandy-sys-0.5. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550059022174 (code B ref 44492); Thu, 11 Mar 2021 22:10:12 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:50 +0000 Received: from localhost ([127.0.0.1]:55174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTV8-0005lZ-DT for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:50 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:15899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTV7-0005lI-3D for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:49 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNQy2VNMz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500586; bh=EMutQqWk1s/57Wx1IQYwrv4tEoZNGSgklliytcA57I8=; h=From:To:Subject:Date:In-Reply-To:References; b=CyWSwnKru18niR5FK3C84I+zWWBPPUAwnlZQx3tGdxIZalnlfb9txXVRwvTosquAU RNNqOi/FC4MTdSTYlYAGICAX/GiRrDmc3eRBE62wbLgN0MXoFTmo3yPE+lHasiND2p QRV7E2LoGVbF9YWLIpBXLUDFuf745UOGA8oPzqRg= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:38 +0100 Message-Id: <20210311220756.23132-29-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-libhandy-sys-0.5): New variable. --- gnu/packages/crates-gtk.scm | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index e945adf3af..7b91a1d824 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1646,6 +1646,50 @@ converts raw links to http links and strips unwanted tags.") renders username initials.") (license license:gpl3+))) +(define-public rust-libhandy-sys-0.5 + (package + (name "rust-libhandy-sys") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libhandy-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ih4ws1d9n4qp4rwgsfilklgchqq3prnrb7h3avik1wi5s2ay1yp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gdk" ,rust-gdk-0.12) + ("rust-gdk-sys" ,rust-gdk-sys-0.9) + ("rust-gio" ,rust-gio-0.8) + ("rust-gio-sys" ,rust-gio-sys-0.9) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gtk-sys" ,rust-gtk-sys-0.9) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("libhandy" ,(module-ref (resolve-interface '(gnu packages gnome)) + 'libhandy-0.0)) + ("pango" ,pango))) + (home-page "https://gitlab.gnome.org/World/Rust/libhandy-rs") + (synopsis "FFI bindings for libhandy") + (description "This package provides raw FFI bindings to libhandy.") + (license license:gpl3+))) + (define-public rust-pango-0.9 (package (name "rust-pango") From patchwork Thu Mar 11 22:07:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27637 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 9665B27BC50; Thu, 11 Mar 2021 22:12:00 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 78F8327BC51 for ; Thu, 11 Mar 2021 22:11:59 +0000 (GMT) Received: from localhost ([::1]:43740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXC-0007hP-Ll for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:11:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVV-0004tT-QO for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:14 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43675) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVV-0008NG-He for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVV-0005qd-DR for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 30/47] gnu: Add rust-libhandy-0.5. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550059622201 (code B ref 44492); Thu, 11 Mar 2021 22:10:13 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:56 +0000 Received: from localhost ([127.0.0.1]:55178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVD-0005lz-Mf for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:56 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:16199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTV9-0005lh-Be for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:51 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNR04KbKz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500588; bh=wCsVOWsMYmiHwJxc54vUIcaTTvJRecl91x65+SebTSw=; h=From:To:Subject:Date:In-Reply-To:References; b=AXl3WSLFvvQJ1iC34/STqK4FvElFP5HKDl0rhY7MIZhZPyk0Rf0mrvwKLQHlTfygV iS8qrtOTqP1ji3CMIYgKMfXPgTNAA4hOoYw1DNU0rsAuq6aj5NnDSi6RoAcCZwRulo qMkZhYPPA2lqR20VQlX5u0n2fj75pNi6GKhQnN8E= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:39 +0100 Message-Id: <20210311220756.23132-30-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-libhandy-0.5): New variable. --- gnu/packages/crates-gtk.scm | 54 +++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 7b91a1d824..a4203397d4 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1690,6 +1690,60 @@ renders username initials.") (description "This package provides raw FFI bindings to libhandy.") (license license:gpl3+))) +(define-public rust-libhandy-0.5 + (package + (name "rust-libhandy") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libhandy" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01zska4i6641pj8d9gcc2kclx5vvsbbyfpv4rn5kahs11rigba9a")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-gdk" ,rust-gdk-0.12) + ("rust-gdk-sys" ,rust-gdk-sys-0.9) + ("rust-gio" ,rust-gio-0.8) + ("rust-gio-sys" ,rust-gio-sys-0.9) + ("rust-glib" ,rust-glib-0.9) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gtk" ,rust-gtk-0.8) + ("rust-gtk-sys" ,rust-gtk-sys-0.9) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libhandy-sys" ,rust-libhandy-sys-0.5) + ("rust-pango" ,rust-pango-0.8)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + ;; Tests require a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + #t))))) + (native-inputs + `(("xorg-server" ,xorg-server-for-tests))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("libhandy" ,(module-ref (resolve-interface '(gnu packages gnome)) + 'libhandy-0.0)) + ("pango" ,pango))) + (home-page + "https://gitlab.gnome.org/World/Rust/libhandy-rs") + (synopsis "Rust bindings for libhandy") + (description "This package provides Rust bindings for libhandy.") + (license license:gpl3+))) + (define-public rust-pango-0.9 (package (name "rust-pango") From patchwork Thu Mar 11 22:07:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27630 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 1AB5127BC50; Thu, 11 Mar 2021 22:11:05 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D6BEC27BC54 for ; Thu, 11 Mar 2021 22:11:02 +0000 (GMT) Received: from localhost ([::1]:41790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTWI-0006PE-0C for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:11:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVX-0004uQ-4o for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:15 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVV-0008Nc-Uc for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVV-0005ql-QA for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 31/47] gnu: Add rust-loggerv-0.7. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550059622213 (code B ref 44492); Thu, 11 Mar 2021 22:10:13 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:56 +0000 Received: from localhost ([127.0.0.1]:55181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVE-0005m2-6E for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:56 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:46684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVB-0005lq-Ig for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:54 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNR26tMWz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500591; bh=wasGml8EglKWzyf9NnMkDh/3rk5g4VKwXsbrPZvB+A4=; h=From:To:Subject:Date:In-Reply-To:References; b=PPrHvfV6+rrO4BP3u7UHog5OurDbDxPfrD+Lo9slHCSKJCVGsy4YQZwk0GFDi6zyj aHcYZK8O0LmiCeLOs9CwFHCYVtk8l/zXS5EO0K+gtKY+moPJZO+Bhnhr8LhPNBWq5T n1ij+2JWenqNGpsBDiDpCRNrszyvsQsjPQOr/P9s= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:40 +0100 Message-Id: <20210311220756.23132-31-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-loggerv-0.7): New variable. --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ba7ebf5f0f..bfb31241bf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21798,6 +21798,41 @@ by inspecting the system for user preference.") `(#:cargo-inputs (("rust-log" ,rust-log-0.4)))))) +(define-public rust-loggerv-0.7 + (package + (name "rust-loggerv") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "loggerv" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0x6k903wpm557fkcbr5isgh4yqkkbzw4fm7hwyy61rvimqaxxn30")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-atty" ,rust-atty-0.2) + ("rust-log" ,rust-log-0.4)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-2)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + (substitute* "src/lib.rs" + (("assert_eq!\\(logger\\.colors, DEFAULT_COLORS\\);" all) + (string-append "// " all))) + #t))))) + (home-page "https://github.com/clux/loggerv") + (synopsis "Logger with colors") + (description "This package provides a simple log implementation that logs +to stdout and stderr with colors.") + (license license:expat))) + (define-public rust-logtest-2 (package (name "rust-logtest") From patchwork Thu Mar 11 22:07:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27634 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 4B05E27BC50; Thu, 11 Mar 2021 22:11:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5699A27BC52 for ; Thu, 11 Mar 2021 22:11:16 +0000 (GMT) Received: from localhost ([::1]:42728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTWV-00072c-H1 for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:11:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVX-0004v7-Au for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVW-0008Ng-Bp for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVW-0005qs-6z for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 32/47] gnu: Add rust-lmdb-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550059822228 (code B ref 44492); Thu, 11 Mar 2021 22:10:14 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:09:58 +0000 Received: from localhost ([127.0.0.1]:55184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVG-0005mR-Ko for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:58 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:46982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVD-0005ly-RP for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:56 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNR51MhLz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500593; bh=sQ737+3S2dXkochglQ9EDA0c/w+Dy+vxXxlBtrUYmts=; h=From:To:Subject:Date:In-Reply-To:References; b=uUUzgLX8c621OWlrPoKXKtSPQfhHMjy85cDo7pbNqMbX7tTSWjIoQbnaI1O7u8imt LYwEwIj0bVz0Vny+OuRUGM7LnObbJ8AGZCOv846gwCsEYNxmnrJTJhmJq/NIGR1/ci 3o1+vdOcBS+xRdynfbvMTTJjZq2Pw3I44CoL/Bj4= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:41 +0100 Message-Id: <20210311220756.23132-32-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-lmdb-sys-0.8): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bfb31241bf..8412c8c25b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21545,6 +21545,30 @@ punctuation.") (license (list license:asl2.0 license:expat)))) +(define-public rust-lmdb-sys-0.8 + (package + (name "rust-lmdb-sys") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lmdb-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1scc28phjcywr9jq78d01g35rig8l2bwydxcdzl5i27yij1r5cym")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/danburkert/lmdb-rs.git") + (synopsis "Rust bindings for liblmdb") + (description "This package provides Rust bindings for liblmdb.") + (license license:asl2.0))) + (define-public rust-lmdb-rkv-0.14 (package (name "rust-lmdb-rkv") From patchwork Thu Mar 11 22:07:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27641 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 4176B27BC52; Thu, 11 Mar 2021 22:12:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A654427BC50 for ; Thu, 11 Mar 2021 22:12:18 +0000 (GMT) Received: from localhost ([::1]:44666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXV-0008Qj-Pi for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:12:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVX-0004v9-Bu for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVW-0008No-OK for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVW-0005r5-KL for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 33/47] gnu: Add rust-lmdb-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550060022237 (code B ref 44492); Thu, 11 Mar 2021 22:10:14 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:00 +0000 Received: from localhost ([127.0.0.1]:55186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVH-0005mZ-SZ for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:00 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:47175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVG-0005mL-4M for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:09:58 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNR73C4Fz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500595; bh=bDQIBzmp1eRPJnM0G8UAnNTkdahvLNbhvBjxRvl+4uI=; h=From:To:Subject:Date:In-Reply-To:References; b=QvTsxvdZQNbLHQ/hgluRzzbri+ctFCuUU6W5VFUSDA6Q2yb1NgGFHW8gu+6D3LDPA Fm5KTN9c8LjhMH0esKjNkydBB0MoFqYCPCMxgqXUSlt9yWEZakoaq8yGLyAcNFVrXE AJrzpOtMMyeVl/HN7DX1RFfy/i7GnLopKI1Fae+o= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:42 +0100 Message-Id: <20210311220756.23132-33-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-lmdb-0.8): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8412c8c25b..8fbc7ea584 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21569,6 +21569,35 @@ punctuation.") (description "This package provides Rust bindings for liblmdb.") (license license:asl2.0))) +(define-public rust-lmdb-0.8 + (package + (name "rust-lmdb") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lmdb" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fc54in9i27v1gpxncay5s85lqx27m0r2vyrfylnljfnnpphh2av")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of unstable feature + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-lmdb-sys" ,rust-lmdb-sys-0.8)) + #:cargo-development-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempdir" ,rust-tempdir-0.3)))) + (home-page "https://github.com/danburkert/lmdb-rs.git") + (synopsis "LMDB wrapper") + (description "This package provides an idiomatic Rust wrapper for LMDB.") + (license license:asl2.0))) + (define-public rust-lmdb-rkv-0.14 (package (name "rust-lmdb-rkv") From patchwork Thu Mar 11 22:07:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27644 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 EA5B527BC51; Thu, 11 Mar 2021 22:12:33 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 02DFB27BC51 for ; Thu, 11 Mar 2021 22:12:32 +0000 (GMT) Received: from localhost ([::1]:45506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXj-0000Mb-5s for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:12:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVY-0004y9-Hs for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43680) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVX-0008O4-6C for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVX-0005rC-0q for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:15 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 34/47] gnu: Add rust-mdl-1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550060522320 (code B ref 44492); Thu, 11 Mar 2021 22:10:14 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:05 +0000 Received: from localhost ([127.0.0.1]:55196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVN-0005nj-4x for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:49536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVI-0005mb-Ch for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:00 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNR95JD7z3xNt for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500597; bh=nvV6Prb5XEXD1TZv3bSzRBdsotHXR7P1gORh+3INZGI=; h=From:To:Subject:Date:In-Reply-To:References; b=K67KPSpdxZuRjmtlLqaymlQg9jGqCGDV/pTj8XbMzusHo6mIAeTfejui5bLPnRyzN AoQ40WTPBg64GD9IfnbuyZLaCw2CiIdH3XZKN5NSFeG9ORMgd60Fg32xVMH57z6Aa/ QUWMvuOOIFWqazU+1RJlZx8CbSWSrIpM91ZbODJU= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:43 +0100 Message-Id: <20210311220756.23132-34-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-mdl-1): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8fbc7ea584..422c74b307 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22692,6 +22692,34 @@ compression function.") (supported-systems '("x86_64-linux" "i686-linux")) (license license:expat))) +(define-public rust-mdl-1 + (package + (name "rust-mdl") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "mdl" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mavphw0ynhggm310rbldzifcrc507jax1nzwrmj4cz1xv7vw24l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-bincode" ,rust-bincode-1) + ("rust-lmdb" ,rust-lmdb-0.8) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://gitlab.gnome.org/danigm/mdl") + (synopsis "Data model library") + (description "This package provides a data model library to share app state +between threads and process and persist the data in the filesystem. It +implements a way to store structs instances in an LMDB database and other +methods like BTreeMap.") + (license license:gpl3))) + (define-public rust-measureme-0.7 (package (name "rust-measureme") From patchwork Thu Mar 11 22:07:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27648 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 EC7F227BC51; Thu, 11 Mar 2021 22:12:58 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B8B3527BC50 for ; Thu, 11 Mar 2021 22:12:57 +0000 (GMT) Received: from localhost ([::1]:46366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTY8-0000js-Sp for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:12:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVY-0004yl-UJ for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43681) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVX-0008OW-I1 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVX-0005rJ-Dv for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:15 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 35/47] gnu: Add rust-aes-soft-0.6. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550060622333 (code B ref 44492); Thu, 11 Mar 2021 22:10:15 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:06 +0000 Received: from localhost ([127.0.0.1]:55199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVN-0005nw-HT for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:17285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVK-0005n7-Ks for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:03 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRD01rmz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:09:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500600; bh=QsXyG8muGc5tx5FnzTGjvmdluIcG+/Tu1UgSzGectnk=; h=From:To:Subject:Date:In-Reply-To:References; b=Ob4VGIU8ppTp2GveLfHO2bwY8EnnKuD93yzNSljZWFioo81xWZ/Kon58DxKRFWdNu 9DMXmW+PGx0woO/xY5nrLqsWISNLpA0+m9ECmlFeG/IIJ3V/HTnsHHAi48A/0URE4Y fu3c/wKJGDvOcO0u98RmJHyU4CKH+0iIzDCHwdeI= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:44 +0100 Message-Id: <20210311220756.23132-35-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-aes-soft-0.6): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 422c74b307..7223c40aee 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1238,6 +1238,30 @@ acceleration.") ("rust-subtle" ,rust-subtle-2) ("rust-zeroize" ,rust-zeroize-1)))))) +(define-public rust-aes-soft-0.6 + (package + (name "rust-aes-soft") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-soft" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wj0fi2pvmlw09yvb1aqf0mfkzrfxmjsf90finijh255ir4wf55y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.2) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Bit-sliced implementation of AES (Rijndael) block ciphers") + (description "This package provides a bit-sliced implementation of +AES (Rijndael) block ciphers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-aes-soft-0.4 (package (name "rust-aes-soft") From patchwork Thu Mar 11 22:07:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27638 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 2E96027BC51; Thu, 11 Mar 2021 22:12:02 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8D72B27BC50 for ; Thu, 11 Mar 2021 22:12:01 +0000 (GMT) Received: from localhost ([::1]:43870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXE-0007ls-PQ for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:12:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVY-0004ym-Vw for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:17 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVY-0008Os-6Y for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVY-0005rV-1D for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 36/47] gnu: Add rust-aesni-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550060922399 (code B ref 44492); Thu, 11 Mar 2021 22:10:15 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:09 +0000 Received: from localhost ([127.0.0.1]:55209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVQ-0005p7-UE for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:09 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:17647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVM-0005nb-T8 for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:05 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRG1qllz3xNt for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500602; bh=MuQgmZsSKmL2Aa4Rnhe4YBJyvkz5DzcuHUin+HOxKMU=; h=From:To:Subject:Date:In-Reply-To:References; b=fZFD0FibIa43c9UXSqOSMQRB5Zk9THLl5VJjrEjO7iuzReuv3FRd0NFEYwkdieoxn I/zktPe8XbQGE50aBkRnON3g1agOYgLEC8Sf+RAMlQ1Wj1XOj53KjIR0BZ5+dVIedB ZnLofePYzxSGl/T6JG7DtGhqAbTCV2OTA4uw850Y= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:45 +0100 Message-Id: <20210311220756.23132-36-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-aesni-0.10): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7223c40aee..4088cfeb30 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1307,6 +1307,31 @@ AES (Rijndael) block ciphers.") ("rust-byteorder" ,rust-byteorder-1) ("rust-opaque-debug" ,rust-opaque-debug-0.2)))))) +(define-public rust-aesni-0.10 + (package + (name "rust-aesni") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aesni" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1kmh07fp9hbi1aa8dr2rybbgw8vqz6hjmk34c4w7sbscx7si2bpa")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cipher" ,rust-cipher-0.2) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "AES (Rijndael) block ciphers implementation using AES-NI") + (description "This package provides an implementation of AES (Rijndael) +block ciphers using AES-NI.") + (license (list license:expat license:asl2.0)))) + (define-public rust-aesni-0.7 (package (name "rust-aesni") From patchwork Thu Mar 11 22:07:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27655 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 D46F227BC51; Thu, 11 Mar 2021 22:13:57 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 157F527BC50 for ; Thu, 11 Mar 2021 22:13:57 +0000 (GMT) Received: from localhost ([::1]:48702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTZ6-0001qc-Ax for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:13:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVZ-0004zi-9Z for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:17 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVY-0008Pa-Vw for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVY-0005rq-PC for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 37/47] gnu: Add rust-aes-0.6. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550060922409 (code B ref 44492); Thu, 11 Mar 2021 22:10:16 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:09 +0000 Received: from localhost ([127.0.0.1]:55211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVR-0005pC-7f for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:09 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:17858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVP-0005oV-5o for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:07 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRJ3cVKz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500604; bh=IpDflkZ1omij5nx2ZqIvYdXPtcazq2curiw6FuhVFFM=; h=From:To:Subject:Date:In-Reply-To:References; b=u0impeG+6in02MR7/432dk5bLv4ezVfi3iXTKcO38Nw18Zqm6HX63z4IgyywmuqJk qI0XhnXEAF5kmG4ARR9F6EZbID+krgQ0vBh1ikQWkNK2uh2a5EZrDG96HlAFCOpQD2 +To5NDz+Z1eVuNVBhIIwWee834Zd5KYEFD+/OtTk= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:46 +0100 Message-Id: <20210311220756.23132-37-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-aes-0.6): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4088cfeb30..8ef5823aeb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1137,6 +1137,31 @@ with Associated Data (AEAD) algorithms.") (("rust-generic-array" ,rust-generic-array-0.12) ("rust-heapless" ,rust-heapless-0.5)))))) +(define-public rust-aes-0.6 + (package + (name "rust-aes") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0q85mw70mgr4glza9y9lrs9nxfa1cdcqzfk6wx0smb3623pr2hw8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aes-soft" ,rust-aes-soft-0.6) + ("rust-aesni" ,rust-aesni-0.10) + ("rust-cipher" ,rust-cipher-0.2)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Facade for AES (Rijndael) block ciphers implementations") + (description "This package provides a facade for AES (Rijndael) block +ciphers implementations.") + (license (list license:expat license:asl2.0)))) + (define-public rust-aes-0.4 (package (name "rust-aes") From patchwork Thu Mar 11 22:07:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27650 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 5752B27BC5C; Thu, 11 Mar 2021 22:13:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 51F9927BC57 for ; Thu, 11 Mar 2021 22:13:10 +0000 (GMT) Received: from localhost ([::1]:46960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTYL-00011k-Bi for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:13:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVa-00050H-3M for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:18 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVZ-0008Q2-IG for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:17 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVZ-0005s8-D9 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:17 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 38/47] gnu: Add rust-block-modes-0.7. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550061622540 (code B ref 44492); Thu, 11 Mar 2021 22:10:17 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:16 +0000 Received: from localhost ([127.0.0.1]:55230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVX-0005rP-IA for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:15 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:18192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVR-0005p9-EU for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:09 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRL5d1bz3xNt for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500606; bh=B6F0sJ/H7Mdfgt3ZQp8DYbLg3rC0Yk2b3yyxa7yo87A=; h=From:To:Subject:Date:In-Reply-To:References; b=sZF9KFHBdTTzjsaXkD2nNPEBRgapjQDCfHdIbDFrvyHE7xu/ZQ4KO7+ScMKlxQSdZ j7LsI3BnQSq0nIn3Vt6B/6baiEWrkhKsMwr27k1/XKoNJcQSSoFLIL+gkU/1QAIu5q 4caMp8jcYtS9on9xx5M21fmU+rd1fbxQhw+hkGho= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:47 +0100 Message-Id: <20210311220756.23132-38-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-block-modes-0.7): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8ef5823aeb..0ee85ed735 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5095,6 +5095,33 @@ algorithms. This package is deprecated. Please use block-cipher instead.") `(#:cargo-inputs (("rust-generic-array" ,rust-generic-array-0.8)))))) +(define-public rust-block-modes-0.7 + (package + (name "rust-block-modes") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "block-modes" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1w3jc3n7k4xq98b9mfina4wwpg1fq1s3b0mm5whqialb7q3yi82p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-block-padding" ,rust-block-padding-0.2) + ("rust-cipher" ,rust-cipher-0.2)) + #:cargo-development-inputs + (("rust-aes" ,rust-aes-0.6) + ("rust-hex-literal" ,rust-hex-literal-0.2) + ("rust-tempdir" ,rust-tempdir-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Block cipher modes of operation") + (description "This packagee provides block cipher operation modes.") + (license (list license:expat license:asl2.0)))) + (define-public rust-block-padding-0.2 (package (name "rust-block-padding") From patchwork Thu Mar 11 22:07:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27636 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 2B19B27BC52; Thu, 11 Mar 2021 22:12:00 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3A1A427BC50 for ; Thu, 11 Mar 2021 22:11:59 +0000 (GMT) Received: from localhost ([::1]:43690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTX6-0007fk-R7 for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:11:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVa-000517-Gs for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:18 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVa-0008Q9-7u for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:18 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVa-0005sI-3G for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:18 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 39/47] gnu: Add rust-hmac-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:18 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550061622553 (code B ref 44492); Thu, 11 Mar 2021 22:10:18 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:16 +0000 Received: from localhost ([127.0.0.1]:55232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVX-0005rU-V1 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:50846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVT-0005q7-N1 for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:12 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRP0PXxz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500609; bh=oIAwYlEQyCfNAfseljrz3AtDrmMWkYE1X42RpETLtlw=; h=From:To:Subject:Date:In-Reply-To:References; b=oYvZpyBu/S5gek5fe7fMFWiiSVRDvqHFQWubZcQkm3gr/XSXVOGxRPDllR95DbPYi Xyi40meJcrDxqtxLhOE9OQnZzu5WhWi/HJ1peoohNyRmTQfl04XibSKnjXxOJ0eUr3 GSDKbc9Rhbt0Wb3LsgsSe0DBqSxC1f9vn/Q5Hl0Y= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:48 +0100 Message-Id: <20210311220756.23132-39-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-hmac-0.10): New variable. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0ee85ed735..224d08f2d8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17797,8 +17797,38 @@ Derivation Function (HKDF).") (("rust-digest" ,rust-digest-0.8) ("rust-hmac" ,rust-hmac-0.7)))))) +(define-public rust-hmac-0.10 + (package + (name "rust-hmac") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "058yxq54x7xn0gk2vy9bl51r32c9z7qlcl2b80bjh3lk3rmiqi61")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.10) + ("rust-digest" ,rust-digest-0.9)) + #:cargo-development-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.8) + ("rust-md-5" ,rust-md-5-0.9) + ("rust-sha2" ,rust-sha2-0.9)))) + (home-page "https://github.com/RustCrypto/MACs") + (synopsis "Generic implementation of Hash-based Message Authentication Code") + (description + "This package provides a generic implementation of @acronym{HMAC, +Hash-based Message Authentication Code}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-hmac-0.8 (package + (inherit rust-hmac-0.10) (name "rust-hmac") (version "0.8.1") (source @@ -17810,7 +17840,6 @@ Derivation Function (HKDF).") (sha256 (base32 "0h48wc7iysh4xd6ci4prh8bb7nszijrh9w3blaaq8a6cilk8hs0j")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-crypto-mac" ,rust-crypto-mac-0.8) @@ -17818,13 +17847,7 @@ Derivation Function (HKDF).") #:cargo-development-inputs (("rust-crypto-mac" ,rust-crypto-mac-0.8) ("rust-md-5" ,rust-md-5-0.9) - ("rust-sha2" ,rust-sha2-0.9)))) - (home-page "https://github.com/RustCrypto/MACs") - (synopsis "Generic implementation of Hash-based Message Authentication Code") - (description - "This package provides a generic implementation of @acronym{HMAC, -Hash-based Message Authentication Code}.") - (license (list license:expat license:asl2.0)))) + ("rust-sha2" ,rust-sha2-0.9)))))) (define-public rust-hmac-0.7 (package From patchwork Thu Mar 11 22:07:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27642 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 C750827BC50; Thu, 11 Mar 2021 22:12:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D5D7C27BC51 for ; Thu, 11 Mar 2021 22:12:19 +0000 (GMT) Received: from localhost ([::1]:44756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXX-0008TF-18 for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:12:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTVa-00051a-Sh for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:19 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTVa-0008QL-L8 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:18 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTVa-0005sQ-Fo for guix-patches@gnu.org; Thu, 11 Mar 2021 17:10:18 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 40/47] gnu: Add rust-hkdf-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:10:18 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550061722572 (code B ref 44492); Thu, 11 Mar 2021 22:10:18 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:17 +0000 Received: from localhost ([127.0.0.1]:55236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVY-0005ri-Et for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:18693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVV-0005qk-VN for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:14 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRR2Hgtz3wZ9 for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500611; bh=oGi3DplWUpAeKBC/iGP7nKZragaBox/e6iW9DwsnwPs=; h=From:To:Subject:Date:In-Reply-To:References; b=cLuXlIO1nE09qCaFvXfcAa/TXC4XyCWWMgD1wrvasoKvbjn1ZbPNb2TOTtAakMXKV Eo6PDHQ+0spoHTVIYD8RTXNSd0dWlprth1WaUZtiC5a60dmxSppWoIQ/efVZGUFrRz mgr+AZVa7ubS8k2Gtdq88dMFxo8CB9/3JQ5pyq/4= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:49 +0100 Message-Id: <20210311220756.23132-40-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-hkdf-0.10): New variable. --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 224d08f2d8..81a0dce618 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17750,23 +17750,24 @@ compile time.") `(#:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4)))))) -(define-public rust-hkdf-0.9 +(define-public rust-hkdf-0.10 (package (name "rust-hkdf") - (version "0.9.0") + (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "hkdf" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy")))) + "0kwn3scjvv2x8zc6nz3wrnzxp9shpsdxnjqiyv2r65r3kiijzasi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-digest" ,rust-digest-0.9) - ("rust-hmac" ,rust-hmac-0.8)) + ("rust-hmac" ,rust-hmac-0.10)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) ("rust-crypto-tests" ,rust-crypto-tests-0.5) @@ -17775,10 +17776,35 @@ compile time.") ("rust-sha2" ,rust-sha2-0.9)))) (home-page "https://github.com/RustCrypto/KDFs/") (synopsis "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)") - (description "This package provides a HMAC-based Extract-and-Expand Key + (description "This package provides an HMAC-based Extract-and-Expand Key Derivation Function (HKDF).") (license (list license:expat license:asl2.0)))) +(define-public rust-hkdf-0.9 + (package + (inherit rust-hkdf-0.10) + (name "rust-hkdf") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hkdf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hmac" ,rust-hmac-0.8)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-crypto-tests" ,rust-crypto-tests-0.5) + ("rust-hex" ,rust-hex-0.4) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)))))) + (define-public rust-hkdf-0.8 (package (inherit rust-hkdf-0.9) From patchwork Thu Mar 11 22:07:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27656 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 6736E27BC51; Thu, 11 Mar 2021 22:14:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C826527BC50 for ; Thu, 11 Mar 2021 22:14:07 +0000 (GMT) Received: from localhost ([::1]:48960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTZH-0001xj-1J for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:14:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTWI-0006vN-DS for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTWI-0000SC-3D for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTWH-0005v2-UK for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 41/47] gnu: Add rust-dbus-0.2. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550062122628 (code B ref 44492); Thu, 11 Mar 2021 22:11:01 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:21 +0000 Received: from localhost ([127.0.0.1]:55243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVd-0005sp-1V for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:21 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:18954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVY-0005rT-7R for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:16 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRT47CXz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500613; bh=IUN+CoYrKTH4jv06UDP/dF+uLgg7E28bMLFdaC6ZrI8=; h=From:To:Subject:Date:In-Reply-To:References; b=OVyFnmuCfKzF1p1sa7YbbhKNLvWDcPmwqgVr0m7cAl2x9D8IhIMb2ep7u/CB2rwii cC3nyVMGvpNTnZi3Cutqd1Vd8HiYDs31avS1awkMoHFZaoa3KwEZybNJZLnjM5L7g/ amdNaVOsfv4mDTT5ORr4PHnhS4Lw2Rlxa8Zm3Hrk= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:50 +0100 Message-Id: <20210311220756.23132-41-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-dbus-0.2): New variable. --- gnu/packages/crates-gtk.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index a4203397d4..b292463108 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -228,6 +228,46 @@ ("rust-x11" ,rust-x11-2) ("rust-pkg-config" ,rust-pkg-config-0.3)))))) +(define-public rust-dbus-0.2 + (package + (name "rust-dbus") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "dbus" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0b85dl7y396g8xh1xh89wxnb1fvvf840dar9axavfhhhlq7c385l")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; XXX: fatal warnings are still fatal + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + ;; Tests require a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + ;; For the missing /etc/machine-id. + (setenv "DBUS_FATAL_WARNINGS" "0") + #t))))) + (native-inputs + `(("xorg-server" ,xorg-server-for-tests))) + (inputs + `(("dbus" ,dbus))) + (home-page "https://github.com/diwic/dbus-rs") + (synopsis "Rust bindings to D-Bus") + (description "This package provides Rust bindings to D-Bus, a bus commonly +used for inter-process communication.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-gdk-0.13 (package (name "rust-gdk") From patchwork Thu Mar 11 22:07:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27645 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 862C327BC52; Thu, 11 Mar 2021 22:12:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4342E27BC51 for ; Thu, 11 Mar 2021 22:12:34 +0000 (GMT) Received: from localhost ([::1]:45644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXl-0000Qo-An for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:12:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTWI-0006wK-NY for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTWI-0000Sc-Eh for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTWI-0005v9-AF for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 42/47] gnu: Add rust-secret-service-1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550062222637 (code B ref 44492); Thu, 11 Mar 2021 22:11:02 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:22 +0000 Received: from localhost ([127.0.0.1]:55246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVd-0005st-Dj for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:21 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:19201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVa-0005sO-G8 for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:18 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRW60f8z3xNt for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500615; bh=GKrEmYn9suSO39VEKmWlo4oEB5inkdk9iBG4xHorIyo=; h=From:To:Subject:Date:In-Reply-To:References; b=dGrl4xEd/2qzDBVWZd0QVZQ8RTtsBgD0y3INHdbYF2bSoqCJ8zw4gBKPhO6WK7E2J MOWY4bHYp8EDl+8RKMtftpDz+zqKH/HK/a+CBo48IUNmI7VtwUzQONvJAEGdtSepOa 77ALb6Jer63RbaF+90vxFEPkqPmy2cS273g/xikg= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:51 +0100 Message-Id: <20210311220756.23132-42-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-secret-service-1): New variable. --- gnu/packages/crates-gtk.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index b292463108..f03cc8c669 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2109,3 +2109,48 @@ renders username initials.") ("rust-tempfile" ,rust-tempfile-3)))) (inputs `(("gtk+" ,gtk+))))) + +(define-public rust-secret-service-1 + (package + (name "rust-secret-service") + (version "1.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "secret-service" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12hxz35i7sw5xsdldz1c6776fmz98z4dwh5779jis98w61020xbd")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; XXX: see rust-dbus + #:cargo-inputs + (("rust-aes" ,rust-aes-0.6) + ("rust-block-modes" ,rust-block-modes-0.7) + ("rust-dbus" ,rust-dbus-0.2) + ("rust-hkdf" ,rust-hkdf-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num" ,rust-num-0.3) + ("rust-rand" ,rust-rand-0.7) + ("rust-sha2" ,rust-sha2-0.9)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + ;; Tests require a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + ;; For the missing /etc/machine-id. + (setenv "DBUS_FATAL_WARNINGS" "0") + #t))))) + (native-inputs + `(("xorg-server" ,xorg-server-for-tests))) + (inputs + `(("dbus" ,dbus))) + (home-page "https://github.com/hwchen/secret-service-rs.git") + (synopsis "Secret Service interface") + (description "This package provides a Rust library to interface with +the Secret Service API") + (license (list license:expat license:asl2.0)))) From patchwork Thu Mar 11 22:07:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27657 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 9B98827BC51; Thu, 11 Mar 2021 22:14:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E034227BC50 for ; Thu, 11 Mar 2021 22:14:22 +0000 (GMT) Received: from localhost ([::1]:49194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTZV-00024F-39 for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:14:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTWJ-0006xX-32 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTWI-0000Tk-Qv for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTWI-0005vI-MK for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 43/47] gnu: Add rust-sourceview4-sys-0.2. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550062622664 (code B ref 44492); Thu, 11 Mar 2021 22:11:02 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:26 +0000 Received: from localhost ([127.0.0.1]:55250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVh-0005tT-TG for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:26 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:19551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVc-0005so-TW for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:21 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRZ0m7pz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500618; bh=h2yQGO1DezuiPBgE4zfo1cuP0RAGB6FVd3PCfcCnxPg=; h=From:To:Subject:Date:In-Reply-To:References; b=XOQO7X9yhXJsP2U56Yn7QH1cAbgiaLPRK1y2eF6237K0LB/cpHQka06ws1j7g/9vc uE8jlUDXBUmu+JQVGxIwkf05NChRSq8fkQ/It/wMqCTmG4A6zWMI8Tw92Wm9dPugfp 8bYCyodYoitQ5Sr6fcfMoNAUOOyuPKmXbINKemoI= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:52 +0100 Message-Id: <20210311220756.23132-43-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-sourceview4-sys-0.2): New variable. --- gnu/packages/crates-gtk.scm | 54 +++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index f03cc8c669..d3f9a5c728 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2154,3 +2154,57 @@ renders username initials.") (description "This package provides a Rust library to interface with the Secret Service API") (license (list license:expat license:asl2.0)))) + +(define-public rust-sourceview4-sys-0.2 + (package + (name "rust-sourceview4-sys") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sourceview4-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "146l7fni9zc68rr1aim5di4mzrk22r8jxb96ww8fgp6f51np690v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) + ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10) + ("rust-gdk-sys" ,rust-gdk-sys-0.10) + ("rust-gio-sys" ,rust-gio-sys-0.10) + ("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-gobject-sys" ,rust-gobject-sys-0.10) + ("rust-gtk-sys" ,rust-gtk-sys-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-system-deps" ,rust-system-deps-1)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'fix-version-requirements + (lambda* (#:key inputs vendor-dir #:allow-other-keys) + (substitute* + (map + (lambda (dir) (string-append dir "/Cargo.toml")) + (find-files vendor-dir "system-deps.*" #:directories? #t)) + (("0.0.10") ,(package-version rust-version-compare-0.0))) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gtksourceview" ,gtksourceview) + ("pango" ,pango))) + (home-page "https://gitlab.gnome.org/World/Rust/sourceview4-rs") + (synopsis "FFI bindings for GtkSourceView") + (description "This package provides FFI bindings for GtkSourceView, version +4.x.") + (license license:lgpl2.1+))) From patchwork Thu Mar 11 22:07:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27640 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 BB07027BC52; Thu, 11 Mar 2021 22:12:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1B16427BC51 for ; Thu, 11 Mar 2021 22:12:19 +0000 (GMT) Received: from localhost ([::1]:44700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXW-0008Rm-8H for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:12:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTWJ-0006ym-Kc for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTWJ-0000UQ-A3 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTWJ-0005vP-1x for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 44/47] gnu: Add rust-sourceview4-0.2. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550062622670 (code B ref 44492); Thu, 11 Mar 2021 22:11:03 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:26 +0000 Received: from localhost ([127.0.0.1]:55252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVi-0005tV-5m for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:26 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:19755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVf-0005tD-1k for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:23 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRc2cJGz3xNt for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500620; bh=yRTKGnZ2B0SGH5Vi5gEsRsyY4Ow4Y24BGA+znbMWbtE=; h=From:To:Subject:Date:In-Reply-To:References; b=HLME2UJOv78WfCXkL8uoy6S/S77w142chHJRhdtV74QIpRrpO2H4PBdOTHAYVH97n Fdis3gdxG52Kfv0BimN9M5oMh7mIkifLD7AMfpQrDlM+L3Go6um6C3H58JJlyKEl9J w4r5xV9uimESfQIkYCtR9PV0F726tj+B+9gIP3so= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:53 +0100 Message-Id: <20210311220756.23132-44-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-sourceview4-0.2): New variable. --- gnu/packages/crates-gtk.scm | 59 +++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index d3f9a5c728..0a5defef0b 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2208,3 +2208,62 @@ the Secret Service API") (description "This package provides FFI bindings for GtkSourceView, version 4.x.") (license license:lgpl2.1+))) + +(define-public rust-sourceview4-0.2 + (package + (name "rust-sourceview4") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sourceview4" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1c35bm98gmn93qralgjlippdjm2d6199j811qgrn1zd4iv3j3kv7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cairo-rs" ,rust-cairo-rs-0.9) + ("rust-gdk" ,rust-gdk-0.13) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.9) + ("rust-gdk-sys" ,rust-gdk-sys-0.10) + ("rust-gio" ,rust-gio-0.9) + ("rust-gio-sys" ,rust-gio-sys-0.10) + ("rust-glib" ,rust-glib-0.10) + ("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-gobject-sys" ,rust-gobject-sys-0.10) + ("rust-gtk" ,rust-gtk-0.9) + ("rust-gtk-sys" ,rust-gtk-sys-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.9) + ("rust-sourceview4-sys" + ,rust-sourceview4-sys-0.2)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'fix-version-requirements + (lambda* (#:key inputs vendor-dir #:allow-other-keys) + (substitute* + (map + (lambda (dir) (string-append dir "/Cargo.toml")) + (find-files vendor-dir "system-deps.*" #:directories? #t)) + (("0.0.10") ,(package-version rust-version-compare-0.0))) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gtksourceview" ,gtksourceview) + ("pango" ,pango))) + (home-page "https://gitlab.gnome.org/World/Rust/sourceview4-rs") + (synopsis "API bindings for GtkSourceView") + (description "This package provides API bindings for GtkSourceView, +version 4.x.") + (license license:lgpl2.1+))) From patchwork Thu Mar 11 22:07:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27652 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 F1ED427BC54; Thu, 11 Mar 2021 22:13:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EC2FF27BC50 for ; Thu, 11 Mar 2021 22:13:19 +0000 (GMT) Received: from localhost ([::1]:47664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTYV-0001N2-4T for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:13:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTWK-0006zq-3l for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTWJ-0000Uy-N9 for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTWJ-0005vW-Ee for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 45/47] gnu: Add rust-sourceview4-for-fractal. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550063022689 (code B ref 44492); Thu, 11 Mar 2021 22:11:03 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:30 +0000 Received: from localhost ([127.0.0.1]:55255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVl-0005tr-H8 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:29 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:50219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVh-0005tL-AO for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:25 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRf4l4kz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500622; bh=vO6HXyjGbuszONrDKqHaegveaePaxUnJ0uywuKCe0qA=; h=From:To:Subject:Date:In-Reply-To:References; b=poRrkgQAk4/Q2dUaLvSiGpv8A3vRGc6NcSTx0uLHSIWpf5SHDwJ81RTeNxyHCBjJX YxjlvCpF/ReihBjKK4HZJx52Zw2HFY/FDPF3m2KIcejqQotOslniqbxejJPkj5qH9I hpaHocg8QKUBb+Ts2wKN2+ijq0Dum6lpH3eVWa88= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:54 +0100 Message-Id: <20210311220756.23132-45-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-sourceview4-for-fractal): New variable. --- gnu/packages/crates-gtk.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 0a5defef0b..f1dc93e96c 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -20,6 +20,7 @@ (define-module (gnu packages crates-gtk) #:use-module (guix build-system cargo) #:use-module (guix download) + #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) @@ -2267,3 +2268,31 @@ the Secret Service API") (description "This package provides API bindings for GtkSourceView, version 4.x.") (license license:lgpl2.1+))) + +(define-public rust-sourceview4-for-fractal + (package + (inherit rust-sourceview4-0.2) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/World/Rust/sourceview4-rs/") + (commit "fa8819fa7ecbe56f44d951656d3825f468915754"))) + (file-name "rust-sourceview4-0.2.0.tar.gz") + (sha256 + (base32 + "0aib8385fxdpw79sasfzn6q11sqx3wigkb267if9fb12bagycgpk")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-gdk" ,rust-gdk-0.12) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8) + ("rust-gio" ,rust-gio-0.9) + ("rust-gio-sys" ,rust-gio-sys-0.10) + ("rust-glib" ,rust-glib-0.9) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gtk" ,rust-gtk-0.8) + ("rust-gtk-sys" ,rust-gtk-sys-0.9) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.8)))) + (properties `((hidden? . #t))))) From patchwork Thu Mar 11 22:07:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27658 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 08DFC27BC51; Thu, 11 Mar 2021 22:14:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ECDA827BC50 for ; Thu, 11 Mar 2021 22:14:29 +0000 (GMT) Received: from localhost ([::1]:49588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTZd-0002F6-5G for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:14:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTWK-00070f-DY for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTWK-0000VN-2G for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTWJ-0005ve-Qt for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 46/47] gnu: Add rust-letter-avatar-for-fractal. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550063022696 (code B ref 44492); Thu, 11 Mar 2021 22:11:03 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:30 +0000 Received: from localhost ([127.0.0.1]:55257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVl-0005tu-Qw for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:30 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:20224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVj-0005ti-9Q for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:27 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRh6d67z3xNt for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500624; bh=yBgME1O0+gpZJjAv8c8SvadiAHxw/T4n5Ghp6quQiVc=; h=From:To:Subject:Date:In-Reply-To:References; b=YDtmwtI63bgMUpN3hUdEozVGDUPSgTgA66HexLPr/lTWDOkoInzAHkj4/2XFggDVK ZhrxvMeICLVjMpzTBoQALX7mBbdfIJcb+6Jmp9/Zcg5NF3TpPt3NwZSnQnipylwpUB trP8JFGnTU8PR5RZ6xDBs2eM1YD/vcI06kCr2lkQ= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:55 +0100 Message-Id: <20210311220756.23132-46-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-letter-avatar-for-fractal): New variable. --- gnu/packages/crates-gtk.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index f1dc93e96c..7e24d4c445 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1687,6 +1687,30 @@ converts raw links to http links and strips unwanted tags.") renders username initials.") (license license:gpl3+))) +(define-public rust-letter-avatar-for-fractal + (package + (inherit rust-letter-avatar-1) + (name "rust-letter-avatar") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "letter-avatar" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00hnlyckr25h5hvisk90vf88diww6cds140s8cpfhjx4p33kxnm8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cairo-rs" ,rust-cairo-rs-0.8) + ("rust-pango" ,rust-pango-0.8) + ("rust-pangocairo" ,rust-pangocairo-0.9) + ("rust-unicode-segmentation" + ,rust-unicode-segmentation-1)))) + (properties '((hidden? . #t))))) + (define-public rust-libhandy-sys-0.5 (package (name "rust-libhandy-sys") From patchwork Thu Mar 11 22:07:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27646 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 8968927BC51; Thu, 11 Mar 2021 22:12:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C012C27BC50 for ; Thu, 11 Mar 2021 22:12:33 +0000 (GMT) Received: from localhost ([::1]:45588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKTXk-0000PA-Uj for patchwork@mira.cbaines.net; Thu, 11 Mar 2021 17:12:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKTWK-00071i-NV for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKTWK-0000Va-CC for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKTWK-0005vl-7n for guix-patches@gnu.org; Thu, 11 Mar 2021 17:11:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v4 47/47] gnu: Add fractal. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Mar 2021 22:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161550064222723 (code B ref 44492); Thu, 11 Mar 2021 22:11:04 +0000 Received: (at 44492) by debbugs.gnu.org; 11 Mar 2021 22:10:42 +0000 Received: from localhost ([127.0.0.1]:55260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVq-0005uH-5O for submit@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:42 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:52670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKTVl-0005ts-Ry for 44492@debbugs.gnu.org; Thu, 11 Mar 2021 17:10:30 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DxNRk6Q0wz3xQG for <44492@debbugs.gnu.org>; Thu, 11 Mar 2021 23:10:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615500626; bh=YmMTiz6nKKuCWXm0GQKKxJW0PUkidKDrjbR/0AhX9BM=; h=From:To:Subject:Date:In-Reply-To:References; b=CT+1I8HeST/frAMHuzcdVC1Mm5nHzNpzQMftPqjpqviyQabBmlaRH8zZz85Tkx5ap u4tRFKOjZU8HWRRupZPsVx7xnySAO7K7FN2koDWgPGTn3a+BOgbcyaqq5o8V1NNIiI XsmMC3Bhz883uxj0aaDEV+BP/sLEiRn915tNVaJ4= From: Leo Prikler Date: Thu, 11 Mar 2021 23:07:56 +0100 Message-Id: <20210311220756.23132-47-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210311220756.23132-1-leo.prikler@student.tugraz.at> References: <20210311220756.23132-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/patches/fractal-switch-from-failure-to-anyhow.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it here. * gnu/packages/gnome.scm (fractal): New variable. --- gnu/local.mk | 1 + gnu/packages/gnome.scm | 142 ++++++++++++++++- ...ractal-switch-from-failure-to-anyhow.patch | 143 ++++++++++++++++++ 3 files changed, 285 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/fractal-switch-from-failure-to-anyhow.patch diff --git a/gnu/local.mk b/gnu/local.mk index b879131131..b121dcfb94 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -999,6 +999,7 @@ dist_patch_DATA = \ %D%/packages/patches/fontconfig-hurd-path-max.patch \ %D%/packages/patches/fpc-reproducibility.patch \ %D%/packages/patches/fplll-std-fenv.patch \ + %D%/packages/patches/fractal-switch-from-failure-to-anyhow.patch \ %D%/packages/patches/freedink-engine-fix-sdl-hints.patch \ %D%/packages/patches/freebayes-devendor-deps.patch \ %D%/packages/patches/freeimage-unbundle.patch \ diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 5c6d247471..9c1cb17805 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -12103,7 +12103,6 @@ editing environment for translation issues within the GNU gettext/GNOME desktop world.") (license license:gpl3+))) - (define-public ocrfeeder (package (name "ocrfeeder") @@ -12166,3 +12165,144 @@ world.") (description "OCRFeeder is a complete Optical Character Recognition and Document Analysis and Recognition program.") (license license:gpl3+))) + +(define-public fractal + (package + (name "fractal") + (version "4.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/GNOME/fractal") + (commit version))) + (file-name (string-append "fractal-" version)) + (sha256 + (base32 + "1v2aw41gfmixki6g7j7mcav7i7qkn17k7zndvvfv08rgsrvma8qd")) + (patches + (search-patches + "fractal-switch-from-failure-to-anyhow.patch")))) + (build-system cargo-build-system) + (arguments + `(#:imported-modules + (,@%cargo-build-system-modules + ,@%meson-build-system-modules) + #:modules + ((guix build cargo-build-system) + (guix build utils) + ((guix build meson-build-system) #:prefix meson:)) + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-comrak" ,rust-comrak-0.7) + ("rust-directories" ,rust-directories-2) + ("rust-dirs" ,rust-dirs-2) + ("rust-either" ,rust-either-1) + ("rust-fragile" ,rust-fragile-1) + ("rust-gdk" ,rust-gdk-0.12) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8) + ("rust-gettext" ,rust-gettext-rs-0.4) + ("rust-glib" ,rust-glib-0.9) + ("rust-gio" ,rust-gio-0.8) + ("rust-gspell" ,rust-gspell-0.4) + ("rust-gstreamer" ,rust-gstreamer-0.15) + ("rust-gstreamer-pbutils" ,rust-gstreamer-pbutils-0.15) + ("rust-gstreamer-player" ,rust-gstreamer-player-0.15) + ("rust-gtk" ,rust-gtk-0.8) + ("rust-html2pango" ,rust-html2pango-0.3) + ("rust-letter-avatar" ,rust-letter-avatar-for-fractal) + ("rust-libhandy" ,rust-libhandy-0.5) + ("rust-loggerv" ,rust-loggerv-0.7) + ("rust-md5" ,rust-md5-0.7) + ("rust-mdl" ,rust-mdl-1) + ("rust-rand" ,rust-rand-0.7) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.10) + ("rust-ruma-identifiers" ,rust-ruma-identifiers-0.17) + ("rust-serde" ,rust-serde-1) + ("rust-secret-service" ,rust-secret-service-1) + ("rust-sourceview4" ,rust-sourceview4-for-fractal)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-cargo + (lambda* (#:key vendor-dir #:allow-other-keys) + (substitute* "fractal-gtk/Cargo.toml" + (("git = .*") "") + ;; rust-gettext-rs + (("branch = \"no-gettext\"") "version = \"0.4.0\"") + ;; rust-sourceview4 + (("rev = \"fa8819fa7ecbe56f44d951656d3825f468915754\"") + "version = \"0.2.0\"") + ;; rust-either + (("rev = \"60c99bc0723491e2dfd42bbe9b485c5f9323e96b\"") + "version = \"1.6.0\"") + (("\"serde_untagged\"") "\"serde\"")) + (substitute* + (map + (lambda (dir) (string-append dir "/Cargo.toml")) + (find-files vendor-dir "system-deps.*" #:directories? #t)) + (("0.0.10") ,(package-version rust-version-compare-0.0))) + (substitute* "meson.build" + (("'Cargo.lock',") "")) + (substitute* "scripts/cargo.sh" + (("export CARGO_HOME=.*" all) + (string-append all "\ +mkdir -p $CARGO_HOME +cp $1/.cargo/config $CARGO_HOME +"))) + + #t)) + (add-after 'unpack 'skip-gtk-update-icon-cache + (lambda _ + (substitute* "scripts/meson_post_install.py" + (("gtk-update-icon-cache") (which "true"))) + #t)) + (add-after 'configure 'configure-harder + (lambda* (#:key vendor-dir inputs #:allow-other-keys) + (for-each + (lambda (d) + (copy-recursively + (string-append (assoc-ref inputs "rust-sourceview4") "/" d) + (string-append vendor-dir "/rust-" d "-0.2.0"))) + '("sourceview4" "sourceview4-sys")) + (delete-file-recursively + (car (find-files vendor-dir "fractal.*" #:directories? #t))) + #t)) + (add-after 'patch-cargo-checksums 'really-configure + (lambda args + (apply (assoc-ref meson:%standard-phases 'configure) + #:build-type "release" + #:configure-flags '() + args))) + (replace 'build (assoc-ref meson:%standard-phases 'build)) + (replace 'check + (lambda args + ((assoc-ref meson:%standard-phases 'check) + #:test-target "test" + #:parallel-tests? #t + #:tests? #t))) + (replace 'install (assoc-ref meson:%standard-phases 'install))))) + (native-inputs + `(("glib:bin" ,glib "bin") + ("gettext" ,gettext-minimal) + ("meson" ,meson-for-build) + ("ninja" ,ninja) + ("pkg-config" ,pkg-config))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("glib" ,glib) + ("gspell" ,gspell) + ("gst-editing-services" ,gst-editing-services) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base) + ("gst-plugins-bad" ,gst-plugins-bad) + ("gtk+" ,gtk+) + ("gtksourceview" ,gtksourceview) + ("libhandy" ,libhandy-0.0) + ("openssl" ,openssl))) + (synopsis "Matrix messaging app for GNOME") + (description "Fractal is a Matrix messaging app for GNOME written in Rust. +Its interface is optimized for collaboration in large groups, such as free +software projects.") + (home-page "https://wiki.gnome.org/Apps/Fractal") + (license license:gpl3))) diff --git a/gnu/packages/patches/fractal-switch-from-failure-to-anyhow.patch b/gnu/packages/patches/fractal-switch-from-failure-to-anyhow.patch new file mode 100644 index 0000000000..6b830ecf94 --- /dev/null +++ b/gnu/packages/patches/fractal-switch-from-failure-to-anyhow.patch @@ -0,0 +1,143 @@ +From e4ca9dc5c0f4401f350338e4cd9b0734db9371bf Mon Sep 17 00:00:00 2001 +From: Yuki Okushi +Date: Thu, 13 Aug 2020 14:41:50 +0900 +Subject: [PATCH] Switch from failure to anyhow + +--- + Cargo.lock | 8 +++++++- + fractal-gtk/Cargo.toml | 2 +- + fractal-gtk/src/appop/attach.rs | 2 +- + fractal-gtk/src/cache/mod.rs | 2 +- + fractal-gtk/src/cache/state.rs | 7 +++---- + fractal-gtk/src/util.rs | 8 ++++---- + 6 files changed, 17 insertions(+), 12 deletions(-) + +diff --git a/Cargo.lock b/Cargo.lock +index c0b5e5e2..f26d9787 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -88,6 +88,12 @@ dependencies = [ + "winapi 0.3.9", + ] + ++[[package]] ++name = "anyhow" ++version = "1.0.32" ++source = "registry+https://github.com/rust-lang/crates.io-index" ++checksum = "6b602bfe940d21c130f3895acd65221e8a61270debe89d628b9cb4e3ccb8569b" ++ + [[package]] + name = "arrayref" + version = "0.3.6" +@@ -580,6 +586,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + name = "fractal-gtk" + version = "4.4.0" + dependencies = [ ++ "anyhow", + "cairo-rs", + "chrono", + "clap", +@@ -587,7 +594,6 @@ dependencies = [ + "directories", + "dirs", + "either 1.5.99", +- "failure", + "fractal-matrix-api", + "fragile", + "gdk", +diff --git a/fractal-gtk/Cargo.toml b/fractal-gtk/Cargo.toml +index 960f64b5..e1c6a33d 100644 +--- a/fractal-gtk/Cargo.toml ++++ b/fractal-gtk/Cargo.toml +@@ -6,11 +6,11 @@ workspace = "../" + edition = "2018" + + [dependencies] ++anyhow = "1.0.32" + clap = "2.33.0" + comrak = "0.7.0" + directories = "2.0.2" + dirs = "2.0.2" +-failure = "0.1.6" + fragile = "1.0.0" + gspell = "0.4.0" + gdk = "0.12.1" +diff --git a/fractal-gtk/src/appop/attach.rs b/fractal-gtk/src/appop/attach.rs +index 3f0813aa..3b5bff4c 100644 +--- a/fractal-gtk/src/appop/attach.rs ++++ b/fractal-gtk/src/appop/attach.rs +@@ -6,7 +6,7 @@ use std::io::prelude::*; + use std::path::PathBuf; + use std::sync::{Arc, Mutex}; + +-use failure::Error; ++use anyhow::Error; + + use gtk::prelude::*; + +diff --git a/fractal-gtk/src/cache/mod.rs b/fractal-gtk/src/cache/mod.rs +index 76942866..8943eac6 100644 +--- a/fractal-gtk/src/cache/mod.rs ++++ b/fractal-gtk/src/cache/mod.rs +@@ -12,7 +12,7 @@ use std::thread; + + use crate::types::Room; + use crate::types::RoomList; +-use failure::Error; ++use anyhow::Error; + use fractal_api::identifiers::{DeviceId, UserId}; + use std::collections::HashMap; + use std::hash::Hash; +diff --git a/fractal-gtk/src/cache/state.rs b/fractal-gtk/src/cache/state.rs +index 7cb5372a..0e62c59b 100644 +--- a/fractal-gtk/src/cache/state.rs ++++ b/fractal-gtk/src/cache/state.rs +@@ -4,8 +4,7 @@ use mdl::Model; + use mdl::Store; + use serde::{Deserialize, Serialize}; + +-use failure::err_msg; +-use failure::Error; ++use anyhow::{anyhow, Error}; + + use std::cell::RefCell; + use std::fs::remove_dir_all; +@@ -127,8 +126,8 @@ impl FCache { + guard.take(); + + let fname = cache_dir_path(None, "cache.mdl") +- .or_else(|_| Err(err_msg("Can't remove cache file")))?; +- remove_dir_all(fname).or_else(|_| Err(err_msg("Can't remove cache file"))) ++ .or_else(|_| Err(anyhow!("Can't remove cache file")))?; ++ remove_dir_all(fname).or_else(|_| Err(anyhow!("Can't remove cache file"))) + } + + #[allow(dead_code)] +diff --git a/fractal-gtk/src/util.rs b/fractal-gtk/src/util.rs +index 764a8e8e..b2feb12c 100644 +--- a/fractal-gtk/src/util.rs ++++ b/fractal-gtk/src/util.rs +@@ -1,6 +1,6 @@ + use crate::globals::CACHE_PATH; +-use failure::format_err; +-use failure::Error as FailError; ++use anyhow::anyhow; ++use anyhow::Error as AnyhowError; + use gdk::prelude::*; + use gdk_pixbuf::Pixbuf; + use gio::{Settings, SettingsExt, SettingsSchemaSource}; +@@ -21,9 +21,9 @@ pub fn cache_dir_path(dir: Option<&str>, name: &str) -> Result + Ok(path.join(name)) + } + +-pub fn get_pixbuf_data(pb: &Pixbuf) -> Result, FailError> { ++pub fn get_pixbuf_data(pb: &Pixbuf) -> Result, AnyhowError> { + let image = cairo::ImageSurface::create(cairo::Format::ARgb32, pb.get_width(), pb.get_height()) +- .or_else(|_| Err(format_err!("Cairo Error")))?; ++ .or_else(|_| Err(anyhow!("Cairo Error")))?; + + let g = cairo::Context::new(&image); + g.set_source_pixbuf(pb, 0.0, 0.0); +-- +2.30.1 +