diff --git a/gstreamer-inspect-rpm-format.patch b/0001-gst-inspect-add-mode-to-output-RPM-requires-format.patch similarity index 88% rename from gstreamer-inspect-rpm-format.patch rename to 0001-gst-inspect-add-mode-to-output-RPM-requires-format.patch index 0114c064119c10ae56e32588c90bb8711327c917..093f2efb59d6abee770d3c188d0ba40d61a432cc 100644 --- a/gstreamer-inspect-rpm-format.patch +++ b/0001-gst-inspect-add-mode-to-output-RPM-requires-format.patch @@ -1,26 +1,17 @@ -From 642d0d6fef226fb89eaecf0016f8e5e333b9023e Mon Sep 17 00:00:00 2001 +From 74a22350dacdd176ee7a6a93fa8393b75e0fcd06 Mon Sep 17 00:00:00 2001 From: Wim Taymans -Date: Tue, 23 Jun 2015 10:28:29 +0200 +Date: Tue, 5 Mar 2024 10:05:36 +0100 Subject: [PATCH] gst-inspect: add mode to output RPM requires format --- - tools/gst-inspect.c | 279 +++++++++++++++++++++++++++++++++++++++++--- - 1 file changed, 263 insertions(+), 16 deletions(-) + subprojects/gstreamer/tools/gst-inspect.c | 277 ++++++++++++++++++++-- + 1 file changed, 262 insertions(+), 15 deletions(-) -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) +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) return 0; } @@ -250,7 +241,7 @@ index 8da042946..a057cba09 100644 { GstPadDirection direction; const gchar *type_name; -@@ -1769,6 +1986,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) +@@ -1966,6 +2183,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) return; } @@ -264,7 +255,7 @@ index 8da042946..a057cba09 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); -@@ -1805,15 +2029,20 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) +@@ -2002,15 +2226,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"); @@ -289,7 +280,7 @@ index 8da042946..a057cba09 100644 { const gchar *const *protocols; -@@ -1822,13 +2051,19 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) +@@ -2019,13 +2248,19 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) switch (gst_element_factory_get_uri_type (factory)) { case GST_URI_SINK: while (*protocols != NULL) { @@ -311,7 +302,7 @@ index 8da042946..a057cba09 100644 ++protocols; } break; -@@ -1839,7 +2074,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) +@@ -2036,7 +2271,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) } static void @@ -320,7 +311,7 @@ index 8da042946..a057cba09 100644 { GList *features, *l; -@@ -1858,11 +2093,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin) +@@ -2055,11 +2290,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin) if (feature_plugin == plugin) { GstElementFactory *factory; @@ -339,7 +330,7 @@ index 8da042946..a057cba09 100644 } if (feature_plugin) gst_object_unref (feature_plugin); -@@ -1884,7 +2123,7 @@ print_all_plugin_automatic_install_info (void) +@@ -2083,7 +2322,7 @@ print_all_plugin_automatic_install_info (void) plugin = (GstPlugin *) (plugins->data); plugins = g_list_next (plugins); @@ -348,7 +339,7 @@ index 8da042946..a057cba09 100644 } gst_plugin_list_free (orig_plugins); } -@@ -1951,6 +2190,7 @@ main (int argc, char *argv[]) +@@ -2169,6 +2408,7 @@ real_main (int argc, char *argv[]) gboolean do_print_blacklist = FALSE; gboolean plugin_name = FALSE; gboolean print_aii = FALSE; @@ -356,7 +347,7 @@ index 8da042946..a057cba09 100644 gboolean uri_handlers = FALSE; gboolean check_exists = FALSE; gboolean color_always = FALSE; -@@ -1972,6 +2212,9 @@ main (int argc, char *argv[]) +@@ -2190,6 +2430,9 @@ real_main (int argc, char *argv[]) "or all plugins provide.\n " "Useful in connection with external automatic plugin " "installation mechanisms"), NULL}, @@ -366,7 +357,7 @@ index 8da042946..a057cba09 100644 {"plugin", '\0', 0, G_OPTION_ARG_NONE, &plugin_name, N_("List the plugin contents"), NULL}, {"types", 't', 0, G_OPTION_ARG_STRING, &types, -@@ -2135,7 +2378,7 @@ main (int argc, char *argv[]) +@@ -2364,7 +2607,7 @@ real_main (int argc, char *argv[]) /* if there is such a plugin, print out info */ if (plugin) { if (print_aii) { @@ -374,8 +365,8 @@ index 8da042946..a057cba09 100644 + print_plugin_automatic_install_info (plugin, print_aii_rpm); } else { print_plugin_info (plugin); - print_plugin_features (plugin); -@@ -2148,13 +2391,17 @@ main (int argc, char *argv[]) + print_plugin_status (plugin); +@@ -2378,14 +2621,18 @@ real_main (int argc, char *argv[]) if (plugin) { if (print_aii) { @@ -383,6 +374,7 @@ index 8da042946..a057cba09 100644 + print_plugin_automatic_install_info (plugin, print_aii_rpm); } else { print_plugin_info (plugin); + print_plugin_status (plugin); print_plugin_features (plugin); } } else { @@ -396,5 +388,5 @@ index 8da042946..a057cba09 100644 exit_code = -1; goto done; -- -2.26.2 +2.43.2 diff --git a/gstreamer-1.22.5.tar.xz b/gstreamer-1.22.5.tar.xz deleted file mode 100644 index fbd28ea84cab1188aad303de962ea056d880a3e6..0000000000000000000000000000000000000000 Binary files a/gstreamer-1.22.5.tar.xz and /dev/null differ diff --git a/gstreamer-1.24.0.tar.xz b/gstreamer-1.24.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..e54e10746bd483349e144950172f2c4c1fa333f3 Binary files /dev/null and b/gstreamer-1.24.0.tar.xz differ diff --git a/gstreamer1.spec b/gstreamer1.spec index 93cec880ff6881018acb04ffff9f9e8c516047d9..20653fef08f76769473061bc4853eacc6a8a92e0 100644 --- a/gstreamer1.spec +++ b/gstreamer1.spec @@ -1,21 +1,22 @@ Name: gstreamer1 -Version: 1.22.5 +Version: 1.24.0 Release: 1 Summary: Bindings for GStreamer 1.0, the open source multimedia framework License: LGPLv2+ URL: https://gstreamer.freedesktop.org/ -Source0: https://github.com/GStreamer/gstreamer/archive/refs/tags/gstreamer-%{version}.tar.xz +Source0: https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz Source1: gstreamer1.attr Source2: gstreamer1.prov -Patch0001: gstreamer-inspect-rpm-format.patch +Patch0001: 0001-gst-inspect-add-mode-to-output-RPM-requires-format.patch BuildRequires: bison check-devel chrpath meson >= 0.59.0 gcc BuildRequires: flex gettext gettext-devel glib2-devel >= 2.32.0 BuildRequires: gobject-introspection-devel >= 1.31.1 libtool BuildRequires: libxml2-devel >= 2.4.0 pkgconfig libcap-devel BuildRequires: libunwind-devel elfutils-devel bash-completion +BuildRequires: rustc %description GStreamer1 implements a framework that allows for processing and encoding of @@ -46,8 +47,7 @@ Provides: %{name}-devel-docs Man pages and other related documents for %{name}. %prep -%autosetup -n gstreamer-%{version} -p1 - +%autosetup -n gstreamer-%{version} -p3 %build @@ -98,6 +98,9 @@ install -m0755 -D %{SOURCE2} %{buildroot}%{_rpmconfigdir}/gstreamer1.prov %{_mandir}/man1/*.gz %changelog +* Mon Mar 11 2024 liweigang - 1.24.0-1 +- update to version 1.24.0 + * Wed Nov 22 2023 lwg - 1.22.5-1 - update to version 1.22.5