From 1c70e0991e861843aca09a26085b66cdaa511652 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Tue, 14 Dec 2021 08:46:21 +0100 Subject: [PATCH 1/5] Build EPEL9 package --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4383c59 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/vid.stab-aeabc8d.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..d483fe4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (vid.stab-aeabc8d.tar.gz) = 9b0b802eb5a0ec1253bfec392b868b6d7e92c59f112da58aa3ea3b09871b2373614bf4a55b510c9360b51af0d18eff2eeaf2a51c17547ebcf2b0b0b036665b81 From 16d4b4c59151a244d56f67e21aeda66f9beaee06 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Tue, 14 Dec 2021 09:25:00 +0100 Subject: [PATCH 2/5] Build EPEL9 package --- vid.stab.spec | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 vid.stab.spec diff --git a/vid.stab.spec b/vid.stab.spec new file mode 100644 index 0000000..120f24d --- /dev/null +++ b/vid.stab.spec @@ -0,0 +1,104 @@ +# https://github.com/georgmartius/vid.stab/commit/aeabc8daa7904f9edf7441a11f293965a5ef53b8 +%global commit aeabc8daa7904f9edf7441a11f293965a5ef53b8 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20190213 + +Name: vid.stab +Version: 1.1.0 +Release: 13.%{commitdate}git%{shortcommit}%{?dist} +Summary: Video stabilize library for fmpeg, mlt or transcode +License: GPLv2+ +URL: http://public.hronopik.de/vid.stab +Source0: https://github.com/georgmartius/vid.stab/archive/%{commit}/%{name}-%{shortcommit}.tar.gz + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: orc-devel +Requires: glibc +#To be removed more or less in Fedora 32 +Provides: %{name}-libs = %{version}-%{release} +Obsoletes: %{name}-libs < %{version}-%{release} + +%description +Vidstab is a video stabilization library which can be plugged-in with Ffmpeg +and Transcode. + +%package devel +Summary: Development files for vid.stab +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package contains the development files (library and header files). + +%prep +%setup -q -n %{name}-%{commit} +# remove SSE2 flags +sed -i 's|-DUSE_SSE2 -msse2||' tests/CMakeLists.txt +# fxi warning _FORTIFY_SOURCE requires compiling with optimization (-O) +sed -i 's|-Wall -O0|-Wall -O|' tests/CMakeLists.txt +# use macros EXIT_SUCCESS and EXIT_FAILURE instead for portability reasons. +sed -i 's|return units_failed==0;|return units_failed>0;|' tests/testframework.c + +%build +%cmake . +%make_build + +# build the tests program +pushd tests +%cmake . +%make_build +popd + +%install +%make_install + +%check +LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : + +%ldconfig_scriptlets -n %{name} + +%files +%doc README.md +%license LICENSE +%{_libdir}/libvidstab.so.* + +%files devel +%{_includedir}/vid.stab/ +%{_libdir}/libvidstab.so +%{_libdir}/pkgconfig/vidstab.pc + +%changelog +* Tue Dec 14 2021 Martin Gansser - 1.1.0-13.20190213gitaeabc8d +- Build EPEL9 package + +* Sat Jul 27 2019 Fedora Release Engineering - 1.1.0-12.20190213gitaeabc8d +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Martin Gansser - 1.1.0-11.20190213gitaeabc8d +- Update to 1.1.0-11.20190213gitaeabc8d + +* Sun Feb 03 2019 Fedora Release Engineering - 1.1.0-10.20180529git38ecbaf +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Oct 01 2018 Sérgio Basto - 1.1.0-9.20180529git38ecbaf +- Obsoletes: vid.stab-libs + +* Sat Sep 29 2018 Sérgio Basto - 1.1.0-1.20180529git38ecbaf +- Fix version number and update the source code + +* Sat Jul 14 2018 Fedora Release Engineering - 1.1-5.20170830gitafc8ea9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1.1-4.20170830gitafc8ea9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Oct 04 2017 Martin Gansser - 1.1-3.20170830gitafc8ea9 +- change license tag to GPLv2 +- fix warning _FORTIFY_SOURCE requires compiling with optimization (-O) + +* Sun Oct 01 2017 Martin Gansser - 1.1-2.20170830gitafc8ea9 +- use macros EXIT_SUCCESS and EXIT_FAILURE instead for portability reasons + +* Sat Sep 30 2017 Martin Gansser - 1.1-1.20170830gitafc8ea9 +- Initial build rpm From 3b2e01b6e737aca42ee07961ab066f58c70841d6 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Tue, 14 Dec 2021 09:57:41 +0100 Subject: [PATCH 3/5] Build EPEL9 package Fix cmake build --- vid.stab.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/vid.stab.spec b/vid.stab.spec index 120f24d..873208d 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -1,3 +1,4 @@ +%undefine __cmake_in_source_build # https://github.com/georgmartius/vid.stab/commit/aeabc8daa7904f9edf7441a11f293965a5ef53b8 %global commit aeabc8daa7904f9edf7441a11f293965a5ef53b8 %global shortcommit %(c=%{commit}; echo ${c:0:7}) @@ -41,17 +42,17 @@ sed -i 's|-Wall -O0|-Wall -O|' tests/CMakeLists.txt sed -i 's|return units_failed==0;|return units_failed>0;|' tests/testframework.c %build -%cmake . -%make_build +%cmake +%cmake_build # build the tests program pushd tests -%cmake . -%make_build +%cmake +%cmake_build popd %install -%make_install +%cmake_install %check LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : @@ -71,6 +72,7 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %changelog * Tue Dec 14 2021 Martin Gansser - 1.1.0-13.20190213gitaeabc8d - Build EPEL9 package +- Fix cmake build * Sat Jul 27 2019 Fedora Release Engineering - 1.1.0-12.20190213gitaeabc8d - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 23d2c259aca83aa83c3b1d65eecaad1c883f2940 Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Tue, 14 Dec 2021 14:11:21 +0100 Subject: [PATCH 4/5] Update to 1.1.0-14.20201110gitf9166e9 --- .gitignore | 1 + sources | 2 +- vid.stab.spec | 11 +++++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 4383c59..d1bfbaa 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /vid.stab-aeabc8d.tar.gz +/vid.stab-f9166e9.tar.gz diff --git a/sources b/sources index d483fe4..6a4783b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vid.stab-aeabc8d.tar.gz) = 9b0b802eb5a0ec1253bfec392b868b6d7e92c59f112da58aa3ea3b09871b2373614bf4a55b510c9360b51af0d18eff2eeaf2a51c17547ebcf2b0b0b036665b81 +SHA512 (vid.stab-f9166e9.tar.gz) = 6c4e81b79b37cac0d4c8abfb30b4436b54c7070283e9569d36f92dba2b901e7f8d836b08abc30acf6eb32c7711b8108555a170ab78f3da50fc418730fb8d0663 diff --git a/vid.stab.spec b/vid.stab.spec index 873208d..099ad7d 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -1,12 +1,12 @@ %undefine __cmake_in_source_build -# https://github.com/georgmartius/vid.stab/commit/aeabc8daa7904f9edf7441a11f293965a5ef53b8 -%global commit aeabc8daa7904f9edf7441a11f293965a5ef53b8 +# https://github.com/georgmartius/vid.stab/commit/f9166e9b082242b622b5b456ef80cbdbd4042826 +%global commit f9166e9b082242b622b5b456ef80cbdbd4042826 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20190213 +%global commitdate 20201110 Name: vid.stab Version: 1.1.0 -Release: 13.%{commitdate}git%{shortcommit}%{?dist} +Release: 14.%{commitdate}git%{shortcommit}%{?dist} Summary: Video stabilize library for fmpeg, mlt or transcode License: GPLv2+ URL: http://public.hronopik.de/vid.stab @@ -70,6 +70,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %{_libdir}/pkgconfig/vidstab.pc %changelog +* Tue Dec 14 2021 Martin Gansser - 1.1.0-14.20201110gitf9166e9 +- Update to 1.1.0-14.20201110gitf9166e9 + * Tue Dec 14 2021 Martin Gansser - 1.1.0-13.20190213gitaeabc8d - Build EPEL9 package - Fix cmake build From 2041f23bdee39c519f0acfc7390521c99acf3ffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Wed, 12 Jan 2022 17:35:32 +0000 Subject: [PATCH 5/5] EPEL 9 package sync with rawhide --- .gitignore | 2 ++ README.md | 4 ++-- vid.stab.spec | 23 ++++++++++++++++++----- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index d1bfbaa..6d78d2f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ +/vid.stab-afc8ea9.tar.gz +/vid.stab-38ecbaf.tar.gz /vid.stab-aeabc8d.tar.gz /vid.stab-f9166e9.tar.gz diff --git a/README.md b/README.md index c77dc26..ba0ac19 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# vid.stab +# vid.stab package -The vid.stab package \ No newline at end of file +- Vidstab is a video stabilization library which can be plugged-in with Ffmpeg, MLT and Transcode. diff --git a/vid.stab.spec b/vid.stab.spec index 099ad7d..c72f452 100644 --- a/vid.stab.spec +++ b/vid.stab.spec @@ -6,7 +6,7 @@ Name: vid.stab Version: 1.1.0 -Release: 14.%{commitdate}git%{shortcommit}%{?dist} +Release: 18.%{commitdate}git%{shortcommit}%{?dist} Summary: Video stabilize library for fmpeg, mlt or transcode License: GPLv2+ URL: http://public.hronopik.de/vid.stab @@ -70,13 +70,26 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} tests/tests || : %{_libdir}/pkgconfig/vidstab.pc %changelog -* Tue Dec 14 2021 Martin Gansser - 1.1.0-14.20201110gitf9166e9 -- Update to 1.1.0-14.20201110gitf9166e9 +* Tue Dec 14 2021 Martin Gansser - 1.1.0-18.20201110gitf9166e9 +- Update to 1.1.0-18.20201110gitf9166e9 -* Tue Dec 14 2021 Martin Gansser - 1.1.0-13.20190213gitaeabc8d -- Build EPEL9 package +* Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-17.20190213gitaeabc8d +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-16.20190213gitaeabc8d +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 1.1.0-15.20190213gitaeabc8d +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Fix cmake build +* Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-14.20190213gitaeabc8d +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 1.1.0-13.20190213gitaeabc8d +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Jul 27 2019 Fedora Release Engineering - 1.1.0-12.20190213gitaeabc8d - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild