From patchwork Thu Nov 7 22:21:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70067 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 2FF1327BBEA; Thu, 7 Nov 2024 22:25:15 +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 A903E27BBE2 for ; Thu, 7 Nov 2024 22:25:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9Avx-0005ri-K7; Thu, 07 Nov 2024 17:24:58 -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-0005bL-FX for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:36 -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 1t9AvA-0006qy-Pf 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=KGCVMc5xUZwyMiv5CqUL4cbGNmEvYqV/dkOrzL24n0g=; b=MTigF0Ob8zQZdiUcnsmoV3hXZRvcVKtOoGp8Pi0Z2ZwJtWmN07mmb/ri0WYz1tIqyGKii1mMUdlMkbtwr7gFxfxF857PqtgOQINy/zm9BqWLblGdgh1+w9WqJxNEA4oZad0l50JIh2QXKLdB4ogjnrKwxjwbkAZKZe09llhYcIPGmrVwnQUcJdHEFVA7nPZ0bndTZKJQK5NyZXrGFmLs/mSZm6ex5DXgTg+fZbzHJ17ztyPCgvdGprLsp172qg4X9xl6SZwTzLPAUhndNADQfCzOYP6pp5Lfy29GrEYNcoeX+mdfdwRskr3Z7hJndHHgY+/RpQjZgjaKKMrm/fH4kA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9AvA-0007iY-KC; Thu, 07 Nov 2024 17:24:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74233] [PATCHv2 rust-team 14/40] gnu: Add rust-gstreamer-audio-sys-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:08 +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.173101822229345 (code B ref 74233); Thu, 07 Nov 2024 22:24:08 +0000 Received: (at 74233) by debbugs.gnu.org; 7 Nov 2024 22:23:42 +0000 Received: from localhost ([127.0.0.1]:49975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Auj-0007d8-O6 for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:42 -0500 Received: from confino.investici.org ([93.190.126.19]:32827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9AuW-0007ZE-VE for 74233@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018208; bh=KGCVMc5xUZwyMiv5CqUL4cbGNmEvYqV/dkOrzL24n0g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q0aN5dkzFZS1qWai4tk+FMiy3fuvrI0//ij4G/69/oHdv4vg84WTae8yVRYqccx4q WvAEWhFp1L8uGgJ8LOxp1W3qkDoUA3mxXmVe4sMFlknJhS7GG4YMjPrjIyRoTS1Mw4 3CE/sSBbFp2RO119kP9sOGfUa6RZT+zweDFE7KqM= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxRh3bkXz1132; Thu, 7 Nov 2024 22:23:28 +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 4XkxRh2rvSz111Z; Thu, 7 Nov 2024 22:23:28 +0000 (UTC) Date: Thu, 7 Nov 2024 23:21:59 +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-audio-sys-0.21): New variable; (rust-gstreamer-audio-sys-0.18): inherit from rust-gstreamer-audio-sys-0.21. Change-Id: I3a06ef41bb5e2e8a26442c83ab48a250dd5bfd43 --- gnu/packages/crates-gtk.scm | 40 +++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 91d084f5d0..47d7a95208 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2944,26 +2944,29 @@ (define-public rust-gstreamer-audio-0.18 (description "Rust bindings for the GStreamer Audio library.") (license (list license:expat license:asl2.0)))) -(define-public rust-gstreamer-audio-sys-0.18 +(define-public rust-gstreamer-audio-sys-0.21 (package (name "rust-gstreamer-audio-sys") - (version "0.18.3") + (version "0.21.1") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-audio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3")))) + (base32 "1lamp4s9cl0hhpbfcwdprn36fll6qq4xihrqbf2pfwqpifp99gbq")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags + ;; Some symbols are missing, i.e. ?GstDsdFormat? + ;; and more. + `(#:tests? #f + #:cargo-test-flags (list "--release" "--" "--skip=cross_validate_constants_with_c") #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15) ("rust-gobject-sys" ,rust-gobject-sys-0.15) - ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18) - ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18) + ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) @@ -2975,6 +2978,31 @@ (define-public rust-gstreamer-audio-sys-0.18 (description "FFI bindings to libgstaudio, part of Gstreamer.") (license license:expat))) +(define-public rust-gstreamer-audio-sys-0.18 + (package + (inherit rust-gstreamer-audio-sys-0.21) + (name "rust-gstreamer-audio-sys") + (version "0.18.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-audio-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3")))) + (arguments + `(#:cargo-test-flags + (list "--release" "--" + "--skip=cross_validate_constants_with_c") + #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15) + ("rust-gobject-sys" ,rust-gobject-sys-0.15) + ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-gstreamer-base-0.21 (package (name "rust-gstreamer-base")