From patchwork Fri Apr 9 18:38:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 28429 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 714D627BC6F; Fri, 9 Apr 2021 19:40:53 +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 0BABD27BC6E for ; Fri, 9 Apr 2021 19:40:52 +0100 (BST) Received: from localhost ([::1]:56788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUw3n-0003Y4-4R for patchwork@mira.cbaines.net; Fri, 09 Apr 2021 14:40:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUw31-0003Bt-8E for guix-patches@gnu.org; Fri, 09 Apr 2021 14:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUw31-0003gD-0X for guix-patches@gnu.org; Fri, 09 Apr 2021 14:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUw30-0005zJ-UK for guix-patches@gnu.org; Fri, 09 Apr 2021 14:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47643] [PATCH staging 02/10] gnu: gst-plugins-base: Update to 1.18.4. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Apr 2021 18:40:02 +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: rg@raghavgururajan.name, leo@famulari.name Received: via spool by 47643-submit@debbugs.gnu.org id=B47643.161799357122856 (code B ref 47643); Fri, 09 Apr 2021 18:40:02 +0000 Received: (at 47643) by debbugs.gnu.org; 9 Apr 2021 18:39:31 +0000 Received: from localhost ([127.0.0.1]:50852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUw2U-0005wa-Jb for submit@debbugs.gnu.org; Fri, 09 Apr 2021 14:39:30 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:24018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUw2R-0005wJ-LP for 47643@debbugs.gnu.org; Fri, 09 Apr 2021 14:39:28 -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 4FH6Nr69F6z3wZl; Fri, 9 Apr 2021 20:39:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1617993564; bh=num5neNJrCSHtutGhh6S0q+0lj7f63+DyDt1VB7t8bQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=lfr20VA5ldAIt7QN2CVr2HXGENlbL8fjL1RwLVgp7PFc0gXRrlA9U/za4Sx2kmTmI bSalKOlynRKf44GyY5KqH13+JGYtJZqxYLsDpsSeI3u99nR6aF1Nq4UtkeZFqMznGL zJ6WE50Du+YlJJIcS3BHYT56XqWDajNGn6kIV60E= From: Leo Prikler Date: Fri, 9 Apr 2021 20:38:51 +0200 Message-Id: <20210409183900.24175-3-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210409183900.24175-1-leo.prikler@student.tugraz.at> References: <20210409183900.24175-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-base)[version]: Update to 1.18.4. [arguments](glib-or-gtk): New argument. [configure-flags](gl): Remove flag. [phases](pre-check): New phase. [native-inputs]: Add gettext-minimal, gsettings-desktop-schemas, perl and xorg-server-for-tests. [propagated-inputs]: Add glib-networking. [synopsis]: Fix indentation. Signed-off-by: Leo Prikler --- gnu/packages/gstreamer.scm | 48 +++++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index 1f0033ef42..5764b6d149 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -536,19 +536,20 @@ This package provides the core library and elements.") (define-public gst-plugins-base (package (name "gst-plugins-base") - (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 - "1b05kg46azrxxvq42c71071lfsnc34pw4vynnkczdqi6g0gzn16x")))) + (method url-fetch) + (uri (string-append "https://gstreamer.freedesktop.org/src/" name "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "08w3ivbc6n4vdds2ap6q7l8zdk9if8417nznyqidf0adm0lk5r99")))) (build-system meson-build-system) (propagated-inputs - `(("glib" ,glib) ;required by gstreamer-sdp-1.0.pc - ("gstreamer" ,gstreamer) ;required by gstreamer-plugins-base-1.0.pc + `(("glib" ,glib) ; required by gstreamer-sdp-1.0.pc + ("glib-networking" ,glib-networking) + ("gstreamer" ,gstreamer) ; required by gstreamer-plugins-base-1.0.pc ;; XXX: Do not enable Orc optimizations on ARM systems because ;; it leads to two test failures. @@ -570,12 +571,16 @@ This package provides the core library and elements.") ("alsa-lib" ,alsa-lib) ("opus" ,opus))) (native-inputs - `(("pkg-config" ,pkg-config) - ("glib:bin" ,glib "bin") - ("gobject-introspection" ,gobject-introspection) - ("python-wrapper" ,python-wrapper))) + `(("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("perl" ,perl) + ("pkg-config" ,pkg-config) + ("python-wrapper" ,python-wrapper) + ("xorg-server" ,xorg-server-for-tests))) (arguments - `(#:configure-flags '("-Dgl=disabled") + `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas #:phases (modify-phases %standard-phases ,@%common-gstreamer-phases @@ -583,10 +588,21 @@ This package provides the core library and elements.") (lambda _ (substitute* "tests/check/libs/pbutils.c" (("/bin/sh") (which "sh"))) + #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))))) (home-page "https://gstreamer.freedesktop.org/") - (synopsis - "Plugins for the GStreamer multimedia library") + (synopsis "Plugins for the GStreamer multimedia library") (description "This package provides an essential exemplary set of plug-ins for the GStreamer multimedia library.") (license license:lgpl2.0+)))