From patchwork Thu Nov 7 22:21:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70060 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 1388527BBEC; Thu, 7 Nov 2024 22:24:57 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,TVD_SPACE_RATIO,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7601627BBE2 for ; Thu, 7 Nov 2024 22:24:56 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9AvY-0005YA-9c; Thu, 07 Nov 2024 17:24:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9AvM-0005We-S6 for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:20 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9Av8-0006qT-0p for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=88HunKVLtMmLMPv2k2tssLg1U5fo3LuNPxsvCrxRLcs=; b=P4pdSd+p6739GbDy/ePPteBETtPi8daM78cez0x8d8HUjbxs3yabvtkBvJYvKfPp3e+7zEd6DJDNZBQYfqx3WLsxtSl+ZoW1DSiLddpz+/TDoxYlhKsc7KEPCsjYAhVrEQT1AMGo/WIsB40OUHZgxmYG7suqYbeqWznk+I+id+sbcX+U4F47Ie4GJHZwLJaWTXbLiDN+qYdPjAoJs0EnMSoHt/ZgRP0KwXq24A8hX3KCsJzzX4HAeRDUyBKaZEOpzMgZeS4bETPU/W5lgtHKxoKPMdWcNe4ul9PYDVBm6y/Vowym0bN2EAfzZkT7renRLiqw4eyOYkuDrcehR4T5eg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9Av7-0007hi-Qq; Thu, 07 Nov 2024 17:24:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74233] [PATCHv2 rust-team 06/40] gnu: Add rust-gstreamer-0.21. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 07 Nov 2024 22:24:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74233@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74233-submit@debbugs.gnu.org id=B74233.173101822029302 (code B ref 74233); Thu, 07 Nov 2024 22:24:05 +0000 Received: (at 74233) by debbugs.gnu.org; 7 Nov 2024 22:23:40 +0000 Received: from localhost ([127.0.0.1]:49964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Aug-0007cB-Li for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:39 -0500 Received: from confino.investici.org ([93.190.126.19]:32749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9AuU-0007Yd-JQ for 74233@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018206; bh=88HunKVLtMmLMPv2k2tssLg1U5fo3LuNPxsvCrxRLcs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V7uTCaVLMRiZ92AIa0Y1wCH5n4BAtMK7gAmiSs9HIkN+Jhd/LJL9zvKlF0NLaLgMP 9hywlziVRqmWzlEDT/Yz8o8zI/0ienopbiFBAKuCsFYUmPHvvc0QFFEUNWCsizKFQ4 M+SSYb7wOe5c50kegEr7bEpADeDpi8MdA7+MAJg4= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxRf10Dfz111v; Thu, 7 Nov 2024 22:23:26 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkxRf0FkSz1111; Thu, 7 Nov 2024 22:23:26 +0000 (UTC) Date: Thu, 7 Nov 2024 23:21:51 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-0.21): New variable; (rust-gstreamer-0.18): inherit from rust-gstreamer-0.21. Change-Id: Icb016f32975ff6ff7996cdcc793f55177454ea51 --- gnu/packages/crates-gtk.scm | 54 +++++++++++++++++++++++++++++++------ 1 file changed, 46 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index e53f2e3c63..a2e79276cd 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2770,17 +2770,17 @@ (define-public rust-gsk4-sys-0.7 #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gstreamer-0.18 +(define-public rust-gstreamer-0.21 (package (name "rust-gstreamer") - (version "0.18.8") + (version "0.21.3") (source (origin (method url-fetch) (uri (crate-uri "gstreamer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0mjlnw9917j3wwij8225bjp54k7408lxqjjnh6r6wksyryx66qyn")))) + "0mchpvvll5i4ck8zr7aarrz6p975n0dcyy92wksg8ycf9hzp15fy")))) (build-system cargo-build-system) (arguments (list #:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768 @@ -2789,23 +2789,23 @@ (define-public rust-gstreamer-0.18 ("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.15) - ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21) ("rust-libc" ,rust-libc-0.2) ("rust-muldiv" ,rust-muldiv-1) ("rust-num-integer" ,rust-num-integer-0.1) ("rust-num-rational" ,rust-num-rational-0.4) ("rust-once-cell" ,rust-once-cell-1) - ("rust-option-operations" ,rust-option-operations-0.4) + ("rust-option-operations" ,rust-option-operations-0.5) ("rust-paste" ,rust-paste-1) - ("rust-pretty-hex" ,rust-pretty-hex-0.3) + ("rust-pretty-hex" ,rust-pretty-hex-0.4) ("rust-serde" ,rust-serde-1) ("rust-serde-bytes" ,rust-serde-bytes-0.11) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs `(("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-gir-format-check" ,rust-gir-format-check-0.1) - ("rust-ron" ,rust-ron-0.7) + ("rust-ron" ,rust-ron-0.8) ("rust-serde-json" ,rust-serde-json-1)))) (native-inputs (list pkg-config)) (inputs (list glib gstreamer)) @@ -2814,6 +2814,44 @@ (define-public rust-gstreamer-0.18 (description "Rust bindings for GStreamer.") (license (list license:expat license:asl2.0)))) +(define-public rust-gstreamer-0.18 + (package + (inherit rust-gstreamer-0.21) + (name "rust-gstreamer") + (version "0.18.8") + (source (origin + (method url-fetch) + (uri (crate-uri "gstreamer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0mjlnw9917j3wwij8225bjp54k7408lxqjjnh6r6wksyryx66qyn")))) + (arguments + (list #:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768 + #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1) + ("rust-cfg-if" ,rust-cfg-if-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.15) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-muldiv" ,rust-muldiv-1) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-rational" ,rust-num-rational-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-option-operations" ,rust-option-operations-0.4) + ("rust-paste" ,rust-paste-1) + ("rust-pretty-hex" ,rust-pretty-hex-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + `(("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-gir-format-check" ,rust-gir-format-check-0.1) + ("rust-ron" ,rust-ron-0.7) + ("rust-serde-json" ,rust-serde-json-1)))))) + (define-public rust-gstreamer-app-0.18 (package (name "rust-gstreamer-app")