From 417dd1753120352877ca460927323e9ec6c4c24f Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 30 Mar 2021 19:40:34 +0100 Subject: [PATCH 01/43] Rebuilt for removed libstdc++ symbol (#1937698) --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index ba4d5dd..8a394af 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -4,7 +4,7 @@ Name: vapoursynth Version: 51 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -157,6 +157,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %changelog +* Tue Mar 30 2021 Jonathan Wakely - 51-2 +- Rebuilt for removed libstdc++ symbol (#1937698) + * Tue Mar 23 2021 Simone Caronni - 51-1 - Update to R51. - Allow building for other archs beside x86. From 1b1cffb0504208d962d2988a58a17467dd5c68d8 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 21:19:08 +0200 Subject: [PATCH 02/43] Rebuilt for Python 3.10 --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 8a394af..212bf46 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -4,7 +4,7 @@ Name: vapoursynth Version: 51 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -157,6 +157,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %changelog +* Fri Jun 04 2021 Python Maint - 51-3 +- Rebuilt for Python 3.10 + * Tue Mar 30 2021 Jonathan Wakely - 51-2 - Rebuilt for removed libstdc++ symbol (#1937698) From 1ce9e4d893570ff906f0e2f69497ede1f8d4d0ec Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 20:18:42 +0000 Subject: [PATCH 03/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 212bf46..0cf9a3f 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -4,7 +4,7 @@ Name: vapoursynth Version: 51 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -157,6 +157,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 51-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 51-3 - Rebuilt for Python 3.10 From 0e9e174624bd266b4c08cbcf46f2e8a30305a671 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 14 Dec 2021 14:31:30 +0100 Subject: [PATCH 04/43] Rebuild (tesseract) --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 0cf9a3f..06045cc 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -4,7 +4,7 @@ Name: vapoursynth Version: 51 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -157,6 +157,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %changelog +* Tue Dec 14 2021 Sandro Mani - 51-5 +- Rebuild (tesseract) + * Fri Jul 23 2021 Fedora Release Engineering - 51-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From cf159cae5d7ed14b689721e1fa46091294b67544 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 19 Dec 2021 18:58:55 +0100 Subject: [PATCH 05/43] Rebuild (tesseract) --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 06045cc..7059460 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -4,7 +4,7 @@ Name: vapoursynth Version: 51 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -157,6 +157,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %changelog +* Sun Dec 19 2021 Sandro Mani - 51-6 +- Rebuild (tesseract) + * Tue Dec 14 2021 Sandro Mani - 51-5 - Rebuild (tesseract) From 06cb1fa1b0894557db00374043b21f5c2c0b8cc0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 03:48:00 +0000 Subject: [PATCH 06/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 7059460..2d86bab 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -4,7 +4,7 @@ Name: vapoursynth Version: 51 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -157,6 +157,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 51-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Sun Dec 19 2021 Sandro Mani - 51-6 - Rebuild (tesseract) From 398c3225739890ae8d5a26eed97c5745959fc631 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 2 Mar 2022 11:04:07 +0100 Subject: [PATCH 07/43] Update to 0.57, obsolete plugins --- .gitignore | 1 + sources | 2 +- vapoursynth-gcc11.patch | 55 ------------------------------ vapoursynth-version-info.patch | 16 ++++----- vapoursynth.spec | 61 +++++++--------------------------- 5 files changed, 22 insertions(+), 113 deletions(-) delete mode 100644 vapoursynth-gcc11.patch diff --git a/.gitignore b/.gitignore index be14818..4e557ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /vapoursynth-R48.tar.gz /vapoursynth-R51.tar.gz +/vapoursynth-R57.tar.gz diff --git a/sources b/sources index c687eb9..7f79272 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vapoursynth-R51.tar.gz) = feb218aa309e538a32054b4fdeaf291e5c817e1b49bd482cf9dfc6c17d055c367dc27f80863770ae3333a4d115c026ad47609ed70857d89c22ff16f5cc6d5292 +SHA512 (vapoursynth-R57.tar.gz) = 6310b35284acb436b8b49b3a116db736b40d8d51b40243d20e065e80685e66390fce7121c01a2654359673d87b5f589bc3f981d12befc438de14a58ba6614e5f diff --git a/vapoursynth-gcc11.patch b/vapoursynth-gcc11.patch deleted file mode 100644 index 29e4722..0000000 --- a/vapoursynth-gcc11.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -Naur vapoursynth-R51.old/src/core/exprfilter.cpp vapoursynth-R51/src/core/exprfilter.cpp ---- vapoursynth-R51.old/src/core/exprfilter.cpp 2021-03-23 14:34:50.273555518 +0100 -+++ vapoursynth-R51/src/core/exprfilter.cpp 2021-03-23 14:36:17.148054372 +0100 -@@ -32,6 +32,7 @@ - #include - #include - #include -+#include - #include "VapourSynth.h" - #include "VSHelper.h" - #include "cpufeatures.h" -diff -Naur vapoursynth-R51.old/src/core/genericfilters.cpp vapoursynth-R51/src/core/genericfilters.cpp ---- vapoursynth-R51.old/src/core/genericfilters.cpp 2021-03-23 14:34:50.273555518 +0100 -+++ vapoursynth-R51/src/core/genericfilters.cpp 2021-03-23 14:36:17.149054389 +0100 -@@ -28,6 +28,7 @@ - #include - #include - #include -+#include - #include - #include - #include "cpufeatures.h" -diff -Naur vapoursynth-R51.old/src/core/kernel/generic.cpp vapoursynth-R51/src/core/kernel/generic.cpp ---- vapoursynth-R51.old/src/core/kernel/generic.cpp 2021-03-23 14:34:50.273555518 +0100 -+++ vapoursynth-R51/src/core/kernel/generic.cpp 2021-03-23 14:36:17.149054389 +0100 -@@ -22,6 +22,7 @@ - #include - #include - #include -+#include - #include - #include "generic.h" - -diff -Naur vapoursynth-R51.old/src/filters/misc/miscfilters.cpp vapoursynth-R51/src/filters/misc/miscfilters.cpp ---- vapoursynth-R51.old/src/filters/misc/miscfilters.cpp 2021-03-23 14:34:50.276555570 +0100 -+++ vapoursynth-R51/src/filters/misc/miscfilters.cpp 2021-03-23 14:36:17.150054407 +0100 -@@ -26,6 +26,7 @@ - #include - #include - #include -+#include - #include - #include - #include "../src/core/filtersharedcpp.h" -diff -Naur vapoursynth-R51.old/src/filters/removegrain/clense.cpp vapoursynth-R51/src/filters/removegrain/clense.cpp ---- vapoursynth-R51.old/src/filters/removegrain/clense.cpp 2021-03-23 14:34:50.276555570 +0100 -+++ vapoursynth-R51/src/filters/removegrain/clense.cpp 2021-03-23 14:36:17.150054407 +0100 -@@ -26,6 +26,7 @@ - */ - - #include "shared.h" -+#include - - #define CLENSE_RETERROR(x) do { vsapi->setError(out, (x)); vsapi->freeNode(d.cnode); vsapi->freeNode(d.pnode); vsapi->freeNode(d.nnode); return; } while (0) - #define CLAMP(value, lower, upper) do { if (value < lower) value = lower; else if (value > upper) value = upper; } while(0) diff --git a/vapoursynth-version-info.patch b/vapoursynth-version-info.patch index e7d1725..03f0614 100644 --- a/vapoursynth-version-info.patch +++ b/vapoursynth-version-info.patch @@ -1,12 +1,12 @@ -diff -Naur vapoursynth-R51.old/Makefile.am vapoursynth-R51/Makefile.am ---- vapoursynth-R51.old/Makefile.am 2021-03-23 14:27:12.519657875 +0100 -+++ vapoursynth-R51/Makefile.am 2021-03-23 14:27:19.806783602 +0100 -@@ -79,7 +79,7 @@ +diff -Naur vapoursynth-R57.old/Makefile.am vapoursynth-R57/Makefile.am +--- vapoursynth-R57.old/Makefile.am 2022-03-02 08:35:44.861454145 +0100 ++++ vapoursynth-R57/Makefile.am 2022-03-02 08:36:52.981729877 +0100 +@@ -88,7 +88,7 @@ pkgconfig_DATA += pc/vapoursynth.pc --libvapoursynth_la_LDFLAGS = -no-undefined -avoid-version -+libvapoursynth_la_LDFLAGS = -no-undefined -version-info $(PACKAGE_VERSION) - libvapoursynth_la_CPPFLAGS = $(ZIMG_CFLAGS) -DVS_PATH_PLUGINDIR='"$(PLUGINDIR)"' - libvapoursynth_la_LIBADD = $(ZIMG_LIBS) $(DLOPENLIB) libexprfilter.la +-libvapoursynth_la_LDFLAGS = -no-undefined -avoid-version $(UNDEFINEDLDFLAGS) ++libvapoursynth_la_LDFLAGS = -no-undefined -version-info $(PACKAGE_VERSION) $(UNDEFINEDLDFLAGS) + libvapoursynth_la_CPPFLAGS = $(PTHREAD_CFLAGS) $(ZIMG_CFLAGS) -DVS_PATH_PLUGINDIR='"$(PLUGINDIR)"' + libvapoursynth_la_LIBADD = $(PTHREAD_LIBS) $(ZIMG_LIBS) $(DLOPENLIB) diff --git a/vapoursynth.spec b/vapoursynth.spec index 2d86bab..1aecc18 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,17 +1,12 @@ -#global _with_tests 1 -#global _with_subtitles 1 -#global _with_ImageMagick 1 - Name: vapoursynth -Version: 51 -Release: 7%{?dist} +Version: 57 +Release: 1%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com Source0: https://github.com/%{name}/%{name}/archive/R%{version}/%{name}-R%{version}.tar.gz Patch0: %{name}-version-info.patch -Patch1: %{name}-gcc11.patch BuildRequires: make BuildRequires: autoconf @@ -31,39 +26,27 @@ BuildRequires: %{name}-devel BuildRequires: python3dist(pytest) } -%{?_with_ImageMagick: -BuildRequires: pkgconfig(Magick++) >= 7.0 -} - -%{?_with_subtitles: -BuildRequires: pkgconfig(libass) -BuildRequires: pkgconfig(libavcodec) -BuildRequires: pkgconfig(libavformat) -BuildRequires: pkgconfig(libavutil) -} - %description VapourSynth is an application for video manipulation. Or a plugin. Or a library. It’s hard to tell because it has a core library written in C++ and a Python module to allow video scripts to be created. - %package libs Summary: VapourSynth's core library with a C++ API Obsoletes: lib%{name} < %{version}-%{release} Provides: lib%{name} == %{version}-%{release} +Obsoletes: %{name}-plugins < %{version}-%{release} +Provides: %{name}-plugins == %{version}-%{release} %description libs VapourSynth's core library with a C++ API. - %package -n python3-%{name} Summary: Python interface for VapourSynth %description -n python3-%{name} Python interface for VapourSynth/VSSCript. - %package devel Summary: Development files for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -71,26 +54,15 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel Development files for %{name}. - %package tools Summary: Extra tools for VapourSynth %description tools This package contains the vspipe tool for interfacing with VapourSynth. - -%package plugins -Summary: VapourSynth plugins -Requires: %{name}-libs%{?_isa} = %{version}-%{release} - -%description plugins -VapourSynth plugins. - - %prep %autosetup -p1 -n %{name}-R%{version} - %build autoreconf -vif %configure \ @@ -99,38 +71,29 @@ autoreconf -vif --enable-core \ --enable-vsscript \ --enable-vspipe \ - --enable-python-module \ - --enable-eedi3 \ - --%{?_with_ImageMagick:enable}%{!?_with_ImageMagick:disable}-imwri \ - --enable-miscfilters \ - --enable-morpho \ - --enable-ocr \ - --enable-removegrain \ - --%{?_with_subtitles:enable}%{!?_with_subtitles:disable}-subtext \ - --enable-vinverse \ - --enable-vivtc \ + --enable-python-module %make_build - %install %py3_install %make_install find %{buildroot} -type f -name "*.la" -delete +# Create plugin directory +mkdir -p %{buildroot}%{_libdir}/%{name} + # Let RPM pick up docs in the files section rm -fr %{buildroot}%{_docdir}/%{name} %ldconfig_scriptlets libs %ldconfig_scriptlets -n python3-%{name} - %{?_with_tests: %check %{python3} -m pytest -v } - %files libs %doc ChangeLog %license COPYING.LESSER @@ -152,11 +115,11 @@ rm -fr %{buildroot}%{_docdir}/%{name} %files tools %{_bindir}/vspipe -%files plugins -%{_libdir}/%{name}/lib*.so - - %changelog +* Wed Mar 02 2022 Simone Caronni - 57-1 +- Update to R57. +- Plugins are now separate. + * Sat Jan 22 2022 Fedora Release Engineering - 51-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From cff5b16a8234f198459dfb37ecb78b5821b5006d Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 10 Mar 2022 00:19:17 +0100 Subject: [PATCH 08/43] Rebuild for tesseract-5.1.0 --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 1aecc18..ba659ae 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 57 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Thu Mar 10 2022 Sandro Mani - 57-2 +- Rebuild for tesseract 5.1.0 + * Wed Mar 02 2022 Simone Caronni - 57-1 - Update to R57. - Plugins are now separate. From 94fc7f1e2614424fffce8c839fa8f0532e122184 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 25 May 2022 15:11:00 +0200 Subject: [PATCH 09/43] Update to R58 --- .gitignore | 1 + sources | 2 +- vapoursynth.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4e557ee..33d4711 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /vapoursynth-R48.tar.gz /vapoursynth-R51.tar.gz /vapoursynth-R57.tar.gz +/vapoursynth-R58.tar.gz diff --git a/sources b/sources index 7f79272..1261430 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vapoursynth-R57.tar.gz) = 6310b35284acb436b8b49b3a116db736b40d8d51b40243d20e065e80685e66390fce7121c01a2654359673d87b5f589bc3f981d12befc438de14a58ba6614e5f +SHA512 (vapoursynth-R58.tar.gz) = 2a100a42445b3ca48ced3b146b6530d0c3c98b5b8bcb2bfb8e77f61b680d4a4dda2b0e8e4707cfd7209437d06191232ce263f35376fe3394ce2a8c82962d8078 diff --git a/vapoursynth.spec b/vapoursynth.spec index ba659ae..a161b3f 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth -Version: 57 -Release: 2%{?dist} +Version: 58 +Release: 1%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Wed May 25 2022 Simone Caronni - 58-1 +- Update to R58. + * Thu Mar 10 2022 Sandro Mani - 57-2 - Rebuild for tesseract 5.1.0 From 9f61fd63e5944f1a1b7101fc37c47acaf8d6c5e2 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 16:03:41 +0200 Subject: [PATCH 10/43] Rebuilt for Python 3.11 --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index a161b3f..aea25ba 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 58 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Mon Jun 13 2022 Python Maint - 58-2 +- Rebuilt for Python 3.11 + * Wed May 25 2022 Simone Caronni - 58-1 - Update to R58. From 372eff27aa3e7990de472508d0ea3c8937b111ff Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 11:41:29 +0000 Subject: [PATCH 11/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index aea25ba..d177304 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 58 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 58-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 58-2 - Rebuilt for Python 3.11 From 0567d37b372ca8a6f0e894eaefab2b92421f79a4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 06:06:46 +0000 Subject: [PATCH 12/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index d177304..20aa527 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 58 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 58-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 58-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 65d92743580c8bc2f4d70b263b82ed65d2aafe2b Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 21:38:46 +0200 Subject: [PATCH 13/43] Rebuilt for Python 3.12 --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 20aa527..0a6c36c 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 58 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Tue Jun 13 2023 Python Maint - 58-5 +- Rebuilt for Python 3.12 + * Sat Jan 21 2023 Fedora Release Engineering - 58-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 59cac9b8cbc73c35233161d9fe7509fe2c5aa0a5 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Fri, 30 Jun 2023 08:47:59 +0200 Subject: [PATCH 14/43] Update to R63 --- .gitignore | 1 + sources | 2 +- vapoursynth.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 33d4711..f8b9000 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /vapoursynth-R51.tar.gz /vapoursynth-R57.tar.gz /vapoursynth-R58.tar.gz +/vapoursynth-R63.tar.gz diff --git a/sources b/sources index 1261430..539bc7e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vapoursynth-R58.tar.gz) = 2a100a42445b3ca48ced3b146b6530d0c3c98b5b8bcb2bfb8e77f61b680d4a4dda2b0e8e4707cfd7209437d06191232ce263f35376fe3394ce2a8c82962d8078 +SHA512 (vapoursynth-R63.tar.gz) = 301985de6ea87f077129b801422b000671e8a2139743beaa473db68b86fa80f08997fdac7be258c056fa5a3c9764c3920976fb8e51829361ebc2e8819b3a666a diff --git a/vapoursynth.spec b/vapoursynth.spec index 0a6c36c..1e9c166 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth -Version: 58 -Release: 5%{?dist} +Version: 63 +Release: 1%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Fri Jun 30 2023 Simone Caronni - 63-1 +- Update to R63. + * Tue Jun 13 2023 Python Maint - 58-5 - Rebuilt for Python 3.12 From e4e1c44fc6cb6cce67779ae00089ea153ed59ebd Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sat, 1 Jul 2023 11:45:44 +0200 Subject: [PATCH 15/43] Rebuilt for Python 3.12 --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 1e9c166..e8488a8 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 63 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Sat Jul 01 2023 Python Maint - 63-2 +- Rebuilt for Python 3.12 + * Fri Jun 30 2023 Simone Caronni - 63-1 - Update to R63. From d59332c771dca3af0f0f750dabc83f1030cb0f6c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 17:25:29 +0000 Subject: [PATCH 16/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index e8488a8..eaa290d 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 63 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 63-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jul 01 2023 Python Maint - 63-2 - Rebuilt for Python 3.12 From 3a9788a3818eef88ede5ae43062b5f2ee92751c3 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Thu, 2 Nov 2023 09:22:05 +0100 Subject: [PATCH 17/43] Add comment to README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f4d9d0..8533b2d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ # vapoursynth -The vapoursynth package \ No newline at end of file +The vapoursynth package. The upstream project does not provide any versioning +for the shared library, even with ABI changes. This package sets the library +version to the upstream release version, to avoid having an unversioned shared +object that might get updated by mistake. From 75add59a4663160d1ceb7e7bacf803380a7c20a2 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Thu, 2 Nov 2023 09:30:32 +0100 Subject: [PATCH 18/43] Update to R65 --- .gitignore | 1 + sources | 2 +- vapoursynth-version-info.patch | 10 +++++----- vapoursynth.spec | 7 +++++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index f8b9000..1129a26 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /vapoursynth-R57.tar.gz /vapoursynth-R58.tar.gz /vapoursynth-R63.tar.gz +/vapoursynth-R65.tar.gz diff --git a/sources b/sources index 539bc7e..9bac3f0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vapoursynth-R63.tar.gz) = 301985de6ea87f077129b801422b000671e8a2139743beaa473db68b86fa80f08997fdac7be258c056fa5a3c9764c3920976fb8e51829361ebc2e8819b3a666a +SHA512 (vapoursynth-R65.tar.gz) = 1b73777f5b19fcc558516fd4b5cffcdde528eb47049b42e08a8dc17b8052e7491f7b357f1a35654f252c3b735fde546f4f8fd5e0623547a0ab20b68878b0057d diff --git a/vapoursynth-version-info.patch b/vapoursynth-version-info.patch index 03f0614..d29a2df 100644 --- a/vapoursynth-version-info.patch +++ b/vapoursynth-version-info.patch @@ -1,12 +1,12 @@ -diff -Naur vapoursynth-R57.old/Makefile.am vapoursynth-R57/Makefile.am ---- vapoursynth-R57.old/Makefile.am 2022-03-02 08:35:44.861454145 +0100 -+++ vapoursynth-R57/Makefile.am 2022-03-02 08:36:52.981729877 +0100 -@@ -88,7 +88,7 @@ +diff -Naur vapoursynth-R65.old/Makefile.am vapoursynth-R65/Makefile.am +--- vapoursynth-R65.old/Makefile.am 2023-11-02 09:22:50.859928603 +0100 ++++ vapoursynth-R65/Makefile.am 2023-11-02 09:23:43.376805703 +0100 +@@ -89,7 +89,7 @@ pkgconfig_DATA += pc/vapoursynth.pc -libvapoursynth_la_LDFLAGS = -no-undefined -avoid-version $(UNDEFINEDLDFLAGS) +libvapoursynth_la_LDFLAGS = -no-undefined -version-info $(PACKAGE_VERSION) $(UNDEFINEDLDFLAGS) - libvapoursynth_la_CPPFLAGS = $(PTHREAD_CFLAGS) $(ZIMG_CFLAGS) -DVS_PATH_PLUGINDIR='"$(PLUGINDIR)"' + libvapoursynth_la_CPPFLAGS = $(PTHREAD_CFLAGS) $(ZIMG_CFLAGS) -DVS_PATH_PLUGINDIR='"$(PLUGINDIR)"' -DVS_CURRENT_RELEASE='$(VSCURRENTRELEASE)' libvapoursynth_la_LIBADD = $(PTHREAD_LIBS) $(ZIMG_LIBS) $(DLOPENLIB) diff --git a/vapoursynth.spec b/vapoursynth.spec index eaa290d..b0a86cf 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth -Version: 63 -Release: 3%{?dist} +Version: 65 +Release: 1%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Thu Nov 02 2023 Simone Caronni - 65-1 +- Update to version R65. + * Sat Jul 22 2023 Fedora Release Engineering - 63-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From bbaa813951d34ac8a94b73e86d341178e2646af3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 07:30:04 +0000 Subject: [PATCH 19/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index b0a86cf..854effa 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 65 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 65-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Nov 02 2023 Simone Caronni - 65-1 - Update to version R65. From 908cc71d3a6025effac5d8d54ed1b2ff50199f58 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 22 May 2024 08:54:03 +0200 Subject: [PATCH 20/43] Update to R68 --- .gitignore | 1 + sources | 2 +- vapoursynth.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1129a26..61a8886 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /vapoursynth-R58.tar.gz /vapoursynth-R63.tar.gz /vapoursynth-R65.tar.gz +/vapoursynth-R68.tar.gz diff --git a/sources b/sources index 9bac3f0..add8f1f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vapoursynth-R65.tar.gz) = 1b73777f5b19fcc558516fd4b5cffcdde528eb47049b42e08a8dc17b8052e7491f7b357f1a35654f252c3b735fde546f4f8fd5e0623547a0ab20b68878b0057d +SHA512 (vapoursynth-R68.tar.gz) = b40e5f8cf6200af91e21772f24443c43fe03d2406fabdaeba5cb3e34241071f49e12b2b1552408d3523d29edca9a9a3f36a9e8592a189058808b4a9bda6648ab diff --git a/vapoursynth.spec b/vapoursynth.spec index 854effa..465343f 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth -Version: 65 -Release: 2%{?dist} +Version: 68 +Release: 1%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Wed May 22 2024 Simone Caronni - 68-1 +- Update to R68. + * Sat Jan 27 2024 Fedora Release Engineering - 65-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 9b0c53c44d1256e1f8f24f386bb150d587aa9683 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 09:51:41 +0200 Subject: [PATCH 21/43] Rebuilt for Python 3.13 --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 465343f..7465038 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 68 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Fri Jun 07 2024 Python Maint - 68-2 +- Rebuilt for Python 3.13 + * Wed May 22 2024 Simone Caronni - 68-1 - Update to R68. From adff72d708b235e772e01f2b6328ec1bea027a22 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 08:34:32 +0000 Subject: [PATCH 22/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 7465038..5876a51 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 68 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Video processing framework with simplicity in mind License: LGPLv2 URL: http://www.vapoursynth.com @@ -116,6 +116,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 68-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 68-2 - Rebuilt for Python 3.13 From 2d52193d0e25e41d115c64759511401bd1e3ce71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 4 Sep 2024 22:37:15 +0200 Subject: [PATCH 23/43] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- vapoursynth.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 5876a51..282c1b0 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,8 +1,9 @@ Name: vapoursynth Version: 68 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Video processing framework with simplicity in mind -License: LGPLv2 +# Automatically converted from old format: LGPLv2 - review is highly recommended. +License: LicenseRef-Callaway-LGPLv2 URL: http://www.vapoursynth.com Source0: https://github.com/%{name}/%{name}/archive/R%{version}/%{name}-R%{version}.tar.gz @@ -116,6 +117,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Wed Sep 04 2024 Miroslav Suchý - 68-4 +- convert license to SPDX + * Sat Jul 20 2024 Fedora Release Engineering - 68-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From cf34cf42fa20f822bd3ef189d465ad66ac598c66 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 14:06:54 +0000 Subject: [PATCH 24/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- vapoursynth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 282c1b0..5b55d96 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 68 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Video processing framework with simplicity in mind # Automatically converted from old format: LGPLv2 - review is highly recommended. License: LicenseRef-Callaway-LGPLv2 @@ -117,6 +117,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_bindir}/vspipe %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 68-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Sep 04 2024 Miroslav Suchý - 68-4 - convert license to SPDX From 40151ad65334c7d2922f0a05d482b033c948a178 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 29 Jan 2025 10:01:39 +0100 Subject: [PATCH 25/43] Update to 70, clean up SPEC file --- .gitignore | 8 +--- sources | 2 +- vapoursynth.spec | 122 +++++++++-------------------------------------- 3 files changed, 25 insertions(+), 107 deletions(-) diff --git a/.gitignore b/.gitignore index 61a8886..335ec95 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1 @@ -/vapoursynth-R48.tar.gz -/vapoursynth-R51.tar.gz -/vapoursynth-R57.tar.gz -/vapoursynth-R58.tar.gz -/vapoursynth-R63.tar.gz -/vapoursynth-R65.tar.gz -/vapoursynth-R68.tar.gz +*.tar.gz diff --git a/sources b/sources index add8f1f..6a4112e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vapoursynth-R68.tar.gz) = b40e5f8cf6200af91e21772f24443c43fe03d2406fabdaeba5cb3e34241071f49e12b2b1552408d3523d29edca9a9a3f36a9e8592a189058808b4a9bda6648ab +SHA512 (vapoursynth-R70.tar.gz) = 725d55f2d15fb93a5757bfd2c7fec0e51887c9b5ab1add95e6247d59f6bc1b057b3d08aa3b3ab10fb9988bf66d3abdebef5762d4a183e75e8b8746917d4451c5 diff --git a/vapoursynth.spec b/vapoursynth.spec index 5b55d96..958965c 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,9 +1,8 @@ Name: vapoursynth -Version: 68 -Release: 5%{?dist} +Version: 70 +Release: 1%{?dist} Summary: Video processing framework with simplicity in mind -# Automatically converted from old format: LGPLv2 - review is highly recommended. -License: LicenseRef-Callaway-LGPLv2 +License: LGPL-2.1-only URL: http://www.vapoursynth.com Source0: https://github.com/%{name}/%{name}/archive/R%{version}/%{name}-R%{version}.tar.gz @@ -15,17 +14,9 @@ BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: nasm -BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(tesseract) BuildRequires: pkgconfig(zimg) -BuildRequires: python3 -BuildRequires: python3-Cython -BuildRequires: python3-setuptools - -%{?_with_tests: -BuildRequires: %{name}-devel -BuildRequires: python3dist(pytest) -} +BuildRequires: python3-devel %description VapourSynth is an application for video manipulation. Or a plugin. Or a library. @@ -64,6 +55,9 @@ This package contains the vspipe tool for interfacing with VapourSynth. %prep %autosetup -p1 -n %{name}-R%{version} +%generate_buildrequires +%pyproject_buildrequires -t + %build autoreconf -vif %configure \ @@ -76,24 +70,24 @@ autoreconf -vif %make_build +%pyproject_wheel + %install -%py3_install %make_install find %{buildroot} -type f -name "*.la" -delete +%pyproject_install +%pyproject_save_files %{name} + # Create plugin directory mkdir -p %{buildroot}%{_libdir}/%{name} # Let RPM pick up docs in the files section rm -fr %{buildroot}%{_docdir}/%{name} -%ldconfig_scriptlets libs -%ldconfig_scriptlets -n python3-%{name} - -%{?_with_tests: %check -%{python3} -m pytest -v -} +#{python3} -m pytest -v +%tox %files libs %doc ChangeLog @@ -102,10 +96,6 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_libdir}/lib%{name}.so.* %{_libdir}/lib%{name}-script.so.* -%files -n python3-%{name} -%{python3_sitearch}/%{name}.so -%{python3_sitearch}/VapourSynth-*.egg-info - %files devel %{_includedir}/%{name}/ %{_libdir}/lib%{name}.so @@ -116,7 +106,16 @@ rm -fr %{buildroot}%{_docdir}/%{name} %files tools %{_bindir}/vspipe +%files -n python3-%{name} -f %{pyproject_files} +%{python3_sitearch}/%{name}.so + %changelog +* Wed Jan 29 2025 Simone Caronni - 70-1 +- Update to version 70. +- Trim changelog. +- Clean up SPEC file, switch to Python packaging guidelines for Python module. +- Fix License tag. + * Sun Jan 19 2025 Fedora Release Engineering - 68-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild @@ -152,78 +151,3 @@ rm -fr %{buildroot}%{_docdir}/%{name} * Sat Jan 21 2023 Fedora Release Engineering - 58-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 58-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Mon Jun 13 2022 Python Maint - 58-2 -- Rebuilt for Python 3.11 - -* Wed May 25 2022 Simone Caronni - 58-1 -- Update to R58. - -* Thu Mar 10 2022 Sandro Mani - 57-2 -- Rebuild for tesseract 5.1.0 - -* Wed Mar 02 2022 Simone Caronni - 57-1 -- Update to R57. -- Plugins are now separate. - -* Sat Jan 22 2022 Fedora Release Engineering - 51-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Sun Dec 19 2021 Sandro Mani - 51-6 -- Rebuild (tesseract) - -* Tue Dec 14 2021 Sandro Mani - 51-5 -- Rebuild (tesseract) - -* Fri Jul 23 2021 Fedora Release Engineering - 51-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 51-3 -- Rebuilt for Python 3.10 - -* Tue Mar 30 2021 Jonathan Wakely - 51-2 -- Rebuilt for removed libstdc++ symbol (#1937698) - -* Tue Mar 23 2021 Simone Caronni - 51-1 -- Update to R51. -- Allow building for other archs beside x86. - -* Wed Jan 27 2021 Fedora Release Engineering - 48-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sat Oct 17 2020 Jeff Law - 48-10 -- Fix missing #include for gcc-11 - -* Wed Jul 29 2020 Fedora Release Engineering - 48-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue May 26 2020 Miro Hrončok - 48-8 -- Rebuilt for Python 3.9 - -* Sat Mar 07 2020 Simone Caronni - 48-7 -- Fix broken dependency. - -* Sat Feb 29 2020 Simone Caronni - 48-6 -- Make it exclusive for i686/x86_64. -- Fix build on RHEL/CentOS 8. - -* Tue Feb 25 2020 Artem Polishchuk - 48-5 -- Add tests -- Cosmetic spec file improvements - -* Thu Feb 20 2020 Simone Caronni - 48-4 -- More review fixes. -- Use upstream patch for Python 3.8. - -* Fri Feb 07 2020 Simone Caronni - 48-3 -- Review fixes. - -* Sun Jan 26 2020 Simone Caronni - 48-2 -- Move script library into main library package. -- Fix build with Python 3.8. - -* Thu Jan 16 2020 Simone Caronni - 48-1 -- First build. From cb5277e50710874c9a59293e78616d324610a3a4 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 29 Jan 2025 10:42:26 +0100 Subject: [PATCH 26/43] Fix python libraries build --- vapoursynth.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vapoursynth.spec b/vapoursynth.spec index 958965c..d498643 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -70,6 +70,8 @@ autoreconf -vif %make_build +# Make libraries available for Python linking +ln -sf .libs build %pyproject_wheel %install From 18c6cabf1f0c256183c333f92ed79993089296f5 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 29 Jan 2025 10:42:54 +0100 Subject: [PATCH 27/43] Update changelog --- vapoursynth.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/vapoursynth.spec b/vapoursynth.spec index d498643..622cf7e 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -117,6 +117,7 @@ rm -fr %{buildroot}%{_docdir}/%{name} - Trim changelog. - Clean up SPEC file, switch to Python packaging guidelines for Python module. - Fix License tag. +- Enable tests. * Sun Jan 19 2025 Fedora Release Engineering - 68-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 62b0585e08ce68931e04fb0b88dddf2853570fec Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Sun, 20 Apr 2025 11:49:11 +0200 Subject: [PATCH 28/43] Fix tests --- vapoursynth.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 622cf7e..a232d8e 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -17,6 +17,7 @@ BuildRequires: nasm BuildRequires: pkgconfig(tesseract) BuildRequires: pkgconfig(zimg) BuildRequires: python3-devel +BuildRequires: python3-pytest %description VapourSynth is an application for video manipulation. Or a plugin. Or a library. @@ -88,8 +89,8 @@ mkdir -p %{buildroot}%{_libdir}/%{name} rm -fr %{buildroot}%{_docdir}/%{name} %check -#{python3} -m pytest -v -%tox +export LD_LIBRARY_PATH=build +%pytest %files libs %doc ChangeLog From b4ea3fe31e65c3bed074c860e3b4f79080197b66 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Sun, 20 Apr 2025 11:49:18 +0200 Subject: [PATCH 29/43] Convert to %autorelease and %autochangelog [skip changelog] --- changelog | 42 ++++++++++++++++++++++++++++++++++++++++++ vapoursynth.spec | 45 ++------------------------------------------- 2 files changed, 44 insertions(+), 43 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..b3ba909 --- /dev/null +++ b/changelog @@ -0,0 +1,42 @@ +* Wed Jan 29 2025 Simone Caronni - 70-1 +- Update to version 70. +- Trim changelog. +- Clean up SPEC file, switch to Python packaging guidelines for Python module. +- Fix License tag. +- Enable tests. + +* Sun Jan 19 2025 Fedora Release Engineering - 68-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Sep 04 2024 Miroslav Suchý - 68-4 +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering - 68-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 68-2 +- Rebuilt for Python 3.13 + +* Wed May 22 2024 Simone Caronni - 68-1 +- Update to R68. + +* Sat Jan 27 2024 Fedora Release Engineering - 65-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Nov 02 2023 Simone Caronni - 65-1 +- Update to version R65. + +* Sat Jul 22 2023 Fedora Release Engineering - 63-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jul 01 2023 Python Maint - 63-2 +- Rebuilt for Python 3.12 + +* Fri Jun 30 2023 Simone Caronni - 63-1 +- Update to R63. + +* Tue Jun 13 2023 Python Maint - 58-5 +- Rebuilt for Python 3.12 + +* Sat Jan 21 2023 Fedora Release Engineering - 58-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/vapoursynth.spec b/vapoursynth.spec index a232d8e..0f1ebf7 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,6 +1,6 @@ Name: vapoursynth Version: 70 -Release: 1%{?dist} +Release: %autorelease Summary: Video processing framework with simplicity in mind License: LGPL-2.1-only URL: http://www.vapoursynth.com @@ -113,45 +113,4 @@ export LD_LIBRARY_PATH=build %{python3_sitearch}/%{name}.so %changelog -* Wed Jan 29 2025 Simone Caronni - 70-1 -- Update to version 70. -- Trim changelog. -- Clean up SPEC file, switch to Python packaging guidelines for Python module. -- Fix License tag. -- Enable tests. - -* Sun Jan 19 2025 Fedora Release Engineering - 68-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Sep 04 2024 Miroslav Suchý - 68-4 -- convert license to SPDX - -* Sat Jul 20 2024 Fedora Release Engineering - 68-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 07 2024 Python Maint - 68-2 -- Rebuilt for Python 3.13 - -* Wed May 22 2024 Simone Caronni - 68-1 -- Update to R68. - -* Sat Jan 27 2024 Fedora Release Engineering - 65-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Nov 02 2023 Simone Caronni - 65-1 -- Update to version R65. - -* Sat Jul 22 2023 Fedora Release Engineering - 63-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jul 01 2023 Python Maint - 63-2 -- Rebuilt for Python 3.12 - -* Fri Jun 30 2023 Simone Caronni - 63-1 -- Update to R63. - -* Tue Jun 13 2023 Python Maint - 58-5 -- Rebuilt for Python 3.12 - -* Sat Jan 21 2023 Fedora Release Engineering - 58-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild +%autochangelog From dfae77436067ff7bea0efd31c8f6ae453746b420 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Sun, 20 Apr 2025 11:53:07 +0200 Subject: [PATCH 30/43] Update to version R71 --- sources | 2 +- vapoursynth.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 6a4112e..281e32f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vapoursynth-R70.tar.gz) = 725d55f2d15fb93a5757bfd2c7fec0e51887c9b5ab1add95e6247d59f6bc1b057b3d08aa3b3ab10fb9988bf66d3abdebef5762d4a183e75e8b8746917d4451c5 +SHA512 (vapoursynth-R71.tar.gz) = 472b8691e1334d24885350cf0dd577b0b32b0e905d3291732b6649088740bcae90fa4cee3daf2d3b0a092dbbb77e925754f7cfdd2bfc1611d8dc14d80d6a1cbd diff --git a/vapoursynth.spec b/vapoursynth.spec index 0f1ebf7..549698c 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,5 +1,5 @@ Name: vapoursynth -Version: 70 +Version: 71 Release: %autorelease Summary: Video processing framework with simplicity in mind License: LGPL-2.1-only From a037a96f317b79bb28d0c27589930a10a8eff389 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Sun, 20 Apr 2025 12:03:48 +0200 Subject: [PATCH 31/43] Drop installing tox test requirements --- vapoursynth.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vapoursynth.spec b/vapoursynth.spec index 549698c..69774bb 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -57,7 +57,7 @@ This package contains the vspipe tool for interfacing with VapourSynth. %autosetup -p1 -n %{name}-R%{version} %generate_buildrequires -%pyproject_buildrequires -t +%pyproject_buildrequires %build autoreconf -vif From 3af34ce8aef000637336770c51216b0c4cbe8cb9 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Sat, 26 Apr 2025 09:06:10 +0200 Subject: [PATCH 32/43] Tools require pyhton library (#2290426) --- vapoursynth.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/vapoursynth.spec b/vapoursynth.spec index 69774bb..8716f17 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -49,6 +49,7 @@ Development files for %{name}. %package tools Summary: Extra tools for VapourSynth +Requires: python3-vapoursynth%{?_isa} = %{version}-%{release} %description tools This package contains the vspipe tool for interfacing with VapourSynth. From 5cffe932267ee18e005105682e9e79eec09d190a Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 22:55:37 +0200 Subject: [PATCH 33/43] Rebuilt for Python 3.14 From 0b86d4ae26dab5e0de5ac9ec17e77e45e333e589 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:58:00 +0000 Subject: [PATCH 34/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 49d9c76a88d353e573e4c614d4d1e6572f88f24c Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Sun, 26 Oct 2025 18:38:03 +0100 Subject: [PATCH 35/43] Update to version R72, reset library version according to packaging guidelines. --- changelog | 42 ---------------------------------- sources | 2 +- vapoursynth-version-info.patch | 2 +- vapoursynth.spec | 2 +- 4 files changed, 3 insertions(+), 45 deletions(-) delete mode 100644 changelog diff --git a/changelog b/changelog deleted file mode 100644 index b3ba909..0000000 --- a/changelog +++ /dev/null @@ -1,42 +0,0 @@ -* Wed Jan 29 2025 Simone Caronni - 70-1 -- Update to version 70. -- Trim changelog. -- Clean up SPEC file, switch to Python packaging guidelines for Python module. -- Fix License tag. -- Enable tests. - -* Sun Jan 19 2025 Fedora Release Engineering - 68-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Sep 04 2024 Miroslav Suchý - 68-4 -- convert license to SPDX - -* Sat Jul 20 2024 Fedora Release Engineering - 68-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 07 2024 Python Maint - 68-2 -- Rebuilt for Python 3.13 - -* Wed May 22 2024 Simone Caronni - 68-1 -- Update to R68. - -* Sat Jan 27 2024 Fedora Release Engineering - 65-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Nov 02 2023 Simone Caronni - 65-1 -- Update to version R65. - -* Sat Jul 22 2023 Fedora Release Engineering - 63-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jul 01 2023 Python Maint - 63-2 -- Rebuilt for Python 3.12 - -* Fri Jun 30 2023 Simone Caronni - 63-1 -- Update to R63. - -* Tue Jun 13 2023 Python Maint - 58-5 -- Rebuilt for Python 3.12 - -* Sat Jan 21 2023 Fedora Release Engineering - 58-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 281e32f..64fae19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vapoursynth-R71.tar.gz) = 472b8691e1334d24885350cf0dd577b0b32b0e905d3291732b6649088740bcae90fa4cee3daf2d3b0a092dbbb77e925754f7cfdd2bfc1611d8dc14d80d6a1cbd +SHA512 (vapoursynth-R72.tar.gz) = 254f16efc27639c2b509eeaed43898592dcf6638e5396efd6f74e88e7cbb9f79ec6a6b92341b36026d0fdfa4441588b9773db547a405509b44f85290cf1bfd98 diff --git a/vapoursynth-version-info.patch b/vapoursynth-version-info.patch index d29a2df..114d9a2 100644 --- a/vapoursynth-version-info.patch +++ b/vapoursynth-version-info.patch @@ -6,7 +6,7 @@ diff -Naur vapoursynth-R65.old/Makefile.am vapoursynth-R65/Makefile.am pkgconfig_DATA += pc/vapoursynth.pc -libvapoursynth_la_LDFLAGS = -no-undefined -avoid-version $(UNDEFINEDLDFLAGS) -+libvapoursynth_la_LDFLAGS = -no-undefined -version-info $(PACKAGE_VERSION) $(UNDEFINEDLDFLAGS) ++libvapoursynth_la_LDFLAGS = -no-undefined -version-number 0:1 $(UNDEFINEDLDFLAGS) libvapoursynth_la_CPPFLAGS = $(PTHREAD_CFLAGS) $(ZIMG_CFLAGS) -DVS_PATH_PLUGINDIR='"$(PLUGINDIR)"' -DVS_CURRENT_RELEASE='$(VSCURRENTRELEASE)' libvapoursynth_la_LIBADD = $(PTHREAD_LIBS) $(ZIMG_LIBS) $(DLOPENLIB) diff --git a/vapoursynth.spec b/vapoursynth.spec index 8716f17..ce4ac50 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,5 +1,5 @@ Name: vapoursynth -Version: 71 +Version: 72 Release: %autorelease Summary: Video processing framework with simplicity in mind License: LGPL-2.1-only From c1fc16f567175d0ba1018b74cf952706dc6e01e2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:47:15 +0000 Subject: [PATCH 36/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 049d7e69f5d9550fc45a236ae8e0b74d193d83b2 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 18 Feb 2026 09:45:39 +0100 Subject: [PATCH 37/43] Update to R73 --- sources | 2 +- vapoursynth.spec | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 64fae19..866af4e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vapoursynth-R72.tar.gz) = 254f16efc27639c2b509eeaed43898592dcf6638e5396efd6f74e88e7cbb9f79ec6a6b92341b36026d0fdfa4441588b9773db547a405509b44f85290cf1bfd98 +SHA512 (vapoursynth-R73.tar.gz) = d7ec10d6e99ea965f2eaf49ecb87ad4a7d716ce56fd120b03cb8fae0f06c05b93e153b6fd5ba9b7c99908659146eae9c1094af0be52c727674ddeae3b486b4af diff --git a/vapoursynth.spec b/vapoursynth.spec index ce4ac50..f2e6087 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,5 +1,5 @@ Name: vapoursynth -Version: 72 +Version: 73 Release: %autorelease Summary: Video processing framework with simplicity in mind License: LGPL-2.1-only @@ -81,7 +81,7 @@ ln -sf .libs build find %{buildroot} -type f -name "*.la" -delete %pyproject_install -%pyproject_save_files %{name} +%pyproject_save_files -l %{name} # Create plugin directory mkdir -p %{buildroot}%{_libdir}/%{name} @@ -112,6 +112,8 @@ export LD_LIBRARY_PATH=build %files -n python3-%{name} -f %{pyproject_files} %{python3_sitearch}/%{name}.so +%{python3_sitearch}/cython +%{python3_sitearch}/vsscript %changelog %autochangelog From cc283b39cfc7c40ec584103eac1f37743a66d713 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 3 Jun 2026 22:49:51 +0200 Subject: [PATCH 38/43] Rebuilt for Python 3.15 From cc9743f437b1c27049c15ca75f2ee49ea92f5add Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:22:04 +0000 Subject: [PATCH 39/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From 35508c85c56f32d225e38a158bb30fd827426991 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 22 Jul 2026 10:16:19 +0200 Subject: [PATCH 40/43] Rebuilt for Python 3.15.0b4 ABI change From d7291116c4c4a0e08c829d738f24a8f9cee73eb6 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Mon, 10 Aug 2026 09:40:48 +0200 Subject: [PATCH 41/43] Update to R79, switch to Python build that invokes meson --- README.md | 5 +- sources | 2 +- vapoursynth-version-info.patch | 12 ---- vapoursynth.spec | 109 +++++++++++++++++++++------------ 4 files changed, 73 insertions(+), 55 deletions(-) delete mode 100644 vapoursynth-version-info.patch diff --git a/README.md b/README.md index 8533b2d..72346ec 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,3 @@ # vapoursynth -The vapoursynth package. The upstream project does not provide any versioning -for the shared library, even with ABI changes. This package sets the library -version to the upstream release version, to avoid having an unversioned shared -object that might get updated by mistake. +The vapoursynth package. diff --git a/sources b/sources index 866af4e..ed325f7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vapoursynth-R73.tar.gz) = d7ec10d6e99ea965f2eaf49ecb87ad4a7d716ce56fd120b03cb8fae0f06c05b93e153b6fd5ba9b7c99908659146eae9c1094af0be52c727674ddeae3b486b4af +SHA512 (vapoursynth-R79.tar.gz) = 8e28a9ff72e5f0c891deeffd0ac0d38a654519910b2227414b8750c74a6198a6811d2271bd447b085a86b82665d38a5fe4fceb55b7537a13d72b2c87deba86fd diff --git a/vapoursynth-version-info.patch b/vapoursynth-version-info.patch deleted file mode 100644 index 114d9a2..0000000 --- a/vapoursynth-version-info.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur vapoursynth-R65.old/Makefile.am vapoursynth-R65/Makefile.am ---- vapoursynth-R65.old/Makefile.am 2023-11-02 09:22:50.859928603 +0100 -+++ vapoursynth-R65/Makefile.am 2023-11-02 09:23:43.376805703 +0100 -@@ -89,7 +89,7 @@ - - pkgconfig_DATA += pc/vapoursynth.pc - --libvapoursynth_la_LDFLAGS = -no-undefined -avoid-version $(UNDEFINEDLDFLAGS) -+libvapoursynth_la_LDFLAGS = -no-undefined -version-number 0:1 $(UNDEFINEDLDFLAGS) - libvapoursynth_la_CPPFLAGS = $(PTHREAD_CFLAGS) $(ZIMG_CFLAGS) -DVS_PATH_PLUGINDIR='"$(PLUGINDIR)"' -DVS_CURRENT_RELEASE='$(VSCURRENTRELEASE)' - libvapoursynth_la_LIBADD = $(PTHREAD_LIBS) $(ZIMG_LIBS) $(DLOPENLIB) - diff --git a/vapoursynth.spec b/vapoursynth.spec index f2e6087..0a6ebbe 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -1,24 +1,29 @@ Name: vapoursynth -Version: 73 +Version: 79 Release: %autorelease Summary: Video processing framework with simplicity in mind License: LGPL-2.1-only URL: http://www.vapoursynth.com Source0: https://github.com/%{name}/%{name}/archive/R%{version}/%{name}-R%{version}.tar.gz -Patch0: %{name}-version-info.patch +# Restore soversion that was dropped when libvapoursynth-script was renamed to libvsscript. +Patch0: %{name}-vsscript-soversion.patch -BuildRequires: make -BuildRequires: autoconf -BuildRequires: automake BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: nasm -BuildRequires: pkgconfig(tesseract) +BuildRequires: meson +BuildRequires: ninja-build BuildRequires: pkgconfig(zimg) BuildRequires: python3-devel BuildRequires: python3-pytest +# Since R79 upstream installs the whole runtime -- the core library, the filter +# plugins, vspipe, the headers and the pkg-config file -- inside the Python +# package directory, and VSCore locates libvapoursynthfilters and the +# third-party plugin directory relative to libvapoursynth.so via dladdr(). +# The libraries, vspipe and the plugin directory therefore have to stay there; +# see %%install for the FHS entry points layered on top. +%global vsdir %{python3_sitearch}/%{name} + %description VapourSynth is an application for video manipulation. Or a plugin. Or a library. It’s hard to tell because it has a core library written in C++ and a Python @@ -36,6 +41,7 @@ VapourSynth's core library with a C++ API. %package -n python3-%{name} Summary: Python interface for VapourSynth +Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description -n python3-%{name} Python interface for VapourSynth/VSSCript. @@ -58,62 +64,89 @@ This package contains the vspipe tool for interfacing with VapourSynth. %autosetup -p1 -n %{name}-R%{version} %generate_buildrequires -%pyproject_buildrequires +%pyproject_buildrequires -R %build -autoreconf -vif -%configure \ - --disable-static \ - --enable-x86-asm \ - --enable-core \ - --enable-vsscript \ - --enable-vspipe \ - --enable-python-module - -%make_build - -# Make libraries available for Python linking -ln -sf .libs build -%pyproject_wheel +# CPython 3.15 gained a platform specific stable ABI suffix +# (.abi3-x86_64-linux-gnu.so) which meson-python 0.20 does not recognise as +# abi3, so it refuses to build the wheel. Nothing is gained from the limited +# API in a distribution build against a single Python version, so turn it off. +%pyproject_wheel -C setup-args=-Dpython.allow_limited_api=false %install -%make_install -find %{buildroot} -type f -name "*.la" -delete - %pyproject_install %pyproject_save_files -l %{name} -# Create plugin directory -mkdir -p %{buildroot}%{_libdir}/%{name} - -# Let RPM pick up docs in the files section +# Let RPM pick up docs in the files section. rm -fr %{buildroot}%{_docdir}/%{name} +# Third-party plugins are auto-loaded from next to the core library. +mkdir -p %{buildroot}%{vsdir}/plugins + +# Headers belong in the usual place. +mkdir -p %{buildroot}%{_includedir}/%{name} +mv %{buildroot}%{vsdir}/include/*.h %{buildroot}%{_includedir}/%{name}/ +rmdir %{buildroot}%{vsdir}/include + +# Upstream's vapoursynth.pc resolves everything relative to ${pcfiledir}, which +# no longer works once the file sits in %%{_libdir}/pkgconfig, and it ships no +# Libs: at all. Write it out instead. +rm -fr %{buildroot}%{vsdir}/pkgconfig +mkdir -p %{buildroot}%{_libdir}/pkgconfig +cat > %{buildroot}%{_libdir}/pkgconfig/%{name}.pc < Date: Mon, 10 Aug 2026 11:27:54 +0200 Subject: [PATCH 42/43] Add missing patch --- vapoursynth-vsscript-soversion.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vapoursynth-vsscript-soversion.patch diff --git a/vapoursynth-vsscript-soversion.patch b/vapoursynth-vsscript-soversion.patch new file mode 100644 index 0000000..fe85e8a --- /dev/null +++ b/vapoursynth-vsscript-soversion.patch @@ -0,0 +1,10 @@ +--- vapoursynth-R79/meson.build 2026-08-07 10:48:01.000000000 +0200 ++++ vapoursynth-R79/meson.build 2026-08-10 10:52:07.764950878 +0200 +@@ -267,6 +267,7 @@ libvsscript = library('vsscript', + include_directories: incdir, + install: true, + install_dir: install_dir, ++ soversion: '0', + ) + + vsscript_dep = declare_dependency( From e341dc574ef2aced765a4e1501d54f8b08f42fd8 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Mon, 10 Aug 2026 11:48:34 +0200 Subject: [PATCH 43/43] Fix build on ppc64le --- vapoursynth-float16-native-check.patch | 14 ++++++++++++++ vapoursynth.spec | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 vapoursynth-float16-native-check.patch diff --git a/vapoursynth-float16-native-check.patch b/vapoursynth-float16-native-check.patch new file mode 100644 index 0000000..c6973be --- /dev/null +++ b/vapoursynth-float16-native-check.patch @@ -0,0 +1,14 @@ +--- vapoursynth-R79/src/core/float16_helper.h 2026-08-07 10:48:01.000000000 +0200 ++++ vapoursynth-R79/src/core/float16_helper.h 2026-08-10 11:44:16.851849594 +0200 +@@ -31,7 +31,10 @@ + // Without hardware support the compiler emits __truncsfhf2 / __extendhfsf2 + // soft-float builtins, which are not linked under clang-cl + lld-link -- so + // there we fall back to explicit bit manipulation instead. +-#if (defined(__clang__) || defined(__GNUC__)) && (defined(__F16C__) || (!defined(__x86_64__) && !defined(__i386__))) ++// Not every non-x86 target has the type at all: PowerPC has no _Float16, and ++// the compiler rejects it outright. __FLT16_MANT_DIG__ is predefined only ++// where _Float16 is actually available, so test for that as well. ++#if (defined(__clang__) || defined(__GNUC__)) && defined(__FLT16_MANT_DIG__) && (defined(__F16C__) || (!defined(__x86_64__) && !defined(__i386__))) + # define VS_HAVE_NATIVE_FLOAT16 1 + #else + # define VS_HAVE_NATIVE_FLOAT16 0 diff --git a/vapoursynth.spec b/vapoursynth.spec index 0a6ebbe..16f7407 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -8,6 +8,8 @@ URL: http://www.vapoursynth.com Source0: https://github.com/%{name}/%{name}/archive/R%{version}/%{name}-R%{version}.tar.gz # Restore soversion that was dropped when libvapoursynth-script was renamed to libvsscript. Patch0: %{name}-vsscript-soversion.patch +# Check for _Float16 instead of assuming that everything not x86 provides it. +Patch1: %{name}-float16-native-check.patch BuildRequires: gcc-c++ BuildRequires: meson