From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wODyFmEbdGALBQAAgWs5BA (envelope-from ) for ; Mon, 12 Apr 2021 12:05:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0Li7EGEbdGCaPgAAbx9fmQ (envelope-from ) for ; Mon, 12 Apr 2021 10:05:21 +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 4F006166EF for ; Mon, 12 Apr 2021 11:37:39 +0200 (CEST) Received: from localhost ([::1]:45356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVt0k-0000G4-I2 for larch@yhetil.org; Mon, 12 Apr 2021 05:37:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVt0B-0008OJ-RK for guix-patches@gnu.org; Mon, 12 Apr 2021 05:37:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVt0B-0000Z3-Dt for guix-patches@gnu.org; Mon, 12 Apr 2021 05:37:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVt0B-0003Mo-BT for guix-patches@gnu.org; Mon, 12 Apr 2021 05:37:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47643] [PATCH staging v2 3/9] gnu: gst-plugins-base: Enable more features. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Apr 2021 09:37:03 +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, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , leo@famulari.name Received: via spool by 47643-submit@debbugs.gnu.org id=B47643.161822021212832 (code B ref 47643); Mon, 12 Apr 2021 09:37:03 +0000 Received: (at 47643) by debbugs.gnu.org; 12 Apr 2021 09:36:52 +0000 Received: from localhost ([127.0.0.1]:56491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVszz-0003Ko-RH for submit@debbugs.gnu.org; Mon, 12 Apr 2021 05:36:52 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:60036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVszx-0003KT-OR for 47643@debbugs.gnu.org; Mon, 12 Apr 2021 05:36:50 -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 4FJkCM10Z5z3wVt; Mon, 12 Apr 2021 11:36:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1618220207; bh=tBnvUtoeMzmoMsVMNJZer7ZxJw+J2O6TgGrDBweycmQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=UJw3IY1wHyID9ypBaghkyCM6O4xucYgeq6M2LcqOWjz92SuM/VwuXldKEdFP6CnxV BBb7LjcZVl2njb/9Lpf7EtaSUg8tCRSL+beTpW727SEMDrGMDEEvBTKOjiIQsMpx+I wVS1xSijLezCsNXM/maS+cY28Fs/7Vfj0g+tIrSQ= From: Leo Prikler Date: Mon, 12 Apr 2021 11:36:08 +0200 Message-Id: <20210412093614.9393-3-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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618220259; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tBnvUtoeMzmoMsVMNJZer7ZxJw+J2O6TgGrDBweycmQ=; b=Ms4iNvCHA6pQ5lOJTY0v7YYbH2BM4AXD6CI+TbVGhyNUFAn+Mw+2pe7d9LWIHuvdmxek5L lndK8IbaUUgQ+s8URaqcn/LZ8DfMcSfkUuens4IksDhTcCJfV7lQqbaYQrGXjqRba7Zl5V hKlNqxj0yXFX/99dpR42qzOH9jMQQLw63N19mbVI7Io/Xbihb1YjPBlGANtbM9YJrqrEqE YWpHHB4OrWqC1zqS2RFcP9nYcIf39oOZS+fIpJJ2ZQVHKDh67VbtmbBXFbc2Z30SERCGq/ FdDSte2/ozFS02mOaalP03UeblQVF/dRlWfLNPfvYPTAzxwO3TvgFrp3Tcd0RQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618220259; a=rsa-sha256; cv=none; b=ZZ5EzJwWOByyPPi+zBwaKwsmIFAGQ6w4viNc+SUYzAw7cHn3OEZ2wW1/gPTYQyVX4eLFQX NtxSTTtW7wZa+nXC8YPEsgHIP4MM+jzRX4jOCXOgRyyqc7oPQs/SFc6whgkiZHRj51C6+H iXJbZJuEHUdhRouTQuVXns3cdai3bSRWycxBNekvkU93ZooDLr0MOBE9/MrLCfQTyH4Ws9 JZqiKocF341AYNtAS9aTUN2NKxzHoaAxb3Pmw6QhvcVEcDvrTFKjMdWlwP8KzZQA+dui1P UtJgcLCsZ2sTC4huy8KHTAZ7PN0/dSUxP03NjVVbA0iLueRFa370xYU3UPQwRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=UJw3IY1w; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=UJw3IY1w; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4F006166EF X-Spam-Score: -0.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: DFtqn4rkCG0/ From: Raghav Gururajan * gnu/packages/gstreamer.scm (gst-plugins-base) [inputs]: Add graphene, iso-codes, libgudev, libjpeg-turbo, libpng, libvisual, mesa, wayland-protocols, wayland. [native-inputs]: Add gettext-minimal and xorg-server-for-test. [arguments]: Remove '-Dgl=disabled' from configure flags. Add pre-check phase. Signed-off-by: Leo Prikler Co-authored-by: 宋文武 --- gnu/packages/gstreamer.scm | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index cc8b29adcf..54bc5dfa22 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -559,6 +559,7 @@ This package provides the core library and elements.") '() `(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc (inputs + ;; TODO: Add libvorbisidec `(("cdparanoia" ,cdparanoia) ("pango" ,pango) ("libogg" ,libogg) @@ -569,21 +570,43 @@ This package provides the core library and elements.") ("libXext" ,libxext) ("libxv" ,libxv) ("alsa-lib" ,alsa-lib) - ("opus" ,opus))) + ("opus" ,opus) + ("graphene" ,graphene) + ("iso-codes" ,iso-codes) + ("libgudev" ,libgudev) + ("libjpeg" ,libjpeg-turbo) + ("libpng" ,libpng) + ("libvisual" ,libvisual) + ("mesa" ,mesa) + ("wayland-protocols" ,wayland-protocols) + ("wayland" ,wayland))) (native-inputs - `(("pkg-config" ,pkg-config) - ("glib:bin" ,glib "bin") - ("gobject-introspection" ,gobject-introspection) - ("python-wrapper" ,python-wrapper))) + `(("pkg-config" ,pkg-config) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("python-wrapper" ,python-wrapper) + ("gettext" ,gettext-minimal) + ("xorg-server" ,xorg-server-for-tests))) (arguments - `(#:configure-flags '("-Dgl=disabled") - #:phases + `(#:phases (modify-phases %standard-phases ,@%common-gstreamer-phases (add-before 'configure 'patch (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 -- 2.31.1