From patchwork Sat May 4 11:35:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64043 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 441EA27BBE2; Sat, 4 May 2024 12:39:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 1A2D027BBE2 for ; Sat, 4 May 2024 12:39:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3Djs-000548-BS; Sat, 04 May 2024 07:39:37 -0400 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 1s3Dj7-0004RW-Q2 for guix-patches@gnu.org; Sat, 04 May 2024 07:38:51 -0400 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 1s3Dj6-0006d6-Eh for guix-patches@gnu.org; Sat, 04 May 2024 07:38:48 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DjT-0004cf-CQ; Sat, 04 May 2024 07:39:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 52/75] gnu: Add rust-gstreamer-base-0.21. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:39:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482270717586 (code B ref 69257); Sat, 04 May 2024 11:39:11 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:38:27 +0000 Received: from localhost ([127.0.0.1]:53103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dik-0004ZU-Mb for submit@debbugs.gnu.org; Sat, 04 May 2024 07:38:27 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56405 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3DiB-0004Lq-U2 for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zP+HF7g8GyrghkDnEk7Ry6/DRAVsGLYRhfV0z4/xgjs=; b=PAVRhALCV0K/ah6aPfylnoQ0EiB9+C+JfmL6QDd//+kyBn26GB/xzHPHvRue0Xrdo+K13d gD//xDgRsMViNGDRqzVgS7+bat7JML1OziBE4sdv98u8FrPYbSPG5+mQV3gFY1CWysDUh+ OJPwtMyrb2iPfTB2WJkgyDAaXjmj4QD78QBhxEaSjKI1s7VfmIZMDY1TGX1hQKDwY18FTI iMGy5kKf9P84dKOvcWX31kKEGOY6Pq1fjPgwgY0RLUQQLAf91J1tb6heIXrzAkHLL9d2km +DipAFtKA6VXx0D/hFwgBOqnNN5QpvzRKThWD6OqNm3Vkaw+A1EkLSrvamUhGg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 0648390e (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:22 +0000 (UTC) Date: Sat, 4 May 2024 13:35:24 +0200 Message-ID: <01d1371bf8f9725be4cf8b4053223196dbbac9e4.1714820130.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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): Add variable. (rust-gstreamer-base-0.18): Inherit from rust-gstreamer-base-0.21. Change-Id: I15f0726dc46c251c3799cdc591c10b99d1f5baff --- gnu/packages/crates-gtk.scm | 53 ++++++++++++++++++++++++++++--------- 1 file changed, 41 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 14f10783f0..9f8a7ae8fa 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2453,34 +2453,63 @@ (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) - ("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)))) + `(#:cargo-test-flags + '("--release" "--" + "--skip=subclass::base_transform::tests::test_transform_subclass") + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)) + #:cargo-inputs + (("rust-atomic-refcell" ,rust-atomic-refcell-0.1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("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)))) (native-inputs (list pkg-config)) (inputs (list glib gstreamer)) (home-page "https://gstreamer.freedesktop.org") (synopsis "Rust bindings for GStreamer Base library") - (description "Rust bindings for GStreamer Base library.") + (description + "This package provides 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")