From patchwork Mon Apr 12 09:36:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 28458 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 EF83B27BC86; Mon, 12 Apr 2021 10:37:28 +0100 (BST) 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_H4,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 3206927BC85 for ; Mon, 12 Apr 2021 10:37:28 +0100 (BST) Received: from localhost ([::1]:44752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVt0Z-0008Px-Cc for patchwork@mira.cbaines.net; Mon, 12 Apr 2021 05:37:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVt0E-0008OP-6f for guix-patches@gnu.org; Mon, 12 Apr 2021 05:37:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVt0D-0000aQ-VT for guix-patches@gnu.org; Mon, 12 Apr 2021 05:37:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVt0D-0003Nb-TM for guix-patches@gnu.org; Mon, 12 Apr 2021 05:37:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47643] [PATCH staging v2 7/9] gnu: gst-plugins-bad: Update to 1.18.4. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Apr 2021 09:37:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47643 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 47643@debbugs.gnu.org Cc: iyzsong@outlook.com, rg@raghavgururajan.name, leo@famulari.name Received: via spool by 47643-submit@debbugs.gnu.org id=B47643.161822022112915 (code B ref 47643); Mon, 12 Apr 2021 09:37:05 +0000 Received: (at 47643) by debbugs.gnu.org; 12 Apr 2021 09:37:01 +0000 Received: from localhost ([127.0.0.1]:56506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVt09-0003M9-3U for submit@debbugs.gnu.org; Mon, 12 Apr 2021 05:37:01 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:48213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVt05-0003Lf-P6 for 47643@debbugs.gnu.org; Mon, 12 Apr 2021 05:36:58 -0400 Received: from localhost.localdomain (194-96-13-79.adsl.highway.telekom.at [194.96.13.79]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FJkCW1MbDz3wNt; Mon, 12 Apr 2021 11:36:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1618220215; bh=eK1e0SVssHICAFXiIEWcbPbx97mV91i+SSuPIy5+Ybs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=rxQImAyRl43YH+M0TidaK48R9wDclcooDJcI/scWuC8xCaGy/dJNO6/xv4/NkwELe zIDvuDhImgU48DtXReCGotGw2CKWn8u0XtxUJv9XKTKIpP+4VTM8UsYcm1sqZtFHzo 9dkIuOx0MN/D1GyAPfjRz/zixdedyMT1VQVpniJs= From: Leo Prikler Date: Mon, 12 Apr 2021 11:36:12 +0200 Message-Id: <20210412093614.9393-7-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210412093614.9393-1-leo.prikler@student.tugraz.at> References: <20210412093614.9393-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.117 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 From: Raghav Gururajan * gnu/packages/gstreamer.scm (gst-plugins-bad)[version]: Update to 1.18.4. [arguments](glib-or-gtk): New argument. [phases](adjust-tests): Disable line21. [phases](pre-check): New phase. [propagated-inputs]: Add gstreamer. [native-inputs]: Add gettext-minimal, gsettings-desktop-schemas, perl and xorg-server-for-tests. Replace python with python-wrapper. Signed-off-by: Leo Prikler --- gnu/packages/gstreamer.scm | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index 1af9536001..008161abd6 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -709,17 +709,18 @@ model to base your own plug-in on, here it is.") (define-public gst-plugins-bad (package (name "gst-plugins-bad") - (version "1.18.2") + (version "1.18.4") (source (origin (method url-fetch) (uri (string-append "https://gstreamer.freedesktop.org/src/" name "/" name "-" version ".tar.xz")) (sha256 (base32 - "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5mca")))) + "0py8k4pbalm9mxkpjbjxis0gp7g74wg5g4yax5q8rccmany0ds3l")))) (build-system meson-build-system) (arguments - `(#:phases + `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas + #:phases (modify-phases %standard-phases ,@%common-gstreamer-phases ,@(if (string-prefix? "arm" (or (%current-target-system) @@ -746,21 +747,39 @@ model to base your own plug-in on, here it is.") ;; FIXME: Why is this failing. ((".*elements/dash_mpd\\.c.*") "") + ((".*elements/line21\\.c.*") "") ;; These tests are flaky and occasionally time out: ;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/932 ((".*elements/curlhttpsrc\\.c.*") "") ;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1412 ((".*elements/dtls\\.c.*") "")) - #t)))))) + #t))) + (add-before 'check 'pre-check + (lambda _ + ;; Tests require a running X server. + (system "Xvfb :1 +extension GLX &") + (setenv "DISPLAY" ":1") + ;; Tests write to $HOME. + (setenv "HOME" (getcwd)) + ;; Tests look for $XDG_RUNTIME_DIR. + (setenv "XDG_RUNTIME_DIR" (getcwd)) + ;; For missing '/etc/machine-id'. + (setenv "DBUS_FATAL_WARNINGS" "0") + #t))))) (propagated-inputs - `(("gst-plugins-base" ,gst-plugins-base))) + `(("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base))) (native-inputs - `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. + `(("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") ; for glib-mkenums, etc. ("gobject-introspection" ,gobject-introspection) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ("gst-plugins-good" ,gst-plugins-good) ;for tests + ("perl" ,perl) ("pkg-config" ,pkg-config) - ("python" ,python))) + ("python" ,python-wrapper) + ("xorg-server" ,xorg-server-for-tests))) (inputs ;; XXX: The following dependencies are missing: ;; vo-amrwbenc, vo-aacenc, bs2b, chromaprint, directfb, daala, libdts,