public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/vlc] epel9: Merge branch 'rawhide' into epel9
@ 2026-09-28 18:37 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-28 18:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/vlc
Branch : epel9
Commit : 0cd92c83fc71a65fa0c2cd54d5a2fe1c7f11e636
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-09-23T10:57:22-04:00
Stats  : +83/-77 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/vlc/c/0cd92c83fc71a65fa0c2cd54d5a2fe1c7f11e636?branch=epel9

Log:
Merge branch 'rawhide' into epel9

---
diff --git a/appdata.patch b/appdata.patch
index 4cc09c3..730396d 100644
--- a/appdata.patch
+++ b/appdata.patch
@@ -2,12 +2,9 @@ diff --git a/share/org.videolan.vlc.appdata.xml.in.in b/share/org.videolan.vlc.a
 index cc9c39a..3c55620 100644
 --- a/share/org.videolan.vlc.appdata.xml.in.in
 +++ b/share/org.videolan.vlc.appdata.xml.in.in
-@@ -18,8 +18,9 @@
-     <url type="bugtracker">https://trac.videolan.org/vlc/</url>
-     <url type="donation">https://www.videolan.org/contribute.html</url>
+@@ -20,6 +20,7 @@
      <releases>
--        <release version="@VERSION@" />
-+        <release version="@VERSION@" date="@DATE@" />
+         <release version="@VERSION@" date="@VERSION_DATE@" />
      </releases>
 +    <replaces><id>org.videolan.VLC</id></replaces>
      <provides>

diff --git a/librist.patch b/librist.patch
new file mode 100644
index 0000000..6026299
--- /dev/null
+++ b/librist.patch
@@ -0,0 +1,17 @@
+This typo was fixed in librist 0.2.8:
+
+https://code.videolan.org/rist/librist/-/commit/116d160c900154d0fbb9faf58d8c136c7922c499
+
+diff -up ./modules/access_output/rist.c.orig ./modules/access_output/rist.c
+--- ./modules/access_output/rist.c.orig	2026-09-17 07:01:48.000000000 -0400
++++ ./modules/access_output/rist.c	2026-09-17 16:42:18.382293564 -0400
+@@ -316,6 +316,9 @@ vlc_module_begin()
+     add_integer( RIST_CFG_PREFIX RIST_URL_PARAM_VERBOSE_LEVEL, RIST_DEFAULT_VERBOSE_LEVEL,
+             RIST_VERBOSE_LEVEL_TEXT, RIST_VERBOSE_LEVEL_LONGTEXT, true )
+         change_integer_list( verbose_level_type, verbose_level_type_names )
++#ifndef RIST_DEFAULT_RECOVERY_LENGTH_MIN
++#define RIST_DEFAULT_RECOVERY_LENGTH_MIN RIST_DEFAULT_RECOVERY_LENGHT_MIN
++#endif
+     add_integer( RIST_CFG_PREFIX RIST_CFG_LATENCY, RIST_DEFAULT_RECOVERY_LENGTH_MIN,
+             BUFFER_TEXT, BUFFER_LONGTEXT, true )
+     add_string( RIST_CFG_PREFIX RIST_URL_PARAM_CNAME, NULL, RIST_CNAME_TEXT, 

diff --git a/libupnp118.patch b/libupnp118.patch
new file mode 100644
index 0000000..12d7679
--- /dev/null
+++ b/libupnp118.patch
@@ -0,0 +1,13 @@
+diff --git a/modules/services_discovery/upnp.hpp b/modules/services_discovery/upnp.hpp
+index b90e3cf..bc17189 100644
+--- a/modules/services_discovery/upnp.hpp
++++ b/modules/services_discovery/upnp.hpp
+@@ -37,7 +37,7 @@
+ 
+ #include <vlc_common.h>
+ 
+-#if UPNP_VERSION < 10800
++#if (UPNP_VERSION < 10800) || (UPNP_VERSION >= 11800)
+ typedef void* UpnpEventPtr;
+ #else
+ typedef const void* UpnpEventPtr;

diff --git a/oneVPL.patch b/oneVPL.patch
deleted file mode 100644
index 849a565..0000000
--- a/oneVPL.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-Backport of https://code.videolan.org/videolan/vlc/-/merge_requests/3843
-"Switch from deprecated MFX to VPL" for 3.0, as direct use of intel-mediasdk
-is deprecated in favour of oneVPL.
-
-diff --git a/configure.ac b/configure.ac
---- a/configure.ac
-+++ b/configure.ac
-@@ -2923,9 +2923,9 @@ fi
- 
- 
- dnl
--dnl Intel QuickSync (aka MediaSDK) H264/H262 encoder
-+dnl Intel oneAPI Video Processing Library
- dnl
--PKG_ENABLE_MODULES_VLC([MFX], [qsv], [libmfx], [Intel QuickSync MPEG4-Part10/MPEG2 (aka H.264/H.262) encoder], [auto])
-+PKG_ENABLE_MODULES_VLC([VPL], [qsv], [vpl], [Intel oneAPI Video Processing Library encoder], [auto])
- 
- dnl
- dnl libfluidsynth (MIDI synthetizer) plugin
-diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
---- a/modules/codec/Makefile.am
-+++ b/modules/codec/Makefile.am
-@@ -610,9 +610,9 @@ codec_LTLIBRARIES += $(LTLIBdav1d)
- codec_LTLIBRARIES += $(LTLIBcrystalhd)
- 
- libqsv_plugin_la_SOURCES = codec/qsv.c
--libqsv_plugin_la_CFLAGS = $(AM_CFLAGS) $(MFX_CFLAGS)
-+libqsv_plugin_la_CFLAGS = $(AM_CFLAGS) $(VPL_CFLAGS)
- libqsv_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
--libqsv_plugin_la_LIBADD = $(MFX_LIBS)
-+libqsv_plugin_la_LIBADD = $(VPL_LIBS)
- EXTRA_LTLIBRARIES += libqsv_plugin.la
- codec_LTLIBRARIES += $(LTLIBqsv)
- 
-diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
---- a/modules/codec/qsv.c
-+++ b/modules/codec/qsv.c
-@@ -33,7 +33,7 @@
- #include <vlc_picture.h>
- #include <vlc_codec.h>
- 
--#include <mfx/mfxvideo.h>
-+#include <vpl/mfxvideo.h>
- 
- #define SOUT_CFG_PREFIX     "sout-qsv-"
- 
--- 
-GitLab

diff --git a/sources b/sources
index 574b40a..696f55c 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (vlc-3.0.23.tar.xz) = 557e4ac76a17158877a4a86f27c9a5bc189b7ac559687552117dc8b44961d1172cf93bf8e1eb70fecb05999bdfc3f69ab79b55126c71486fe3a8cdfbf92e6df6
+SHA512 (vlc-6de05adcbaf2e8b85fe86aad4169393098628119.tar.bz2) = 770a3621360e3ddac5195346d5395dff47e2717582d1dee3b32367e25d3c8ba5e2dee384e531315425911b93610480ecf2222a2c1ff6081e5b4935734a13532c
+SHA512 (vlc-3.0.24.tar.xz) = 3654e6b6205932e6389d0a7a58dfdd014ae24212ec192f11625b92b41b18d57b4afc4e72ccdfd6b402f31bafd71fd82e976dc7697c58f07a10be848047335265

diff --git a/vlc.spec b/vlc.spec
index f4e95c6..1e3928d 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -3,8 +3,13 @@
 %bcond x264 %{with freeworld}
 %bcond x265 %{with freeworld}
 
-# not compatible with asdcplib-2.12
-%bcond asdcp %[!(0%{?fedora} >= 38 || 0%{?rhel} >= 10)]
+# use Qt6 where available
+%bcond qt6 %[(0%{?fedora} || 0%{?rhel} >= 10)]
+
+# freerdp3 not yet supported upstream
+%bcond freerdp 0
+# requires libmpcdec 1.3.0
+%bcond mpc %[(0%{?fedora} || 0%{?rhel} >= 10)]
 # not compatible with opencv 3.4 or 4.0
 # https://code.videolan.org/videolan/vlc/-/issues/22016
 %bcond opencv 0
@@ -19,9 +24,13 @@
 # some dependencies are not yet in EPEL 10
 %bcond daala 1
 %bcond lirc 1
-%bcond schro %[!(0%{?rhel} >= 10)]
 %bcond sdl %[!(0%{?rhel} >= 10)]
 
+%ifnarch %{ix86}
+# now compatible with asdcplib-2.12
+%bcond asdcp 1
+%endif
+
 %ifnarch s390x
 # retired from F43, was never in EPEL 9+
 %bcond crystalhd 0
@@ -32,14 +41,14 @@
 %bcond vpl 1
 %endif
 
-#global commit f9020c4df073c861a28f0cda5c6c5dccb58a49ef
-#global gitdate 20251124
+#global commit 6de05adcbaf2e8b85fe86aad4169393098628119
+#global gitdate 20260917
 
 %global app_id  org.videolan.vlc
 
 Name:		vlc
 Epoch:		1
-Version:	3.0.23
+Version:	3.0.24
 Release:	%autorelease
 Summary:	The cross-platform open-source multimedia framework, player and server
 License:	GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause
@@ -64,8 +73,6 @@ Patch:		freerdp2.patch
 Patch:		0001-Use-SYSTEM-wide-ciphers-for-gnutls.patch
 # Fix building with fdk-aac-2.0; backport for 3.0 from flathub
 Patch:		fdk-aac2.patch
-# port from intel-mediasdk to oneVPL
-Patch:		oneVPL.patch
 # fix appstreamcli validate to show in Software (rhbz#2258611)
 Patch:		appdata.patch
 # port from libidn to libidn2
@@ -74,6 +81,10 @@ Patch:		libidn2.patch
 Patch:		lua-math.patch
 # avoid "stale plugin cache" warnings in flatpaks
 Patch:		flatpak-cache.patch
+# fix build with libupnp-1.18
+Patch:		libupnp118.patch
+# fix build with librist < 0.2.8 (EPEL 9, 10)
+Patch:		librist.patch
 
 %{load:%{S:1}}
 %global __provides_exclude_from ^%{vlc_plugindir}/.*$
@@ -97,7 +108,9 @@ BuildRequires:	libcrystalhd-devel
 BuildRequires:	libgcrypt-devel
 BuildRequires:	libjpeg-devel
 BuildRequires:	libmad-devel
+%if %{with mpc}
 BuildRequires:	libmpcdec-devel
+%endif
 BuildRequires:	libpng-devel
 %if %{with lirc}
 BuildRequires:	lirc-devel
@@ -129,7 +142,9 @@ BuildRequires:	pkgconfig(flac)
 #BuildRequires:	pkgconfig(fluidlite)
 BuildRequires:	pkgconfig(fluidsynth) >= 1.1.2
 BuildRequires:	pkgconfig(fontconfig) >= 2.11
+%if %{with freerdp}
 BuildRequires:	pkgconfig(freerdp2)
+%endif
 BuildRequires:	pkgconfig(freetype2)
 BuildRequires:	pkgconfig(fribidi)
 BuildRequires:	pkgconfig(gl)
@@ -178,6 +193,7 @@ BuildRequires:	pkgconfig(libpulse) >= 1.0
 %if %{with ieee1394}
 BuildRequires:	pkgconfig(libraw1394) >= 2.0.1 pkgconfig(libavc1394) >= 0.5.3
 %endif
+BuildRequires:	pkgconfig(librist) >= 0.2.1
 BuildRequires:	pkgconfig(librsvg-2.0) >= 2.9.0
 BuildRequires:	pkgconfig(libsecret-1) >= 0.18
 #BuildRequires:	pkgconfig(libsidplay2)
@@ -203,15 +219,21 @@ BuildRequires:	pkgconfig(opencv)
 %endif
 BuildRequires:	pkgconfig(opus) >= 1.0.3
 BuildRequires:	pkgconfig(protobuf-lite) >= 2.5
+%if %{with qt6}
+BuildRequires:	pkgconfig(Qt6Core)
+BuildRequires:	pkgconfig(Qt6Gui)
+BuildRequires:	pkgconfig(Qt6Svg)
+BuildRequires:	pkgconfig(Qt6Widgets)
+BuildRequires:	qt6-qtbase-private-devel
+%else
 BuildRequires:	pkgconfig(Qt5Core) >= 5.5
 BuildRequires:	pkgconfig(Qt5Gui) >= 5.5
 BuildRequires:	pkgconfig(Qt5Svg) >= 5.5
 BuildRequires:	pkgconfig(Qt5Widgets) >= 5.5
 BuildRequires:	pkgconfig(Qt5X11Extras) >= 5.5
-BuildRequires:	pkgconfig(samplerate)
-%if %{with schro}
-BuildRequires:	pkgconfig(schroedinger-1.0) >= 1.0.10
+BuildRequires:	qt5-qtbase-private-devel
 %endif
+BuildRequires:	pkgconfig(samplerate)
 %if %{with sdl}
 BuildRequires:	pkgconfig(SDL_image) >= 1.2.10
 %endif
@@ -257,7 +279,6 @@ BuildRequires:	pkgconfig(xinerama)
 BuildRequires:	pkgconfig(xpm)
 BuildRequires:	pkgconfig(xproto)
 BuildRequires:	pkgconfig(zvbi-0.2) >= 0.2.28
-BuildRequires:	qt5-qtbase-private-devel
 BuildRequires:	zlib-devel
 
 Provides:	%{name}-xorg%{?_isa} = %{epoch}:%{version}-%{release}
@@ -315,9 +336,7 @@ Requires:	%{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
 Requires:	%{name}-plugins-base%{?_isa} = %{epoch}:%{version}-%{release}
 Requires:	%{name}-plugins-video-out%{?_isa} = %{epoch}:%{version}-%{release}
 Requires:	%{name}-plugin-lua%{?_isa} = %{epoch}:%{version}-%{release}
-Requires:	(%{name}-plugin-pipewire%{?_isa} if pipewire)
 Requires:	(%{name}-plugin-pulseaudio%{?_isa} = %{epoch}:%{version}-%{release} if (pipewire-pulseaudio or pulseaudio))
-Requires:	(qt5-qtwayland%{?_isa} if libwayland-client%{?_isa})
 Recommends:	%{name}-plugins-extra%{?_isa} = %{epoch}:%{version}-%{release}
 Recommends:	%{name}-plugin-ffmpeg%{?_isa} = %{epoch}:%{version}-%{release}
 Recommends:	%{name}-plugin-visualization%{?_isa} = %{epoch}:%{version}-%{release}
@@ -359,7 +378,9 @@ Requires:	(%{name}-plugin-notify%{?_isa} = %{epoch}:%{version}-%{release} if gtk
 Requires:	%{name}-plugin-opencv%{?_isa} = %{epoch}:%{version}-%{release}
 %endif
 Requires:	(%{name}-plugin-pulseaudio%{?_isa} = %{epoch}:%{version}-%{release} if (pipewire-pulseaudio or pulseaudio))
+%if %{with freerdp}
 Requires:	%{name}-plugin-rdp%{?_isa} = %{epoch}:%{version}-%{release}
+%endif
 Requires:	%{name}-plugin-samba%{?_isa} = %{epoch}:%{version}-%{release}
 Requires:	%{name}-plugin-svg%{?_isa} = %{epoch}:%{version}-%{release}
 Requires:	%{name}-plugin-visualization%{?_isa} = %{epoch}:%{version}-%{release}
@@ -392,6 +413,9 @@ Obsoletes:	%{name}-plugin-ieee1394 < %{epoch}:%{version}-%{release}
 %if %{without opencv}
 Obsoletes:	%{name}-plugin-opencv < %{epoch}:%{version}-%{release}
 %endif
+%if %{without freerdp}
+Obsoletes:	%{name}-plugin-rdp < %{epoch}:%{version}-%{release}
+%endif
 
 %description plugins-base
 VLC media player core components
@@ -516,6 +540,7 @@ Requires:	%{name}-plugins-base%{?_isa} = %{epoch}:%{version}-%{release}
 %description plugin-pulseaudio
 PulseAudio plugins for VLC media player
 
+%if %{with freerdp}
 # requires freerdp2, for RDP remote desktop support
 %package plugin-rdp
 Summary:	VLC media player RDP plugin
@@ -523,6 +548,7 @@ Requires:	%{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
 Requires:	%{name}-plugins-base%{?_isa} = %{epoch}:%{version}-%{release}
 %description plugin-rdp
 RDP access plugin for VLC media player
+%endif
 
 # requires libsmbclient, for SMB protocol support
 %package plugin-samba
@@ -628,8 +654,8 @@ export LIVE555_PREFIX=%{_prefix}
 	--enable-libcddb					\
 	--enable-screen						\
 	--enable-vnc						\
-	--enable-freerdp					\
-	--enable-realrtsp					\
+	--enable-freerdp%{!?with_freerdp:=no}			\
+	--disable-realrtsp					\
 	--enable-asdcp%{!?with_asdcp:=no}			\
 								\
 	--enable-dvbpsi						\
@@ -639,7 +665,7 @@ export LIVE555_PREFIX=%{_prefix}
 	--enable-shout						\
 	--enable-matroska					\
 	--enable-mod						\
-	--enable-mpc						\
+	--enable-mpc%{!?with_mpc:=no}				\
 								\
 	--disable-shine						\
 	--disable-omxil						\
@@ -670,7 +696,6 @@ export LIVE555_PREFIX=%{_prefix}
 	--enable-theora						\
 	--enable-oggspots					\
 	--enable-daala%{!?with_daala:=no}			\
-	--enable-schroedinger%{!?with_schro:=no}		\
 	--enable-png						\
 	--enable-jpeg						\
 	--disable-bpg						\
@@ -722,6 +747,7 @@ export LIVE555_PREFIX=%{_prefix}
 	--disable-libtar					\
 	--enable-lirc%{!?with_lirc:=no}				\
 	--enable-srt						\
+	--enable-librist					\
 								\
 	--disable-goom						\
 	--enable-projectm%{!?with_projectm:=no}			\
@@ -806,7 +832,7 @@ make check
 %files
 %doc AUTHORS NEWS README THANKS
 %license COPYING COPYING.LIB
-%{_datadir}/applications/%{name}.desktop
+%{_datadir}/applications/%{name}*.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 %{_datadir}/solid/actions/%{name}-*.desktop
 %{_datadir}/vlc/utils/
@@ -881,7 +907,6 @@ make check
 %{vlc_plugindir}/access/libaccess_concat_plugin.so
 %{vlc_plugindir}/access/libaccess_imem_plugin.so
 %{vlc_plugindir}/access/libaccess_mms_plugin.so
-%{vlc_plugindir}/access/libaccess_realrtsp_plugin.so
 %{vlc_plugindir}/access/libattachment_plugin.so
 %{vlc_plugindir}/access/libdtv_plugin.so
 %{vlc_plugindir}/access/libfilesystem_plugin.so
@@ -1153,9 +1178,6 @@ make check
 %if %{with vpl}
 %{vlc_plugindir}/codec/libqsv_plugin.so
 %endif
-%if %{with schro}
-%{vlc_plugindir}/codec/libschroedinger_plugin.so
-%endif
 %if %{with sdl}
 %{vlc_plugindir}/codec/libsdl_image_plugin.so
 %endif
@@ -1164,7 +1186,9 @@ make check
 %{vlc_plugindir}/control/liblirc_plugin.so
 %endif
 %{vlc_plugindir}/demux/libgme_plugin.so
+%if %{with mpc}
 %{vlc_plugindir}/demux/libmpc_plugin.so
+%endif
 %{vlc_plugindir}/demux/libmkv_plugin.so
 %{vlc_plugindir}/demux/libmod_plugin.so
 %{vlc_plugindir}/demux/libts_plugin.so
@@ -1242,8 +1266,10 @@ make check
 %{vlc_plugindir}/audio_output/libpulse_plugin.so
 %{vlc_plugindir}/services_discovery/libpulselist_plugin.so
 
+%if %{with freerdp}
 %files plugin-rdp
 %{vlc_plugindir}/access/librdp_plugin.so
+%endif
 
 %files plugin-samba
 %{vlc_plugindir}/access/libsmb_plugin.so

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-28 18:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28 18:37 [rpms/vlc] epel9: Merge branch 'rawhide' into epel9 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox