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.
This commit is contained in:
Liliana Marie Prikler 2024-10-28 09:27:57 +01:00
parent 19d906f82f
commit 2a5ab42e6f
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87
3 changed files with 33 additions and 0 deletions

View file

@ -1557,6 +1557,7 @@ dist_patch_DATA = \
%D%/packages/patches/guile-present-coding.patch \ %D%/packages/patches/guile-present-coding.patch \
%D%/packages/patches/guile-rsvg-pkgconfig.patch \ %D%/packages/patches/guile-rsvg-pkgconfig.patch \
%D%/packages/patches/guile-emacs-build-fixes.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-fix-builder-test.patch \
%D%/packages/patches/gtk2-harden-list-store.patch \ %D%/packages/patches/gtk2-harden-list-store.patch \
%D%/packages/patches/gtk2-respect-GUIX_GTK2_PATH.patch \ %D%/packages/patches/gtk2-respect-GUIX_GTK2_PATH.patch \

View file

@ -1047,6 +1047,7 @@ decoders, muxers, and demuxers provided by FFmpeg.")
(uri (string-append (uri (string-append
"https://gstreamer.freedesktop.org/src/" name "/" "https://gstreamer.freedesktop.org/src/" name "/"
"gst-editing-services-" version ".tar.xz")) "gst-editing-services-" version ".tar.xz"))
(patches (search-patches "gst-editing-services-fix-api.patch"))
(sha256 (sha256
(base32 (base32
"0rm2w7g1rgbzh3i659lw61hgzfhqk8cmx9y0zkjzwnwxmdfa53qk")))) "0rm2w7g1rgbzh3i659lw61hgzfhqk8cmx9y0zkjzwnwxmdfa53qk"))))

View file

@ -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