GNU bug report logs - #52069
[patch] add gst-plugins-base-gl (with opengl support)

Previous Next

Package: guix;

Reported by: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>

Date: Wed, 24 Nov 2021 01:02:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 52069 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#52069; Package guix. (Wed, 24 Nov 2021 01:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 24 Nov 2021 01:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: bug-guix <at> gnu.org
Subject: [patch] add gst-plugins-base-gl (with opengl support)
Date: Wed, 24 Nov 2021 02:00:18 +0100
[Message part 1 (text/plain, inline)]
Hi,

The attached patch adds a derivative package of gst-plugins-base that
includes gl support and has mesa as input.

I needed that for an application.

Best wishes,
Arne

[0001-gnu-gst-plugins-base-gl-add-package-version-that-inc.patch (text/x-patch, inline)]
From a1435b89c6ff01c1644bea671628678eebf3dfc2 Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab <at> web.de>
Date: Wed, 24 Nov 2021 01:58:32 +0100
Subject: [PATCH] gnu: gst-plugins-base-gl: add package version that includes
 opengl.

* gnu/packages/gstreamerr.scm (gst-plugins-base-gl): -Dgl=enabled, input: mesa
---
 gnu/packages/gstreamer.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index bb991789da..324af10ee0 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -581,6 +581,17 @@ (define-public gst-plugins-base
 for the GStreamer multimedia library.")
     (license license:lgpl2.0+)))
 
+(define-public gst-plugins-base-gl
+  (package (inherit gst-plugins-base)
+    (name "gst-plugins-base-gl")
+    (inputs
+     `(("mesa" ,mesa) ;; required for libgstgl
+       ,@(package-inputs gst-plugins-base)))
+    (arguments
+     `(,@(package-arguments gst-plugins-base)
+       #:tests? #f ;; check fails with gl
+       #:configure-flags '("-Dgl=enabled"))))) ;; requires mesa)
+
 (define-public gst-plugins-good
   (package
     (name "gst-plugins-good")
-- 
2.34.0

[Message part 3 (text/plain, inline)]
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#52069; Package guix. (Thu, 25 Nov 2021 04:44:03 GMT) Full text and rfc822 format available.

Message #8 received at 52069 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
Cc: 52069 <at> debbugs.gnu.org
Subject: Re: bug#52069: [patch] add gst-plugins-base-gl (with opengl support)
Date: Wed, 24 Nov 2021 23:43:48 -0500
Hello,

"Dr. Arne Babenhauserheide" <arne_bab <at> web.de> writes:

> Hi,
>
> The attached patch adds a derivative package of gst-plugins-base that
> includes gl support and has mesa as input.
>
> I needed that for an application.
>
> Best wishes,
> Arne
>
> From a1435b89c6ff01c1644bea671628678eebf3dfc2 Mon Sep 17 00:00:00 2001
> From: Arne Babenhauserheide <arne_bab <at> web.de>
> Date: Wed, 24 Nov 2021 01:58:32 +0100
> Subject: [PATCH] gnu: gst-plugins-base-gl: add package version that includes
>  opengl.
>
> * gnu/packages/gstreamerr.scm (gst-plugins-base-gl): -Dgl=enabled, input: mesa
> ---
>  gnu/packages/gstreamer.scm | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
> index bb991789da..324af10ee0 100644
> --- a/gnu/packages/gstreamer.scm
> +++ b/gnu/packages/gstreamer.scm
> @@ -581,6 +581,17 @@ (define-public gst-plugins-base
>  for the GStreamer multimedia library.")
>      (license license:lgpl2.0+)))
>  
> +(define-public gst-plugins-base-gl
> +  (package (inherit gst-plugins-base)
> +    (name "gst-plugins-base-gl")
> +    (inputs
> +     `(("mesa" ,mesa) ;; required for libgstgl
> +       ,@(package-inputs gst-plugins-base)))
> +    (arguments
> +     `(,@(package-arguments gst-plugins-base)
> +       #:tests? #f ;; check fails with gl

Disabling tests shouldn't be done lightly; considerable efforts have
probably gone in enabling them in the first place and they are one of
our best allies in assessing the negative impacts of an upgrade.  Could
you please investigate what is at cause?  Perhaps it's a matter of
adding an argument to the Xvfb invocation?

Thank you!

Maxim




This bug report was last modified 2 years and 150 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.