diff --git a/.gitignore b/.gitignore index 97ee6b3..f74692d 100644 --- a/.gitignore +++ b/.gitignore @@ -93,23 +93,4 @@ /gstreamer-1.22.7.tar.xz /gstreamer-1.22.8.tar.xz /gstreamer-1.22.9.tar.xz -/gstreamer-1.24.0.tar.xz -/gstreamer-1.24.3.tar.xz -/gstreamer-1.24.4.tar.xz -/gstreamer-1.24.5.tar.xz -/gstreamer-1.24.6.tar.xz -/gstreamer-1.24.7.tar.xz -/gstreamer-1.24.8.tar.xz -/gstreamer-1.24.9.tar.xz -/gstreamer-1.24.10.tar.xz -/gstreamer-1.24.11.tar.xz -/gstreamer-1.26.0.tar.xz -/gstreamer-1.26.1.tar.xz -/gstreamer-1.26.2.tar.xz -/gstreamer-1.26.3.tar.xz -/gstreamer-1.26.5.tar.xz -/gstreamer-1.26.6.tar.xz -/gstreamer-1.26.7.tar.xz -/gstreamer-1.26.8.tar.xz -/gstreamer-1.26.9.tar.xz -/gstreamer-1.26.10.tar.xz +/gstreamer-1.22.11.tar.xz diff --git a/0001-gst-inspect-add-mode-to-output-RPM-requires-format.patch b/gstreamer-inspect-rpm-format.patch similarity index 88% rename from 0001-gst-inspect-add-mode-to-output-RPM-requires-format.patch rename to gstreamer-inspect-rpm-format.patch index 8f3c047..0114c06 100644 --- a/0001-gst-inspect-add-mode-to-output-RPM-requires-format.patch +++ b/gstreamer-inspect-rpm-format.patch @@ -1,17 +1,26 @@ -From 74a22350dacdd176ee7a6a93fa8393b75e0fcd06 Mon Sep 17 00:00:00 2001 +From 642d0d6fef226fb89eaecf0016f8e5e333b9023e Mon Sep 17 00:00:00 2001 From: Wim Taymans -Date: Tue, 5 Mar 2024 10:05:36 +0100 +Date: Tue, 23 Jun 2015 10:28:29 +0200 Subject: [PATCH] gst-inspect: add mode to output RPM requires format --- - subprojects/gstreamer/tools/gst-inspect.c | 277 ++++++++++++++++++++-- - 1 file changed, 262 insertions(+), 15 deletions(-) + tools/gst-inspect.c | 279 +++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 263 insertions(+), 16 deletions(-) -diff --git a/subprojects/gstreamer/tools/gst-inspect.c b/subprojects/gstreamer/tools/gst-inspect.c -index 7edd8634a5..d38bf1fbd8 100644 ---- a/subprojects/gstreamer/tools/gst-inspect.c -+++ b/subprojects/gstreamer/tools/gst-inspect.c -@@ -1934,11 +1934,228 @@ print_tracer_info (GstPluginFeature * feature, gboolean print_names) +diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c +index 8da042946..a057cba09 100644 +--- a/tools/gst-inspect.c ++++ b/tools/gst-inspect.c +@@ -394,7 +394,7 @@ print_object_properties_info (GObject * obj, GObjectClass * obj_class, + + first_flag = TRUE; + n_print ("%sflags%s: ", PROP_ATTR_NAME_COLOR, RESET_COLOR); +- readable = ! !(param->flags & G_PARAM_READABLE); ++ readable = !!(param->flags & G_PARAM_READABLE); + if (readable && obj != NULL) { + g_object_get_property (obj, param->name, &value); + } else { +@@ -1739,11 +1739,228 @@ print_tracer_info (GstPluginFeature * feature, gboolean print_names) return 0; } @@ -241,7 +250,7 @@ index 7edd8634a5..d38bf1fbd8 100644 { GstPadDirection direction; const gchar *type_name; -@@ -1966,6 +2183,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) +@@ -1769,6 +1986,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) return; } @@ -255,7 +264,7 @@ index 7edd8634a5..d38bf1fbd8 100644 /* decoder/demuxer sink pads should always be static and there should only * be one, the same applies to encoders/muxers and source pads */ static_templates = gst_element_factory_get_static_pad_templates (factory); -@@ -2002,15 +2226,20 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) +@@ -1805,15 +2029,20 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) gst_structure_remove_field (s, "rate"); gst_structure_remove_field (s, "depth"); gst_structure_remove_field (s, "clock-rate"); @@ -280,7 +289,7 @@ index 7edd8634a5..d38bf1fbd8 100644 { const gchar *const *protocols; -@@ -2019,13 +2248,19 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) +@@ -1822,13 +2051,19 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) switch (gst_element_factory_get_uri_type (factory)) { case GST_URI_SINK: while (*protocols != NULL) { @@ -302,7 +311,7 @@ index 7edd8634a5..d38bf1fbd8 100644 ++protocols; } break; -@@ -2036,7 +2271,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) +@@ -1839,7 +2074,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) } static void @@ -311,7 +320,7 @@ index 7edd8634a5..d38bf1fbd8 100644 { GList *features, *l; -@@ -2055,11 +2290,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin) +@@ -1858,11 +2093,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin) if (feature_plugin == plugin) { GstElementFactory *factory; @@ -330,7 +339,7 @@ index 7edd8634a5..d38bf1fbd8 100644 } if (feature_plugin) gst_object_unref (feature_plugin); -@@ -2083,7 +2322,7 @@ print_all_plugin_automatic_install_info (void) +@@ -1884,7 +2123,7 @@ print_all_plugin_automatic_install_info (void) plugin = (GstPlugin *) (plugins->data); plugins = g_list_next (plugins); @@ -339,7 +348,15 @@ index 7edd8634a5..d38bf1fbd8 100644 } gst_plugin_list_free (orig_plugins); } -@@ -2190,6 +2430,9 @@ real_main (int argc, char *argv[]) +@@ -1951,6 +2190,7 @@ main (int argc, char *argv[]) + gboolean do_print_blacklist = FALSE; + gboolean plugin_name = FALSE; + gboolean print_aii = FALSE; ++ gboolean print_aii_rpm = FALSE; + gboolean uri_handlers = FALSE; + gboolean check_exists = FALSE; + gboolean color_always = FALSE; +@@ -1972,6 +2212,9 @@ main (int argc, char *argv[]) "or all plugins provide.\n " "Useful in connection with external automatic plugin " "installation mechanisms"), NULL}, @@ -349,7 +366,7 @@ index 7edd8634a5..d38bf1fbd8 100644 {"plugin", '\0', 0, G_OPTION_ARG_NONE, &plugin_name, N_("List the plugin contents"), NULL}, {"types", 't', 0, G_OPTION_ARG_STRING, &types, -@@ -2364,7 +2607,7 @@ real_main (int argc, char *argv[]) +@@ -2135,7 +2378,7 @@ main (int argc, char *argv[]) /* if there is such a plugin, print out info */ if (plugin) { if (print_aii) { @@ -357,8 +374,8 @@ index 7edd8634a5..d38bf1fbd8 100644 + print_plugin_automatic_install_info (plugin, print_aii_rpm); } else { print_plugin_info (plugin); - print_plugin_status (plugin); -@@ -2378,14 +2621,18 @@ real_main (int argc, char *argv[]) + print_plugin_features (plugin); +@@ -2148,13 +2391,17 @@ main (int argc, char *argv[]) if (plugin) { if (print_aii) { @@ -366,7 +383,6 @@ index 7edd8634a5..d38bf1fbd8 100644 + print_plugin_automatic_install_info (plugin, print_aii_rpm); } else { print_plugin_info (plugin); - print_plugin_status (plugin); print_plugin_features (plugin); } } else { @@ -380,15 +396,5 @@ index 7edd8634a5..d38bf1fbd8 100644 exit_code = -1; goto done; -- -2.43.2 +2.26.2 ---- a/a/a/tools/gst-inspect.c~ 2024-04-30 08:50:02.603031028 -0500 -+++ b/b/b/tools/gst-inspect.c 2024-04-30 08:51:26.239844637 -0500 -@@ -2408,6 +2408,7 @@ - gboolean do_print_blacklist = FALSE; - gboolean plugin_name = FALSE; - gboolean print_aii = FALSE; -+ gboolean print_aii_rpm = FALSE; - gboolean uri_handlers = FALSE; - gboolean check_exists = FALSE; - gboolean check_version = FALSE; diff --git a/gstreamer1.spec b/gstreamer1.spec index a1e2c4a..73c7c35 100644 --- a/gstreamer1.spec +++ b/gstreamer1.spec @@ -16,7 +16,7 @@ %endif Name: gstreamer1 -Version: 1.26.10 +Version: 1.22.11 Release: 1%{?dist} Summary: GStreamer streaming media framework runtime @@ -30,13 +30,12 @@ Source0: gstreamer-%{version}.tar.xz Source0: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz %endif ## For GStreamer RPM provides -Patch0: 0001-gst-inspect-add-mode-to-output-RPM-requires-format.patch +Patch0: gstreamer-inspect-rpm-format.patch Source1: gstreamer1.prov Source2: gstreamer1.attr BuildRequires: meson >= 0.48.0 BuildRequires: gcc -BuildRequires: libatomic BuildRequires: glib2-devel >= %{_glib2} BuildRequires: libxml2-devel >= %{_libxml2} BuildRequires: gobject-introspection-devel >= %{_gobject_introspection} @@ -50,12 +49,7 @@ BuildRequires: libcap-devel BuildRequires: libunwind-devel %endif BuildRequires: elfutils-devel -%if 0%{?fedora} >= 41 || 0%{?rhel} >= 11 -BuildRequires: bash-completion-devel -%else -BuildRequires: bash-completion -%endif -BuildRequires: rustc +BuildRequires: bash-completion %description GStreamer is a streaming media framework, based on graphs of filters which @@ -93,7 +87,7 @@ GStreamer streaming media framework. %prep %setup -q -n gstreamer-%{version} -%patch -P 0 -p3 -b .rpm-provides +%patch -P 0 -p1 -b .rpm-provides %build %meson \ @@ -132,7 +126,6 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer %{_libexecdir}/gstreamer-%{majorminor}/gst-plugins-doc-cache-generator %{_libexecdir}/gstreamer-%{majorminor}/gst-plugin-scanner %attr(755,root,root) %caps(cap_net_bind_service,cap_net_admin,cap_sys_nice=ep) %{_libexecdir}/gstreamer-%{majorminor}/gst-ptp-helper -#%%{_libexecdir}/gstreamer-%%{majorminor}/gst-ptp-helper-test %dir %{_libdir}/gstreamer-%{majorminor} %{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so @@ -198,8 +191,6 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer %{_libdir}/pkgconfig/gstreamer-check-%{majorminor}.pc %{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc -%{_datadir}/cmake/FindGStreamer.cmake - %if 0 %files devel-docs %doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor} @@ -209,77 +200,8 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer %changelog -* Tue Jan 06 2026 Gwyn Ciesla - 1.26.10-1 -- 1.26.10 - -* Wed Dec 03 2025 Gwyn Ciesla - 1.26.9-1 -- 1.26.9 - -* Wed Nov 12 2025 Gwyn Ciesla - 1.26.8-1 -- 1.26.8 - -* Tue Oct 14 2025 Gwyn Ciesla - 1.26.7-1 -- 1.26.7 - -* Mon Sep 15 2025 Gwyn Ciesla - 1.26.6-1 -- 1.26.6 - -* Fri Aug 08 2025 Gwyn Ciesla - 1.26.5-2 -- Introspection patch - -* Fri Aug 08 2025 Gwyn Ciesla - 1.26.5-1 -- 1.26.5 - -* Thu Jul 24 2025 Fedora Release Engineering - 1.26.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Fri Jun 27 2025 Gwyn Ciesla - 1.26.3-1 -- 1.26.3 - -* Fri May 30 2025 Gwyn Ciesla - 1.26.2-1 -- 1.26.2 - -* Fri Apr 25 2025 Gwyn Ciesla - 1.26.1-1 -- 1.26.1 - -* Wed Mar 12 2025 Gwyn Ciesla - 1.26.0-1 -- 1.26.0 - -* Fri Jan 17 2025 Fedora Release Engineering - 1.24.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Tue Jan 07 2025 Gwyn Ciesla - 1.24.11-1 -- 1.24.11 - -* Wed Dec 04 2024 Gwyn Ciesla - 1.24.10-1 -- 1.24.10 - -* Thu Oct 31 2024 Gwyn Ciesla - 1.24.9-1 -- 1.24.9 - -* Thu Sep 19 2024 Gwyn Ciesla - 1.24.8-1 -- 1.24.8 - -* Wed Aug 21 2024 Gwyn Ciesla - 1.24.7-1 -- 1.24.7 - -* Mon Jul 29 2024 Gwyn Ciesla - 1.24.6-1 -- 1.24.6 - -* Thu Jul 18 2024 Fedora Release Engineering - 1.24.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 21 2024 Gwyn Ciesla - 1.24.5-1 -- 1.24.5 - -* Wed May 29 2024 Gwyn Ciesla - 1.24.4-1 -- 1.24.4 - -* Tue Apr 30 2024 Gwyn Ciesla - 1.24.3-1 -- 1.24.3 - -* Tue Mar 05 2024 Wim Taymans - 1.24.0-1 -- Update to 1.24.0 +* Thu Apr 18 2024 Gwyn Ciesla - 1.22.11-1 +- 1.22.11 * Thu Jan 25 2024 Gwyn Ciesla - 1.22.9-1 - 1.22.9 diff --git a/sources b/sources index 848e92d..a9be6d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gstreamer-1.26.10.tar.xz) = c12a2347052b4f92d5180bc62d0c854900f724fb9a3a4f238b6c6d1abeaef217f11551d0f6148ef04eecfbf74bb54d82ab415ec09fcb09aeabbfcc470437e944 +SHA512 (gstreamer-1.22.11.tar.xz) = 8976cebd2cbac3ef31ee6163d2c5264be7d10d54ab9fe6f0b2317d7d0380420ef2378e1b476af09f1e6b203e3eafcda88fc08bb2f550a6f411d8670dec04843e