Compare commits
No commits in common. "c10" and "c8" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
gst-plugins-ugly-1.24.11.tar.xz
|
||||
SOURCES/gst-plugins-ugly-free-1.16.1.tar.xz
|
||||
|
||||
1
.gstreamer1-plugins-ugly-free.metadata
Normal file
1
.gstreamer1-plugins-ugly-free.metadata
Normal file
@ -0,0 +1 @@
|
||||
404e394c06d39a1bfeae0351006232cce5fbbf64 SOURCES/gst-plugins-ugly-free-1.16.1.tar.xz
|
||||
@ -1,60 +0,0 @@
|
||||
From 34782c33e652723ec95a54942ed4b21de636a8ef Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
|
||||
Date: Wed, 11 Feb 2026 19:27:09 +0200
|
||||
Subject: [PATCH 1/3] asfdemux: Error out on files with more than 32 streams
|
||||
|
||||
This avoids overflowing the static streams array and overwriting
|
||||
random other element state.
|
||||
|
||||
Fixes GST--SA-2026-0006, CVE-2026-2920, ZDI-CAN-28843.
|
||||
|
||||
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4900
|
||||
|
||||
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/10881>
|
||||
---
|
||||
.../gst-plugins-ugly/gst/asfdemux/gstasfdemux.c | 15 +++++++++++++++
|
||||
1 file changed, 15 insertions(+)
|
||||
|
||||
diff --git a/subprojects/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c b/subprojects/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c
|
||||
index 87c685aa23..ed780cccf3 100644
|
||||
--- a/subprojects/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c
|
||||
+++ b/subprojects/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c
|
||||
@@ -2616,6 +2616,9 @@ gst_asf_demux_setup_pad (GstASFDemux * demux, GstPad * src_pad,
|
||||
{
|
||||
AsfStream *stream;
|
||||
|
||||
+ /* Checked in the callers */
|
||||
+ g_assert (demux->num_streams < G_N_ELEMENTS (demux->stream));
|
||||
+
|
||||
gst_pad_use_fixed_caps (src_pad);
|
||||
gst_pad_set_caps (src_pad, caps);
|
||||
|
||||
@@ -3071,6 +3074,12 @@ gst_asf_demux_parse_stream_object (GstASFDemux * demux, guint8 * data,
|
||||
case ASF_STREAM_AUDIO:{
|
||||
asf_stream_audio audio_object;
|
||||
|
||||
+ if (demux->num_streams >= G_N_ELEMENTS (demux->stream)) {
|
||||
+ GST_ELEMENT_ERROR (demux, STREAM, DEMUX, (NULL),
|
||||
+ ("File has too many streams"));
|
||||
+ return NULL;
|
||||
+ }
|
||||
+
|
||||
if (!gst_asf_demux_get_stream_audio (&audio_object, &data, &size))
|
||||
goto not_enough_data;
|
||||
|
||||
@@ -3149,6 +3158,12 @@ gst_asf_demux_parse_stream_object (GstASFDemux * demux, guint8 * data,
|
||||
asf_stream_video video_object;
|
||||
guint16 vsize;
|
||||
|
||||
+ if (demux->num_streams >= G_N_ELEMENTS (demux->stream)) {
|
||||
+ GST_ELEMENT_ERROR (demux, STREAM, DEMUX, (NULL),
|
||||
+ ("File has too many streams"));
|
||||
+ return NULL;
|
||||
+ }
|
||||
+
|
||||
if (!gst_asf_demux_get_stream_video (&video_object, &data, &size))
|
||||
goto not_enough_data;
|
||||
|
||||
--
|
||||
2.53.0
|
||||
|
||||
@ -1,46 +0,0 @@
|
||||
From 5e484fdd24d2081bac0e6da171fd2b7b25715c40 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
|
||||
Date: Wed, 11 Feb 2026 19:58:31 +0200
|
||||
Subject: [PATCH 2/3] rmdemux: Check if new video fragment overflows the
|
||||
fragment storage before storing it
|
||||
|
||||
There already was a check but that happened afterwards, i.e. after an
|
||||
out-of-bounds write that overwrote some following struct data.
|
||||
|
||||
Fixes GST-SA-2026-0005, CVE-2026-2922, ZDI-CAN-28845.
|
||||
|
||||
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4905
|
||||
|
||||
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/10883>
|
||||
---
|
||||
subprojects/gst-plugins-ugly/gst/realmedia/rmdemux.c | 8 +++++---
|
||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/subprojects/gst-plugins-ugly/gst/realmedia/rmdemux.c b/subprojects/gst-plugins-ugly/gst/realmedia/rmdemux.c
|
||||
index 981932675b..521d471678 100644
|
||||
--- a/subprojects/gst-plugins-ugly/gst/realmedia/rmdemux.c
|
||||
+++ b/subprojects/gst-plugins-ugly/gst/realmedia/rmdemux.c
|
||||
@@ -2369,15 +2369,17 @@ gst_rmdemux_parse_video_packet (GstRMDemux * rmdemux, GstRMDemuxStream * stream,
|
||||
stream->frag_length = fragment_size;
|
||||
}
|
||||
|
||||
+ if (stream->frag_count >= MAX_FRAGS) {
|
||||
+ gst_buffer_unref (fragment);
|
||||
+ goto too_many_fragments;
|
||||
+ }
|
||||
+
|
||||
/* put fragment in adapter */
|
||||
gst_adapter_push (stream->adapter, fragment);
|
||||
stream->frag_offset[stream->frag_count] = stream->frag_current;
|
||||
stream->frag_current += fragment_size;
|
||||
stream->frag_count++;
|
||||
|
||||
- if (stream->frag_count > MAX_FRAGS)
|
||||
- goto too_many_fragments;
|
||||
-
|
||||
GST_DEBUG_OBJECT (rmdemux, "stored fragment in adapter %d/%d",
|
||||
stream->frag_current, stream->frag_length);
|
||||
|
||||
--
|
||||
2.53.0
|
||||
|
||||
@ -1,28 +0,0 @@
|
||||
From 9e0dab796a9701e1bda60603f9dda55cfc5f23d5 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
|
||||
Date: Wed, 11 Feb 2026 20:00:04 +0200
|
||||
Subject: [PATCH 3/3] rmdemux: Avoid integer overflow when checking if enough
|
||||
data is available for video fragment
|
||||
|
||||
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/10883>
|
||||
---
|
||||
subprojects/gst-plugins-ugly/gst/realmedia/rmdemux.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/subprojects/gst-plugins-ugly/gst/realmedia/rmdemux.c b/subprojects/gst-plugins-ugly/gst/realmedia/rmdemux.c
|
||||
index 521d471678..19beb51c3d 100644
|
||||
--- a/subprojects/gst-plugins-ugly/gst/realmedia/rmdemux.c
|
||||
+++ b/subprojects/gst-plugins-ugly/gst/realmedia/rmdemux.c
|
||||
@@ -2348,7 +2348,8 @@ gst_rmdemux_parse_video_packet (GstRMDemux * rmdemux, GstRMDemuxStream * stream,
|
||||
}
|
||||
GST_DEBUG_OBJECT (rmdemux, "fragment size %d", fragment_size);
|
||||
|
||||
- if (map.size < (data - map.data) + fragment_size)
|
||||
+ if (fragment_size > map.size
|
||||
+ || (data - map.data) > map.size - fragment_size)
|
||||
goto not_enough_data;
|
||||
|
||||
/* get the fragment */
|
||||
--
|
||||
2.53.0
|
||||
|
||||
116
SOURCES/gst-p-ugly-cleanup.sh
Executable file
116
SOURCES/gst-p-ugly-cleanup.sh
Executable file
@ -0,0 +1,116 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Process a gst-plugins-ugly tarball to remove
|
||||
# unwanted GStreamer plugins.
|
||||
#
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=1397261
|
||||
# for details
|
||||
#
|
||||
# Bastien Nocera <bnocera@redhat.com> - 2010
|
||||
# Yaakov Selkowitz <yselkowi@redhat.com> - 2016
|
||||
#
|
||||
|
||||
SOURCE="$1"
|
||||
NEW_SOURCE=`echo $SOURCE | sed 's/ugly-/ugly-free-/'`
|
||||
DIRECTORY=`echo $SOURCE | sed 's/\.tar\.xz//'`
|
||||
|
||||
ALLOWED="
|
||||
xingmux
|
||||
"
|
||||
|
||||
NOT_ALLOWED="
|
||||
asfdemux
|
||||
dvdlpcmdec
|
||||
dvdsub
|
||||
realmedia
|
||||
"
|
||||
|
||||
error()
|
||||
{
|
||||
MESSAGE=$1
|
||||
echo $MESSAGE
|
||||
exit 1
|
||||
}
|
||||
|
||||
check_allowed()
|
||||
{
|
||||
MODULE=$1
|
||||
for i in $ALLOWED ; do
|
||||
if test x$MODULE = x$i ; then
|
||||
return 0;
|
||||
fi
|
||||
done
|
||||
# Ignore errors coming from ext/ directory
|
||||
# they require external libraries so are ineffective anyway
|
||||
return 1;
|
||||
}
|
||||
|
||||
check_not_allowed()
|
||||
{
|
||||
MODULE=$1
|
||||
for i in $NOT_ALLOWED ; do
|
||||
if test x$MODULE = x$i ; then
|
||||
return 0;
|
||||
fi
|
||||
done
|
||||
return 1;
|
||||
}
|
||||
|
||||
rm -rf $DIRECTORY
|
||||
tar xJf $SOURCE || error "Cannot unpack $SOURCE"
|
||||
pushd $DIRECTORY > /dev/null || error "Cannot open directory \"$DIRECTORY\""
|
||||
|
||||
unknown=""
|
||||
for subdir in gst ext; do
|
||||
for dir in $subdir/* ; do
|
||||
# Don't touch non-directories
|
||||
if ! [ -d $dir ] ; then
|
||||
continue;
|
||||
fi
|
||||
MODULE=`basename $dir`
|
||||
if ( check_not_allowed $MODULE ) ; then
|
||||
echo "**** Removing $MODULE ****"
|
||||
echo "Removing directory $dir"
|
||||
rm -r $dir || error "Cannot remove $dir"
|
||||
if grep -q "AG_GST_CHECK_PLUGIN($MODULE)" configure.ac ; then
|
||||
echo "Removing element check for $MODULE"
|
||||
grep -v "AG_GST_CHECK_PLUGIN($MODULE)" configure.ac > configure.ac.new && mv configure.ac.new configure.ac
|
||||
fi
|
||||
echo "Removing Makefile generation for $MODULE"
|
||||
grep -v "$dir/Makefile" configure.ac > configure.ac.new && mv configure.ac.new configure.ac
|
||||
echo "Removing documentation for $MODULE"
|
||||
if grep -q "$MODULE" docs/plugins/Makefile.am ; then
|
||||
grep -v $dir docs/plugins/Makefile.am > docs/plugins/Makefile.am.new && mv docs/plugins/Makefile.am.new docs/plugins/Makefile.am
|
||||
fi
|
||||
echo
|
||||
elif test $subdir = ext || test $subdir = sys; then
|
||||
# Ignore library or system non-blacklisted plugins
|
||||
continue;
|
||||
elif ! ( check_allowed $MODULE ) ; then
|
||||
echo "Unknown module in $dir"
|
||||
unknown="$unknown $dir"
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
echo "Fixing up AC_CONFIG_SRCDIR"
|
||||
sed -e '/AC_CONFIG_SRCDIR/s/asfdemux/xingmux/g' configure.ac > configure.ac.new && mv configure.ac.new configure.ac
|
||||
|
||||
echo "Fixing up docs/plugins/Makefile.am"
|
||||
sed -e ':a;N;$!ba;s| *\\\n\n|\n\n|g' docs/plugins/Makefile.am > docs/plugins/Makefile.am.new && mv docs/plugins/Makefile.am.new docs/plugins/Makefile.am
|
||||
|
||||
echo
|
||||
|
||||
if test "x$unknown" != "x"; then
|
||||
echo -n "Aborting due to unknown modules: "
|
||||
echo "$unknown" | sed "s/ /\n /g"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
autoreconf
|
||||
|
||||
popd > /dev/null
|
||||
|
||||
tar cJf $NEW_SOURCE $DIRECTORY
|
||||
echo "$NEW_SOURCE is ready to use"
|
||||
|
||||
231
SPECS/gstreamer1-plugins-ugly-free.spec
Normal file
231
SPECS/gstreamer1-plugins-ugly-free.spec
Normal file
@ -0,0 +1,231 @@
|
||||
%global majorminor 1.0
|
||||
|
||||
#global gitrel 140
|
||||
#global gitcommit 4ca3a22b6b33ad8be4383063e76f79c4d346535d
|
||||
#global shortcommit %(c=%{gitcommit}; echo ${c:0:5})
|
||||
|
||||
# Only build mpeg2dec on Fedora
|
||||
%if 0%{?fedora}
|
||||
%bcond_without mpeg2
|
||||
%else
|
||||
%bcond_with mpeg2
|
||||
%endif
|
||||
|
||||
Name: gstreamer1-plugins-ugly-free
|
||||
Version: 1.16.1
|
||||
Release: 1%{?dist}
|
||||
Summary: GStreamer streaming media framework "ugly" plugins
|
||||
|
||||
License: LGPLv2+ and LGPLv2
|
||||
URL: http://gstreamer.freedesktop.org/
|
||||
%if 0%{?gitrel}
|
||||
# git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly
|
||||
# cd gst-plugins-ugly; git reset --hard %{gitcommit}; ./autogen.sh; make; make distcheck
|
||||
# modified with gst-p-ugly-cleanup.sh from SOURCE1
|
||||
%else
|
||||
# The source is:
|
||||
# http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{version}.tar.xz
|
||||
# modified with gst-p-ugly-cleanup.sh from SOURCE1
|
||||
%endif
|
||||
Source0: gst-plugins-ugly-free-%{version}.tar.xz
|
||||
Source1: gst-p-ugly-cleanup.sh
|
||||
|
||||
BuildRequires: gstreamer1-devel >= %{version}
|
||||
BuildRequires: gstreamer1-plugins-base-devel >= %{version}
|
||||
|
||||
BuildRequires: check
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: automake autoconf libtool
|
||||
|
||||
BuildRequires: liba52-devel
|
||||
BuildRequires: libcdio-devel
|
||||
BuildRequires: libdvdread-devel
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%if %{with mpeg2}
|
||||
BuildRequires: libmpeg2-devel
|
||||
%endif
|
||||
|
||||
# when mpeg2dec was moved here from -ugly
|
||||
Conflicts: gstreamer1-plugins-ugly < 1.16.0-2
|
||||
|
||||
%description
|
||||
GStreamer is a streaming media framework, based on graphs of elements which
|
||||
operate on media data.
|
||||
|
||||
This package contains plug-ins whose license is not fully compatible with LGPL.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the GStreamer media framework "ugly" plug-ins
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: gstreamer1-plugins-base-devel
|
||||
|
||||
|
||||
%description devel
|
||||
GStreamer is a streaming media framework, based on graphs of elements which
|
||||
operate on media data.
|
||||
|
||||
This package contains the development files for the plug-ins whose license
|
||||
is not fully compatible with LGPL.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n gst-plugins-ugly-%{version}
|
||||
|
||||
|
||||
%build
|
||||
# libsidplay was removed as obsolete, not forbidden
|
||||
%configure --disable-silent-rules --disable-fatal-warnings \
|
||||
--with-package-name="Fedora GStreamer-plugins-ugly package" \
|
||||
--with-package-origin="http://download.fedoraproject.org" \
|
||||
--enable-debug --disable-static --enable-gtk-doc --enable-experimental \
|
||||
%if %{with mpeg2}
|
||||
--enable-mpeg2dec \
|
||||
%else
|
||||
--disable-mpeg2dec \
|
||||
%endif
|
||||
--disable-amrnb --disable-amrwb --disable-sidplay --disable-x264
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# Register as an AppStream component to be visible in the software center
|
||||
#
|
||||
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
||||
# project, translated and installed into the right place during `make install`.
|
||||
#
|
||||
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
||||
#
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/gstreamer-ugly-free.appdata.xml <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2013 Richard Hughes <richard@hughsie.com> -->
|
||||
<component type="codec">
|
||||
<id>gstreamer-ugly-free</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>GStreamer Multimedia Codecs - Extra</name>
|
||||
<summary>Multimedia playback for CD, DVD, and MP3</summary>
|
||||
<description>
|
||||
<p>
|
||||
This addon includes several additional codecs that have good quality and
|
||||
correct functionality, but whose license is not fully compatible with LGPL.
|
||||
</p>
|
||||
<p>
|
||||
These codecs can be used to encode and decode media files where the
|
||||
format is not patent encumbered.
|
||||
</p>
|
||||
<p>
|
||||
A codec decodes audio and video for for playback or editing and is also
|
||||
used for transmission or storage.
|
||||
Different codecs are used in video-conferencing, streaming media and
|
||||
video editing applications.
|
||||
</p>
|
||||
</description>
|
||||
<keywords>
|
||||
<keyword>CD</keyword>
|
||||
<keyword>DVD</keyword>
|
||||
<keyword>MP3</keyword>
|
||||
</keywords>
|
||||
<url type="homepage">http://gstreamer.freedesktop.org/</url>
|
||||
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</url>
|
||||
<url type="help">http://gstreamer.freedesktop.org/documentation/</url>
|
||||
<url type="donation">http://www.gnome.org/friends/</url>
|
||||
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
|
||||
</component>
|
||||
EOF
|
||||
|
||||
%find_lang gst-plugins-ugly-%{majorminor}
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
||||
%files -f gst-plugins-ugly-%{majorminor}.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS README REQUIREMENTS
|
||||
|
||||
%{_datadir}/appdata/*.appdata.xml
|
||||
|
||||
# Plugins without external dependencies
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstxingmux.so
|
||||
|
||||
# Plugins with external dependencies
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgsta52dec.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstcdio.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstdvdread.so
|
||||
%if %{with mpeg2}
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstmpeg2dec.so
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%doc %{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-%{majorminor}
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Nov 14 2019 Wim Taymans <wtaymans@redhat.com> - 1.16.1-1
|
||||
- Update to 1.16.1
|
||||
- Only enable mpeg2dec on Fedora
|
||||
- Resolves: rhbz#1756299
|
||||
|
||||
* Mon May 20 2019 Rex Dieter <rdieter@fedoraproject.org> - 1.16.0-3
|
||||
- Conflicts: gstreamer1-plugins-ugly < 1.16.0-2
|
||||
|
||||
* Mon May 13 2019 Yaakov Selkowitz <yselkowi@redhat.com> - 1.16.0-2
|
||||
- Enable mpeg2dec plugin (#1709470)
|
||||
|
||||
* Mon Aug 13 2018 Troy Dawson <tdawson@redhat.com> - 1.14.0-2
|
||||
- Add BuildRequest python3-devel
|
||||
|
||||
* Tue Mar 20 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.0-1
|
||||
- Update to 1.14.0
|
||||
|
||||
* Wed Mar 14 2018 Wim Taymans <wtaymans@redhat.com> - 1.13.91-1
|
||||
- Update to 1.13.91
|
||||
|
||||
* Mon Mar 05 2018 Wim Taymans <wtaymans@redhat.com> - 1.13.90-1
|
||||
- Update to 1.13.90
|
||||
|
||||
* Tue Feb 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.13.1-2
|
||||
- drop Obsoletes/Provides: -mpg123 (moved to -good)
|
||||
|
||||
* Thu Feb 22 2018 Wim Taymans <wtaymans@redhat.com> - 1.13.1-1
|
||||
- Update to 1.13.1
|
||||
- mp3 plugins moved to -good
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jan 25 2018 Adrian Reber <adrian@lisas.de> - 1.12.4-3
|
||||
- Rebuilt for new libcdio (2.0.0)
|
||||
|
||||
* Sun Jan 14 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 1.12.4-2
|
||||
- Enable twolame plugin (#1534289)
|
||||
|
||||
* Mon Dec 11 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.4-1
|
||||
- Update to 1.12.4
|
||||
- Add autoconf and friends to BuildRequires
|
||||
|
||||
* Tue Sep 19 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.3-1
|
||||
- Update to 1.12.3
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jul 17 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.2-1
|
||||
- Update to 1.12.2
|
||||
|
||||
* Tue Jun 20 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.1-1
|
||||
- Update to 1.12.1
|
||||
|
||||
* Thu May 11 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.12.0-3
|
||||
- Enable LAME plugin (#1450108)
|
||||
|
||||
* Thu May 11 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.12.0-2
|
||||
- Update to 1.12.0
|
||||
|
||||
* Thu May 11 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.10.4-2
|
||||
- Initial Fedora spec file
|
||||
@ -1,404 +0,0 @@
|
||||
%global majorminor 1.0
|
||||
|
||||
#global gitrel 140
|
||||
#global gitcommit 4ca3a22b6b33ad8be4383063e76f79c4d346535d
|
||||
#global shortcommit %(c=%{gitcommit}; echo ${c:0:5})
|
||||
|
||||
Name: gstreamer1-plugins-ugly-free
|
||||
Version: 1.24.11
|
||||
Release: 2%{?dist}
|
||||
Summary: GStreamer streaming media framework "ugly" plugins
|
||||
|
||||
License: LGPL-2.0-or-later AND LGPL-2.1-or-later AND CC0-1.0
|
||||
URL: http://gstreamer.freedesktop.org/
|
||||
%if 0%{?gitrel}
|
||||
# git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly
|
||||
# cd gst-plugins-ugly; git reset --hard %{gitcommit}; ./autogen.sh; make; make distcheck
|
||||
Source0: gst-plugins-ugly-%{version}.tar.xz
|
||||
%else
|
||||
Source0: https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{version}.tar.xz
|
||||
%endif
|
||||
|
||||
Patch: 0001-asfdemux-Error-out-on-files-with-more-than-32-stream.patch
|
||||
Patch: 0002-rmdemux-Check-if-new-video-fragment-overflows-the-fr.patch
|
||||
Patch: 0003-rmdemux-Avoid-integer-overflow-when-checking-if-enou.patch
|
||||
|
||||
BuildRequires: meson >= 0.48.0
|
||||
BuildRequires: gcc
|
||||
|
||||
BuildRequires: gstreamer1-devel >= %{version}
|
||||
BuildRequires: gstreamer1-plugins-base-devel >= %{version}
|
||||
|
||||
BuildRequires: check
|
||||
BuildRequires: gettext-devel
|
||||
|
||||
BuildRequires: liba52-devel
|
||||
BuildRequires: libcdio-devel
|
||||
BuildRequires: libdvdread-devel
|
||||
BuildRequires: libmpeg2-devel
|
||||
|
||||
# when asfdemux, dvdlpcmdec, dvdsub, and realmedia were moved here
|
||||
Conflicts: gstreamer1-plugins-ugly < 1.22.7-2
|
||||
|
||||
%description
|
||||
GStreamer is a streaming media framework, based on graphs of elements which
|
||||
operate on media data.
|
||||
|
||||
This package contains plug-ins whose license is not fully compatible with LGPL.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the GStreamer media framework "ugly" plug-ins
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: gstreamer1-plugins-base-devel
|
||||
|
||||
|
||||
%description devel
|
||||
GStreamer is a streaming media framework, based on graphs of elements which
|
||||
operate on media data.
|
||||
|
||||
This package contains the development files for the plug-ins whose license
|
||||
is not fully compatible with LGPL.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n gst-plugins-ugly-%{version} -p3
|
||||
|
||||
|
||||
%build
|
||||
# libsidplay was removed as obsolete, not forbidden
|
||||
%meson \
|
||||
-D package-name="Fedora GStreamer-plugins-ugly package" \
|
||||
-D package-origin="http://download.fedoraproject.org" \
|
||||
-D doc=disabled \
|
||||
-D sidplay=disabled \
|
||||
-D x264=disabled \
|
||||
-D gpl=enabled
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
# Register as an AppStream component to be visible in the software center
|
||||
#
|
||||
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
||||
# project, translated and installed into the right place during `make install`.
|
||||
#
|
||||
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
||||
#
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/gstreamer-ugly-free.appdata.xml <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2013 Richard Hughes <richard@hughsie.com> -->
|
||||
<component type="codec">
|
||||
<id>gstreamer-ugly-free</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>GStreamer Multimedia Codecs - Extra</name>
|
||||
<summary>Multimedia playback for CD, DVD, and MP3</summary>
|
||||
<description>
|
||||
<p>
|
||||
This addon includes several additional codecs that have good quality and
|
||||
correct functionality, but whose license is not fully compatible with LGPL.
|
||||
</p>
|
||||
<p>
|
||||
These codecs can be used to encode and decode media files where the
|
||||
format is not patent encumbered.
|
||||
</p>
|
||||
<p>
|
||||
A codec decodes audio and video for for playback or editing and is also
|
||||
used for transmission or storage.
|
||||
Different codecs are used in video-conferencing, streaming media and
|
||||
video editing applications.
|
||||
</p>
|
||||
</description>
|
||||
<keywords>
|
||||
<keyword>CD</keyword>
|
||||
<keyword>DVD</keyword>
|
||||
<keyword>MP3</keyword>
|
||||
</keywords>
|
||||
<url type="homepage">http://gstreamer.freedesktop.org/</url>
|
||||
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</url>
|
||||
<url type="help">http://gstreamer.freedesktop.org/documentation/</url>
|
||||
<url type="donation">http://www.gnome.org/friends/</url>
|
||||
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
|
||||
</component>
|
||||
EOF
|
||||
|
||||
%find_lang gst-plugins-ugly-%{majorminor}
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
||||
%files -f gst-plugins-ugly-%{majorminor}.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README.md README.static-linking RELEASE REQUIREMENTS
|
||||
|
||||
%{_datadir}/appdata/*.appdata.xml
|
||||
|
||||
# Plugins without external dependencies
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstasf.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstdvdlpcmdec.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstdvdsub.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstrealmedia.so
|
||||
|
||||
# Plugins with external dependencies
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgsta52dec.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstcdio.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstdvdread.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstmpeg2dec.so
|
||||
|
||||
%if 0
|
||||
%files devel
|
||||
%doc %{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-%{majorminor}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Mar 27 2026 Wim Taymans <wtaymans@redhat.com> - 1.24.11-2
|
||||
- Add patch for CVE-2026-2920, CVE-2026-2922
|
||||
Resolves: RHEL-156146, RHEL-156043
|
||||
|
||||
* Tue Jan 14 2025 Wim Taymans <wtaymans@redhat.com> - 1.24.11-1
|
||||
- Update to 1.24.11
|
||||
Resolves: RHEL-73677
|
||||
|
||||
* Thu Dec 12 2024 Wim Taymans <wtaymans@redhat.com> - 1.24.10-1
|
||||
- Update to 1.24.10
|
||||
Resolves: RHEL-70409
|
||||
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.24.6-2
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Jul 29 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.24.6-1
|
||||
- 1.24.6
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.24.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Fri Jun 21 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.24.5-1
|
||||
- 1.24.5
|
||||
|
||||
* Wed May 29 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.24.4-1
|
||||
- 1.24.4
|
||||
|
||||
* Tue Apr 30 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.24.3-1
|
||||
- 1.24.3
|
||||
|
||||
* Tue Mar 05 2024 Wim Taymans <wtaymans@redhat.com> - 1.24.0-1
|
||||
- Update to 1.24.0
|
||||
|
||||
* Thu Jan 25 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.22.9-1
|
||||
- 1.22.9
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Dec 20 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.22.8-2
|
||||
- Enable asfdemux, dvdlpcmdec, dvdsub, and realmedia plugins
|
||||
- Disable AMR plugins in RHEL builds
|
||||
- Resolves: rhbz#2236889
|
||||
|
||||
* Mon Dec 18 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.22.8-1
|
||||
- 1.22.8
|
||||
|
||||
* Tue Nov 14 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.22.7-1
|
||||
- 1.22.7
|
||||
|
||||
* Fri Jul 21 2023 Wim Taymans <wtaymans@redhat.com> - 1.22.5-1
|
||||
- Update to 1.22.5
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu May 25 2023 Wim Taymans <wtaymans@redhat.com> - 1.22.3-1
|
||||
- Update to 1.22.3
|
||||
|
||||
* Thu Apr 13 2023 Wim Taymans <wtaymans@redhat.com> - 1.22.2-1
|
||||
- Update to 1.22.2
|
||||
|
||||
* Wed Mar 15 2023 Wim Taymans <wtaymans@redhat.com> - 1.22.1-2
|
||||
- Rebuild for new AMR plugins.
|
||||
|
||||
* Mon Mar 13 2023 Wim Taymans <wtaymans@redhat.com> - 1.22.1-1
|
||||
- Update to 1.22.1
|
||||
|
||||
* Tue Jan 24 2023 Wim Taymans <wtaymans@redhat.com> - 1.22.0-1
|
||||
- Update to 1.22.0
|
||||
|
||||
* Fri Jan 20 2023 Wim Taymans <wtaymans@redhat.com> - 1.21.90-1
|
||||
- Update to 1.21.90
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Jan 11 2023 Wim Taymans <wtaymans@redhat.com> - 1.20.5-1
|
||||
- Update to 1.20.5
|
||||
|
||||
* Thu Oct 13 2022 Wim Taymans <wtaymans@redhat.com> - 1.20.4-1
|
||||
- Update to 1.20.4
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jul 18 2022 Wim Taymans <wtaymans@redhat.com> - 1.20.3-1
|
||||
- Update to 1.20.3
|
||||
|
||||
* Fri Feb 4 2022 Wim Taymans <wtaymans@redhat.com> - 1.20.0-1
|
||||
- Update to 1.20.0
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Nov 11 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.3-1
|
||||
- Update to 1.19.3
|
||||
|
||||
* Thu Sep 23 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.2-1
|
||||
- Update to 1.19.2
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Thu Jun 03 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.1-1
|
||||
- Update to 1.19.1
|
||||
|
||||
* Tue Mar 16 2021 Wim Taymans <wtaymans@redhat.com> - 1.18.4-1
|
||||
- Update to 1.18.4
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Dec 10 2020 Wim Taymans <wtaymans@redhat.com> - 1.18.2-1
|
||||
- Update to 1.18.2
|
||||
|
||||
* Fri Oct 30 2020 Wim Taymans <wtaymans@redhat.com> - 1.18.1-1
|
||||
- Update to 1.18.1
|
||||
|
||||
* Sat Oct 17 2020 Dominik Mierzejewski <rpm@greysector.net> - 1.18.0-2
|
||||
- rebuild for libdvdread-6.1 ABI bump
|
||||
|
||||
* 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-1
|
||||
- Update to 1.17.1
|
||||
|
||||
* Mon Mar 30 2020 Adrian Reber <adrian@lisas.de> - 1.16.2-3
|
||||
- Rebuilt for new libcdio (2.1.0)
|
||||
|
||||
* 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
|
||||
|
||||
* Fri Nov 15 2019 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> - 1.16.1-2
|
||||
- rebuild for libdvdread ABI bump
|
||||
|
||||
* Tue Sep 24 2019 Wim Taymans <wtaymans@redhat.com> - 1.16.1-1
|
||||
- Update to 1.16.1
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon May 20 2019 Rex Dieter <rdieter@fedoraproject.org> - 1.16.0-3
|
||||
- Conflicts: gstreamer1-plugins-ugly < 1.16.0-2
|
||||
|
||||
* Mon May 13 2019 Yaakov Selkowitz <yselkowi@redhat.com> - 1.16.0-2
|
||||
- Enable mpeg2dec plugin (#1709470)
|
||||
|
||||
* 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-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* 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-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri May 25 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.1-3
|
||||
- rebuild (#1581325) to update Provides
|
||||
|
||||
* Tue May 22 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.14.1-2
|
||||
- rebuild (file)
|
||||
|
||||
* Mon May 21 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.1-1
|
||||
- Update to 1.14.1
|
||||
|
||||
* Tue Mar 20 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.0-1
|
||||
- Update to 1.14.0
|
||||
|
||||
* Wed Mar 14 2018 Wim Taymans <wtaymans@redhat.com> - 1.13.91-1
|
||||
- Update to 1.13.91
|
||||
|
||||
* Mon Mar 05 2018 Wim Taymans <wtaymans@redhat.com> - 1.13.90-1
|
||||
- Update to 1.13.90
|
||||
|
||||
* Tue Feb 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.13.1-2
|
||||
- drop Obsoletes/Provides: -mpg123 (moved to -good)
|
||||
|
||||
* Thu Feb 22 2018 Wim Taymans <wtaymans@redhat.com> - 1.13.1-1
|
||||
- Update to 1.13.1
|
||||
- mp3 plugins moved to -good
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jan 25 2018 Adrian Reber <adrian@lisas.de> - 1.12.4-3
|
||||
- Rebuilt for new libcdio (2.0.0)
|
||||
|
||||
* Sun Jan 14 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 1.12.4-2
|
||||
- Enable twolame plugin (#1534289)
|
||||
|
||||
* Mon Dec 11 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.4-1
|
||||
- Update to 1.12.4
|
||||
- Add autoconf and friends to BuildRequires
|
||||
|
||||
* Tue Sep 19 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.3-1
|
||||
- Update to 1.12.3
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jul 17 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.2-1
|
||||
- Update to 1.12.2
|
||||
|
||||
* Tue Jun 20 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.1-1
|
||||
- Update to 1.12.1
|
||||
|
||||
* Thu May 11 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.12.0-3
|
||||
- Enable LAME plugin (#1450108)
|
||||
|
||||
* Thu May 11 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.12.0-2
|
||||
- Update to 1.12.0
|
||||
|
||||
* Thu May 11 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.10.4-2
|
||||
- Initial Fedora spec file
|
||||
Loading…
Reference in New Issue
Block a user