unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#63208] [PATCH] gnu: gstreamer: Depend on glib-next
@ 2023-05-01 16:17 Andy Tai
  2023-05-01 17:27 ` Liliana Marie Prikler
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andy Tai @ 2023-05-01 16:17 UTC (permalink / raw)
  To: 63208; +Cc: Andy Tai

* gnu/packages/gstreamer.scm: gstreamer: [arguments] (configure-flags): Add "--wrap-mode=nofallback" to ensure no subproject sources in repo are used
  [propagated-inputs]: Use glib-next
  [inputs]: Use glib-next

* gnu/packages/gstreamer.scm: gst-plugins-base:   [propagated-inputs]: Use glib-next
  [inputs]: Use glib-next

* gnu/packages/gstreamer.scm: gst-plugins-bad:   [propagated-inputs]: Use glib-next. Add dav1d
  [inputs]: Use glib-next

* gnu/packages/gstreamer.scm: gst-plugins-ugly:   [propagated-inputs]: Use glib-next
  [inputs]: Use glib-next

* gnu/packages/gstreamer.scm: gst-editing-services   [propagated-inputs]: Use glib-next
  [inputs]: Use glib-next
---
 gnu/packages/gstreamer.scm | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 8971c11479..ea7b9f1229 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -474,6 +474,7 @@ (define-public gstreamer
     (build-system meson-build-system)
     (arguments
      (list #:disallowed-references (list python)
+     	   #:configure-flags #~(list "--wrap-mode=nofallback")
            #:phases
            #~(modify-phases %standard-phases
                #$@%common-gstreamer-phases
@@ -506,12 +507,12 @@ (define-public gstreamer
      ;;   Requires: glib-2.0, gobject-2.0
      ;;   Requires.private: gmodule-no-export-2.0 libunwind libdw
      (list elfutils                     ;libdw
-           glib libunwind))
+           glib-next libunwind))
     (native-inputs
      (list bash-completion
            bison flex
            gettext-minimal
-           `(,glib "bin")
+           `(,glib-next "bin")
            gobject-introspection
            perl
            pkg-config
@@ -553,7 +554,7 @@ (define-public gst-plugins-base
         "0jcxcx4mgfjvfb3ixibwhx8j330mq3ap469w7hapm6z79q614rgb"))))
     (build-system meson-build-system)
     (propagated-inputs
-     (list glib                     ;required by gstreamer-sdp-1.0.pc
+     (list glib-next                     ;required by gstreamer-sdp-1.0.pc
            gstreamer                ;required by gstreamer-plugins-base-1.0.pc
            libgudev                 ;required by gstreamer-gl-1.0.pc
            ;; wayland-client.h is referred to in
@@ -582,7 +583,7 @@ (define-public gst-plugins-base
            zlib))
     (native-inputs
      (list pkg-config
-           `(,glib "bin")
+           `(,glib-next "bin")
            gobject-introspection
            python-wrapper
            gettext-minimal
@@ -690,7 +691,7 @@ (define libsoup
               (setenv "DBUS_FATAL_WARNINGS" "0"))))))
     (native-inputs
      (list gettext-minimal
-           `(,glib "bin")
+           `(,glib-next "bin")
            gobject-introspection
            gsettings-desktop-schemas
            libxml2
@@ -704,7 +705,7 @@ (define libsoup
            cairo
            flac
            (librsvg-for-system)
-           glib
+           glib-next
            glib-networking
            glu
            gtk+
@@ -827,7 +828,7 @@ (define-public gst-plugins-bad
      (list gstreamer gst-plugins-base))
     (native-inputs
      (list gettext-minimal
-           `(,glib "bin")               ; for glib-mkenums, etc.
+           `(,glib-next "bin")               ; for glib-mkenums, etc.
            gobject-introspection
            gsettings-desktop-schemas
            gst-plugins-good             ;for tests
@@ -845,12 +846,13 @@ (define-public gst-plugins-bad
             ;; ccextractor
             chromaprint
             curl
+            dav1d
             directfb
             ;; dssim
             faad2
             flite
             fluidsynth
-            glib
+            glib-next
             glib-networking
             glu
             gsm
@@ -971,7 +973,7 @@ (define-public gst-plugins-ugly
                    (setenv "DBUS_FATAL_WARNINGS" "0"))))))
     (native-inputs
      (list gettext-minimal
-           `(,glib "bin")
+           `(,glib-next "bin")
            gobject-introspection
            gsettings-desktop-schemas
            perl
@@ -979,7 +981,7 @@ (define-public gst-plugins-ugly
            python-wrapper
            xorg-server-for-tests))
     (inputs
-     (list glib
+     (list glib-next
            glib-networking
            liba52
            libcdio
@@ -1042,11 +1044,11 @@ (define-public gst-editing-services
     (propagated-inputs
      (list gstreamer gst-plugins-base))
     (inputs
-     (list glib glib-networking gtk+ libxml2))
+     (list glib-next glib-networking gtk+ libxml2))
     (native-inputs
      (list flex
            gobject-introspection
-           `(,glib "bin")
+           `(,glib-next "bin")
            gst-plugins-bad
            gst-plugins-good
            perl

base-commit: 23552fb2fbcb78757e8b563de9466831f6386105
prerequisite-patch-id: 3805e062116fd14a78ca03847b237e75977c6d8d
prerequisite-patch-id: 9967fd9b0de5c36d810ca5c346e49762dfd3dad8
prerequisite-patch-id: f5feb08c9249508d22e0debbe47222324e9f354e
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#63208] [PATCH] gnu: gstreamer: Depend on glib-next
  2023-05-01 16:17 [bug#63208] [PATCH] gnu: gstreamer: Depend on glib-next Andy Tai
@ 2023-05-01 17:27 ` Liliana Marie Prikler
  2023-05-01 18:50 ` [bug#63208] Andy Tai
  2023-05-02  5:48 ` [bug#63208] [PATCH v2] gnu: gstreamer: Ensure no bundle sources used Andy Tai
  2 siblings, 0 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2023-05-01 17:27 UTC (permalink / raw)
  To: Andy Tai, 63208

Am Montag, dem 01.05.2023 um 09:17 -0700 schrieb Andy Tai:
> * gnu/packages/gstreamer.scm: gstreamer: [arguments] (configure-
> flags): Add "--wrap-mode=nofallback" to ensure no subproject sources
> in repo are used
>   [propagated-inputs]: Use glib-next
>   [inputs]: Use glib-next
We prefer not to bundle things, tyvm.

> * gnu/packages/gstreamer.scm: gst-plugins-base:   [propagated-
> inputs]: Use glib-next
>   [inputs]: Use glib-next
> 
> * gnu/packages/gstreamer.scm: gst-plugins-bad:   [propagated-inputs]:
> Use glib-next. Add dav1d
>   [inputs]: Use glib-next
> 
> * gnu/packages/gstreamer.scm: gst-plugins-ugly:   [propagated-
> inputs]: Use glib-next
>   [inputs]: Use glib-next
> 
> * gnu/packages/gstreamer.scm: gst-editing-services   [propagated-
> inputs]: Use glib-next
>   [inputs]: Use glib-next
> ---
Is there a *good* reason to do this now?  Note that gnome-team is
working on getting glib 2.76 everywhere, including GStreamer.

Cheers




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#63208]
  2023-05-01 16:17 [bug#63208] [PATCH] gnu: gstreamer: Depend on glib-next Andy Tai
  2023-05-01 17:27 ` Liliana Marie Prikler
@ 2023-05-01 18:50 ` Andy Tai
  2023-05-02  5:48 ` [bug#63208] [PATCH v2] gnu: gstreamer: Ensure no bundle sources used Andy Tai
  2 siblings, 0 replies; 5+ messages in thread
From: Andy Tai @ 2023-05-01 18:50 UTC (permalink / raw)
  To: 63208

Hi, I will revise the patch to only keep the config flag for not using
subprojects as the Guix GNOME team is working on moving to glib latest
version




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#63208] [PATCH v2] gnu: gstreamer: Ensure no bundle sources used
  2023-05-01 16:17 [bug#63208] [PATCH] gnu: gstreamer: Depend on glib-next Andy Tai
  2023-05-01 17:27 ` Liliana Marie Prikler
  2023-05-01 18:50 ` [bug#63208] Andy Tai
@ 2023-05-02  5:48 ` Andy Tai
  2023-05-02 16:59   ` Liliana Marie Prikler
  2 siblings, 1 reply; 5+ messages in thread
From: Andy Tai @ 2023-05-02  5:48 UTC (permalink / raw)
  To: 63208; +Cc: Andy Tai

* gnu/packages/gstreamer.scm: gstreamer: [arguments] (configure-flags): Add "--wrap-mode=nofallback" to ensure no subproject sources in repo are used
---
 gnu/packages/gstreamer.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 8971c11479..55876268cc 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -474,6 +474,7 @@ (define-public gstreamer
     (build-system meson-build-system)
     (arguments
      (list #:disallowed-references (list python)
+           #:configure-flags #~(list "--wrap-mode=nofallback")
            #:phases
            #~(modify-phases %standard-phases
                #$@%common-gstreamer-phases

base-commit: 854c57c3525325070e261a2e6f81d4016ef44bfa
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#63208] [PATCH v2] gnu: gstreamer: Ensure no bundle sources used
  2023-05-02  5:48 ` [bug#63208] [PATCH v2] gnu: gstreamer: Ensure no bundle sources used Andy Tai
@ 2023-05-02 16:59   ` Liliana Marie Prikler
  0 siblings, 0 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2023-05-02 16:59 UTC (permalink / raw)
  To: Andy Tai, 63208

Am Montag, dem 01.05.2023 um 22:48 -0700 schrieb Andy Tai:
> * gnu/packages/gstreamer.scm: gstreamer: [arguments] (configure-
> flags): Add "--wrap-mode=nofallback" to ensure no subproject sources
> in repo are used
For the ChangeLog part, "Add <flag>." is typically enough.  Rationale
ought to be explained before the ChangeLog or in the code -- preferably
the latter for simple patches like the one at hand and the former if a
complex topic needs to be summarized.  
> ---
>  gnu/packages/gstreamer.scm | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
> index 8971c11479..55876268cc 100644
> --- a/gnu/packages/gstreamer.scm
> +++ b/gnu/packages/gstreamer.scm
> @@ -474,6 +474,7 @@ (define-public gstreamer
>      (build-system meson-build-system)
>      (arguments
>       (list #:disallowed-references (list python)
> +           #:configure-flags #~(list "--wrap-mode=nofallback")
>             #:phases
>             #~(modify-phases %standard-phases
>                 #$@%common-gstreamer-phases
> 
> base-commit: 854c57c3525325070e261a2e6f81d4016ef44bfa
On the topic of wrapping dependencies: In Guix, we prefer to unbundle
them already through snippets in the source; thus, this configure-flag
would be obsolete in the ideal case.  You can of course still add it
for good measure, but I'd argue it's more important to tackle the the
actual bundle first.

Cheers




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-02 17:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-01 16:17 [bug#63208] [PATCH] gnu: gstreamer: Depend on glib-next Andy Tai
2023-05-01 17:27 ` Liliana Marie Prikler
2023-05-01 18:50 ` [bug#63208] Andy Tai
2023-05-02  5:48 ` [bug#63208] [PATCH v2] gnu: gstreamer: Ensure no bundle sources used Andy Tai
2023-05-02 16:59   ` Liliana Marie Prikler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).