From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CB6vBwQabmC7WAAAgWs5BA (envelope-from ) for ; Wed, 07 Apr 2021 22:45:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mFWxAQQabmBFPQAA1q6Kng (envelope-from ) for ; Wed, 07 Apr 2021 20:45:56 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BB9BF1D476 for ; Wed, 7 Apr 2021 22:45:55 +0200 (CEST) Received: from localhost ([::1]:55150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUF3i-00048I-VF for larch@yhetil.org; Wed, 07 Apr 2021 16:45:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUF21-0002MU-Ct for guix-patches@gnu.org; Wed, 07 Apr 2021 16:44:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUF20-0000NT-VQ for guix-patches@gnu.org; Wed, 07 Apr 2021 16:44:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUF20-0005jW-SO for guix-patches@gnu.org; Wed, 07 Apr 2021 16:44:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47643] [PATCH 19/22] gnu: gst-plugins-bad: Update to 1.18.4. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Apr 2021 20:44:08 +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: Raghav Gururajan Received: via spool by 47643-submit@debbugs.gnu.org id=B47643.161782820921838 (code B ref 47643); Wed, 07 Apr 2021 20:44:08 +0000 Received: (at 47643) by debbugs.gnu.org; 7 Apr 2021 20:43:29 +0000 Received: from localhost ([127.0.0.1]:45432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUF1J-0005fz-RC for submit@debbugs.gnu.org; Wed, 07 Apr 2021 16:43:29 -0400 Received: from out0.migadu.com ([94.23.1.103]:62221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUF1D-0005fB-7w for 47643@debbugs.gnu.org; Wed, 07 Apr 2021 16:43:19 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1617828198; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=810FtrVOvYrL+QP59rM/zzBf9juNIa5m7wKTzUGeIdo=; b=HcUOBuugi8f4AoftRqQRqmiPslro3L2lMzZhBRu2dED6W9KDS0JLDXnbABJoyi1vhmZIja ehaVIw8aLjbYX+rw4k84yDdnkxitDePCcF6OH4jbduN7Qx8/vMnaU9IK3NQWV23QJhCtmS /zqv+UH/RewM6bA1l55IOq2Augmlz+me68mlEzbn3yQyDon51EzNo5ZDXIgE//xUtLk2B3 kRnIO1z/K63vP3dtdAhXGeW8O5EsOwozJ7tt6xsWlVkcB+D1ydZ+GlSp5Pfwk6LmZR3u3d kVhvPOwHWFNtWXg7D5zJgQm3BINwOuoKOxj62TQIdNlgwhTQKDp6vGolFWMeig== Date: Wed, 7 Apr 2021 16:42:34 -0400 Message-Id: <20210407204237.3875-19-rg@raghavgururajan.name> In-Reply-To: <20210407204237.3875-1-rg@raghavgururajan.name> References: <20210407204237.3875-1-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: rg@raghavgururajan.name 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: BB9BF1D476 X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: G/3nhNlKRa/2 * gnu/packages/gstreamer.scm (gst-plugins-bad)[version]: Update to 1.18.4. [arguments](glib-or-gtk): New argument. [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. [synopsis]: Modify. [description]: Modify. --- gnu/packages/gstreamer.scm | 40 ++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index 2927856133..77b2988bd5 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -720,17 +720,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) @@ -763,15 +764,32 @@ model to base your own plug-in on, here it is.") ((".*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, @@ -819,10 +837,12 @@ model to base your own plug-in on, here it is.") ("webrtc-audio-processing" ,webrtc-audio-processing) ("wayland" ,wayland))) (home-page "https://gstreamer.freedesktop.org/") - (synopsis "Plugins for the GStreamer multimedia library") + (synopsis "GStreamer plugins and helper libraries") (description - "GStreamer Bad Plug-ins is a set of plug-ins whose quality aren't up to -par compared to the rest.") + "Gst-Plugins-Bad are Bad with a capital B. They look fine on the outside, +and might even appear to get the job done, but at the end of the day they're a +black sheep. Without a golden-haired angel to watch over them, they'll probably +land in an unmarked grave at the final showdown.") (license license:lgpl2.0+))) (define-public gst-plugins-ugly -- 2.31.1