From patchwork Mon Mar 15 17:57: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: 27799 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 A6D3E27BC54; Mon, 15 Mar 2021 18:12:01 +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 19DF327BC52 for ; Mon, 15 Mar 2021 18:12:01 +0000 (GMT) Received: from localhost ([::1]:47860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrhA-0008Mg-5p for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:12:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrUc-0007Tf-HJ for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrUc-0007CJ-1p for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrUb-0004Qg-Vz for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 01/51] 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: Mon, 15 Mar 2021 17:59: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.161583112816927 (code B ref 44492); Mon, 15 Mar 2021 17:59:01 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:58:48 +0000 Received: from localhost ([127.0.0.1]:36853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUN-0004Ox-R5 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:48 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:46154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUL-0004Om-Gy for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:46 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzkgP3xhQz3wZc for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:58:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831121; bh=NBDRgrvvUcRoCd4WeHVczGimykZRjM7pYNB5gj0SoMY=; h=From:To:Subject:Date; b=lIjTnmWcYXKOwKPvThSncaGR2zGMR9z/+CWcrxS1MJEATHLCoExnqPsDC6x9llXJc IcNlkFHIXnSrxZOwzRTS7SpJaTtaXguqGw70n4XXu1aNiGRj0HwjiyTFgzNzYlGS8c HinRIlL3KGQdXe9uSXu/Stxq8f7pZG72/zkDtmVU= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:48 +0100 Message-Id: <20210315175838.1931-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 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 f6d565e24d..7c3a4109e4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33289,6 +33289,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 Mon Mar 15 17:57: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: 27790 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 4951127BC54; Mon, 15 Mar 2021 18:05: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 AE45A27BC52 for ; Mon, 15 Mar 2021 18:05:07 +0000 (GMT) Received: from localhost ([::1]:36334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLraU-00033S-Ll for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:05:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrUd-0007VY-9m for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53559) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrUd-0007DN-0r for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrUd-0004R6-0K for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 02/51] gnu: Add rust-ruma-identifiers-macros-0.17. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 17:59: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.161583113416972 (code B ref 44492); Mon, 15 Mar 2021 17:59:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:58:54 +0000 Received: from localhost ([127.0.0.1]:36859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUT-0004Pf-Ep for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:53 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:1899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUN-0004Oq-LP for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:51 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzkgR67vtz3x7T for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:58:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831123; bh=Oh5y3KdPIhFHMyhJZnJ+CbFwNZDdTimfSrzyLlzWBgA=; h=From:To:Subject:Date:In-Reply-To:References; b=sIFbVANKEf/S04c1Dhwu087DzUREc9vew0aS+seuscTJBxRqRRxRvbPaMWVhBDq/R IQRPvwvsn2XwztgEWaAjjuSMT/O7s4Hx46I7JpCe33o6DBqVCszKpxYifawAWnFQtZ 4zlAbqDSi2lDXZtiG2U6fhOD3tjGXo9LOJXOr5h8= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:49 +0100 Message-Id: <20210315175838.1931-2-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 7c3a4109e4..9587be832e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33289,6 +33289,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 Mon Mar 15 17:57: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: 27800 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 297AF27BC54; Mon, 15 Mar 2021 18:12: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 9A45727BC52 for ; Mon, 15 Mar 2021 18:12:17 +0000 (GMT) Received: from localhost ([::1]:48740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrhQ-0000Ks-OK for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:12:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrUc-0007UA-PT for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrUc-0007CT-GT for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrUc-0004Qn-D8 for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 03/51] gnu: Add rust-ruma-identifiers-0.17. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 17:59: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.161583113116953 (code B ref 44492); Mon, 15 Mar 2021 17:59:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:58:51 +0000 Received: from localhost ([127.0.0.1]:36856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUR-0004PI-6J for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:51 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:56598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUO-0004P5-TY for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:49 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzkgV0ypVz3xC9 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:58:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831126; bh=Dvd07Hb1UxJfr3mosTZ1GTUXOXq1DswT5ZwZiVxnlqI=; h=From:To:Subject:Date:In-Reply-To:References; b=diZHoab4i5sdMPW4NOJuruC1Q9n/qunZa3EiiPjaB9LlFyWc94E/+Uaf2hE2EPNPQ kw0NYbzn5MpArm69h92cQKW+SJluUL9oQ1bh8g6CrdA8SB2N/nmK4xdggNqiP4mddE /lghd+s7IfXIvVg+7uPea6CnvKF2J1yQ11a3Gk+s= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:50 +0100 Message-Id: <20210315175838.1931-3-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 9587be832e..bc8a8fbae9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33289,6 +33289,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 Mon Mar 15 17:57: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: 27791 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 A585927BC54; Mon, 15 Mar 2021 18:05: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 2BF4227BC52 for ; Mon, 15 Mar 2021 18:05:33 +0000 (GMT) Received: from localhost ([::1]:37172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLraq-0003Pl-Fy for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:05:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrUd-0007Wq-PV for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrUd-0007Do-Em for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrUd-0004RD-EI for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 04/51] gnu: Add rust-entities-1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 17:59: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.161583113416985 (code B ref 44492); Mon, 15 Mar 2021 17:59:03 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:58:54 +0000 Received: from localhost ([127.0.0.1]:36862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUT-0004Ph-R4 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:54 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:56826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUR-0004PH-3g for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:51 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzkgX2rXyz3xNv for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:58:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831128; bh=CSr8+eqyhesnHl2PUqlPcF24M+26/Cqxo1srX0f3KfE=; h=From:To:Subject:Date:In-Reply-To:References; b=VN+rmx4BfcBi3ajAi6zaAKN72yu65PHO2l+M6QuDlR3o3z4l7HRNywlh27c/Zg6w0 UJA5hqZfQBSngfYp5pEmSk7Mt0UapriYJfIJKXt1HWCA8Fd5zuCYiIYw8YkvVNNYqd L+NzD7ljOfmEgWjy28AbmWVCJ7GZJNXlswWtAlWQ= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:51 +0100 Message-Id: <20210315175838.1931-4-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 bc8a8fbae9..78cdc54718 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12889,6 +12889,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 Mon Mar 15 17:57: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: 27792 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 28FA727BC54; Mon, 15 Mar 2021 18:06: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 7DBC227BC52 for ; Mon, 15 Mar 2021 18:06:03 +0000 (GMT) Received: from localhost ([::1]:38038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrbO-0003sT-LZ for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:06:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrUe-0007Xt-7r for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrUd-0007Ds-TZ for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrUd-0004RL-RG for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 05/51] gnu: Add rust-twoway-0.2. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 17:59: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.161583113817010 (code B ref 44492); Mon, 15 Mar 2021 17:59:03 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:58:58 +0000 Received: from localhost ([127.0.0.1]:36866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUY-0004QC-CR for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:58 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:31299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUT-0004Pe-CP for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:53 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzkgZ4CQ6z3xQy for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:58:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831130; bh=hYvCboS1m9jv18aV+3y6K347Xg5dxhcXfS/CyVnjTzs=; h=From:To:Subject:Date:In-Reply-To:References; b=hRADz7S85N5fEtfCXZWMcq8Eq467UxJLILuV1NWI8nVrEL+36L0aEfsXtZUDvQdsT mRGmLVQWpVZ+s2pWT8VaixCbFcF4tli2mWFMD7iJ71JcYsxlnF5yVrnPVR+wJyAJc1 0QWL3GOh5cHMKPZ55fEyzEUhjXVrSfbdtV4SxyrU= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:52 +0100 Message-Id: <20210315175838.1931-5-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 78cdc54718..91bcbacfae 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -45873,8 +45873,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 @@ -45884,20 +45914,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 Mon Mar 15 17:57: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: 27803 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 AEE4327BC54; Mon, 15 Mar 2021 18:24: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 874E627BC52 for ; Mon, 15 Mar 2021 18:24:03 +0000 (GMT) Received: from localhost ([::1]:42322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrso-0001gN-Or for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:24:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrUe-0007ZY-Sk for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrUe-0007Dw-Ih for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrUe-0004Rb-GE for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 06/51] gnu: Add rust-comrak-0.7. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 17:59: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.161583114217046 (code B ref 44492); Mon, 15 Mar 2021 17:59:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:59:02 +0000 Received: from localhost ([127.0.0.1]:36868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUY-0004QJ-O3 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:02 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:31558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUV-0004Q1-Ov for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:56 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzkgc6CwDz3xC9 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:58:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831132; bh=BANHk/7UjZAO/b0D9GLAqC2uMAXluMt1uvjRrXkfN3A=; h=From:To:Subject:Date:In-Reply-To:References; b=Oq13y2hSM3ertx44yPbWfBoxvnNZIAbjYim9uIU0ZkJ58oHDV6uu4AZVwNYWQXdcQ ZnvOFHDa3tKt3yy/3WYn5RlPLNsRVg/wPpTuNyZ6oBJzctXgItwnEhlhKXOVw9SE2+ bnCEiCoDKrqR+dLAGgay0PK4NARtzpOkElLyZcXU= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:53 +0100 Message-Id: <20210315175838.1931-6-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 cf8849cf59..d07aaeb90b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1642,6 +1642,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 91bcbacfae..17ac4a08b4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7766,6 +7766,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 Mon Mar 15 17:57: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: 27797 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 9AC4E27BC54; Mon, 15 Mar 2021 18:10:16 +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 BAA3B27BC52 for ; Mon, 15 Mar 2021 18:10:15 +0000 (GMT) Received: from localhost ([::1]:45858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrfS-0007LX-SI for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:10:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrUf-0007bd-SN for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrUf-0007E5-En for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrUf-0004Rw-Ca for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 07/51] gnu: Add rust-fragile-1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 17:59: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.161583114417082 (code B ref 44492); Mon, 15 Mar 2021 17:59:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:59:04 +0000 Received: from localhost ([127.0.0.1]:36876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUd-0004RJ-Jv for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:03 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:48005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUY-0004QA-04 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:58:58 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzkgg1pt8z3x7T for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:58:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831135; bh=+QR1qapmZERQXcd23E7jhsi7o+ouECusBXN07SEfwY8=; h=From:To:Subject:Date:In-Reply-To:References; b=eK9DkRllc5YL9bd1dVp3OT7hGvSEL6AauxOEXf6ECOrWeWkfoP2FjdAv/cwh92GMT Dw1HDc//RKTsRPT4AejJE3QU5srKV3uiJw3KkHQ2kn07QhYgtmpFy7Es9mm3irBPxP 748DZgJcMiBWzjvx1vT9ZDFhp08DNl3NByhPU7as= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:54 +0100 Message-Id: <20210315175838.1931-7-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 17ac4a08b4..212ae82760 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14575,6 +14575,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 Mon Mar 15 17:57: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: 27804 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 5621827BC54; Mon, 15 Mar 2021 18:24: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 EF20D27BC52 for ; Mon, 15 Mar 2021 18:24:28 +0000 (GMT) Received: from localhost ([::1]:43150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrtE-00021F-3N for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:24:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrUg-0007cy-CR for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53571) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrUg-0007EX-2I for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrUf-0004S9-VB for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 08/51] 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: Mon, 15 Mar 2021 17:59: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.161583114417094 (code B ref 44492); Mon, 15 Mar 2021 17:59:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:59:04 +0000 Received: from localhost ([127.0.0.1]:36879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUe-0004RT-1D for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:04 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:48238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUZ-0004QQ-UT for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:00 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzkgj3R7sz3xC9 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:58:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831137; bh=nykqTyrJr/qzgov2jHfWuQzYDxcZLoffxtjvcY5hYYI=; h=From:To:Subject:Date:In-Reply-To:References; b=JxOOwEzijbxqA9vwImiTxXXNDKw90+ecbg3T3OYprUOL+/oN9E65dB5BSVtTD/h83 LMDzco3K+2bQjIbTHsuQ6HpoR6s+96SfZ7fv1rcIEEpafN32DNeX6WCx0OlwQ/u8kF DScSTFF5qygoC11zmb9i0hzP/EBHw1j/BeOore1Y= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:55 +0100 Message-Id: <20210315175838.1931-8-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 212ae82760..dcd6d89ac2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12587,7 +12587,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) @@ -12596,7 +12596,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 Mon Mar 15 17:57: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: 27801 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 89B7127BC54; Mon, 15 Mar 2021 18:12:49 +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 F3DD627BC52 for ; Mon, 15 Mar 2021 18:12:48 +0000 (GMT) Received: from localhost ([::1]:49602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrhw-0000i7-4H for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:12:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrUh-0007eU-3g for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53572) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrUg-0007FF-OL for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrUg-0004SL-Ld for guix-patches@gnu.org; Mon, 15 Mar 2021 13:59:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 09/51] gnu: Add rust-gspell-sys-0.4. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 17:59: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.161583114517106 (code B ref 44492); Mon, 15 Mar 2021 17:59:06 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:59:05 +0000 Received: from localhost ([127.0.0.1]:36881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUe-0004Rd-G3 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:05 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:32517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUc-0004Qf-7V for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:02 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzkgl33T6z3x7T for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:58:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831139; bh=k2q30N7baqMz5GmlqATIN5zniViskI4Jp6lxrcsywew=; h=From:To:Subject:Date:In-Reply-To:References; b=GLBkzK/nnvGfJHIsRqcYISqCz82HF02Th1LZCYdTz8lHtPmWm2XWp7jhVUa6sGwgC 5BGQRwYl+dzQ78ngy2wpfoilwdw7lMH/y3EbQ04HicNhyAfUvM59+L3Pq8MeCU/c82 ykP6ekgNKNi3+U1yM2CQ5yCWmA4WRUI+89i1l8Co= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:56 +0100 Message-Id: <20210315175838.1931-9-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:57:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27793 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 E1CFF27BC54; Mon, 15 Mar 2021 18:06: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 4738227BC52 for ; Mon, 15 Mar 2021 18:06:39 +0000 (GMT) Received: from localhost ([::1]:38870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrby-0004Eb-Bi for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:06:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrVb-0000Bn-Db for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53596) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrVb-0007hx-0e for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrVa-0004Vi-TM for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 10/51] gnu: Add rust-gspell-0.4. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:00: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.161583115217174 (code B ref 44492); Mon, 15 Mar 2021 18:00:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:59:12 +0000 Received: from localhost ([127.0.0.1]:36891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUm-0004Sv-7C for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:12 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:58646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUe-0004Ra-Ic for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:05 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzkgn53pZz3xNv for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:59:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831141; bh=Ge+dGEvDpFDh40ZnhEvPRtnJ12gDCqIyH1AZvZOb7rA=; h=From:To:Subject:Date:In-Reply-To:References; b=s5dmAnSYm8aLB6D0x1+TZpBfPDkz0XmprVI6kJWt7e0GbhiOfuYmO1URfqY8eBmAW BnFRlXKmrIi8nP0YOC0Wb9WqvZNPyFtodoqpqWUSPlMG0En8Fdbb3E0w+tEZNAeJVg /pG+jK39JO2U9eH/EJzq0MgzvwyBbo1uTxzg7CdM= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:57 +0100 Message-Id: <20210315175838.1931-10-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:57:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27802 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 4093C27BC54; Mon, 15 Mar 2021 18:13:47 +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 BB96F27BC52 for ; Mon, 15 Mar 2021 18:13:46 +0000 (GMT) Received: from localhost ([::1]:50510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrir-00018R-SG for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:13:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrVc-0000Cj-0t for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrVb-0007ip-Hm for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrVb-0004Vw-Ev for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 11/51] gnu: Add rust-muldiv-0.2. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:00: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.161583115317183 (code B ref 44492); Mon, 15 Mar 2021 18:00:03 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:59:13 +0000 Received: from localhost ([127.0.0.1]:36893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUm-0004Sx-JT for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:12 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:49293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUg-0004SJ-PR for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:07 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzkgr0SQMz3x7T for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:59:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831144; bh=SKz/PiVPBzqttVP5fXBdvLyR97n7/3yWWvBCHk3qZT4=; h=From:To:Subject:Date:In-Reply-To:References; b=H5LNoA08ALxECMdIQCKdGb2vzUrt5VRiCCr3qIcEziW0VvLp3xKoh/NSvMyGGLpEn Ll4tASCfR/dNhogJ7ydhUyPHQuLS1v2uZ3+0FNwx3L4yl2Ha7qphvv+s9nniKp9wjZ uGlnVjSUhbuiujzNrIE2g/ZhMD4KvAkiW6FGbG/Y= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:58 +0100 Message-Id: <20210315175838.1931-11-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 dcd6d89ac2..82f619e249 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23947,6 +23947,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 Mon Mar 15 17:57:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27794 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 27CD027BC54; Mon, 15 Mar 2021 18:07: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 9EEA127BC52 for ; Mon, 15 Mar 2021 18:07:14 +0000 (GMT) Received: from localhost ([::1]:39708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrcX-0004d5-MZ for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:07:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrVc-0000DS-GH for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrVb-0007j1-V7 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrVb-0004W3-Tc for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 12/51] gnu: Add rust-gstreamer-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:00: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.161583115317190 (code B ref 44492); Mon, 15 Mar 2021 18:00:03 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:59:13 +0000 Received: from localhost ([127.0.0.1]:36895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUm-0004T6-U4 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:13 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:59254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUj-0004Sk-1d for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:09 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzkgt1w5dz3xC9 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:59:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831146; bh=6Xgk78xQSACc9tfpULy6+O2NIbYgrrAoZXCRkJH7Q4Y=; h=From:To:Subject:Date:In-Reply-To:References; b=b+Z0ZFjztV3LmRhlS9D9nPx02ilOpBGTiUlVFLmmEP1/fPhP/74qbXGn9mFM9Uy5F 8YHMDBbGqtpF4bFB8PmscxQK8cgAdH/+6Kmb5EBefdh/JCcoZxRRlW813PFLWCNzwu daY2mwVBC5SkMHpzscDgsxZoZETZehHNQiAd22gM= From: Leo Prikler Date: Mon, 15 Mar 2021 18:57:59 +0100 Message-Id: <20210315175838.1931-12-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27796 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 B8E4627BC54; Mon, 15 Mar 2021 18:07:47 +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 1FD5F27BC52 for ; Mon, 15 Mar 2021 18:07:47 +0000 (GMT) Received: from localhost ([::1]:41484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrd4-0005O4-8O for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:07:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrVe-0000Ga-D8 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrVd-0007k3-QH for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrVd-0004WY-NC for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 13/51] gnu: Add rust-gstreamer-0.15. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:00: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.161583116817258 (code B ref 44492); Mon, 15 Mar 2021 18:00:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:59:28 +0000 Received: from localhost ([127.0.0.1]:36906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrV1-0004UI-Oh for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:28 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:49858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUl-0004St-Af for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:26 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzkgw3qJDz3xNv for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:59:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831148; bh=i2Y/6zrEzqIPM5P86zqXkA5hMo2wDbmy9IWfLc7jAVk=; h=From:To:Subject:Date:In-Reply-To:References; b=Hd9Cocvy1ND09Gx+hk78evrVGd2O/204oZu64OLmUm1ak8Qu0wyXMemU28Rz/KIBH jzf8LqDE+vQ1ZWFXZsPfwzf6kyAf9YYn6wdvyL5zwneFTofJ8i0Phfi7mJZsXe+NpD wu00mbIO7FK2NG9RDqwo1N2DKd6FyWUXGQ7pUJnw= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:00 +0100 Message-Id: <20210315175838.1931-13-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27795 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 DE59F27BC54; Mon, 15 Mar 2021 18:07: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 6175D27BC52 for ; Mon, 15 Mar 2021 18:07:31 +0000 (GMT) Received: from localhost ([::1]:40588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrco-00050k-Ig for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:07:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrVc-0000EL-SM for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrVc-0007jM-DP for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrVc-0004WB-BN for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 14/51] gnu: Add rust-gstreamer-base-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:00: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.161583116017222 (code B ref 44492); Mon, 15 Mar 2021 18:00:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:59:20 +0000 Received: from localhost ([127.0.0.1]:36900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUu-0004Tg-C6 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:20 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:34187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUn-0004TC-Js for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:13 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzkgy5pSbz3x7T for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:59:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831150; bh=DEAwwH7Z1KujRsJjxghtlbPegpbrapBnO+nad9alvH4=; h=From:To:Subject:Date:In-Reply-To:References; b=p0kAQbpbvygFTluVmqeNId9N+mIEOBWDtaDnGcDJTOKL5qZXNYip82/81owzXAEki YtNPqhoq4DDQzyzOPc7LNX+7yuOInML23/TTkVKFqBz70rKM9HD7HDDLHzK+N1OX5k XL5hd2teEef6noPfSOMYuFx6xsJq6r1BKTq0VEwc= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:01 +0100 Message-Id: <20210315175838.1931-14-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27798 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 6370027BC54; Mon, 15 Mar 2021 18:11:21 +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 D626D27BC52 for ; Mon, 15 Mar 2021 18:11:20 +0000 (GMT) Received: from localhost ([::1]:46764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrgW-0007kX-0r for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:11:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrVd-0000FM-HX for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrVc-0007jm-VC for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrVc-0004WI-Pi for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 15/51] gnu: Add rust-gstreamer-video-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:00: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.161583116117229 (code B ref 44492); Mon, 15 Mar 2021 18:00:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:59:21 +0000 Received: from localhost ([127.0.0.1]:36902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUu-0004Tj-MZ for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:20 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:50530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUp-0004TQ-TJ for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:16 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzkh10kPhz3wZc for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:59:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831153; bh=sg/w+y8o4K88a3x2jj2vfJt6bR1L1RYX/q7smLhdW44=; h=From:To:Subject:Date:In-Reply-To:References; b=VDVM/U7Z2ZYyKPY7aRGcZqC87PeIHR+28+gFOmN2VUaCJQC1bA3oNSaqMr07q9kaN yeKHX1mfrwqF5fh+JV3p+AA8T97ZuU5yHHRy4UV1SKBpl+nUl67Lw+CS4dgAZpTs8u cMQXk3jGRzwdRqXQFNTBtX/7Ed2FaJ4OteVX7MTo= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:02 +0100 Message-Id: <20210315175838.1931-15-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27805 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 1CAAB27BC54; Mon, 15 Mar 2021 18:24:48 +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 9682C27BC52 for ; Mon, 15 Mar 2021 18:24:47 +0000 (GMT) Received: from localhost ([::1]:44040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrtW-0002OI-QR for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:24:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrVd-0000Fj-Qe for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrVd-0007jv-9a for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrVd-0004WP-7y for guix-patches@gnu.org; Mon, 15 Mar 2021 14:00:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 16/51] gnu: Add rust-gstreamer-player-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:00: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.161583116117235 (code B ref 44492); Mon, 15 Mar 2021 18:00:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:59:21 +0000 Received: from localhost ([127.0.0.1]:36904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUv-0004Tq-0j for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:21 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:6086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrUs-0004TY-5s for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:59:18 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzkh32lyBz3xC9 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:59:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615831155; bh=yDsU6IQ1VVBXqdpbuHIDpLjTTd27/uPXcqZ9NVhVC5Y=; h=From:To:Subject:Date:In-Reply-To:References; b=spcuqvrVbL4gsSs7g/+jUIzw2DCfspDFZlSWgzIudhShD0ltGfaI+zSobIuZFk6s/ jld/wRySrnpFcPuDJ7xBs+zR1k1iRPOrVNCHVDQ88yQyB24+nlNEau+7jUY7EzkzwF n8fkq5sOBK35XE7zNE+Pij4rGzafJtkU+Kl3Yw94= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:03 +0100 Message-Id: <20210315175838.1931-16-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27822 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 C6CC627BC54; Mon, 15 Mar 2021 18:44: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 48B6927BC52 for ; Mon, 15 Mar 2021 18:44:02 +0000 (GMT) Received: from localhost ([::1]:48794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsC9-00031q-FZ for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:44:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrox-0006yG-8F for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrow-0007Hq-CE for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrow-00059O-6A for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 17/51] gnu: Add rust-gstreamer-base-0.15. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583236519568 (code B ref 44492); Mon, 15 Mar 2021 18:20:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:25 +0000 Received: from localhost ([127.0.0.1]:36986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroK-00055X-Mb for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:24 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:31511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroI-00055H-5E for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:22 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7B15tyz3xBl for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832358; bh=0HkVE4SUUElsN0+YgsBfqhjMNFH7H6rvoMDrTH9evYA=; h=From:To:Subject:Date:In-Reply-To:References; b=uwbc1fFxjIXH5QAX7s4yf9XCE7HdyZBVXDcf5HKjuXEtkEOfeD9OjI3kwRkkZslTt wIznDlU30Y4TMIoQIEwVGTMtcvTFBdVRmNkyCmNUTT9EJA8+SAnhPDbqF0/FR5XhzO Kq6JHNs7jKxUOEyit3g1ohIP++9qG40LAsGnh284= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:04 +0100 Message-Id: <20210315175838.1931-17-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27821 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 2208D27BC54; Mon, 15 Mar 2021 18:43:54 +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 A2D4827BC52 for ; Mon, 15 Mar 2021 18:43:53 +0000 (GMT) Received: from localhost ([::1]:47940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsC0-0002gi-QB for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:43:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrox-0006yJ-N1 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrox-0007IK-5k for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrow-00059a-Vg for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 18/51] gnu: Add rust-gstreamer-video-0.15. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583236519576 (code B ref 44492); Mon, 15 Mar 2021 18:20:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:25 +0000 Received: from localhost ([127.0.0.1]:36988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroL-00055Z-0f for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:25 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:27582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroJ-00055Q-7t for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:23 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7D3LKSz3xMt for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832360; bh=gvAZvb98dlwf6dUWd2znKlVxIHYACSpHrLUX8ARGL9M=; h=From:To:Subject:Date:In-Reply-To:References; b=f82Ifh1sPJMUSwG9diFgG4H9vT6N0+r0jKcP06toJNfiP0oo7Yv/kfVu4BObNAxsv 8IXuTG7uip6YcJ1m2Ije8n3RNOOB/NZqB2yGWBElaxIkIbQKf94AHm8vR3tSGZiKwu rfsm32H4Cv6KpiAZnXevURNisscLOnCA3Mg0ayMw= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:05 +0100 Message-Id: <20210315175838.1931-18-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27828 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 C41F727BC54; Mon, 15 Mar 2021 18:51: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 3C1CA27BC52 for ; Mon, 15 Mar 2021 18:51:00 +0000 (GMT) Received: from localhost ([::1]:44964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsIt-0004t9-Ak for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:50:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLroy-0006yL-2N for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrox-0007Im-Qv for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrox-00059i-MC for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 19/51] gnu: Add rust-gstreamer-player-0.15. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583237119608 (code B ref 44492); Mon, 15 Mar 2021 18:20:03 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:31 +0000 Received: from localhost ([127.0.0.1]:36993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroQ-000565-GN for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:30 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:27866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroL-00055f-Fy for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:25 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7G5rF2z3x6W for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832362; bh=eXkwd4XWn9eoP4AQGbbMcWh32rl9oqw43KoN47g41lo=; h=From:To:Subject:Date:In-Reply-To:References; b=s7+d09ueznZd/7+iVbWbSmYOyJXCSIFLixeZ28jPyBv/gM6+yZaXzjCdSxhcjm3S1 m46dk6aEon71oRUyvDnCcQxYakcflUoGX7RGYYOqE88o1hvVNLWPjnuwmqkg6IHFzn B6aZLEpwQzrnG7c6Jui8nkvjZURCwYvRnCIlW++E= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:06 +0100 Message-Id: <20210315175838.1931-19-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27823 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 5B5DD27BC54; Mon, 15 Mar 2021 18:44:11 +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 BC1DF27BC52 for ; Mon, 15 Mar 2021 18:44:10 +0000 (GMT) Received: from localhost ([::1]:49662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsCH-0003NV-UT for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:44:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLroy-0006yh-Si for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLroy-0007Jl-DT for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLroy-00059q-9c for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 20/51] gnu: Add rust-gstreamer-audio-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583237119614 (code B ref 44492); Mon, 15 Mar 2021 18:20:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:31 +0000 Received: from localhost ([127.0.0.1]:36995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroQ-00056D-TR for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:31 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:41178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroN-00055u-PJ for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:28 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7K0VS5z3xC9 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832365; bh=hSmI83p2lYwlI6fUt2idlxOlFxjUM9w6iG34d9bx1Qc=; h=From:To:Subject:Date:In-Reply-To:References; b=kYWTpMYFnLJ4JVMuDDFIENZ46a1AahI8apxf/nab0AFh9MwtEm5EkaX4RP3mWIsDX aTjtdHMi7cl8K3eGUjH/EMeuyuicfwTkdl7g1oQH3Q0M6l+xKEBw9hkx6hKHJ2vg9b 2UD6Bsl8Jf2SDzBu8dymzO4DebEhKz6oXfHzbfbQ= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:07 +0100 Message-Id: <20210315175838.1931-20-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27812 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 0924727BC54; Mon, 15 Mar 2021 18:40:07 +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 6052E27BC52 for ; Mon, 15 Mar 2021 18:40:06 +0000 (GMT) Received: from localhost ([::1]:35760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLs8L-0005je-Hk for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:40:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp0-0006zG-MU for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLroy-0007Jw-Rv for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLroy-00059x-Nr for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 21/51] gnu: Add rust-gstreamer-pbutils-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583237619636 (code B ref 44492); Mon, 15 Mar 2021 18:20:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:36 +0000 Received: from localhost ([127.0.0.1]:36999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroW-00056c-Ar for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:36 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:13651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroQ-000564-2V for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:30 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7M2b30z3xBl for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832367; bh=y9KsbcZc6FHpdX+H8YpVWB7W5vAa4rkyfUo5qHyk9ow=; h=From:To:Subject:Date:In-Reply-To:References; b=hgio60LTsVqsjrkcMXxjQdpfcSdBMlM6W91bUb3jCn9b3tFYzNbw+171dinOydmCK iq4t5l+ZoLGEEsl8H5vN/0aqvPgjt83SyBxwOxLAjiz5ACHkL7lphB5uXP40rBWvWC cQ6AjWoOOGXu38KBfECeymU/moWrBdYye3+cbj7c= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:08 +0100 Message-Id: <20210315175838.1931-21-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27816 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 0F77F27BC54; Mon, 15 Mar 2021 18:40: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 8AFCA27BC52 for ; Mon, 15 Mar 2021 18:40:40 +0000 (GMT) Received: from localhost ([::1]:36820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLs8t-0006AI-MB for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:40:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp0-0006zP-Mq for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLroz-0007Jx-Ay for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLroz-0005A4-6j for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 22/51] gnu: Add rust-gstreamer-pbutils-0.15. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583237719644 (code B ref 44492); Mon, 15 Mar 2021 18:20:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:37 +0000 Received: from localhost ([127.0.0.1]:37001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroW-00056f-Nk for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:37 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:28870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroS-00056Q-Ak for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:32 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7P4fykz3xMt for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832369; bh=AjrVjJgwJou+2TVZxg2pwE34/C/ieMPOyNky3lgd2sc=; h=From:To:Subject:Date:In-Reply-To:References; b=hYniPxk6GbLHCH5XwIWrfEe1/F0RgT04r+1zYDZ9YTc+17HJSwf4DsKttN5EIe5au O9QHEZeqOyO7JabuMdU/9ua9prNeehZQfRgR3vD7HvY7KyZgGiaCdVF003Ds5XG/dD i4Poxop/lPivNhyOZt39dNb0cFWSbt3N6jJ/55Yg= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:09 +0100 Message-Id: <20210315175838.1931-22-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58: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: 27825 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 6AB0E27BC54; Mon, 15 Mar 2021 18:44: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 D63D427BC52 for ; Mon, 15 Mar 2021 18:44:36 +0000 (GMT) Received: from localhost ([::1]:51376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsCh-00044J-Sq for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:44:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp3-00071Y-FM for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrp3-0007Mr-2f for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrp2-0005B4-VM for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 23/51] gnu: Add rust-markup5ever-rcdom-0.1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583239419766 (code B ref 44492); Mon, 15 Mar 2021 18:20:08 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:54 +0000 Received: from localhost ([127.0.0.1]:37023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLron-00058V-Bs for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:54 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:42094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroU-00056Z-IF for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:48 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7R6QgXz3xBl for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832371; bh=4Kvou9dJF4MQxhqNxiNCUolxLPIlB+gotLje6l5EFjk=; h=From:To:Subject:Date:In-Reply-To:References; b=dPtseNyekRkT6WKCmuGVG2R3GeIf0wbUDG5esHTREPJNncN/ySeIhLIunkCVXf9iY aYDIhrajCkXFSgGME3/91FqjUGJNzdOuqfG+L7U62rn7qA6KbxodYQK6XPtgJolPiR hW5WycbaSVTZKZHqsftzqNfar9Wk34ToG+EC9S8U= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:10 +0100 Message-Id: <20210315175838.1931-23-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 82f619e249..1536fa5bca 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22668,6 +22668,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 Mon Mar 15 17:58: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: 27813 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 42A9A27BC54; Mon, 15 Mar 2021 18:40: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 7DF1527BC52 for ; Mon, 15 Mar 2021 18:40:07 +0000 (GMT) Received: from localhost ([::1]:35954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLs8M-0005oL-Mu for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:40:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp0-0006zJ-Mj for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLroz-0007Jy-Qr for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLroz-0005AC-MP for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 24/51] gnu: Add rust-ammonia-3. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583238619684 (code B ref 44492); Mon, 15 Mar 2021 18:20:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:46 +0000 Received: from localhost ([127.0.0.1]:37006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroc-00057H-AD for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:46 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:14770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroW-00056d-Pi for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:37 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7V0zTkz3x6W for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832374; bh=l7SUdPSj6049eEJvhYIz4BRgSuuOcdUDxO/DhllUvXs=; h=From:To:Subject:Date:In-Reply-To:References; b=umWBfcxZIoqjS332qzmWbXJAt2JPM9MnagsPiEgJwTIbX7cJeLcx+DNJ6H+p7+0ym CWgG8iMlGlUyVkAjRl3twQPmcAdxbDWWByr8gJfOARq4me2fCi2BKFBfFdvkGcaCJZ 9yM99w3mOaVheNPRnZlRE2KgvXoMf+3kFYIWCOIo= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:11 +0100 Message-Id: <20210315175838.1931-24-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 1536fa5bca..b5f2a57c58 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1725,6 +1725,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 Mon Mar 15 17:58: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: 27824 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 7D85327BC54; Mon, 15 Mar 2021 18:44: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 F114527BC52 for ; Mon, 15 Mar 2021 18:44:18 +0000 (GMT) Received: from localhost ([::1]:50544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsCQ-0003jT-5s for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:44:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp0-0006zo-Tl for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53724) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrp0-0007K8-IB for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrp0-0005AK-Bp for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 25/51] gnu: Add rust-html2pango-0.3. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583238619699 (code B ref 44492); Mon, 15 Mar 2021 18:20:06 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:46 +0000 Received: from localhost ([127.0.0.1]:37010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrog-00057R-6A for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:46 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:42867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroZ-000570-30 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:39 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7X2gtyz3xMt for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832376; bh=fRY1DaIgEim3Emu/7scMjXk81dE+dLslf7j2oykz5dM=; h=From:To:Subject:Date:In-Reply-To:References; b=ScDBXiyg8zuI4M5wEbG/4k7PzDMvzqHOyaxHNkIZbJFgCOaqnyTvnnPIjKI8Dikhs MMM26eaj3xz84MAWCkbyK9w/O6Wt3IqwM6rwezXfbYnztXRlzQ2pW/FBjDJvdn5VwM Bht8/FCoAVCzD9b1vstOCZx3AwNsQywDLwDDwy68= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:12 +0100 Message-Id: <20210315175838.1931-25-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58: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: 27829 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 37FF627BC54; Mon, 15 Mar 2021 18:51:09 +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 925FF27BC52 for ; Mon, 15 Mar 2021 18:51:08 +0000 (GMT) Received: from localhost ([::1]:45834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsJ1-0005Hb-Pw for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:51:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp1-00070T-IJ for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrp1-0007Kq-8r for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrp1-0005Aa-4C for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 26/51] gnu: Add rust-pangocairo-sys-0.11. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583238719706 (code B ref 44492); Mon, 15 Mar 2021 18:20:07 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:47 +0000 Received: from localhost ([127.0.0.1]:37012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrog-00057h-LL for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:47 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:15453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrob-000579-G6 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:42 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7Z4jvTz3xC9 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832378; bh=ABtwKGVyaMVEGzH6Lk43P7B/2JXU1ZnwS7ozVh4tACU=; h=From:To:Subject:Date:In-Reply-To:References; b=XMIkWTpQFkt7Da5t9px1rFLXJ3a+6P2IV9xzuqcgAw5z6OqFU49REbVMeDLieY9/q Rviy4bTuAyeqUVtux56yMITqM/XwK2cCTGNP7A8fif94GizsejckAw6S0ZF2X3NymE r1fidAsW1hcTab9D0iPUI2vwhZA1+I4+dr2dm7aA= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:13 +0100 Message-Id: <20210315175838.1931-26-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58: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: 27818 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 333F427BC54; Mon, 15 Mar 2021 18:41: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 93EB127BC52 for ; Mon, 15 Mar 2021 18:41:16 +0000 (GMT) Received: from localhost ([::1]:37752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLs9T-0006eb-O8 for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:41:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp2-00070V-0N for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrp1-0007Lk-OP for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrp1-0005Ai-KB for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 27/51] gnu: Add rust-pangocairo-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583238719713 (code B ref 44492); Mon, 15 Mar 2021 18:20:07 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:47 +0000 Received: from localhost ([127.0.0.1]:37014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroh-00057n-3x for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:47 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:15453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrod-000579-Ex for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:44 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7d0WWhz3x6W for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832381; bh=RC4J/+lnncVtFtiRcV4K6rNLsupdV5pwXvP8/SUzQA4=; h=From:To:Subject:Date:In-Reply-To:References; b=WrZAeOLBRc+KQ7BIRs7ynRcjDrgKXeEQUguh0sCvABYQAXJcR709ZcVqY11Im1OiW 2JidCPO3XeFpVba813AN2rRyesh2t9Zs/L+J2T30xl93inkR8eEUFe0pFmLOIH5YG9 vgADL8t0VtkN8sKOCY6pBBpIaWj10kx72/DsUMFE= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:14 +0100 Message-Id: <20210315175838.1931-27-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58: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: 27819 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 DD74C27BC54; Mon, 15 Mar 2021 18:41: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 5273C27BC52 for ; Mon, 15 Mar 2021 18:41:25 +0000 (GMT) Received: from localhost ([::1]:38598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLs9c-000757-GR for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:41:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp2-00070i-Hp for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrp2-0007Lz-6w for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrp2-0005Ap-3P for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 28/51] gnu: Add rust-letter-avatar-1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583239219741 (code B ref 44492); Mon, 15 Mar 2021 18:20:08 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:52 +0000 Received: from localhost ([127.0.0.1]:37018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrol-00058J-Iw for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:51 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:15453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrof-000579-Nu for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:46 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7g2Tqpz3xMt for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832383; bh=2eD5gUdWYqBuGZAnwQS6k6hHI5RzL088jqSca8mATqo=; h=From:To:Subject:Date:In-Reply-To:References; b=nBB4ZLj2tWfQzhrqAg9y8YDj5UGxhlaqOv7SwDSjc0+eVgt8AQnAVROiil6EqHFo2 JGzTKnKc78RNHzPdlsj/Sc5ls5rTIMN9ccILOyBrRyvOISyWlY5C11ipW3s01iDK7H WBR+6V9GKEL3p2QkC8gdmt0oIM+RLb80+KBIJt0A= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:15 +0100 Message-Id: <20210315175838.1931-28-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58: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: 27820 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 E18C427BC54; Mon, 15 Mar 2021 18:41: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 6095127BC52 for ; Mon, 15 Mar 2021 18:41:34 +0000 (GMT) Received: from localhost ([::1]:39482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLs9l-0007Qb-IT for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:41:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp3-00071O-8f for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrp2-0007Md-Kt for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrp2-0005Aw-HW for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 29/51] gnu: Add rust-libhandy-sys-0.5. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583239319750 (code B ref 44492); Mon, 15 Mar 2021 18:20:08 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:53 +0000 Received: from localhost ([127.0.0.1]:37020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrom-00058M-Ty for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:53 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:15453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroi-000579-0V for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:48 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7j4SnZz3x6W for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832385; bh=4qwzcOcXZVtG8B/69Nt/MRWTjKLp8d5g+56hZv2vKeU=; h=From:To:Subject:Date:In-Reply-To:References; b=FoFgYMg8xbNrNlv7BbfDijEVi4qsiPKYYyu0P+p/Zp3D5BXfml+pKwo9U5x4SpqNW WW3+CbzqOP1bVe9842D4yaHGO/ZastjnWsK4pknOIvj4Sr+ApWR44M5PchQUMEuOzJ 0sBtXqZkUmrphDuHhmwhTxW9N6Rh6JnwxW4ORAIk= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:16 +0100 Message-Id: <20210315175838.1931-29-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58: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: 27815 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 632BD27BC54; Mon, 15 Mar 2021 18:40: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 D0F1427BC52 for ; Mon, 15 Mar 2021 18:40:29 +0000 (GMT) Received: from localhost ([::1]:36736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLs8h-00067r-Va for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:40:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp3-00071d-RK for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrp3-0007NI-J1 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrp3-0005BD-DZ for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 30/51] gnu: Add rust-libhandy-0.5. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583239419772 (code B ref 44492); Mon, 15 Mar 2021 18:20:09 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:19:54 +0000 Received: from localhost ([127.0.0.1]:37025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroo-00058k-2M for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:54 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:16673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrok-00058C-K8 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:51 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7l6Qlnz3xC9 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832387; bh=j00WnN/WIlkaoQOG11vcXI+HnAfs4XDv4Bx7ZgC6btA=; h=From:To:Subject:Date:In-Reply-To:References; b=Yh/QdHS+wys4ccURIuR0pSyAbahYO5m8OWvaM7n2F4gil5oUu+fRhk9fYe2j0tTU5 hljdmG0/2p5Pdu3xfnPPLh71uQ0PGNRiyGg0srx7EUmvJJALoRcxhoslCmvFc9KkNQ w+5yBBHCZ/r8DYVAQaryjm0O7MM3V74Du4rA0vSY= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:17 +0100 Message-Id: <20210315175838.1931-30-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 Mon Mar 15 17:58: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: 27830 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 01FE427BC54; Mon, 15 Mar 2021 18:51: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 55E7E27BC52 for ; Mon, 15 Mar 2021 18:51:17 +0000 (GMT) Received: from localhost ([::1]:46642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsJA-0005cC-Er for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:51:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp4-00072D-HO for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrp4-0007NW-8P for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrp4-0005BN-40 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 31/51] gnu: Add rust-loggerv-0.7. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583240019787 (code B ref 44492); Mon, 15 Mar 2021 18:20:10 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:20:00 +0000 Received: from localhost ([127.0.0.1]:37028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrou-000594-Hs for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:20:00 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:36298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLron-00058S-0i for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:19:53 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7p1RvDz3xBl for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832390; bh=vzlRWL6V7ixCXsc6yvUpISNiIY2jOnTbRHxtvVs9X9Y=; h=From:To:Subject:Date:In-Reply-To:References; b=m+OKF7Eyn0IwjIaimBzBDCHNaBfNhcXg20QxQDnlk7XsmlSih79wLW2oXnU9oJemi tvzHXMQF656Wxkj2YOsKiTuIRKaZdPDwuBxzC3K7Br01UCY4ZT/xVvrvVeIlliN7lI XZmTOuaXMrymPR1ZtZOaV9qKuw4+9ypI0xQsAhxs= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:18 +0100 Message-Id: <20210315175838.1931-31-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 b5f2a57c58..672bd12f4d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22183,6 +22183,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 Mon Mar 15 17:58: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: 27831 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 39E2827BC54; Mon, 15 Mar 2021 18:51: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 B666627BC52 for ; Mon, 15 Mar 2021 18:51:28 +0000 (GMT) Received: from localhost ([::1]:47474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsJJ-0005xE-TW for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:51:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrp7-00073F-F2 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:23 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrp5-0007PI-3a for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrp5-0005Bd-0E for guix-patches@gnu.org; Mon, 15 Mar 2021 14:20:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 32/51] gnu: Add rust-lmdb-sys-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:20: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.161583240619867 (code B ref 44492); Mon, 15 Mar 2021 18:20:10 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:20:06 +0000 Received: from localhost ([127.0.0.1]:37037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLroz-0005AI-SD for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:20:06 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:36639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrop-00058x-6u for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:20:02 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzl7r3V28z3x6W for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:19:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615832392; bh=7zxFPsxComjpZBwKmQ/UWwcrp5BHWqvfwD8QFBWvoZk=; h=From:To:Subject:Date:In-Reply-To:References; b=S8HQCaUiNXtzIzr+LUoFkcG/T6of9LsWrsegPQQik6VMgGHJ7oHrSwC4+t+V1nyAZ A9M3+24vlESkk4VlR4MT49KIrB1H2RzSHENr+okl2EeZQhMgLjVpV3r4//GHOVI+vF 2QoO0VOhH9tL7zW/o9qkgTEDuj2sOUgZv+yY4oYk= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:19 +0100 Message-Id: <20210315175838.1931-32-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 672bd12f4d..cb9f212b8e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21930,6 +21930,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 Mon Mar 15 17:58: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: 27832 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 0CDB027BC54; Mon, 15 Mar 2021 18:54:53 +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 78F5F27BC52 for ; Mon, 15 Mar 2021 18:54:52 +0000 (GMT) Received: from localhost ([::1]:58548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsMd-00026h-Ja for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:54:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs8I-0005yW-IT for guix-patches@gnu.org; Mon, 15 Mar 2021 14:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs8I-0006t0-9E for guix-patches@gnu.org; Mon, 15 Mar 2021 14:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs8I-0005mF-5j for guix-patches@gnu.org; Mon, 15 Mar 2021 14:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 33/51] gnu: Add rust-lmdb-0.8. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:40: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.161583360022190 (code B ref 44492); Mon, 15 Mar 2021 18:40:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:00 +0000 Received: from localhost ([127.0.0.1]:37102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8G-0005lp-HO for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:00 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:53787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8E-0005lZ-8D for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:39:58 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzlZz1hF3z1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:39:55 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzlZz1hF3z1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833595; bh=i9b6w1D34Fcu4V6+FgZWkf0+lb0kLoRLVhNMcFTANik=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KNBBLnLD0P8f31st2p+5sEo68Hk/2PMmKcvT+ZstXgx260vR1ECVwQJ5N+sgG5lKN ajm6dUyvij7oj3e4nTRpKwCH0ARO2Fu1k7KfyB2M9WouZoypWdwTI4FzIIpIsAHNrM GO3v/+tCMYVl0CEXj0u7+7zFbyjpzA05HPy+Z2JM= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:20 +0100 Message-Id: <20210315175838.1931-33-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 cb9f212b8e..2363a08aeb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21954,6 +21954,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 Mon Mar 15 17:58: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: 27836 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 650F427BC54; Mon, 15 Mar 2021 18:57:49 +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 A0D4627BC52 for ; Mon, 15 Mar 2021 18:57:48 +0000 (GMT) Received: from localhost ([::1]:40128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsPT-0006M6-SP for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:57:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9G-0006i1-VW for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53834) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9G-0007LW-2Y for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9G-0005qu-0J for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 34/51] gnu: Add rust-mdl-1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583360822262 (code B ref 44492); Mon, 15 Mar 2021 18:41:01 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:08 +0000 Received: from localhost ([127.0.0.1]:37107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8J-0005md-PT for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:07 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:3535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8F-0005ld-67 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:39:59 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzlb06fbNz1LBSW for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:39:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzlb06fbNz1LBSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833596; bh=Y1M25+NP2EAAR/zUUwCmMEmAYDEpKC1/Yngs41ctpwk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=d8gMXP7PjSpb8lCT6EqnCg7ZakaMMgmt5XW582DNwwQFdQxTy6FaE86LJt2/DbG1p 4bf2fSPsTsYUIuyiaxyprwBIOqT8jOlpA/XLkpx2ufCRy9ZV1Gs7MZQn159WHoFwmQ LPwSQvJRLRZ8GNrKj5UNXatp0kiuPEstvaHzimRw= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:21 +0100 Message-Id: <20210315175838.1931-34-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 2363a08aeb..ce70671131 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23077,6 +23077,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 Mon Mar 15 17:58: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: 27835 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 C51B927BC55; Mon, 15 Mar 2021 18:57:47 +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 0426227BC54 for ; Mon, 15 Mar 2021 18:57:47 +0000 (GMT) Received: from localhost ([::1]:39982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsPS-0006Ie-2F for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:57:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9G-0006i2-W3 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9G-0007LY-FF for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9G-0005r2-Dm for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 35/51] gnu: Add rust-aes-soft-0.6. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583360822269 (code B ref 44492); Mon, 15 Mar 2021 18:41:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:08 +0000 Received: from localhost ([127.0.0.1]:37111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8N-0005n1-So for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:08 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:3827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8G-0005lq-U7 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:01 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzlb250NXz1DG14 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:39:58 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzlb250NXz1DG14 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833598; bh=MOgS74FGn+K5P9Y1X1BO9Ah+lS0VnlFBgDin7R7/kd4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BwtzHy2tfcKpHu9i3UQTQDsZ9jfipmxm+aK/sWbq0xPDKcuIdrADNjtbhFXBpA+pd 5nztRTibfbJpDR62+wEOyG3O9jhl7uXLktgnNPefCMqxCZW/hBmTk4jxUBiTiqFMfY BE1moLUro0lRlUE/MPlRo0b3ksJnZWC0NQnKmjj4= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:22 +0100 Message-Id: <20210315175838.1931-35-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 ce70671131..8e49848ea5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1263,6 +1263,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 Mon Mar 15 17:58: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: 27839 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 AC92127BC52; Mon, 15 Mar 2021 18:58: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 8733A27BC55 for ; Mon, 15 Mar 2021 18:58:13 +0000 (GMT) Received: from localhost ([::1]:40958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsPs-0006iH-P7 for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:58:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9H-0006ip-JI for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9G-0007Li-TA for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9G-0005r9-Rw for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 36/51] gnu: Add rust-aesni-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583360922282 (code B ref 44492); Mon, 15 Mar 2021 18:41:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:09 +0000 Received: from localhost ([127.0.0.1]:37114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8O-0005n8-Aw for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:08 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:7574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8I-0005mL-Kq for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:03 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzlb43FSvz1LBCr for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:00 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzlb43FSvz1LBCr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833600; bh=F5Ei08sJ+HrBKX8hwXRGCgpQA4nikxLD7hot1i84zqM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JOipiy485R5KBKiTMFbJPWU5jYqFPhbwrZoF9fH/XVO800H/WcfYfMWhQgfOfglYC OzIIcHwvugHRS9LbMX/kmZADPGnxbcJni2+lMYT8plrkm1wt1NPaCe1XhWQaET2RA4 IWwCX1oHrY3agx7bdE4k+BrBEbjfZvlry08BlOwI= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:23 +0100 Message-Id: <20210315175838.1931-36-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 8e49848ea5..ea1ff15b1d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1332,6 +1332,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 Mon Mar 15 17:58: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: 27833 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 F0BDE27BC54; Mon, 15 Mar 2021 18:55: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 43EF727BC52 for ; Mon, 15 Mar 2021 18:55:00 +0000 (GMT) Received: from localhost ([::1]:59318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsMl-0002QR-Di for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:54:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9H-0006ir-KM for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9H-0007Lo-BN for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9H-0005rG-9i for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 37/51] gnu: Add rust-aes-0.6. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583361322310 (code B ref 44492); Mon, 15 Mar 2021 18:41:03 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:13 +0000 Received: from localhost ([127.0.0.1]:37118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8S-0005nk-U5 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:13 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:7803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8K-0005me-D4 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:04 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzlb61FhPz1LWpf for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:02 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzlb61FhPz1LWpf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833602; bh=hpWEoeyzWm3j2xdhzsBtRrAgvFwnpXrqzxdW4TIWogs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=deMMfZn5lTty//AS+h5NjmJ6zyPLv+/fOd5ViBEeJqZZDPrYcu4nUtEK7Vd4BqlSO NFmo9oephuU+1ZcYIyGlGmyBW5CMGHRClqtcnt9K4fMIgPW6xIThBPz0PRb71prLOX TOPg+Ih99iUDm3tYDPAaJTRxVwCwRHfiDXIDmgxc= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:24 +0100 Message-Id: <20210315175838.1931-37-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 ea1ff15b1d..f192479ee7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1162,6 +1162,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 Mon Mar 15 17:58: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: 27834 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 E099327BC54; Mon, 15 Mar 2021 18:55:09 +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 4EE2F27BC52 for ; Mon, 15 Mar 2021 18:55:09 +0000 (GMT) Received: from localhost ([::1]:60156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsMu-0002l3-Hi for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:55:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9J-0006jE-BW for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9H-0007MI-PL for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9H-0005rO-Nf for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 38/51] gnu: Add rust-block-modes-0.7. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583361322317 (code B ref 44492); Mon, 15 Mar 2021 18:41:03 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:13 +0000 Received: from localhost ([127.0.0.1]:37120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8T-0005nm-5n for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:13 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:4630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8M-0005mo-53 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:06 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzlb76bYVz1LWpg for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzlb76bYVz1LWpg DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833603; bh=zvr3kZLaTTWBuSWFtBV9LtH/r6qhVU8GRqXSkBbtxYI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jCWZZ1CjGuFfKA8QEusofmUHxlhF0FZLDMqDYCsXOyHW+UYF1yB9IO+ztX7ZtXI4o fuG90bxuDjFDDEqAWqhYSek2ZVu6yKRDB2PGoMb9jStzgNaCOSpbLxZ07qvgsxgCqp Tz+XBhkAKXW46Srg3OcCEYoW4YDqd2fglBlbBPxQ= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:25 +0100 Message-Id: <20210315175838.1931-38-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 f192479ee7..b9ac0e1915 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5206,6 +5206,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 Mon Mar 15 17:58: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: 27838 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 AAB6F27BC56; Mon, 15 Mar 2021 18:58:13 +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 7CE9927BC54 for ; Mon, 15 Mar 2021 18:58:12 +0000 (GMT) Received: from localhost ([::1]:40874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsPr-0006ff-NC for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:58:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9J-0006jI-DY for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9I-0007Mc-75 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9I-0005rV-5T for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 39/51] gnu: Add rust-hmac-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583362622381 (code B ref 44492); Mon, 15 Mar 2021 18:41:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:26 +0000 Received: from localhost ([127.0.0.1]:37123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8T-0005nu-Jt for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:26 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:12570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8N-0005mz-UR for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:08 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzlb94vCLz1LWpf for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzlb94vCLz1LWpf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833605; bh=Kgw/DXlC2PrhI5ZMRNiOtXMP803nL8Weco3hDz3lsfE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oBOXPELfIJcaN32xjzdH6NHGoCxWHPt/SZtU45l+5FCfs42ys8SEYCibfzv7sDFpO wXl1fEkvj28KViEpHLxMcSjENqQ6Odkpu5WxCkRz4GoEhfwy9wHYSzkp1OCAGZ4sZf BVckOpmL4qGdHxRl7M+PVL8BLZxCem/6RGOixIN0= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:26 +0100 Message-Id: <20210315175838.1931-39-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 b9ac0e1915..e490987c7c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18060,8 +18060,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 @@ -18073,7 +18103,6 @@ Derivation Function (HKDF).") (sha256 (base32 "0h48wc7iysh4xd6ci4prh8bb7nszijrh9w3blaaq8a6cilk8hs0j")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-crypto-mac" ,rust-crypto-mac-0.8) @@ -18081,13 +18110,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 Mon Mar 15 17:58: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: 27842 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 3C12E27BC54; Mon, 15 Mar 2021 18:58: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 A8A7527BC52 for ; Mon, 15 Mar 2021 18:58:22 +0000 (GMT) Received: from localhost ([::1]:41814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsQ1-00075X-PG for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:58:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9J-0006jK-DE for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9I-0007Mf-Ks for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9I-0005rd-JX for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 40/51] gnu: Add rust-hkdf-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583362722389 (code B ref 44492); Mon, 15 Mar 2021 18:41:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:27 +0000 Received: from localhost ([127.0.0.1]:37131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8g-0005ow-DT for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:26 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:55464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8P-0005nR-Mm for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:10 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzlbC3FwTz1LWpg for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzlbC3FwTz1LWpg DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833607; bh=Ihcmp7KfqJ27ugbqsvFFPWjJGcDnOiJqXe71qELgmwg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aF/171ko2ppSrzOz//NQA70xg7iJ7jka1qu1jrnstlgctu1sLY6AEn7YcKK6C40K+ JngkO9tQIx5z+vyzGtIeR4OU0DXQzzvwtKcwojKxlPwqotTQjaw+bUGdql2MSupK6m JJpK7JMvZSnYRu1twWMgTU/gIwoG4jp4ejAjNEA0= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:27 +0100 Message-Id: <20210315175838.1931-40-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 e490987c7c..06ef9ea979 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18013,23 +18013,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) @@ -18038,10 +18039,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 Mon Mar 15 17:58: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: 27837 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 192F327BC54; Mon, 15 Mar 2021 18:58:11 +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 7131327BC52 for ; Mon, 15 Mar 2021 18:58:10 +0000 (GMT) Received: from localhost ([::1]:40638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsPp-0006Zf-GH for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:58:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9J-0006jP-EU for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53841) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9J-0007Mi-4G for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9J-0005rk-1T for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 41/51] gnu: Add rust-dbus-0.2. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583362722396 (code B ref 44492); Mon, 15 Mar 2021 18:41:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:27 +0000 Received: from localhost ([127.0.0.1]:37133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8g-0005p4-RP for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:27 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:55729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8R-0005nb-Ei for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:11 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzlbF1f3Lz1LWpf for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzlbF1f3Lz1LWpf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833609; bh=ZkxWeAK5yjmvEvNbFkvw8tnrkLK9fbgOfC38nF5riFE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ihU1P0AXND7SV6+ql50eC2BwkOKObRstkIO1XaIf8C7OX4FnySCeYuE8EA/JB4avt 1zRLQOtz6FXXt04vP3SIwq9ANNzDQbNzcmu2l81IRkVQxOfPsrzyy+weDSiyJziB3R 7Eeuivgo+f+OCescVgr44Dr80WpP/MZg5z7osL8Q= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:28 +0100 Message-Id: <20210315175838.1931-41-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 Mon Mar 15 17:58: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: 27841 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 33F2127BC54; Mon, 15 Mar 2021 18:58:22 +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 ACE7327BC52 for ; Mon, 15 Mar 2021 18:58:21 +0000 (GMT) Received: from localhost ([::1]:41714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsQ0-00072v-RB for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:58:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9J-0006ki-Su for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9J-0007NI-Ir for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9J-0005rr-Fm for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 42/51] gnu: Add rust-secret-service-1. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583362722404 (code B ref 44492); Mon, 15 Mar 2021 18:41:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:27 +0000 Received: from localhost ([127.0.0.1]:37135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8h-0005pB-7f for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:27 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:13239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8T-0005nj-6r for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:13 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzlbG71JTz1LWpg for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzlbG71JTz1LWpg DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833611; bh=ArI2MmNMf8riwjg0wZZVWBkcw19tlblfbEC8b6VD6rI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mUBBqaUTGcrFMkheqvx2PH14/q2G4tUg0zoyOH5bYukWffxOV1+ziuw0lWT4ZE6MG IOmazI+Wci5U/HU6BYXo2E8DMMQH2lRWXbty0Z+7iBibFMUQSksvHu49nFnE7b+Yj3 ZlyMuPBYSs8NMp1/XmDl2yiZnzIA8w8TXam+d1xw= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:29 +0100 Message-Id: <20210315175838.1931-42-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 Mon Mar 15 17:58: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: 27843 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 CDEB727BC52; Mon, 15 Mar 2021 18:58: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 F1FDC27BC54 for ; Mon, 15 Mar 2021 18:58:29 +0000 (GMT) Received: from localhost ([::1]:42572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsQ9-0007P4-2f for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:58:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9K-0006lA-M1 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9J-0007Nd-Vn for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9J-0005rz-U2 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 43/51] gnu: Add rust-atk-sys-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583362822411 (code B ref 44492); Mon, 15 Mar 2021 18:41:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:28 +0000 Received: from localhost ([127.0.0.1]:37137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8h-0005pK-Nr for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:28 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:13409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8U-0005o7-WA for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:15 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzlbJ5HWsz1LXsR for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzlbJ5HWsz1LXsR DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833612; bh=7rLNAI1yCUgpyfqjNki8tC58uYhL8yKGQgZ1170x88c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ELjnurO/jMYzubLhcEO7O92rhD+BjxWVrzqym2ILrzuOHJUwsYEMrjvCW0Hj1WQcm t8LLBuudjiooabieWJjqoJZ+qZRlnIjZaH3qbmbKKnbYrYPweICIb5cYSAjkZeyKaR Ue65RR907cVnFSkkqE/cCrdyRp9SXPRJ02ioipu0= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:30 +0100 Message-Id: <20210315175838.1931-43-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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-atk-sys-0.10): New variable. --- gnu/packages/crates-gtk.scm | 53 +++++++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index f03cc8c669..b851b00bcc 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -36,8 +36,52 @@ ;;; Please: Try to add new module packages in alphabetic order. ;;; +(define-public rust-atk-sys-0.10 + (package + (name "rust-atk-sys") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "atk-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1knzvq2jdkx1nav619jbqsx2ivzh901rsp2wl57wr50x2fpy8c7m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-gobject-sys" ,rust-gobject-sys-0.10) + ("rust-libc" ,rust-libc-0.2) + ("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) + ("glib" ,glib))) + (home-page "http://gtk-rs.org/") + (synopsis "FFI bindings to libatk-1") + (description "FFI bindings to libatk-1") + (license license:expat))) + (define-public rust-atk-sys-0.9 (package + (inherit rust-atk-sys-0.10) (name "rust-atk-sys") (version "0.9.1") (source @@ -57,14 +101,7 @@ ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) - ("rust-tempfile" ,rust-tempfile-3)))) - (inputs - `(("atk" ,atk) - ("glib" ,glib))) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libatk-1") - (description "FFI bindings to libatk-1") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-atk-0.8 (package From patchwork Mon Mar 15 17:58: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: 27840 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 1125D27BC54; Mon, 15 Mar 2021 18:58: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 754E527BC52 for ; Mon, 15 Mar 2021 18:58:19 +0000 (GMT) Received: from localhost ([::1]:41504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsPy-0006xH-L5 for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:58:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9K-0006lB-LZ for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9K-0007Ne-DI for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9K-0005s6-C7 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 44/51] gnu: Add rust-gtk-sys-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583363722428 (code B ref 44492); Mon, 15 Mar 2021 18:41:06 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:37 +0000 Received: from localhost ([127.0.0.1]:37139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8i-0005pQ-4h for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:37 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:56534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8W-0005oE-Nw for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:17 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzlbL3ZbXz1LXt0 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzlbL3ZbXz1LXt0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833614; bh=25V8hFQlaSvKTEKK+8pk1M+I8E59CwK25YQA3uMO+Ss=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pTd4N2033oU+AxXV03GvYu5mYSHrJKrF1rqe0h2HyI4jYKooi9H9BvK7p46Hppt/D 0bDqOjzCkl/PscC/CBJKMowiqv6NQ2bJqr6eL/p6mdW0f/KAR0QQTegDKi5hV1g+td jAgEzxzvFPowftfiwigkdG+6lUXqhrL2vu554DV4= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:31 +0100 Message-Id: <20210315175838.1931-44-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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-gtk-sys-0.10): New variable. --- gnu/packages/crates-gtk.scm | 53 +++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index b851b00bcc..275eb90f04 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1611,6 +1611,59 @@ GStreamer.") "LGPL-licensed docs for Gtk-rs crates.") (license license:lgpl2.0))) +(define-public rust-gtk-sys-0.10 + (package + (name "rust-gtk-sys") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gtk-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0mq4i161kk6dwiz19ayxgm9fhx7n3r5lm9lbjiyk0qs811pxmb49")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; TODO: ABI mismatch + #:cargo-inputs + (("rust-atk-sys" ,rust-atk-sys-0.10) + ("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-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 + `(("atk" ,atk) + ("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("pango" ,pango))) + (home-page "http://gtk-rs.org/") + (synopsis "FFI bindings to libgtk-3") + (description "This package provides FFI bindings to libgtk-3.") + (license license:expat))) + (define-public rust-gtk-sys-0.9 (package (name "rust-gtk-sys") From patchwork Mon Mar 15 17:58: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: 27845 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 2D6A827BC54; Mon, 15 Mar 2021 18:58: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 90FCC27BC52 for ; Mon, 15 Mar 2021 18:58:38 +0000 (GMT) Received: from localhost ([::1]:43432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsQH-0007kv-Nx for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:58:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9L-0006md-CN for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9K-0007Nu-Sb for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9K-0005sE-R5 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 45/51] gnu: Add rust-atk-0.9. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583363822436 (code B ref 44492); Mon, 15 Mar 2021 18:41:06 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:38 +0000 Received: from localhost ([127.0.0.1]:37141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8r-0005ph-CC for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:37 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:9714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8Y-0005oO-H8 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:19 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzlbN1w4Sz1LXsR for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:16 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzlbN1w4Sz1LXsR DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833616; bh=/SoGONarfOER8xnRj1WvILRbY5SM7AYmHyeXya4JIek=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FZioXNWaAz8M8a2cFZN7PDTHOxF3q18mAgKyB6AxCQ4YCGKBNwuBikrtTF3715GI1 ebOM2AV9GWI124ZFr6TW6uxXEzac8dcHiOheZfgZNabIOODzsW3YsjQlv9U5B5DjmJ sDGjZ7AKVZAk0I94JLqL2NM9+/iHUVBMiZVz1xZY= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:32 +0100 Message-Id: <20210315175838.1931-45-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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-atk-0.9): New variable. --- gnu/packages/crates-gtk.scm | 56 +++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 275eb90f04..4997cb2dff 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -103,8 +103,55 @@ (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-atk-0.9 + (package + (name "rust-atk") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "atk" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09n46zp8jgxspdzhmi93cag79jjnr0ila94n8nr53g8hw88ljaw1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-atk-sys" ,rust-atk-sys-0.10) + ("rust-bitflags" ,rust-bitflags-1) + ("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)) + #: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) + ("glib" ,glib))) + (home-page "http://gtk-rs.org/") + (synopsis "Rust bindings for the ATK library") + (description "Rust bindings for the ATK library") + (license license:expat))) + (define-public rust-atk-0.8 (package + (inherit rust-atk-0.9) (name "rust-atk") (version "0.8.0") (source @@ -125,14 +172,7 @@ ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) - (inputs - `(("atk" ,atk) - ("glib" ,glib))) - (home-page "https://gtk-rs.org/") - (synopsis "Rust bindings for the ATK library") - (description "Rust bindings for the ATK library") - (license license:expat))) + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-cairo-rs-0.9 (package From patchwork Mon Mar 15 17:58: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: 27846 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 8843E27BC54; Mon, 15 Mar 2021 18:58: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 4D50427BC52 for ; Mon, 15 Mar 2021 18:58:57 +0000 (GMT) Received: from localhost ([::1]:44264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsQa-000888-Ep for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:58:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9L-0006mz-IY for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9L-0007OS-AT for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9L-0005sL-8k for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 46/51] gnu: Add rust-gtk-0.9. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583363822443 (code B ref 44492); Mon, 15 Mar 2021 18:41:07 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:38 +0000 Received: from localhost ([127.0.0.1]:37143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8r-0005pp-TT for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:38 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:9898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8a-0005oW-AA for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:20 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzlbQ0Qr4z1LXt0 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:18 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzlbQ0Qr4z1LXt0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833618; bh=hjVuLT3yzI1PjpfD/ocuYmoZR+E21SixrEUsGW/LzN0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eebXqORhB48JyZaRpgr3PbTHEQit3JpKkaHtJ9pNFaP3/uKbtcPxhtHMnVLckM/tz QluqasESIFi2cpy8VioQ1owaslL6mB25mFuNgqVcf61nxkh8O5DxdhNvM/6z4rPSip B8PRuGLhDbVBYpLENbnHqw48o1L+EwKSdfOFxQ1E= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:33 +0100 Message-Id: <20210315175838.1931-46-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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-gtk-0.9): New variable. --- gnu/packages/crates-gtk.scm | 71 +++++++++++++++++++++++++++++++++---- 1 file changed, 65 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 4997cb2dff..ced7b903bc 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1582,8 +1582,72 @@ GStreamer.") (description "This package provides FFI bindings to libgstvideo-1.0.") (license license:expat))) +(define-public rust-gtk-0.9 + (package + (name "rust-gtk") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gtk" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0smdll32vlamp4kvxa6sg5m653icas21jd36fvq3laq7ahh2y0ig")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-atk" ,rust-atk-0.9) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-cairo-rs" ,rust-cairo-rs-0.9) + ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) + ("rust-cc" ,rust-cc-1) + ("rust-gdk" ,rust-gdk-0.13) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.9) + ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10) + ("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-rs-lgpl-docs" + ,rust-gtk-rs-lgpl-docs-0.1) + ("rust-gtk-sys" ,rust-gtk-sys-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pango" ,rust-pango-0.9) + ("rust-pango-sys" ,rust-pango-sys-0.10) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #: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+) + ("pango" ,pango))) + (home-page "http://gtk-rs.org/") + (synopsis "Rust bindings for the GTK+ 3 library") + (description "This package provides Rust bindings for the GTK+ 3 library.") + (license license:expat))) + (define-public rust-gtk-0.8 (package + (inherit rust-gtk-0.9) (name "rust-gtk") (version "0.8.1") (source @@ -1594,7 +1658,6 @@ GStreamer.") (string-append name "-" version ".tar.gz")) (sha256 (base32 "13ygzblfv40l2kp70rnjymz7vk2g2wdjs04lhmk9q8wh0bbyiqc7")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-atk" ,rust-atk-0.8) @@ -1624,11 +1687,7 @@ GStreamer.") ("cairo" ,cairo) ("glib" ,glib) ("gtk+" ,gtk+) - ("pango" ,pango))) - (home-page "https://gtk-rs.org/") - (synopsis "Rust bindings for the GTK+ 3 library") - (description "This package provides Rust bindings for the GTK+ 3 library.") - (license license:expat))) + ("pango" ,pango))))) (define-public rust-gtk-rs-lgpl-docs-0.1 (package From patchwork Mon Mar 15 17:58: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: 27847 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 D035E27BC54; Mon, 15 Mar 2021 18:59:07 +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 3B7CD27BC52 for ; Mon, 15 Mar 2021 18:59:07 +0000 (GMT) Received: from localhost ([::1]:45116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsQk-0008VB-DW for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:59:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9M-0006og-4O for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9L-0007Ob-Pp for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9L-0005sS-Ml for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 47/51] gnu: Add rust-sourceview4-sys-0.2. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583363922451 (code B ref 44492); Mon, 15 Mar 2021 18:41:07 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:39 +0000 Received: from localhost ([127.0.0.1]:37145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8s-0005pw-DH for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:38 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:6527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8c-0005od-3I for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:22 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzlbR5wbBz1LXsR for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzlbR5wbBz1LXsR DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833619; bh=9qgaDP0uOkBqrDVhQIQ9kCpghr/+eyVsLKkrfnLTo7A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KS2/ZBg3Y5v/5yG7jjxOh8waQHeWLNu5jlwsuS7Hba3oNZoDM3cGcmeCEujtQCEA2 9WA2xitB6fCsgYc3OjIyoyHocK6eZnVr9KQQM5yW4ivDTTU3fTPuiTEdNpg2NQLyWu oYOrGZUDWCUKsa2IE2rjCvESBXkYJkkyYgAAGXOg= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:34 +0100 Message-Id: <20210315175838.1931-47-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 ced7b903bc..d8f2080e82 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2343,3 +2343,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 Mon Mar 15 17:58: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: 27844 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 A2ADA27BC52; Mon, 15 Mar 2021 18:58: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 F07CD27BC54 for ; Mon, 15 Mar 2021 18:58:30 +0000 (GMT) Received: from localhost ([::1]:42672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsQA-0007Rj-4P for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 14:58:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLs9M-0006pp-H1 for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLs9M-0007Oi-7l for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLs9M-0005sa-5u for guix-patches@gnu.org; Mon, 15 Mar 2021 14:41:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 48/51] gnu: Add rust-sourceview4-0.2. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 18:41: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.161583363922457 (code B ref 44492); Mon, 15 Mar 2021 18:41:08 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 18:40:39 +0000 Received: from localhost ([127.0.0.1]:37147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8s-0005q4-Sa for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:39 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:6675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLs8d-0005om-Sf for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 14:40:24 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4DzlbT4K76z1LXt0 for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 19:40:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzlbT4K76z1LXt0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615833621; bh=sqaAvMqb0rzIIeAzTHlyN15/I9kk26nlzh2U+pt6r9A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pvgz2AkfrsK40QXyq+HQ+AUgR0JdpaIH3ZWDJiqwtzcq9+7ixZstqPQq8P06s9mdw x8LIW3DMknjK+0YA38g4Nwo6k10Zqqj7sha3lcjEpplTlxOiaWalCMW7Nyy4hRXtKa BKLRFXfQT0RR2L8tnomHAMxbVScagyKT5idI3ORY= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:35 +0100 Message-Id: <20210315175838.1931-48-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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.116 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 d8f2080e82..653abaf272 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2397,3 +2397,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 Mon Mar 15 17:58: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: 27851 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 12D2F27BC54; Mon, 15 Mar 2021 19:12: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 77C8727BC52 for ; Mon, 15 Mar 2021 19:12:29 +0000 (GMT) Received: from localhost ([::1]:56656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsdg-0000B6-Ml for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 15:12:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLsSc-0002cW-8l for guix-patches@gnu.org; Mon, 15 Mar 2021 15:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLsSc-00081M-1J for guix-patches@gnu.org; Mon, 15 Mar 2021 15:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLsSc-0006Px-05 for guix-patches@gnu.org; Mon, 15 Mar 2021 15:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 49/51] gnu: Add rust-sourceview4-for-fractal. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 19:01: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.161583483024602 (code B ref 44492); Mon, 15 Mar 2021 19:01:01 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 19:00:30 +0000 Received: from localhost ([127.0.0.1]:37188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLsS5-0006Oj-Sd for submit@debbugs.gnu.org; Mon, 15 Mar 2021 15:00:30 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:43361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLsS3-0006OS-QO for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 15:00:28 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzm2b6CDpz3xPC for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 20:00:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615834823; bh=2MSqnsvx+f4UzYS4piLYZN1Q8f6M9hrpn3AszR8iPGs=; h=From:To:Subject:Date:In-Reply-To:References; b=LvfarITygoN7shpdQBWzSsIYqAMnATylpKYDzoXbcr2bR4AmiM51PrzDUeNGOADZy lqC7dhrQnoWeigIl0X5yLz1TNA5Z2kBhRs8TQowUY/TRi7QmTBmfJ1F722fw0zyaCx jo2nLePmZLSAy8YrNSnPJjIwD625qJceIaxMsOLQ= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:36 +0100 Message-Id: <20210315175838.1931-49-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 653abaf272..97b9681e6c 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) @@ -2456,3 +2457,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 Mon Mar 15 17:58: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: 27852 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 9A89527BC54; Mon, 15 Mar 2021 19:12: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 0336527BC52 for ; Mon, 15 Mar 2021 19:12:57 +0000 (GMT) Received: from localhost ([::1]:57340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLse8-0000U9-6j for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 15:12:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLsSd-0002cp-Pi for guix-patches@gnu.org; Mon, 15 Mar 2021 15:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53881) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLsSc-00081i-GK for guix-patches@gnu.org; Mon, 15 Mar 2021 15:01:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLsSc-0006Q5-Fc for guix-patches@gnu.org; Mon, 15 Mar 2021 15:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 50/51] gnu: Add rust-letter-avatar-for-fractal. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 19:01: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.161583483224612 (code B ref 44492); Mon, 15 Mar 2021 19:01:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 19:00:32 +0000 Received: from localhost ([127.0.0.1]:37191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLsS8-0006Ot-6V for submit@debbugs.gnu.org; Mon, 15 Mar 2021 15:00:32 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:26478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLsS4-0006OX-MN for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 15:00:29 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzm2f19ddz3xNv for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 20:00:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615834826; bh=crEcRT/QKbLgELUYBZYKBcAGnf115lbhaoZFftgWM9s=; h=From:To:Subject:Date:In-Reply-To:References; b=DWQfDbZrVcJoiZf11rKK5Ao7yl1LIx3XkQPAWb2AlvHuEopEQtFvdsOrXq2DWezdY HE8IU3XD5D4l5JItcDapf7NAWx1TmVqM/DpXGtHiC/+udxYoIGaLSfddOJCmKn833m Vaw79SrvePbbjXO4NylvfJPolyGIsvcwuPBVnqXw= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:37 +0100 Message-Id: <20210315175838.1931-50-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 97b9681e6c..bab1c285eb 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1876,6 +1876,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 Mon Mar 15 17:58: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: 27849 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 DBA6927BC54; Mon, 15 Mar 2021 19:07: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 75B9D27BC52 for ; Mon, 15 Mar 2021 19:07:10 +0000 (GMT) Received: from localhost ([::1]:40344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsYX-0001iP-LS for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 15:07:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLsSd-0002cq-QQ for guix-patches@gnu.org; Mon, 15 Mar 2021 15:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLsSc-00081l-UT for guix-patches@gnu.org; Mon, 15 Mar 2021 15:01:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLsSc-0006QC-Tl for guix-patches@gnu.org; Mon, 15 Mar 2021 15:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v7 51/51] gnu: Add fractal. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 19:01: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.161583484424636 (code B ref 44492); Mon, 15 Mar 2021 19:01:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 19:00:44 +0000 Received: from localhost ([127.0.0.1]:37193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLsSD-0006PB-H0 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 15:00:44 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:48869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLsS7-0006Or-9n for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 15:00:36 -0400 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dzm2h1CmDz3xPF for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 20:00:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615834828; bh=Ym/T6vowLw88a0LpcxJHBGkGwGUxI9UITFD4hygwPIo=; h=From:To:Subject:Date:In-Reply-To:References; b=eEyjCcx89Q6oe5B9VZInVp7gW+O+eVkI50fh9nwRiKic0IHncjCyGv6q3avTejaIe nOzjM7FzBndUV881ZXbISqE7JgQsLe4nb55iwQU/Zd88jOZjq0hVXg7G9HYWzj1P3S ExSgD+KzDHEvx05gKQkabp8zXIjrTvXsXj3kBnXA= From: Leo Prikler Date: Mon, 15 Mar 2021 18:58:38 +0100 Message-Id: <20210315175838.1931-51-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315175838.1931-1-leo.prikler@student.tugraz.at> References: <20210315175838.1931-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 | 143 +++++++++++++++++- ...ractal-switch-from-failure-to-anyhow.patch | 143 ++++++++++++++++++ 3 files changed, 286 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 d07aaeb90b..784d961487 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1007,6 +1007,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 af8722a02e..8b494891c6 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -12138,7 +12138,6 @@ editing environment for translation issues within the GNU gettext/GNOME desktop world.") (license license:gpl3+))) - (define-public ocrfeeder (package (name "ocrfeeder") @@ -12201,3 +12200,145 @@ 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)) + #:install-source? #f + #: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 +