Compare commits

...

No commits in common. 'i8c' and 'c9' have entirely different histories.
i8c ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/gstreamer-1.16.1.tar.xz SOURCES/gstreamer-1.22.1.tar.xz

@ -1 +1 @@
7a1f4c3758d2e5f4dc7029604f92e00be99120dd SOURCES/gstreamer-1.16.1.tar.xz 5f8b6ab5c08669553750154a11e3b39bf7a86383 SOURCES/gstreamer-1.22.1.tar.xz

@ -1,14 +1,17 @@
From 2f5019ea84f197313ae39d2e2b36dfc49e542ff1 Mon Sep 17 00:00:00 2001 From 642d0d6fef226fb89eaecf0016f8e5e333b9023e Mon Sep 17 00:00:00 2001
From: Wim Taymans <wtaymans@redhat.com> From: Wim Taymans <wtaymans@redhat.com>
Date: Tue, 23 Jun 2015 10:28:29 +0200 Date: Tue, 23 Jun 2015 10:28:29 +0200
Subject: gst-inspect: add mode to output RPM requires format Subject: [PATCH] gst-inspect: add mode to output RPM requires format
---
tools/gst-inspect.c | 279 +++++++++++++++++++++++++++++++++++++++++---
1 file changed, 263 insertions(+), 16 deletions(-)
diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c
index 1b5ed83f8..2a04fbdac 100644 index 8da042946..a057cba09 100644
--- a/tools/gst-inspect.c --- a/tools/gst-inspect.c
+++ b/tools/gst-inspect.c +++ b/tools/gst-inspect.c
@@ -386,7 +386,7 @@ print_object_properties_info (GObject * obj, GObjectClass * obj_class, @@ -394,7 +394,7 @@ print_object_properties_info (GObject * obj, GObjectClass * obj_class,
first_flag = TRUE; first_flag = TRUE;
n_print ("%sflags%s: ", PROP_ATTR_NAME_COLOR, RESET_COLOR); n_print ("%sflags%s: ", PROP_ATTR_NAME_COLOR, RESET_COLOR);
@ -17,7 +20,7 @@ index 1b5ed83f8..2a04fbdac 100644
if (readable && obj != NULL) { if (readable && obj != NULL) {
g_object_get_property (obj, param->name, &value); g_object_get_property (obj, param->name, &value);
} else { } else {
@@ -1726,11 +1726,228 @@ print_tracer_info (GstPluginFeature * feature, gboolean print_names) @@ -1739,11 +1739,228 @@ print_tracer_info (GstPluginFeature * feature, gboolean print_names)
return 0; return 0;
} }
@ -247,7 +250,7 @@ index 1b5ed83f8..2a04fbdac 100644
{ {
GstPadDirection direction; GstPadDirection direction;
const gchar *type_name; const gchar *type_name;
@@ -1756,6 +1973,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory) @@ -1769,6 +1986,13 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
return; return;
} }
@ -261,7 +264,7 @@ index 1b5ed83f8..2a04fbdac 100644
/* decoder/demuxer sink pads should always be static and there should only /* decoder/demuxer sink pads should always be static and there should only
* be one, the same applies to encoders/muxers and source pads */ * be one, the same applies to encoders/muxers and source pads */
static_templates = gst_element_factory_get_static_pad_templates (factory); static_templates = gst_element_factory_get_static_pad_templates (factory);
@@ -1792,15 +2016,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, "rate");
gst_structure_remove_field (s, "depth"); gst_structure_remove_field (s, "depth");
gst_structure_remove_field (s, "clock-rate"); gst_structure_remove_field (s, "clock-rate");
@ -286,7 +289,7 @@ index 1b5ed83f8..2a04fbdac 100644
{ {
const gchar *const *protocols; const gchar *const *protocols;
@@ -1809,13 +2038,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)) { switch (gst_element_factory_get_uri_type (factory)) {
case GST_URI_SINK: case GST_URI_SINK:
while (*protocols != NULL) { while (*protocols != NULL) {
@ -308,7 +311,7 @@ index 1b5ed83f8..2a04fbdac 100644
++protocols; ++protocols;
} }
break; break;
@@ -1826,7 +2061,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory) @@ -1839,7 +2074,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
} }
static void static void
@ -317,7 +320,7 @@ index 1b5ed83f8..2a04fbdac 100644
{ {
GList *features, *l; GList *features, *l;
@@ -1845,11 +2080,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin) @@ -1858,11 +2093,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin)
if (feature_plugin == plugin) { if (feature_plugin == plugin) {
GstElementFactory *factory; GstElementFactory *factory;
@ -336,7 +339,7 @@ index 1b5ed83f8..2a04fbdac 100644
} }
if (feature_plugin) if (feature_plugin)
gst_object_unref (feature_plugin); gst_object_unref (feature_plugin);
@@ -1871,7 +2110,7 @@ print_all_plugin_automatic_install_info (void) @@ -1884,7 +2123,7 @@ print_all_plugin_automatic_install_info (void)
plugin = (GstPlugin *) (plugins->data); plugin = (GstPlugin *) (plugins->data);
plugins = g_list_next (plugins); plugins = g_list_next (plugins);
@ -345,15 +348,15 @@ index 1b5ed83f8..2a04fbdac 100644
} }
gst_plugin_list_free (orig_plugins); gst_plugin_list_free (orig_plugins);
} }
@@ -1938,6 +2177,7 @@ main (int argc, char *argv[]) @@ -1951,6 +2190,7 @@ main (int argc, char *argv[])
gboolean do_print_blacklist = FALSE; gboolean do_print_blacklist = FALSE;
gboolean plugin_name = FALSE; gboolean plugin_name = FALSE;
gboolean print_aii = FALSE; gboolean print_aii = FALSE;
+ gboolean print_aii_rpm = FALSE; + gboolean print_aii_rpm = FALSE;
gboolean uri_handlers = FALSE; gboolean uri_handlers = FALSE;
gboolean check_exists = FALSE; gboolean check_exists = FALSE;
gchar *min_version = NULL; gboolean color_always = FALSE;
@@ -1958,6 +2198,9 @@ main (int argc, char *argv[]) @@ -1972,6 +2212,9 @@ main (int argc, char *argv[])
"or all plugins provide.\n " "or all plugins provide.\n "
"Useful in connection with external automatic plugin " "Useful in connection with external automatic plugin "
"installation mechanisms"), NULL}, "installation mechanisms"), NULL},
@ -363,7 +366,7 @@ index 1b5ed83f8..2a04fbdac 100644
{"plugin", '\0', 0, G_OPTION_ARG_NONE, &plugin_name, {"plugin", '\0', 0, G_OPTION_ARG_NONE, &plugin_name,
N_("List the plugin contents"), NULL}, N_("List the plugin contents"), NULL},
{"types", 't', 0, G_OPTION_ARG_STRING, &types, {"types", 't', 0, G_OPTION_ARG_STRING, &types,
@@ -2113,7 +2356,7 @@ main (int argc, char *argv[]) @@ -2135,7 +2378,7 @@ main (int argc, char *argv[])
/* if there is such a plugin, print out info */ /* if there is such a plugin, print out info */
if (plugin) { if (plugin) {
if (print_aii) { if (print_aii) {
@ -372,7 +375,7 @@ index 1b5ed83f8..2a04fbdac 100644
} else { } else {
print_plugin_info (plugin); print_plugin_info (plugin);
print_plugin_features (plugin); print_plugin_features (plugin);
@@ -2126,13 +2369,17 @@ main (int argc, char *argv[]) @@ -2148,13 +2391,17 @@ main (int argc, char *argv[])
if (plugin) { if (plugin) {
if (print_aii) { if (print_aii) {
@ -392,3 +395,6 @@ index 1b5ed83f8..2a04fbdac 100644
g_clear_error (&error); g_clear_error (&error);
exit_code = -1; exit_code = -1;
goto done; goto done;
--
2.26.2

@ -9,7 +9,7 @@
# Based on other provides scripts from RPM # Based on other provides scripts from RPM
# #
filelist=`grep -e '.so$' | sed "s/['\"]/\\\&/g"` filelist=`grep -e '^.*/gstreamer-1.0/lib.*.so$' | sed "s/['\"]/\\\&/g"`
# --- Alpha does not mark 64bit dependencies• # --- Alpha does not mark 64bit dependencies•
case `uname -m` in case `uname -m` in
@ -17,8 +17,8 @@ case `uname -m` in
*) mark64="()(64bit)" ;; *) mark64="()(64bit)" ;;
esac esac
solist=$(echo $filelist | grep "libgst" | \ solist=$(echo $filelist | \
xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1 ) xargs file -L 2>/dev/null | grep "ELF" | cut -d: -f1 )
function getmark() function getmark()
{ {

@ -7,9 +7,16 @@
%global _glib2 2.32.0 %global _glib2 2.32.0
%global _libxml2 2.4.0 %global _libxml2 2.4.0
%global _gobject_introspection 1.31.1 %global _gobject_introspection 1.31.1
%global __python %{__python3}
%if 0%{?fedora}
%bcond_without unwind
%else
%bcond_with unwind
%endif
Name: gstreamer1 Name: gstreamer1
Version: 1.16.1 Version: 1.22.1
Release: 2%{?gitcommit:.git%{shortcommit}}%{?dist} Release: 2%{?gitcommit:.git%{shortcommit}}%{?dist}
Summary: GStreamer streaming media framework runtime Summary: GStreamer streaming media framework runtime
@ -27,34 +34,22 @@ Patch0: gstreamer-inspect-rpm-format.patch
Source1: gstreamer1.prov Source1: gstreamer1.prov
Source2: gstreamer1.attr Source2: gstreamer1.attr
BuildRequires: meson >= 0.48.0
BuildRequires: gcc
BuildRequires: glib2-devel >= %{_glib2} BuildRequires: glib2-devel >= %{_glib2}
BuildRequires: libxml2-devel >= %{_libxml2} BuildRequires: libxml2-devel >= %{_libxml2}
BuildRequires: gobject-introspection-devel >= %{_gobject_introspection} BuildRequires: gobject-introspection-devel >= %{_gobject_introspection}
BuildRequires: bison BuildRequires: bison
BuildRequires: flex BuildRequires: flex
BuildRequires: m4
BuildRequires: check-devel BuildRequires: check-devel
BuildRequires: gtk-doc >= 1.3
BuildRequires: gettext BuildRequires: gettext
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: libcap-devel BuildRequires: libcap-devel
%if %{with unwind}
# ./autogen.sh deps BuildRequires: libunwind-devel
BuildRequires: automake gettext-devel libtool %endif
BuildRequires: chrpath BuildRequires: elfutils-devel
BuildRequires: bash-completion
### documentation requirements
BuildRequires: python3
BuildRequires: openjade
BuildRequires: texlive-jadetex
BuildRequires: libxslt
BuildRequires: docbook-style-dsssl
BuildRequires: docbook-style-xsl
BuildRequires: docbook-utils
BuildRequires: transfig
BuildRequires: netpbm-progs
BuildRequires: texlive-dvips
BuildRequires: ghostscript
%description %description
GStreamer is a streaming media framework, based on graphs of filters which GStreamer is a streaming media framework, based on graphs of filters which
@ -78,7 +73,7 @@ Conflicts: gstreamer1-plugins-bad-free-devel < 1.13
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%if 0
%package devel-docs %package devel-docs
Summary: Developer documentation for GStreamer streaming media framework Summary: Developer documentation for GStreamer streaming media framework
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -87,6 +82,7 @@ BuildArch: noarch
%description devel-docs %description devel-docs
This %{name}-devel-docs contains developer documentation for the This %{name}-devel-docs contains developer documentation for the
GStreamer streaming media framework. GStreamer streaming media framework.
%endif
%prep %prep
@ -94,41 +90,30 @@ GStreamer streaming media framework.
%patch0 -p1 -b .rpm-provides %patch0 -p1 -b .rpm-provides
%build %build
NOCONFIGURE=1 \ %meson \
./autogen.sh -D package-name='Fedora GStreamer package' \
-D package-origin='http://download.fedoraproject.org' \
%configure \ -D tests=disabled -D examples=disabled \
--with-package-name='Fedora GStreamer package' \ -D ptp-helper-permissions=capabilities \
--with-package-origin='http://download.fedoraproject.org' \ %{!?with_unwind:-D libunwind=disabled -D libdw=disabled } \
--enable-gtk-doc \ -D dbghelp=disabled \
--enable-debug \ -D doc=disabled
--disable-fatal-warnings \ %meson_build
--disable-silent-rules \
--disable-tests --disable-examples \
--with-ptp-helper-permissions=capabilities
%make_build V=1
%install %install
%make_install %meson_install
%find_lang gstreamer-%{majorminor} %find_lang gstreamer-%{majorminor}
# Clean out files that should not be part of the rpm.
find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
find $RPM_BUILD_ROOT -name '*.a' -exec rm -fv {} ';'
# Add the provides script # Add the provides script
install -m0755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/gstreamer1.prov install -m0755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/gstreamer1.prov
# Add the gstreamer plugin file attribute entry (rpm >= 4.9.0) # Add the gstreamer plugin file attribute entry (rpm >= 4.9.0)
install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer1.attr install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer1.attr
%ldconfig_scriptlets %ldconfig_scriptlets
%files -f gstreamer-%{majorminor}.lang %files -f gstreamer-%{majorminor}.lang
%license COPYING %license COPYING
%doc AUTHORS NEWS README RELEASE %doc AUTHORS NEWS README.md README.static-linking RELEASE
%{_libdir}/libgstreamer-%{majorminor}.so.* %{_libdir}/libgstreamer-%{majorminor}.so.*
%{_libdir}/libgstbase-%{majorminor}.so.* %{_libdir}/libgstbase-%{majorminor}.so.*
%{_libdir}/libgstcheck-%{majorminor}.so.* %{_libdir}/libgstcheck-%{majorminor}.so.*
@ -190,6 +175,8 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
%{_datadir}/gir-1.0/GstNet-%{majorminor}.gir %{_datadir}/gir-1.0/GstNet-%{majorminor}.gir
%{_datadir}/aclocal/gst-element-check-%{majorminor}.m4 %{_datadir}/aclocal/gst-element-check-%{majorminor}.m4
%dir %{_datadir}/gstreamer-%{majorminor}/gdb/
%{_datadir}/gstreamer-%{majorminor}/gdb/ %{_datadir}/gstreamer-%{majorminor}/gdb/
%{_datadir}/gdb/auto-load/ %{_datadir}/gdb/auto-load/
@ -199,31 +186,125 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
%{_libdir}/pkgconfig/gstreamer-check-%{majorminor}.pc %{_libdir}/pkgconfig/gstreamer-check-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc %{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc
%if 0
%files devel-docs %files devel-docs
%doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor} %doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}
%doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor} %doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}
%doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor} %doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor}
%endif
%changelog %changelog
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.16.1-2 * Wed Apr 12 2023 Wim Taymans <wtaymans@redhat.com> - 1.22.1-2
- Rebuilt for MSVSphere 8.8 - Bump for rebuild
* Tue Mar 21 2023 Wim Taymans <wtaymans@redhat.com> - 1.22.1-1
- Update to 1.22.1
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.18.4-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.18.4-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Apr 6 2021 Wim Taymans <wtaymans@redhat.com> - 1.18.4-2
- Fix build options to disable libunwind and libdw
* Tue Mar 16 2021 Wim Taymans <wtaymans@redhat.com> - 1.18.4-1
- Update to 1.18.4
* Tue Feb 23 2021 Wim Taymans <wtaymans@redhat.com> - 1.18.2-3
- Use libunwind only on fedora
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Nov 18 2019 Tomas Pelka <tpelka@redhat.com> - 1.16.1-2 * Thu Dec 10 2020 Wim Taymans <wtaymans@redhat.com> - 1.18.2-1
- Update to 1.16.2 for correctly pick up for side gating - Update to 1.18.2
- Resolves: rhbz#1756299
* Fri Oct 30 2020 Wim Taymans <wtaymans@redhat.com> - 1.18.1-1
- Update to 1.18.1
* Tue Nov 12 2019 Wim Taymans <wtaymans@redhat.com> - 1.16.1-1 * Tue Sep 8 2020 Wim Taymans <wtaymans@redhat.com> - 1.18.0-1
- Update to 1.18.0
* Fri Aug 21 2020 Wim Taymans <wtaymans@redhat.com> - 1.17.90-1
- Update to 1.17.90
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 6 2020 Wim Taymans <wtaymans@redhat.com> - 1.17.2-1
- Update to 1.17.2
* Mon Jun 22 2020 Wim Taymans <wtaymans@redhat.com> - 1.17.1-2
- Enable debug again
* Mon Jun 22 2020 Wim Taymans <wtaymans@redhat.com> - 1.17.1-1
- Update to 1.17.1
- Update to meson build
- Disable docs because it needs Hotdoc, which is not in Fedora yet
- remove BuildRequires: for gtk-doc and autoconf related things
- Add BuildRequires: for libunwind-devel, elfutils-devel, bash-completion
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jan 2 2020 Wim Taymans <wtaymans@redhat.com> - 1.16.2-1
- Update to 1.16.2
* Tue Sep 24 2019 Wim Taymans <wtaymans@redhat.com> - 1.16.1-1
- Update to 1.16.1 - Update to 1.16.1
- Enable libcap for the ptp helper permissions - Enable libcap for the ptp helper permissions
- Resolves: rhbz#1756299
* Fri Jun 29 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.14.0-3 * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-2
- Use python3 for docs generation - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Apr 23 2019 Wim Taymans <wtaymans@redhat.com> - 1.16.0-1
- Update to 1.16.0
* Fri Mar 01 2019 Wim Taymans <wtaymans@redhat.com> - 1.15.2-1
- Update to 1.15.2
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 28 2019 Wim Taymans <wtaymans@redhat.com> - 1.15.1-2
- Rebuild for dependencies
* Fri Jan 25 2019 Wim Taymans <wtaymans@redhat.com> - 1.15.1-1
- Update to 1.15.1
* Wed Oct 03 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.4-1
- Update to 1.14.4
* Tue Sep 18 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.3-1
- Update to 1.14.3
* Mon Jul 23 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.2-1
- Update to 1.14.2
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 15 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.1-5
- Remove xfig build dependency. It has not been needed since
version 1.2.0
* Wed Jun 06 2018 Bastien Nocera <bnocera@redhat.com> - 1.14.1-4
- Remove -Wcast-align fix patch, it's not complete
* Wed Jun 06 2018 Bastien Nocera <bnocera@redhat.com> - 1.14.1-3
- Add test patch to shut -Wcast-align warnings
* Fri May 25 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.1-2
- Update gstreamer1.prov file: Only scan in plugin directories
and relax file name and type. (#1581325)
* Fri Jun 15 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.0-2 * Mon May 21 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.1-1
- Remove (obsolete since 1.2.0) xfig build dependency. - Update to 1.14.1
- Remove obsolete patch
* Tue Mar 20 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.0-1 * Tue Mar 20 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.0-1
- Update to 1.14.0 - Update to 1.14.0

Loading…
Cancel
Save