From patchwork Mon Mar 15 17:13: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: 27783 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 34D6227BC54; Mon, 15 Mar 2021 17:30:38 +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 A5FB527BC52 for ; Mon, 15 Mar 2021 17:30:37 +0000 (GMT) Received: from localhost ([::1]:47932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLr35-0004Gs-Jt for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:30:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqo4-0000jo-Qi for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqo2-0005KN-Tn for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqo2-00013M-MG for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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:15: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.16158284703866 (code B ref 44492); Mon, 15 Mar 2021 17:15:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:14:30 +0000 Received: from localhost ([127.0.0.1]:36685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnV-00010H-RN for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:30 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:54551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnT-000108-6p for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:14: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 4DzjhH4QnGz1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:14:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjhH4QnGz1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828463; bh=NBDRgrvvUcRoCd4WeHVczGimykZRjM7pYNB5gj0SoMY=; h=From:To:Subject:Date:From; b=DpPg6pHwqeXwy8awPL4iLTSrJUjHkNc5tafi2/0BfN+dc2Q3toYB+MnmFWHI/gyB0 FWlhUUnT1D8BXWHRsMHMgdS6+pcY6BRjh0oytv24y/m6x6jLR1Q2CAVGSvIUvRKQdi E016caVQ8F1Iy7S5PoFBd1po4diOKH2oJ9+RV3FI= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:26 +0100 Message-Id: <20210315171416.14446-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.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-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:13: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: 27784 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 96E0927BC54; Mon, 15 Mar 2021 17:31: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 4636727BC52 for ; Mon, 15 Mar 2021 17:31:09 +0000 (GMT) Received: from localhost ([::1]:48364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLr3c-0004Xb-CP for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:31:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqo4-0000jp-QU for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqo3-0005Kz-IG for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqo3-00013Z-E5 for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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:15: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.16158284733884 (code B ref 44492); Mon, 15 Mar 2021 17:15:03 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:14:33 +0000 Received: from localhost ([127.0.0.1]:36688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnZ-00010Z-4V for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:33 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:16898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnW-00010Q-KU for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:31 -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 4DzjhN2xZBz1LBSW for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:14:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjhN2xZBz1LBSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828468; bh=Oh5y3KdPIhFHMyhJZnJ+CbFwNZDdTimfSrzyLlzWBgA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IPRtUuJHhJ0KwhylIZZBprkDNnOxQJ3yHdIaDI2MbutaZMEIvPyng9t1KxK523kM+ wAKcskWuCrj51rmGc2nGkNhKqShfo6P8F806phdOPhckxcnCcjgNX22uOTZ9LBwSyO mHBMOgZT0pGoZugoa11wQcykSiuxTDJo+dCHLGtQ= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:27 +0100 Message-Id: <20210315171416.14446-2-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27769 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 2DDFA27BC54; Mon, 15 Mar 2021 17:18: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 DE1C127BC52 for ; Mon, 15 Mar 2021 17:18:16 +0000 (GMT) Received: from localhost ([::1]:55668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqrA-0002yH-23 for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:18:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqo4-0000jr-RN for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqo4-0005L0-0A for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqo3-00013h-SG for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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:15: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.16158284773901 (code B ref 44492); Mon, 15 Mar 2021 17:15:03 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:14:37 +0000 Received: from localhost ([127.0.0.1]:36691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnd-00010q-Ei for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:37 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:13291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqna-00010i-T9 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:35 -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 4DzjhS4m3Rz1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:14:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjhS4m3Rz1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828472; bh=Dvd07Hb1UxJfr3mosTZ1GTUXOXq1DswT5ZwZiVxnlqI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tXR6ffXWpOY/H2pq1zi8R+ye9DmZlL1XpnUbBrUGHb+nAbQqFKbaaFX+w7TIrZknT eefUbWTJsm3F9x9zOORLR3cGVVR9/H2jmC19MF8Ktye+VvK4XesR7S18ocyOP3T2pD 0tcVH9tRU6jASTF7pjrjejk5P4ioW4ib6Kv3548E= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:28 +0100 Message-Id: <20210315171416.14446-3-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27785 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 E393E27BC54; Mon, 15 Mar 2021 17:31: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 3017027BC52 for ; Mon, 15 Mar 2021 17:31:20 +0000 (GMT) Received: from localhost ([::1]:48808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLr3n-0004pF-Bq for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:31:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqo4-0000jq-QZ for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqo4-0005L1-GP for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqo4-00013o-CH for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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:15: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.16158284823920 (code B ref 44492); Mon, 15 Mar 2021 17:15:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:14:42 +0000 Received: from localhost ([127.0.0.1]:36694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnh-00011A-OD for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:42 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:18380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnf-000112-JO for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:14: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 4DzjhY2dprz1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:14:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjhY2dprz1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828477; bh=CSr8+eqyhesnHl2PUqlPcF24M+26/Cqxo1srX0f3KfE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oWxrjiHLiUXmFiA1u87nM+4SYnDrswyIpsAoVImcPpOMP3UNs+sUPlaHlclnPLT8M KBJcg6bYwrUXN1XIwifM+jvjx+LQPHU02El3qhOHVXznkwHeWL1KLcmfJDK+sMwoMT TbH0gNqTikUmcSMXMqyKiGglmPb5b2khNaGesDtQ= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:29 +0100 Message-Id: <20210315171416.14446-4-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27765 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 6A26E27BC54; Mon, 15 Mar 2021 17:15:32 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2031827BC52 for ; Mon, 15 Mar 2021 17:15:32 +0000 (GMT) Received: from localhost ([::1]:51574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqoU-0000po-W6 for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:15:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqo5-0000jt-8g for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqo5-0005LS-0K for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqo4-000142-R7 for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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:15: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.16158284843935 (code B ref 44492); Mon, 15 Mar 2021 17:15:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:14:44 +0000 Received: from localhost ([127.0.0.1]:36697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnk-00011P-45 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:44 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:32399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnj-00011I-9y for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:43 -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 4Dzjhd0Zqcz1LBSW for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:14:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjhd0Zqcz1LBSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828481; bh=hYvCboS1m9jv18aV+3y6K347Xg5dxhcXfS/CyVnjTzs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NVf1h5r1u/O0VUpP9ID7UVmVFOZytHdWwRekntmxCZLjKPv4+jvUPZtgRPQnEkWoq a7YPZC2okQXUCmwQ0IhwRQS8dSWwhwbAZSV+tO/bpknap1Pat0dmdMFjjY/EAK2xDc T+LyeoykGLbOTcL4LoHVm54Ss55NMN2aR74rZ57A= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:30 +0100 Message-Id: <20210315171416.14446-5-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27776 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 4344027BC54; Mon, 15 Mar 2021 17:21:06 +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 9734127BC52 for ; Mon, 15 Mar 2021 17:21:05 +0000 (GMT) Received: from localhost ([::1]:60444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqts-0005Fr-Px for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:21:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqo8-0000l7-I6 for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqo6-0005MA-HX for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqo6-00014W-Bn for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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:15: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.16158284943989 (code B ref 44492); Mon, 15 Mar 2021 17:15:06 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:14:54 +0000 Received: from localhost ([127.0.0.1]:36706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnu-00012B-0D for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:54 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:57766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnm-00011Y-4w for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:52 -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 4Dzjhg678tz1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:14:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjhg678tz1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828483; bh=BANHk/7UjZAO/b0D9GLAqC2uMAXluMt1uvjRrXkfN3A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MXa8UJqDlyfr8GedOG1bKny+CipM90fsXYoHUwmJccDxP9I+NejQzPcpgv9tBJqoa Xt/nBkb4kumfjsKBntEk1joHJgYuKBwfJXTEfakEfNHIetWRKbZmV40nJbP8FQgJyy WGrn5cNnvsb7Dgu0YOkiOvWMLF9biS8ql3WAHKtE= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:31 +0100 Message-Id: <20210315171416.14446-6-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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/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:13: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: 27774 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 C730D27BC54; Mon, 15 Mar 2021 17:20: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 7AFDE27BC52 for ; Mon, 15 Mar 2021 17:20:11 +0000 (GMT) Received: from localhost ([::1]:58696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqt0-0004KR-KQ for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:20:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqo6-0000kP-La for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqo5-0005M4-FJ for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqo5-00014A-AH for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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:15: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.16158284903959 (code B ref 44492); Mon, 15 Mar 2021 17:15:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:14:50 +0000 Received: from localhost ([127.0.0.1]:36701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnq-00011n-FH for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:50 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:15328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqno-00011c-W3 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:14: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 4Dzjhk5gDtz1LBSW for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:14:46 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjhk5gDtz1LBSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828486; bh=+QR1qapmZERQXcd23E7jhsi7o+ouECusBXN07SEfwY8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PRyTip5yBtS96XZcJD3m0+uBQfDhQXh31gZAerWpePrUxhAV5xz4tNsuL0nS039jD IMtWN5an9XH27wEo5bl32HQ78kuRVElhUwvfo2TeHsexGZJe4cr/7bQAqGAPQ8gWwe BVKwydR+Foeqvag9DQuGGYL0MX0UKjqiwcTsXIRw= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:32 +0100 Message-Id: <20210315171416.14446-7-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27773 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 65F3427BC54; Mon, 15 Mar 2021 17:19:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1C4BF27BC52 for ; Mon, 15 Mar 2021 17:19:43 +0000 (GMT) Received: from localhost ([::1]:57534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqsY-0003mZ-7L for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:19:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqo6-0000kY-OT for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqo5-0005M5-Uj for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqo5-00014J-PF for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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:15: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.16158284943982 (code B ref 44492); Mon, 15 Mar 2021 17:15:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:14:54 +0000 Received: from localhost ([127.0.0.1]:36704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnt-000128-Ni for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:53 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:58558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnr-00011u-Df for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:14: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 4Dzjhn3mtTz1LBSW for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:14:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjhn3mtTz1LBSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828489; bh=nykqTyrJr/qzgov2jHfWuQzYDxcZLoffxtjvcY5hYYI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=t83XBnfJTPoVVxQjO92ywTCBOy+oVuKj+YecmhLmyjGBKVv508+Bv2qj8zd8LbEjQ RZS9TXWxjLmHaVdgjKHlSKBxoAZErsEH3nzQeYFPWkGwYTMW9Is0hupH/vBKC0uVrT VS/Nrl8bfRpTdyoP49OpIOwPetRLHRy0Kaf50EaY= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:33 +0100 Message-Id: <20210315171416.14446-8-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27775 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 894A927BC55; Mon, 15 Mar 2021 17:20:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 248B927BC52 for ; Mon, 15 Mar 2021 17:20:55 +0000 (GMT) Received: from localhost ([::1]:59592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqti-0004ke-7W for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:20:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqo8-0000lA-Jj for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqo7-0005Mn-5M for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqo6-00014e-VN for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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:15: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.16158284994014 (code B ref 44492); Mon, 15 Mar 2021 17:15:06 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:14:59 +0000 Received: from localhost ([127.0.0.1]:36710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqny-00012e-NQ for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:58 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:58939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnu-00012A-9o for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:54 -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 4Dzjhr0CBLz1LBSW for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:14:52 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjhr0CBLz1LBSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828492; bh=k2q30N7baqMz5GmlqATIN5zniViskI4Jp6lxrcsywew=; h=From:To:Subject:Date:In-Reply-To:References:From; b=trUmbq5u5GMZTRgY3rtIsIFb4zC6NSS5IGRiGYprxWHtoKJT4MzpciJbSPJAZWBnX ivcTuRq/Iy2JABcWZrsmp+wNV8GwDAE4FxtL09O7x7D9JOhCY51rGJRunwCdVjeDE7 RFMKxFxcHPCbG+yeH4KSnDp533ANHaqcxvSrpwpI= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:34 +0100 Message-Id: <20210315171416.14446-9-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27772 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 F016E27BC54; Mon, 15 Mar 2021 17:18: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 95BE127BC52 for ; Mon, 15 Mar 2021 17:18:37 +0000 (GMT) Received: from localhost ([::1]:56540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqrU-0003LF-ME for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:18:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqo8-0000l9-JY for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53413) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqo8-0005Mu-1Z for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqo7-00014s-TP for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:15: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.16158284994021 (code B ref 44492); Mon, 15 Mar 2021 17:15:07 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:14:59 +0000 Received: from localhost ([127.0.0.1]:36712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnz-00012h-1T for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:59 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:59445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnw-00012U-VP for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:14:57 -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 4Dzjht5VQ1z1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:14:54 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjht5VQ1z1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828494; bh=Ge+dGEvDpFDh40ZnhEvPRtnJ12gDCqIyH1AZvZOb7rA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=F7pmJMa7sX8+5y1OGVhGBa5yaphDOKI51d0er1996ezjogfzmXdhMyS746eQpb3sy hCch9JA3FE/vARXhh1IySACUrgoHyIR4UzLjGzxhQx5b7iy/fVvzLe0psiBX3iEpPQ An9oxCxTkVtrmUHdUGejPb9wPXH2NIqAMLMMMrPQ= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:35 +0100 Message-Id: <20210315171416.14446-10-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27786 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 E23CA27BC54; Mon, 15 Mar 2021 17:32: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 973E127BC52 for ; Mon, 15 Mar 2021 17:32:00 +0000 (GMT) Received: from localhost ([::1]:49242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLr4R-00050i-PY for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:31:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqoA-0000lS-IF for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqo9-0005Nj-Bt for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqo9-00015H-5G for guix-patches@gnu.org; Mon, 15 Mar 2021 13:15:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:15: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.16158285044092 (code B ref 44492); Mon, 15 Mar 2021 17:15:09 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:04 +0000 Received: from localhost ([127.0.0.1]:36720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqo4-00013u-Ee for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:04 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:17043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqnz-00012n-NE for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4Dzjhx3mZ1z1DDYw for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:14:57 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjhx3mZ1z1DDYw DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828497; bh=SKz/PiVPBzqttVP5fXBdvLyR97n7/3yWWvBCHk3qZT4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jQcTCJBxsHQkoB4/7Su4JjsEMiP5l31msFFnQELHvd8AfE10szDjGAdQFMeK0a3Ie 0BnLMRh0+WsgoMNcOGuyLntPwQnuh5nwnZwgmm+DjM6/VisEm796Hby1YK/hRrufk3 NA/vK5bjAtDcs/WllPQIUiB3cCmIjnG6A+zjSFqg= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:36 +0100 Message-Id: <20210315171416.14446-11-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27768 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 16CC427BC54; Mon, 15 Mar 2021 17:18: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 C932127BC52 for ; Mon, 15 Mar 2021 17:18:07 +0000 (GMT) Received: from localhost ([::1]:54842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqr0-0002an-UY for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:18:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp4-0001WT-Id for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp0-0005lv-MQ for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp0-0001A5-Ij for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285094181 (code B ref 44492); Mon, 15 Mar 2021 17:16:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:09 +0000 Received: from localhost ([127.0.0.1]:36732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqo8-000159-PH for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:09 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:17646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqo2-00013K-NR for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4Dzjj00bVFz1LBCr for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:00 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjj00bVFz1LBCr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828500; bh=6Xgk78xQSACc9tfpULy6+O2NIbYgrrAoZXCRkJH7Q4Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=C+W1EQXeWXkxixNUogqIyynNpw2NzOtwSVUhHYfIiqeDlAQWi3kp6VoSHf39Bo7m2 o/t8U/c7sRLuUJuDHgVJIG8owv7UqRxYxxvrcofH8xEvR8Mbjpjl+AEak8/918gTsm wXNeXrzpco21Hsxs6zAuvK5q95R2k8esBUqYDCPo= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:37 +0100 Message-Id: <20210315171416.14446-12-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27778 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 9FE7827BC54; Mon, 15 Mar 2021 17:22: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 5E14C27BC52 for ; Mon, 15 Mar 2021 17:22:07 +0000 (GMT) Received: from localhost ([::1]:33720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqus-0005wE-8l for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:22:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp4-0001WS-Ik for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp1-0005lz-5L for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp1-0001AI-0i for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285104196 (code B ref 44492); Mon, 15 Mar 2021 17:16:02 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:10 +0000 Received: from localhost ([127.0.0.1]:36734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqo9-00015N-8n for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:09 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:18039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqo6-00014B-JS for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4Dzjj32t9Gz1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjj32t9Gz1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828503; bh=i2Y/6zrEzqIPM5P86zqXkA5hMo2wDbmy9IWfLc7jAVk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Dn5N8mKPPOeUAl7EXYxDoic9SfnhuJwN72p8QJVaDcSQ5jhVAD0WFMbWHFE1sWQKN g1DSa4SihQwB4KqiiGEHg1ADC9DsiL9ty+IkqdVmfsCxGXyDk7UUXrJXIWPz2zqTg1 Ojs0Bkqboj74KclKb86mwsvTjjIT4jhrmioATZB4= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:38 +0100 Message-Id: <20210315171416.14446-13-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27767 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 5E67827BC54; Mon, 15 Mar 2021 17:17: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 0ACC827BC52 for ; Mon, 15 Mar 2021 17:17:31 +0000 (GMT) Received: from localhost ([::1]:53854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqqQ-00023y-1e for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:17:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp4-0001WP-IT for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp1-0005m3-K9 for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp1-0001AT-Fo for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285164237 (code B ref 44492); Mon, 15 Mar 2021 17:16:03 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:16 +0000 Received: from localhost ([127.0.0.1]:36739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoF-00016G-VQ for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:16 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:61296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqo8-000150-EO for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4Dzjj61sDvz1DDYw for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:06 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjj61sDvz1DDYw DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828506; bh=DEAwwH7Z1KujRsJjxghtlbPegpbrapBnO+nad9alvH4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=p/Grk8HvsO9/WUh/0pJYJ7BhabNdFY0aqWnpxWp9/9JalVqoNDTD0m2LBD/L2H7kA rCfNJrM1MQ0GS0VjcgUlntgk3etH/MQePzQ1blbqKWM9qBWGZZb+BmcsYDX4pZIH/v s9svtPL+fmcCKrDTM9CQPimBenadobc6v4i/5LTE= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:39 +0100 Message-Id: <20210315171416.14446-14-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27788 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 0F2F927BC54; Mon, 15 Mar 2021 17:33: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 B0F3727BC52 for ; Mon, 15 Mar 2021 17:33:06 +0000 (GMT) Received: from localhost ([::1]:50352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLr5V-0005bw-UX for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:33:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp4-0001WL-HY for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53472) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp2-0005m5-10 for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp1-0001Ac-TX for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285174247 (code B ref 44492); Mon, 15 Mar 2021 17:16:03 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:17 +0000 Received: from localhost ([127.0.0.1]:36741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoG-00016I-AC for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:16 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:18851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoB-00015y-89 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4Dzjj90BzDz1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjj90BzDz1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828509; bh=sg/w+y8o4K88a3x2jj2vfJt6bR1L1RYX/q7smLhdW44=; h=From:To:Subject:Date:In-Reply-To:References:From; b=A9OThBSedt4T5bzFd26tcAkAj8QtSsa+SDkPO1ff4E91tFouCK3xlEu1jK6E2+zj7 NK67K18k8QkM1tmmdqrVL198j2bf4+B8XFylxSB1gpSfXMknA7Yh7RKus9bP6gT7Kk M9xaAH/WY5YEZ0kUTYjUDfUu4o9Diinz7Cptr7GY= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:40 +0100 Message-Id: <20210315171416.14446-15-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27777 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 2B47027BC54; Mon, 15 Mar 2021 17:21:59 +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 DD41A27BC52 for ; Mon, 15 Mar 2021 17:21:58 +0000 (GMT) Received: from localhost ([::1]:33008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLquk-0005ac-3z for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:21:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp4-0001WU-JP for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp2-0005m8-F8 for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp2-0001Aj-Ba for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285174254 (code B ref 44492); Mon, 15 Mar 2021 17:16:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:17 +0000 Received: from localhost ([127.0.0.1]:36743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoG-00016T-VP for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:17 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:23671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoE-000167-Mi for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4DzjjD3VBGz1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjjD3VBGz1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828512; bh=yDsU6IQ1VVBXqdpbuHIDpLjTTd27/uPXcqZ9NVhVC5Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bRQHw7TZXozpIVodaXOULQQd08529CoZY0XVT2Ec5n6qUvoPbzVvSI1b9kurClmPt P5pshe2JT/XDLruD0C7u87DI9BbnE2rPg0jcnBMe/PMgYQMaWJJRwljo1wfxi8FOTa Uc110lG5l+VNCltZ8oS5OBtMd6ftaBhJOC1zZ2iQ= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:41 +0100 Message-Id: <20210315171416.14446-16-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27779 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 763E727BC54; Mon, 15 Mar 2021 17:22: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 34DA427BC52 for ; Mon, 15 Mar 2021 17:22:15 +0000 (GMT) Received: from localhost ([::1]:34388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqv0-0006Cq-Cf for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:22:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp4-0001WR-J3 for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp2-0005mf-TQ for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp2-0001Aq-PK for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285234287 (code B ref 44492); Mon, 15 Mar 2021 17:16:04 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:23 +0000 Received: from localhost ([127.0.0.1]:36748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoN-000173-DE for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:23 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:37599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoH-00016Y-ES for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4DzjjH1mwdz1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjjH1mwdz1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828515; bh=0HkVE4SUUElsN0+YgsBfqhjMNFH7H6rvoMDrTH9evYA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rhsTwg1j5i2BB5j7/bgp2MN9SI4olUC6KBNwLv8UQ23+pq1O+LkUocclmPjBqG78y bnHOANs/yRSSqGFkZUnEgF303aEI9hb7wTArqj3j+HhD9dwJy1fvDKT6glu5Ar5Cw7 tm2tr7CuqZH/KZQAM2KBl4KNRluRhjt3uXErncgU= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:42 +0100 Message-Id: <20210315171416.14446-17-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27766 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 40AFC27BC54; Mon, 15 Mar 2021 17:16: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 4CD5C27BC52 for ; Mon, 15 Mar 2021 17:16:52 +0000 (GMT) Received: from localhost ([::1]:52988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqpn-0001a2-Aw for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:16:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp4-0001WQ-Hz for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp3-0005mn-CV for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp3-0001Ay-8X for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285244293 (code B ref 44492); Mon, 15 Mar 2021 17:16:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:24 +0000 Received: from localhost ([127.0.0.1]:36750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoN-000176-LH for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:23 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:20085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoK-00016o-51 for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4DzjjK6LNQz1LBSW for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:17 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjjK6LNQz1LBSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828517; bh=gvAZvb98dlwf6dUWd2znKlVxIHYACSpHrLUX8ARGL9M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EnlMN749m1g44W9H4gp33j3IpfhH+sqsxhYzVJpCwfOCoASnAsCtGuyHabrOldB/D iX9X15IAhGzjkWBCk0CU5S4dr0JUPafNwMgw+tn8oW4+4UoSJRYtf4A6IXY7YgsEvW p7akjfD/KU+Ex7VUocuHLDeWw1/y5z+bAep+OORs= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:43 +0100 Message-Id: <20210315171416.14446-18-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27787 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 72B4827BC54; Mon, 15 Mar 2021 17:32: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 2951227BC52 for ; Mon, 15 Mar 2021 17:32:17 +0000 (GMT) Received: from localhost ([::1]:49668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLr4i-0005I3-6w for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:32:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp4-0001WO-IL for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp3-0005mq-QM for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp3-0001B5-Me for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285284318 (code B ref 44492); Mon, 15 Mar 2021 17:16:05 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:28 +0000 Received: from localhost ([127.0.0.1]:36754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoS-00017T-1X for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:28 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:24888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoM-00016w-Ly for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4DzjjN3ZMQz1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjjN3ZMQz1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828520; bh=eXkwd4XWn9eoP4AQGbbMcWh32rl9oqw43KoN47g41lo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lxdgmLCryRbd1MQv+uILYsVEUZb2s3t3VVzxAD+kT/1esfmzKDFILnI24aSSzaCun UQSnOupJc5QvB8ligIhPbR/N3C2fHqjYz2dQJqJKO+PH+OAvHNGCZ/cv09iJzWtl6p pO6TpPvjvLWQYcu4Mj2Tf0xOsbx1ceOoAc/2KohY= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:44 +0100 Message-Id: <20210315171416.14446-19-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27782 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 A815A27BC54; Mon, 15 Mar 2021 17:23:38 +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 5CD3427BC52 for ; Mon, 15 Mar 2021 17:23:38 +0000 (GMT) Received: from localhost ([::1]:37178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqwL-0007QA-Hx for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:23:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp4-0001Wd-NO for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp4-0005n5-9w for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp4-0001BD-4Q for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285294324 (code B ref 44492); Mon, 15 Mar 2021 17:16:06 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:29 +0000 Received: from localhost ([127.0.0.1]:36756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoS-00017b-Gn for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:28 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:20851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoP-00017J-6j for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4DzjjQ6xgpz1LBSW for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjjQ6xgpz1LBSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828523; bh=hSmI83p2lYwlI6fUt2idlxOlFxjUM9w6iG34d9bx1Qc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TOy9yX3hOaPees/p6ikLZtUU51Ugm7rGE+Fp8n/d012IAzJclXucMZpS1mvBRIAM5 50U6iOkdMRT4zjR/hqJD7Ql2wKzTyC8lsNudi8adu4T6OjR8QamBjmW4bYe4C12CQr ALXmwjnV05dcm4QBu3C5kmB3eSb2IBnX/xPe/kes= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:45 +0100 Message-Id: <20210315171416.14446-20-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27780 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 ABAD327BC54; Mon, 15 Mar 2021 17:22:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6947927BC52 for ; Mon, 15 Mar 2021 17:22:35 +0000 (GMT) Received: from localhost ([::1]:35068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqvK-0006TZ-Iz for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:22:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp5-0001XQ-0v for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp4-0005nm-Lr for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp4-0001BK-HZ for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285344362 (code B ref 44492); Mon, 15 Mar 2021 17:16:06 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:34 +0000 Received: from localhost ([127.0.0.1]:36762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoX-00018H-Vq for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:34 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:25695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoR-00017S-Qq for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4DzjjT3wqtz1LBRx for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:25 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjjT3wqtz1LBRx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828525; bh=y9KsbcZc6FHpdX+H8YpVWB7W5vAa4rkyfUo5qHyk9ow=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vKWiEky1V+/pTV8XhajNUfNjFpjDm/TZHQmwlddh4BEEBrUvVpatF2KbDnzqZAEqa 4xmgPcORcY7oXjo/RmrBPDKcH2mXQc+UCh9vBrJoQdIarlI9HxDue81l6JDBz+WBKl /Q40ZGJqJDa/YlEO6kR9LNjRS/wbfo9PtbiCdiis= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:46 +0100 Message-Id: <20210315171416.14446-21-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27789 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 05D7427BC54; Mon, 15 Mar 2021 17:33: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 B9A0427BC52 for ; Mon, 15 Mar 2021 17:33:28 +0000 (GMT) Received: from localhost ([::1]:51264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLr5r-00063a-RX for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:33:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp5-0001Yb-EN for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53479) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp5-0005oB-4i for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp5-0001BR-04 for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285404390 (code B ref 44492); Mon, 15 Mar 2021 17:16:06 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:40 +0000 Received: from localhost ([127.0.0.1]:36764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoY-00018J-AA for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:40 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:64335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoU-00017o-Bn for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4DzjjX14tpz1DDYw for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjjX14tpz1DDYw DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828528; bh=AjrVjJgwJou+2TVZxg2pwE34/C/ieMPOyNky3lgd2sc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tyF0OR2aYWzH9mqCsDjFn3bjV1SHBe0Yi6T1q4p1kHB01Nt11UuZUoj/CnJCIv9Ib svtH/6ZpJjg36EmJhz2/dQVI2iK+L4bni9heNmkB88VoUkmaU6HOYawnwweM9CO5mP +PfdkoZ9Rtg1Te4YjV6fkYK2ctiSu40JRr3noE/I= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:47 +0100 Message-Id: <20210315171416.14446-22-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27770 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 DA93727BC54; Mon, 15 Mar 2021 17:18: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 8F0EF27BC52 for ; Mon, 15 Mar 2021 17:18:17 +0000 (GMT) Received: from localhost ([::1]:55728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqrA-0002zu-Lh for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:18:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp5-0001ZW-Su for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53480) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp5-0005oO-JC for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp5-0001Bb-ED for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285414404 (code B ref 44492); Mon, 15 Mar 2021 17:16:07 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:41 +0000 Received: from localhost ([127.0.0.1]:36770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqof-00018s-AJ for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:41 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:26481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoX-000184-3y for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:33 -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 4DzjjZ6rq6z1LBCr for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4DzjjZ6rq6z1LBCr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828531; bh=4Kvou9dJF4MQxhqNxiNCUolxLPIlB+gotLje6l5EFjk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=s+0R5K4WfGc6XomYqywIR9OppOTjbfNyb8juSyMcx/Rr67cHpync52Zpb7tALsziO kdbHVcehNCdOXFcfzOMo/tjRv6xIsEmd2haTKp0jrwvRq4UU+AaPiYojRTL9D3cvSt nWXbhrKBTpxj88Z5UhzaV/v1pDeULw0MaevRdNf8= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:48 +0100 Message-Id: <20210315171416.14446-23-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27781 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 DF36327BC54; Mon, 15 Mar 2021 17:22:44 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9448027BC52 for ; Mon, 15 Mar 2021 17:22:44 +0000 (GMT) Received: from localhost ([::1]:35758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqvT-0006nR-Pt for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:22:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp6-0001aH-9n for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53481) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp6-0005oa-0t for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp5-0001Bj-T3 for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285424411 (code B ref 44492); Mon, 15 Mar 2021 17:16:07 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:42 +0000 Received: from localhost ([127.0.0.1]:36772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqof-00018z-KB for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:41 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:22486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoa-00018R-IG for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4Dzjjf2kW5z1LBCr for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjjf2kW5z1LBCr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828534; bh=l7SUdPSj6049eEJvhYIz4BRgSuuOcdUDxO/DhllUvXs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BBdKjSJpK9npNndZd4jNg+50ToGk7x9hq5Gb/aqcZSxT0plaCMCuSrjr70eLMYgd4 HMq4ozbE7WRqm0zRpLI0oAwkGTqxp6xqjB9BMjl/7xD5nkKTZcQ3hJvhPqlBp76uQE l9slEaq2BweptQ0K5/I51SlI0C2tG6bcqYaGWwAU= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:49 +0100 Message-Id: <20210315171416.14446-24-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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:13: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: 27771 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 1FBC927BC54; Mon, 15 Mar 2021 17:18: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 CFE4927BC52 for ; Mon, 15 Mar 2021 17:18:36 +0000 (GMT) Received: from localhost ([::1]:56602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLqrT-0003Mj-TT for patchwork@mira.cbaines.net; Mon, 15 Mar 2021 13:18:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLqp6-0001bE-SN for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLqp6-0005pD-Er for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLqp6-0001Br-Ae for guix-patches@gnu.org; Mon, 15 Mar 2021 13:16:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v6 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 17:16: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.16158285464431 (code B ref 44492); Mon, 15 Mar 2021 17:16:08 +0000 Received: (at 44492) by debbugs.gnu.org; 15 Mar 2021 17:15:46 +0000 Received: from localhost ([127.0.0.1]:36776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqoj-00019K-Df for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:15:45 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:40678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLqod-00018b-Ag for 44492@debbugs.gnu.org; Mon, 15 Mar 2021 13:15: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 4Dzjjj0pMtz1LBCr for <44492@debbugs.gnu.org>; Mon, 15 Mar 2021 18:15:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dzjjj0pMtz1LBCr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1615828537; bh=fRY1DaIgEim3Emu/7scMjXk81dE+dLslf7j2oykz5dM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rm1jzXNIE91VgwmQDvy6X2j7J5vz1+axUmZUBmO60hpA/hn0Y3dX60qiuNKyB5FkL BnOsIbXdWBZ6HXQ0NVaKcxM2kkvfI0s0EJOd1rTbnwjL6dtTlCOuEUcrlLd7Pfo/wD qKr0yLQyqH/pwz72KDyXTEfhb3dD5r2XlCFE4E4g= From: Leo Prikler Date: Mon, 15 Mar 2021 18:13:50 +0100 Message-Id: <20210315171416.14446-25-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315171416.14446-1-leo.prikler@student.tugraz.at> References: <20210315171416.14446-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-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")