From patchwork Thu Nov 7 22:21:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70074 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 24B6927BBE2; Thu, 7 Nov 2024 22:25:26 +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 013F027BBE9 for ; Thu, 7 Nov 2024 22:25:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9Aw9-00064H-P8; Thu, 07 Nov 2024 17:25:10 -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 1t9Avb-0005aw-7X for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:35 -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 1t9Av9-0006qt-Rt for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:28 -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=yf6qSSYYGMJA0lWmtYtChIE8gwa8lbjoRav1E9Es8Rg=; b=ucXleHwYyKUA4QaGsMT3QrrgG4KZiGwdBXxmAaeg6ATNrTIOqa/L/+GtsEOu1HSFb3iuI1b+QYxlIDcOvwn0zZqnRt1wPtAEXU1uWAOLsKm22ENqck0AUfpgmD8FoeXF8ALpP+a9gzHGwEo+ww+f8WUl5z3rIuPLn1zL+/Joaf7gXAUNd0XUx1+I1PlINb2Fi6hOQ0YKsmrLnDOqiQoENvL+Yqw7ZofuJ25akqCepAPjI8TDi9ErdrSR5MJIa/B1n0CGBmIbhF9t5p/m6O6q3xVlQ0pQm3Eyghb84z9eVpmk/bl4CJ8y6RKyjlYNtswiHxCj6WJS9tIYIT1Dcb/p7g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9Av9-0007iH-Mk; Thu, 07 Nov 2024 17:24:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74233] [PATCHv2 rust-team 09/40] gnu: Add rust-gstreamer-base-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:07 +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.173101822129330 (code B ref 74233); Thu, 07 Nov 2024 22:24:07 +0000 Received: (at 74233) by debbugs.gnu.org; 7 Nov 2024 22:23:41 +0000 Received: from localhost ([127.0.0.1]:49971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Aui-0007ct-TX for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:41 -0500 Received: from confino.investici.org ([93.190.126.19]:23155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9AuV-0007Yc-6n for 74233@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018207; bh=yf6qSSYYGMJA0lWmtYtChIE8gwa8lbjoRav1E9Es8Rg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HXsp0sYKdcEc9DYLnef2xvFJ9vYK5ks8P4c70IM9Xkr3cw8Ekh2e2ApZk77yhsHKU Ppvdgpo4DAhjl2RcpfkOCxKwl8zhf9tvboxNf3jFKvf1VCQdqEXVezvNMcJxbo8uvo zJIE36T/VkizIyL4ytWMoa3y1K4PkGIDCjymbtVQ= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxRg0N5Nz112P; Thu, 7 Nov 2024 22:23:27 +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 4XkxRf6lLvz111Z; Thu, 7 Nov 2024 22:23:26 +0000 (UTC) Date: Thu, 7 Nov 2024 23:21:54 +0100 Message-ID: <8385a3b8899f42531294c6863a9c99bd56770317.1731018145.git.goodoldpaul@autistici.org> 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-base-0.21): New variable; (rust-gstreamer-base-0.18): inherit from rust-gstreamer-base-0.21. Change-Id: Ic1e4b926f51df7f1e40638881b1ee86cb6b7a4de --- gnu/packages/crates-gtk.scm | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index bbee190a02..cef3465a14 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2975,25 +2975,26 @@ (define-public rust-gstreamer-audio-sys-0.18 (description "FFI bindings to libgstaudio, part of Gstreamer.") (license license:expat))) -(define-public rust-gstreamer-base-0.18 +(define-public rust-gstreamer-base-0.21 (package (name "rust-gstreamer-base") - (version "0.18.0") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-base" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gw6sr75h01y3j6lpxhc7p1frvkba9a4imyyb2ppqh42cprkakr2")))) + (base32 "0zqnld0w2jqkz1m5xna3a3nnrpvrchpcrrzdgwim54540ilhn5fb")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768 - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + #:cargo-inputs (("rust-atomic-refcell" ,rust-atomic-refcell-0.1) + ("rust-bitflags" ,rust-bitflags-1) ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-glib" ,rust-glib-0.15) - ("rust-gstreamer" ,rust-gstreamer-0.18) - ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-gstreamer" ,rust-gstreamer-0.21) + ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (native-inputs (list pkg-config)) @@ -3003,6 +3004,28 @@ (define-public rust-gstreamer-base-0.18 (description "Rust bindings for GStreamer Base library.") (license (list license:expat license:asl2.0)))) +(define-public rust-gstreamer-base-0.18 + (package + (inherit rust-gstreamer-base-0.21) + (name "rust-gstreamer-base") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-base" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gw6sr75h01y3j6lpxhc7p1frvkba9a4imyyb2ppqh42cprkakr2")))) + (arguments + `(#: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-glib" ,rust-glib-0.15) + ("rust-gstreamer" ,rust-gstreamer-0.18) + ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) + (define-public rust-gstreamer-base-sys-0.21 (package (name "rust-gstreamer-base-sys")