Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
From 20de7236a6fa022a7c52b1c1ccf6ce33a3142f7a Mon Sep 17 00:00:00 2001
From: He Junyan <[email protected]>
Date: Thu, 16 May 2024 14:22:42 +0800
Subject: [PATCH] glimagesink: set last sample disabled if input is
"external-oes"

The last sample causes error log of:
gstglmemory.c:926:_gl_tex_copy: Cannot copy External OES textures

So we should disable last sample if the input is "external-oes".

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6863#note_2415780>

This is a temporary fix for error message that occcured after a successful
playback. Need to be removed after upstream have produced their fix.
---
ext/gl/gstglimagesink.c | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/ext/gl/gstglimagesink.c b/ext/gl/gstglimagesink.c
index dd32d5f1..019df309 100644
--- a/ext/gl/gstglimagesink.c
+++ b/ext/gl/gstglimagesink.c
@@ -1647,6 +1647,7 @@ gst_glimage_sink_set_caps (GstBaseSink * bsink, GstCaps * caps)
GstGLImageSink *glimage_sink;
gboolean ok;
GstVideoInfo vinfo;
+ GstStructure *structure;

GST_DEBUG_OBJECT (bsink, "set caps with %" GST_PTR_FORMAT, caps);

@@ -1668,6 +1669,15 @@ gst_glimage_sink_set_caps (GstBaseSink * bsink, GstCaps * caps)

GST_GLIMAGE_SINK_UNLOCK (glimage_sink);

+ structure = gst_caps_get_structure (caps, 0);
+ if (gst_structure_has_field_typed
+ (structure, "texture-target", G_TYPE_STRING)) {
+ const gchar *str = gst_structure_get_string (structure, "texture-target");
+
+ if (g_strcmp0 (str, GST_GL_TEXTURE_TARGET_EXTERNAL_OES_STR) == 0)
+ gst_base_sink_set_last_sample_enabled (bsink, FALSE);
+ }
+
return ok;
}

--
2.34.1
25 changes: 25 additions & 0 deletions SPECS/gstreamer1-plugins-base/0001-skip-failing-tests.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Description: Disable a number of failing GL tests on ppc64el
A regression in mesa causes instability on ppc64el, so until that is
fixed, disable the tests.
.
See https://gitlab.freedesktop.org/mesa/mesa/-/issues/12452
Author: Marc Leeman <[email protected]>
Forwarded: not-needed
Last-Update: 2025-01-29

Index: gst-plugins-base1.0/tests/check/meson.build
===================================================================
--- gst-plugins-base1.0.orig/tests/check/meson.build
+++ gst-plugins-base1.0/tests/check/meson.build
@@ -103,9 +103,9 @@ if build_gstgl and host_machine.system()
[ 'libs/gstglslstage.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
[ 'libs/gstglupload.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
[ 'libs/gstglvideomixerelement.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
- [ 'elements/glimagesink.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
+ [ 'elements/glimagesink.c', true, [gstgl_dep, gstglproto_dep]],
[ 'elements/glbin.c', not build_gstgl ],
- [ 'pipelines/gl-launch-lines.c', not build_gstgl ],
+ [ 'pipelines/gl-launch-lines.c', true ],
[ 'elements/glfilter.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
[ 'elements/glstereo.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
[ 'elements/glmixer.c', not build_gstgl, [gstgl_dep, gstglproto_dep]],
151 changes: 124 additions & 27 deletions SPECS/gstreamer1-plugins-base/gstreamer1-plugins-base.spec
Original file line number Diff line number Diff line change
@@ -1,35 +1,33 @@
%global debug_package %{nil}
%bcond cdparanoia %{undefined rhel}
%bcond libvisual %{undefined rhel}
%global majorminor 1.0
Summary: GStreamer streaming media framework base plugins
Name: gstreamer1-plugins-base
Version: 1.26.5
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2+
Vendor: Microsoft Corporation
Distribution: Azure Linux
Vendor: Intel Corporation
Distribution: Edge Microvisor Toolkit
URL: https://gstreamer.freedesktop.org/
Source0: https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz
Patch0: 0001-missing-plugins-Remove-the-mpegaudioversion-field.patch

# Platform patches
Patch10: 0001-skip-failing-tests.patch
Patch11: 0001-glimagesink-set-last-sample-disabled-if-input-is-ext.patch

BuildRequires: meson >= 0.48.0
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gstreamer1-devel >= %{version}
BuildRequires: gobject-introspection-devel >= 1.31.1
BuildRequires: iso-codes-devel
BuildRequires: alsa-lib-devel
%if %{with cdparanoia}
BuildRequires: cdparanoia-devel
%endif
BuildRequires: libogg-devel >= 1.0
BuildRequires: libtheora-devel >= 1.1
%if %{with libvisual}
BuildRequires: libvisual-devel
%endif
BuildRequires: libvorbis-devel >= 1.0
BuildRequires: libXv-devel
BuildRequires: opus-devel
BuildRequires: orc-devel >= 0.4.18
BuildRequires: pango-devel
BuildRequires: pkgconfig
Expand All @@ -44,6 +42,7 @@ BuildRequires: mesa-libEGL-devel
BuildRequires: mesa-libgbm-devel
BuildRequires: libgudev-devel
BuildRequires: wayland-devel
BuildRequires: egl-wayland-devel
BuildRequires: graphene-devel
# pkgconfig-style deps specifically searched-for by autotools/configure
BuildRequires: pkgconfig(wayland-client) >= 1.0
Expand Down Expand Up @@ -94,16 +93,12 @@ for developing applications that use %{name}.

%build
%meson \
-D package-name='Fedora GStreamer-plugins-base package' \
-D package-origin='http://download.fedoraproject.org' \
-D gl_winsys=wayland,x11,gbm \
%{!?with_cdparanoia:-D cdparanoia=disabled} \
%{!?with_libvisual:-D libvisual=disabled} \
-D doc=disabled \
-D orc=enabled \
-D tremor=disabled \
-D tests=disabled \
-D examples=disabled \
-D opus=disabled
%meson_build

%install
Expand Down Expand Up @@ -172,7 +167,7 @@ rm %{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner

%files -f gst-plugins-base-%{majorminor}.lang
%license COPYING
%doc AUTHORS NEWS README.static-linking RELEASE REQUIREMENTS
%doc AUTHORS NEWS README.md README.static-linking RELEASE REQUIREMENTS
%{_datadir}/appdata/*.appdata.xml
%{_libdir}/libgstallocators-%{majorminor}.so.*
%{_libdir}/libgstaudio-%{majorminor}.so.*
Expand Down Expand Up @@ -210,12 +205,12 @@ rm %{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner
%{_libdir}/gstreamer-%{majorminor}/libgstaudiorate.so
%{_libdir}/gstreamer-%{majorminor}/libgstaudioresample.so
%{_libdir}/gstreamer-%{majorminor}/libgstaudiotestsrc.so
%{_libdir}/gstreamer-%{majorminor}/libgstbasedebug.so
%{_libdir}/gstreamer-%{majorminor}/libgstcompositor.so
%{_libdir}/gstreamer-%{majorminor}/libgstdsd.so
%{_libdir}/gstreamer-%{majorminor}/libgstencoding.so
%{_libdir}/gstreamer-%{majorminor}/libgstgio.so
%{_libdir}/gstreamer-%{majorminor}/libgstbasedebug.so
%{_libdir}/gstreamer-%{majorminor}/libgstoverlaycomposition.so
%{_libdir}/gstreamer-%{majorminor}/libgstdsd.so
%{_libdir}/gstreamer-%{majorminor}/libgstplayback.so
%{_libdir}/gstreamer-%{majorminor}/libgstpbtypes.so
%{_libdir}/gstreamer-%{majorminor}/libgstrawparse.so
Expand All @@ -229,15 +224,10 @@ rm %{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner

# base plugins with dependencies
%{_libdir}/gstreamer-%{majorminor}/libgstalsa.so
%if %{with cdparanoia}
%{_libdir}/gstreamer-%{majorminor}/libgstcdparanoia.so
%endif
%{_libdir}/gstreamer-%{majorminor}/libgstopengl.so
%if %{with libvisual}
%{_libdir}/gstreamer-%{majorminor}/libgstlibvisual.so
%endif
%{_libdir}/gstreamer-%{majorminor}/libgstogg.so
%{_libdir}/gstreamer-%{majorminor}/libgstopus.so
%{_libdir}/gstreamer-%{majorminor}/libgstpango.so
%{_libdir}/gstreamer-%{majorminor}/libgsttheora.so
%{_libdir}/gstreamer-%{majorminor}/libgstvorbis.so
Expand All @@ -257,9 +247,9 @@ rm %{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner
%{_includedir}/gstreamer-%{majorminor}/gst/allocators/allocators.h
%{_includedir}/gstreamer-%{majorminor}/gst/allocators/allocators-prelude.h
%{_includedir}/gstreamer-%{majorminor}/gst/allocators/gstdmabuf.h
%{_includedir}/gstreamer-%{majorminor}/gst/allocators/gstdrmdumb.h
%{_includedir}/gstreamer-%{majorminor}/gst/allocators/gstfdmemory.h
%{_includedir}/gstreamer-%{majorminor}/gst/allocators/gstphysmemory.h
%{_includedir}/gstreamer-%{majorminor}/gst/allocators/gstdrmdumb.h
%{_includedir}/gstreamer-%{majorminor}/gst/allocators/gstshmallocator.h
%dir %{_includedir}/gstreamer-%{majorminor}/gst/app
%{_includedir}/gstreamer-%{majorminor}/gst/app/app.h
Expand Down Expand Up @@ -437,8 +427,115 @@ rm %{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner
%{_libdir}/pkgconfig/*.pc

%changelog
* Thu Oct 29 2025 kintalix jayanth <[email protected]> - 1.26.5-1
- update to 1.26.5
* Mon Oct 13 2025 Swee Yee Fonn <[email protected]> - 1.26.5-1
- Initial Edge Microvisor Toolkit import from Azure Linux (license: MIT)
- License verified.
- Upgrading to 1.26.5 based on Fedora 44 (license: MIT) for guidance.

* Fri Aug 08 2025 Gwyn Ciesla <[email protected]> - 1.26.5-1
- 1.26.5

* Thu Jul 24 2025 Fedora Release Engineering <[email protected]> - 1.26.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild

* Fri Jun 27 2025 Gwyn Ciesla <[email protected]> - 1.26.3-1
- 1.26.3

* Fri May 30 2025 Gwyn Ciesla <[email protected]> - 1.26.2-1
- 1.26.2

* Fri Apr 25 2025 Gwyn Ciesla <[email protected]> - 1.26.1-1
- 1.26.1

* Wed Mar 12 2025 Gwyn Ciesla <[email protected]> - 1.26.0-1
- 1.26.0

* Fri Jan 17 2025 Fedora Release Engineering <[email protected]> - 1.24.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild

* Tue Jan 07 2025 Gwyn Ciesla <[email protected]> - 1.24.11-1
- 1.24.11

* Wed Dec 04 2024 Gwyn Ciesla <[email protected]> - 1.24.10-1
- 1.24.10

* Thu Oct 31 2024 Gwyn Ciesla <[email protected]> - 1.24.9-1
- 1.24.9

* Thu Sep 19 2024 Gwyn Ciesla <[email protected]> - 1.24.8-1
- 1.24.8

* Wed Aug 21 2024 Gwyn Ciesla <[email protected]> - 1.24.7-1
- 1.24.7

* Fri Aug 02 2024 Yaakov Selkowitz <[email protected]> - 1.24.6-2
- Remove unused egl-wayland-devel dependency

* Mon Jul 29 2024 Gwyn Ciesla <[email protected]> - 1.24.6-1
- 1.24.6

* Thu Jul 18 2024 Fedora Release Engineering <[email protected]> - 1.24.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

* Fri Jun 21 2024 Gwyn Ciesla <[email protected]> - 1.24.5-1
- 1.24.5

* Wed May 29 2024 Gwyn Ciesla <[email protected]> - 1.24.4-1
- 1.24.4

* Thu May 02 2024 Wim Taymans <[email protected]> - 1.24.3-2
- Disable libvisual in RHEL builds

* Tue Apr 30 2024 Gwyn Ciesla <[email protected]> - 1.24.3-1
- 1.24.3

* Tue Mar 05 2024 Wim Taymans <[email protected]> - 1.24.0-1
- Update to 1.24.0

* Thu Jan 25 2024 Gwyn Ciesla <[email protected]> - 1.22.9-1
- 1.22.9

* Wed Jan 24 2024 Fedora Release Engineering <[email protected]> - 1.22.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Sat Jan 20 2024 Fedora Release Engineering <[email protected]> - 1.22.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Mon Dec 18 2023 Gwyn Ciesla <[email protected]> - 1.22.8-1
- 1.22.8

* Tue Nov 14 2023 Gwyn Ciesla <[email protected]> - 1.22.7-1
- 1.22.7

* Fri Jul 21 2023 Wim Taymans <[email protected]> - 1.22.5-1
- Update to 1.22.5

* Thu Jul 20 2023 Fedora Release Engineering <[email protected]> - 1.22.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Thu Jun 08 2023 Yaakov Selkowitz <[email protected]> - 1.22.3-2
- Disable cdparanoia in RHEL builds

* Thu May 25 2023 Wim Taymans <[email protected]> - 1.22.3-1
- Update to 1.22.3

* Thu Apr 13 2023 Wim Taymans <[email protected]> - 1.22.2-1
- Update to 1.22.2

* Mon Mar 13 2023 Wim Taymans <[email protected]> - 1.22.1-1
- Update to 1.22.1

* Tue Jan 24 2023 Wim Taymans <[email protected]> - 1.22.0-1
- Update to 1.22.0

* Fri Jan 20 2023 Wim Taymans <[email protected]> - 1.21.90-1
- Update to 1.21.90

* Thu Jan 19 2023 Fedora Release Engineering <[email protected]> - 1.20.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Wed Jan 11 2023 Wim Taymans <[email protected]> - 1.20.5-1
- Update to 1.20.5

* Wed Jan 22 2025 Andrew Phelps <[email protected]> - 1.20.4-3
- Remove dependency on opus
Expand Down Expand Up @@ -857,4 +954,4 @@ rm %{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner
- Remove rpath.

* Tue Jul 17 2012 Brian Pepple <[email protected]> - 0.11.92-1
- Initial Fedora spec file.
- Initial Fedora spec file.
2 changes: 1 addition & 1 deletion SPECS/libvisual/libvisual.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"libvisual-0.4.0.tar.gz": "0b4dfdb87125e129567752089e3c8b54cefed601eef169d2533d8659da8dc1d7"
"libvisual-0.4.0.tar.bz2": "78f38d3ce857edde5482aa4415b504bbcd4d4a688fd4de09ec2131ad08174279"
}
}
15 changes: 10 additions & 5 deletions SPECS/libvisual/libvisual.spec
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Vendor: Microsoft Corporation
Distribution: Azure Linux
Vendor: Intel Corporation
Distribution: Edge Microvisor Toolkit
%global smallversion 0.4

Name: libvisual
Version: 0.4.0
Release: 30%{?dist}
Release: 31%{?dist}
Summary: Abstraction library for audio visualisation plugins
License: LGPLv2+
URL: http://libvisual.sf.net
Source0: http://dl.sf.net/libvisual/libvisual-%{version}.tar.gz
URL: https://github.com/Libvisual/libvisual
Source0: https://github.com/Libvisual/libvisual/releases/download/libvisual-%{version}/libvisual-%{version}.tar.bz2
BuildRequires: gcc-c++
BuildRequires: xorg-x11-proto-devel
# https://bugzilla.redhat.com/show_bug.cgi?id=435771
Expand Down Expand Up @@ -73,6 +73,11 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'


%changelog
* Mon Oct 13 2025 Swee Yee Fonn <[email protected]> - 0.4.0-31
- Initial Edge Microvisor Toolkit import from Azure Linux (license: MIT)
- License verified.
- Update Source0 url to be downloadable.

* Mon Nov 01 2021 Muhammad Falak <[email protected]> - 0.4.0-30
- Remove epoch

Expand Down
10 changes: 6 additions & 4 deletions SPECS/qemu/qemu.spec
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ Distribution: Edge Microvisor Toolkit
%ifnarch %{ix86} x86_64 %{arm} aarch64
%global have_spice 0
%endif
%if 0%{?emt}
%global have_spice 0
%endif

# Matches xen ExclusiveArch
%global have_xen 0
Expand Down Expand Up @@ -446,7 +443,7 @@ Obsoletes: sgabios-bin <= 1:0.20180715git-10.fc38
Summary: QEMU is a FAST! processor emulator
Name: qemu
Version: 9.1.0
Release: 5%{?dist}
Release: 6%{?dist}
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND FSFAP AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND MIT AND LicenseRef-Fedora-Public-Domain AND CC-BY-3.0
URL: http://www.qemu.org/

Expand Down Expand Up @@ -645,6 +642,8 @@ BuildRequires: ncurses-devel
# spice graphics support
BuildRequires: spice-protocol
BuildRequires: spice-server-devel
BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base-devel
%endif
# VNC JPEG support
BuildRequires: libjpeg-devel
Expand Down Expand Up @@ -3538,6 +3537,9 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \


%changelog
* Thu Dec 18 2025 Andy <[email protected]> - 9.1.0-6
- Enable spice in qemu

* Thu Oct 30 2025 Liang Yang <[email protected]> - 9.1.0-5
- Added 1 patch from Intel Distribution Qemu Commit 3fbf5c5
- Fix assert in qemu host-libusb when altsetting invalid
Expand Down
Loading