From 33ebd33fa8d646cef620c1db311bb9b823dfdfe8f931d9208ec326c23d47d6e9 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 9 Aug 2024 11:15:26 +0000 Subject: [PATCH 1/2] Update to version 1.1.1 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vid_stab?expand=0&rev=13 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + baselibs.conf | 1 + v1.1.0.tar.gz | 3 ++ v1.1.1.tar.gz | 3 ++ vid_stab-fix-license.patch | 57 +++++++++++++++++++++++++ vid_stab.changes | 42 +++++++++++++++++++ vid_stab.spec | 85 ++++++++++++++++++++++++++++++++++++++ 8 files changed, 215 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 v1.1.0.tar.gz create mode 100644 v1.1.1.tar.gz create mode 100644 vid_stab-fix-license.patch create mode 100644 vid_stab.changes create mode 100644 vid_stab.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..e6c7107 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libvidstab1_2 diff --git a/v1.1.0.tar.gz b/v1.1.0.tar.gz new file mode 100644 index 0000000..5283327 --- /dev/null +++ b/v1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14d2a053e56edad4f397be0cb3ef8eb1ec3150404ce99a426c4eb641861dc0bb +size 77736 diff --git a/v1.1.1.tar.gz b/v1.1.1.tar.gz new file mode 100644 index 0000000..0cc70fc --- /dev/null +++ b/v1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9001b6df73933555e56deac19a0f225aae152abbc0e97dc70034814a1943f3d4 +size 80717 diff --git a/vid_stab-fix-license.patch b/vid_stab-fix-license.patch new file mode 100644 index 0000000..eb404f6 --- /dev/null +++ b/vid_stab-fix-license.patch @@ -0,0 +1,57 @@ +From cf6a1a2297130ec8182fa81dda6acb97ab8c7932 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= +Date: Tue, 29 May 2018 17:37:47 +0200 +Subject: [PATCH 1/2] Update transformfixedpoint.h + +Drop conflicting Attribution-NonCommercial-ShareAlike 2.5 License. +--- + src/transformfixedpoint.h | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/src/transformfixedpoint.h b/src/transformfixedpoint.h +index 519d613..e96011d 100644 +--- a/src/transformfixedpoint.h ++++ b/src/transformfixedpoint.h +@@ -20,13 +20,6 @@ + * along with GNU Make; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * +- * This work is licensed under the Creative Commons +- * Attribution-NonCommercial-ShareAlike 2.5 License. To view a copy of +- * this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/ +- * or send a letter to Creative Commons, 543 Howard Street, 5th Floor, +- * San Francisco, California, 94105, USA. +- * This EXCLUDES COMMERCIAL USAGE +- * + */ + #ifndef __TRANSFORMFIXEDPOINT_H + #define __TRANSFORMFIXEDPOINT_H + +From bc1ac0a378c15f3f14799a8bffee305daa6e0354 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= +Date: Tue, 29 May 2018 17:40:27 +0200 +Subject: [PATCH 2/2] Update transformfloat.h + +Drop conflicting Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License +--- + src/transformfloat.h | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/src/transformfloat.h b/src/transformfloat.h +index 9799417..ed9428b 100644 +--- a/src/transformfloat.h ++++ b/src/transformfloat.h +@@ -20,12 +20,6 @@ + * along with GNU Make; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * +- * This work is licensed under the Creative Commons +- * Attribution-NonCommercial-ShareAlike 2.5 License. To view a copy of +- * this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/ +- * or send a letter to Creative Commons, 543 Howard Street, 5th Floor, +- * San Francisco, California, 94105, USA. +- * This EXCLUDES COMMERCIAL USAGE + * + */ + #ifndef __TRANSFORMFLOAT_H + diff --git a/vid_stab.changes b/vid_stab.changes new file mode 100644 index 0000000..4726da1 --- /dev/null +++ b/vid_stab.changes @@ -0,0 +1,42 @@ +------------------------------------------------------------------- +Thu Aug 8 08:46:50 UTC 2024 - ming li + +- update to 1.1.1: + * use -msse2 flag only when SSE is available + Remove vid_stab-fix-license.patch + +------------------------------------------------------------------- +Tue Feb 20 13:27:44 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + +------------------------------------------------------------------- +Tue Jul 17 12:40:22 UTC 2018 - schwab@suse.de + +- Ensure reproducible build by overriding build-time SSE probing + +------------------------------------------------------------------- +Tue May 29 21:35:06 UTC 2018 - bjorn.lie@gmail.com + +- Add vid_stab-fix-license.patch: Fix conflicting licenses, patch + merged upstream. +- Run spec-cleaner, modernize spec. +- Package LICENSE with library sub-package. + +------------------------------------------------------------------- +Sun May 6 18:29:22 UTC 2018 - olaf@aepfle.de + +- Add libvidstab1_1 to baselibs.conf + +------------------------------------------------------------------- +Sun Feb 11 22:35:30 UTC 2018 - nico.kruber@gmail.com + +- update to 1.1.0: + + use openMP to do parallel execution + +------------------------------------------------------------------- +Sat Oct 25 20:38:55 UTC 2014 - reddwarf@opensuse.org + +- Initial package + diff --git a/vid_stab.spec b/vid_stab.spec new file mode 100644 index 0000000..2c3141c --- /dev/null +++ b/vid_stab.spec @@ -0,0 +1,85 @@ +# +# spec file for package vid_stab +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define soname 1_2 + +Name: vid_stab +Version: 1.1.1 +Release: 0 +Summary: Video stabilizer +License: GPL-2.0-or-later +Group: Development/Libraries/C and C++ +URL: http://public.hronopik.de/vid.stab/ +Source0: https://github.com/georgmartius/vid.stab/archive/refs/tags/v1.1.1.tar.gz +Source99: baselibs.conf +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +%description +A library to deshake videos, designed to stabilize even strongly jiggled clips. + +%package -n libvidstab%{soname} +Summary: A library to deshake video +Group: System/Libraries + +%description -n libvidstab%{soname} +A library to deshake videos, designed to stabilize even strongly jiggled clips. + +%package -n libvidstab-devel +Summary: Development files for libvidstab%{soname} +Group: Development/Libraries/C and C++ +Requires: libvidstab%{soname} = %{version} + +%description -n libvidstab-devel +Development (headers and libraries) files for libvidstab%{soname}. + +%prep +%autosetup -p1 -n vid.stab-%{version} + +%build +%cmake \ +%ifarch %ix86 x86_64 + -DSSE2_FOUND=TRUE \ +%else + -DSSE2_FOUND=FALSE \ +%endif + -DSSE3_FOUND=FALSE \ + -DSSSE3_FOUND=FALSE \ + -DSSE4_1_FOUND=FALSE \ + %{nil} +make %{?_smp_mflags} + +%install +%cmake_install + +%post -n libvidstab%{soname} -p /sbin/ldconfig +%postun -n libvidstab%{soname} -p /sbin/ldconfig + +%files -n libvidstab%{soname} +%defattr(0644, root, root, 0755) +%license LICENSE +%{_libdir}/libvidstab.so.* + +%files -n libvidstab-devel +%defattr(0644, root, root, 0755) +%{_libdir}/libvidstab.so +%{_includedir}/vid.stab/ +%{_libdir}/pkgconfig/vidstab.pc + +%changelog From 7ebf1dc11caa542ad28a011f9c80ed30f8291b171ee549c730f200ee5294990a Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 13 Aug 2024 11:55:08 +0000 Subject: [PATCH 2/2] Drop stable patch OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vid_stab?expand=0&rev=14 --- vid_stab-fix-license.patch | 57 -------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 vid_stab-fix-license.patch diff --git a/vid_stab-fix-license.patch b/vid_stab-fix-license.patch deleted file mode 100644 index eb404f6..0000000 --- a/vid_stab-fix-license.patch +++ /dev/null @@ -1,57 +0,0 @@ -From cf6a1a2297130ec8182fa81dda6acb97ab8c7932 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= -Date: Tue, 29 May 2018 17:37:47 +0200 -Subject: [PATCH 1/2] Update transformfixedpoint.h - -Drop conflicting Attribution-NonCommercial-ShareAlike 2.5 License. ---- - src/transformfixedpoint.h | 7 ------- - 1 file changed, 7 deletions(-) - -diff --git a/src/transformfixedpoint.h b/src/transformfixedpoint.h -index 519d613..e96011d 100644 ---- a/src/transformfixedpoint.h -+++ b/src/transformfixedpoint.h -@@ -20,13 +20,6 @@ - * along with GNU Make; see the file COPYING. If not, write to - * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - * -- * This work is licensed under the Creative Commons -- * Attribution-NonCommercial-ShareAlike 2.5 License. To view a copy of -- * this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/ -- * or send a letter to Creative Commons, 543 Howard Street, 5th Floor, -- * San Francisco, California, 94105, USA. -- * This EXCLUDES COMMERCIAL USAGE -- * - */ - #ifndef __TRANSFORMFIXEDPOINT_H - #define __TRANSFORMFIXEDPOINT_H - -From bc1ac0a378c15f3f14799a8bffee305daa6e0354 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= -Date: Tue, 29 May 2018 17:40:27 +0200 -Subject: [PATCH 2/2] Update transformfloat.h - -Drop conflicting Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License ---- - src/transformfloat.h | 6 ------ - 1 file changed, 6 deletions(-) - -diff --git a/src/transformfloat.h b/src/transformfloat.h -index 9799417..ed9428b 100644 ---- a/src/transformfloat.h -+++ b/src/transformfloat.h -@@ -20,12 +20,6 @@ - * along with GNU Make; see the file COPYING. If not, write to - * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - * -- * This work is licensed under the Creative Commons -- * Attribution-NonCommercial-ShareAlike 2.5 License. To view a copy of -- * this license, visit http://creativecommons.org/licenses/by-nc-sa/2.5/ -- * or send a letter to Creative Commons, 543 Howard Street, 5th Floor, -- * San Francisco, California, 94105, USA. -- * This EXCLUDES COMMERCIAL USAGE - * - */ - #ifndef __TRANSFORMFLOAT_H -