summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2024-10-28 09:27:57 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2025-03-02 20:31:33 +0100
commit2a5ab42e6fc37b6139c3812464b9fa8d835143f7 (patch)
tree28ed1ba775cc99685c251a4f14ff6ec3a5ffec0d
parent19d906f82f0789c29b81f4d7c4da45cd925e81f0 (diff)
gnu: gst-editing-services: Fix build.
* gnu/packages/patches/gst-editing-services-fix-api.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/gstreamer.scm (gst-editing-services): Use it here.
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/gstreamer.scm1
-rw-r--r--gnu/packages/patches/gst-editing-services-fix-api.patch31
3 files changed, 33 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 6aff6e271f5..8366ffcc19f 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1557,6 +1557,7 @@ dist_patch_DATA = \
%D%/packages/patches/guile-present-coding.patch \
%D%/packages/patches/guile-rsvg-pkgconfig.patch \
%D%/packages/patches/guile-emacs-build-fixes.patch \
+ %D%/packages/patches/gst-editing-services-fix-api.patch \
%D%/packages/patches/gtk2-fix-builder-test.patch \
%D%/packages/patches/gtk2-harden-list-store.patch \
%D%/packages/patches/gtk2-respect-GUIX_GTK2_PATH.patch \
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 168560d7243..2ade8d79863 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -1047,6 +1047,7 @@ decoders, muxers, and demuxers provided by FFmpeg.")
(uri (string-append
"https://gstreamer.freedesktop.org/src/" name "/"
"gst-editing-services-" version ".tar.xz"))
+ (patches (search-patches "gst-editing-services-fix-api.patch"))
(sha256
(base32
"0rm2w7g1rgbzh3i659lw61hgzfhqk8cmx9y0zkjzwnwxmdfa53qk"))))
diff --git a/gnu/packages/patches/gst-editing-services-fix-api.patch b/gnu/packages/patches/gst-editing-services-fix-api.patch
new file mode 100644
index 00000000000..6745e4ecc28
--- /dev/null
+++ b/gnu/packages/patches/gst-editing-services-fix-api.patch
@@ -0,0 +1,31 @@
+From f1aedd65f4c276578b767b4555ba7cdf68fe024b Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
+Date: Fri, 20 Sep 2024 01:44:53 +0200
+Subject: [PATCH] ges: Fix name of GESFrameCompositionMeta API type
+
+g-ir-scanner 1.82.0 failed with a fatal error due to the wrong
+namespace.
+
+Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3800
+Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7554>
+---
+ .../gst-editing-services/ges/ges-frame-composition-meta.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/subprojects/gst-editing-services/ges/ges-frame-composition-meta.c b/subprojects/gst-editing-services/ges/ges-frame-composition-meta.c
+index d8c5a5251309..1ad7b6cfe4c7 100644
+--- gst-editing-services/ges/ges-frame-composition-meta.c
++++ gst-editing-services/ges/ges-frame-composition-meta.c
+@@ -47,7 +47,8 @@ ges_frame_composition_meta_api_get_type (void)
+ static const gchar *tags[] = { "video", NULL };
+
+ if (g_once_init_enter (&type)) {
+- GType _type = gst_meta_api_type_register ("GstFrameCompositionApi", tags);
++ GType _type =
++ gst_meta_api_type_register ("GESFrameCompositionMetaAPI", tags);
+ g_once_init_leave (&type, _type);
+ }
+ return type;
+--
+GitLab
+