import gstreamer1-1.16.1-2.el8
This commit is contained in:
parent
10a6625bc7
commit
628c25938c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/gstreamer-1.14.0.tar.xz
|
||||
SOURCES/gstreamer-1.16.1.tar.xz
|
||||
|
@ -1 +1 @@
|
||||
6ed978dff1d04c2b65e55c9e1c7c815ecd5c0e1f SOURCES/gstreamer-1.14.0.tar.xz
|
||||
7a1f4c3758d2e5f4dc7029604f92e00be99120dd SOURCES/gstreamer-1.16.1.tar.xz
|
||||
|
@ -1,41 +0,0 @@
|
||||
From b4ff2c8805221bcff6895c543cb019a817ad7104 Mon Sep 17 00:00:00 2001
|
||||
From: Wim Taymans <wtaymans@redhat.com>
|
||||
Date: Thu, 22 Feb 2018 09:52:03 +0100
|
||||
Subject: [PATCH] avoid compilation errors with newer glib
|
||||
|
||||
Newest glib does type propagation. Do an explicit cast to the
|
||||
right type to silence the compiler.
|
||||
---
|
||||
gst/gstchildproxy.c | 2 +-
|
||||
gst/parse/grammar.y | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/gst/gstchildproxy.c b/gst/gstchildproxy.c
|
||||
index ca5e47ea3..1bf983afa 100644
|
||||
--- a/gst/gstchildproxy.c
|
||||
+++ b/gst/gstchildproxy.c
|
||||
@@ -209,7 +209,7 @@ gst_child_proxy_lookup (GstChildProxy * object, const gchar * name,
|
||||
g_return_val_if_fail (GST_IS_CHILD_PROXY (object), FALSE);
|
||||
g_return_val_if_fail (name != NULL, FALSE);
|
||||
|
||||
- obj = g_object_ref (object);
|
||||
+ obj = G_OBJECT (g_object_ref (object));
|
||||
|
||||
current = names = g_strsplit (name, "::", -1);
|
||||
/* find the owner of the property */
|
||||
diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
|
||||
index bc4c3c1ed..0b3d04821 100644
|
||||
--- a/gst/parse/grammar.y
|
||||
+++ b/gst/parse/grammar.y
|
||||
@@ -406,7 +406,7 @@ static void gst_parse_element_set (gchar *value, GstElement *element, graph_t *g
|
||||
} else {
|
||||
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (element), value);
|
||||
if (pspec != NULL) {
|
||||
- target = g_object_ref (element);
|
||||
+ target = G_OBJECT(g_object_ref (element));
|
||||
GST_CAT_LOG_OBJECT (GST_CAT_PIPELINE, target, "found %s property", value);
|
||||
} else {
|
||||
SET_ERROR (graph->error, GST_PARSE_ERROR_NO_SUCH_PROPERTY, \
|
||||
--
|
||||
2.14.3
|
||||
|
@ -1,21 +1,27 @@
|
||||
From 7c0fb2de2921d15493d7353ae269140b17e8d88e Mon Sep 17 00:00:00 2001
|
||||
From 2f5019ea84f197313ae39d2e2b36dfc49e542ff1 Mon Sep 17 00:00:00 2001
|
||||
From: Wim Taymans <wtaymans@redhat.com>
|
||||
Date: Mon, 4 Jan 2016 11:39:33 +0100
|
||||
Subject: [PATCH] inspect: Add RPM output format
|
||||
Date: Tue, 23 Jun 2015 10:28:29 +0200
|
||||
Subject: gst-inspect: add mode to output RPM requires format
|
||||
|
||||
---
|
||||
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 89a1fab92..6d2369814 100644
|
||||
index 1b5ed83f8..2a04fbdac 100644
|
||||
--- a/tools/gst-inspect.c
|
||||
+++ b/tools/gst-inspect.c
|
||||
@@ -1524,7 +1524,224 @@ print_tracer_info (GstPluginFeature * feature, gboolean print_names)
|
||||
@@ -386,7 +386,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 {
|
||||
@@ -1726,11 +1726,228 @@ print_tracer_info (GstPluginFeature * feature, gboolean print_names)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
-print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
|
||||
+static void
|
||||
+print_gst_structure_append_field (GList * strings, const char *field)
|
||||
+{
|
||||
+ GList *s;
|
||||
@ -231,13 +237,17 @@ index 89a1fab92..6d2369814 100644
|
||||
+ g_list_free (strings);
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
/* NOTE: Not coloring output from automatic install functions, as their output
|
||||
* is meant for machines, not humans.
|
||||
*/
|
||||
static void
|
||||
-print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
|
||||
+print_plugin_automatic_install_info_codecs (GstElementFactory * factory,
|
||||
+ gboolean rpm_format)
|
||||
{
|
||||
GstPadDirection direction;
|
||||
const gchar *type_name;
|
||||
@@ -1550,6 +1767,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
|
||||
@@ -1756,6 +1973,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
|
||||
return;
|
||||
}
|
||||
|
||||
@ -251,7 +261,7 @@ index 89a1fab92..6d2369814 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);
|
||||
@@ -1586,15 +1810,20 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
|
||||
@@ -1792,15 +2016,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");
|
||||
@ -276,7 +286,7 @@ index 89a1fab92..6d2369814 100644
|
||||
{
|
||||
const gchar *const *protocols;
|
||||
|
||||
@@ -1603,13 +1832,19 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
|
||||
@@ -1809,13 +2038,19 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
|
||||
switch (gst_element_factory_get_uri_type (factory)) {
|
||||
case GST_URI_SINK:
|
||||
while (*protocols != NULL) {
|
||||
@ -298,7 +308,7 @@ index 89a1fab92..6d2369814 100644
|
||||
++protocols;
|
||||
}
|
||||
break;
|
||||
@@ -1620,7 +1855,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
|
||||
@@ -1826,7 +2061,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
|
||||
}
|
||||
|
||||
static void
|
||||
@ -307,7 +317,7 @@ index 89a1fab92..6d2369814 100644
|
||||
{
|
||||
GList *features, *l;
|
||||
|
||||
@@ -1639,11 +1874,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin)
|
||||
@@ -1845,11 +2080,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin)
|
||||
if (feature_plugin == plugin) {
|
||||
GstElementFactory *factory;
|
||||
|
||||
@ -326,7 +336,7 @@ index 89a1fab92..6d2369814 100644
|
||||
}
|
||||
if (feature_plugin)
|
||||
gst_object_unref (feature_plugin);
|
||||
@@ -1665,7 +1904,7 @@ print_all_plugin_automatic_install_info (void)
|
||||
@@ -1871,7 +2110,7 @@ print_all_plugin_automatic_install_info (void)
|
||||
plugin = (GstPlugin *) (plugins->data);
|
||||
plugins = g_list_next (plugins);
|
||||
|
||||
@ -335,7 +345,7 @@ index 89a1fab92..6d2369814 100644
|
||||
}
|
||||
gst_plugin_list_free (orig_plugins);
|
||||
}
|
||||
@@ -1677,6 +1916,7 @@ main (int argc, char *argv[])
|
||||
@@ -1938,6 +2177,7 @@ main (int argc, char *argv[])
|
||||
gboolean do_print_blacklist = FALSE;
|
||||
gboolean plugin_name = FALSE;
|
||||
gboolean print_aii = FALSE;
|
||||
@ -343,7 +353,7 @@ index 89a1fab92..6d2369814 100644
|
||||
gboolean uri_handlers = FALSE;
|
||||
gboolean check_exists = FALSE;
|
||||
gchar *min_version = NULL;
|
||||
@@ -1695,6 +1935,9 @@ main (int argc, char *argv[])
|
||||
@@ -1958,6 +2198,9 @@ main (int argc, char *argv[])
|
||||
"or all plugins provide.\n "
|
||||
"Useful in connection with external automatic plugin "
|
||||
"installation mechanisms"), NULL},
|
||||
@ -353,7 +363,7 @@ index 89a1fab92..6d2369814 100644
|
||||
{"plugin", '\0', 0, G_OPTION_ARG_NONE, &plugin_name,
|
||||
N_("List the plugin contents"), NULL},
|
||||
{"types", 't', 0, G_OPTION_ARG_STRING, &types,
|
||||
@@ -1825,7 +2068,7 @@ main (int argc, char *argv[])
|
||||
@@ -2113,7 +2356,7 @@ main (int argc, char *argv[])
|
||||
/* if there is such a plugin, print out info */
|
||||
if (plugin) {
|
||||
if (print_aii) {
|
||||
@ -362,7 +372,7 @@ index 89a1fab92..6d2369814 100644
|
||||
} else {
|
||||
print_plugin_info (plugin);
|
||||
print_plugin_features (plugin);
|
||||
@@ -1838,13 +2081,17 @@ main (int argc, char *argv[])
|
||||
@@ -2126,13 +2369,17 @@ main (int argc, char *argv[])
|
||||
|
||||
if (plugin) {
|
||||
if (print_aii) {
|
||||
@ -380,8 +390,5 @@ index 89a1fab92..6d2369814 100644
|
||||
+ g_printerr (_("Could not load plugin file: %s\n"),
|
||||
+ error->message);
|
||||
g_clear_error (&error);
|
||||
return -1;
|
||||
}
|
||||
--
|
||||
2.14.3
|
||||
|
||||
exit_code = -1;
|
||||
goto done;
|
||||
|
@ -9,8 +9,8 @@
|
||||
%global _gobject_introspection 1.31.1
|
||||
|
||||
Name: gstreamer1
|
||||
Version: 1.14.0
|
||||
Release: 3%{?gitcommit:.git%{shortcommit}}%{?dist}
|
||||
Version: 1.16.1
|
||||
Release: 2%{?gitcommit:.git%{shortcommit}}%{?dist}
|
||||
Summary: GStreamer streaming media framework runtime
|
||||
|
||||
License: LGPLv2+
|
||||
@ -24,7 +24,6 @@ Source0: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{versi
|
||||
%endif
|
||||
## For GStreamer RPM provides
|
||||
Patch0: gstreamer-inspect-rpm-format.patch
|
||||
Patch1: 0001-avoid-compilation-errors-with-newer-glib.patch
|
||||
Source1: gstreamer1.prov
|
||||
Source2: gstreamer1.attr
|
||||
|
||||
@ -38,13 +37,14 @@ BuildRequires: check-devel
|
||||
BuildRequires: gtk-doc >= 1.3
|
||||
BuildRequires: gettext
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: libcap-devel
|
||||
|
||||
# ./autogen.sh deps
|
||||
BuildRequires: automake gettext-devel libtool
|
||||
BuildRequires: chrpath
|
||||
|
||||
### documentation requirements
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3
|
||||
BuildRequires: openjade
|
||||
BuildRequires: texlive-jadetex
|
||||
BuildRequires: libxslt
|
||||
@ -92,7 +92,6 @@ GStreamer streaming media framework.
|
||||
%prep
|
||||
%setup -q -n gstreamer-%{version}
|
||||
%patch0 -p1 -b .rpm-provides
|
||||
%patch1 -p1 -b .0001
|
||||
|
||||
%build
|
||||
NOCONFIGURE=1 \
|
||||
@ -105,7 +104,9 @@ NOCONFIGURE=1 \
|
||||
--enable-debug \
|
||||
--disable-fatal-warnings \
|
||||
--disable-silent-rules \
|
||||
--disable-tests --disable-examples
|
||||
--disable-tests --disable-examples \
|
||||
--with-ptp-helper-permissions=capabilities
|
||||
|
||||
|
||||
%make_build V=1
|
||||
|
||||
@ -189,6 +190,8 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
|
||||
%{_datadir}/gir-1.0/GstNet-%{majorminor}.gir
|
||||
|
||||
%{_datadir}/aclocal/gst-element-check-%{majorminor}.m4
|
||||
%{_datadir}/gstreamer-%{majorminor}/gdb/
|
||||
%{_datadir}/gdb/auto-load/
|
||||
|
||||
%{_libdir}/pkgconfig/gstreamer-%{majorminor}.pc
|
||||
%{_libdir}/pkgconfig/gstreamer-base-%{majorminor}.pc
|
||||
@ -203,6 +206,16 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Nov 18 2019 Tomas Pelka <tpelka@redhat.com> - 1.16.1-2
|
||||
- Update to 1.16.2 for correctly pick up for side gating
|
||||
- Resolves: rhbz#1756299
|
||||
|
||||
|
||||
* Tue Nov 12 2019 Wim Taymans <wtaymans@redhat.com> - 1.16.1-1
|
||||
- Update to 1.16.1
|
||||
- Enable libcap for the ptp helper permissions
|
||||
- Resolves: rhbz#1756299
|
||||
|
||||
* Fri Jun 29 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.14.0-3
|
||||
- Use python3 for docs generation
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user