commit 8e98acba83eda956d6a89d378d0da05bbd6495807be7d8cee301a9cf752adacb Author: Adrian Schröter Date: Sat May 4 01:44:52 2024 +0200 Sync from SUSE:SLFO:Main vid_stab revision fdf48b9b1323b6a997b34a11421a0df5 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/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..6a213c0 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libvidstab1_1 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/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..db04483 --- /dev/null +++ b/vid_stab.changes @@ -0,0 +1,29 @@ +------------------------------------------------------------------- +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..a7fd551 --- /dev/null +++ b/vid_stab.spec @@ -0,0 +1,87 @@ +# +# spec file for package vid_stab +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +%define soname 1_1 + +Name: vid_stab +Version: 1.1.0 +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/v1.1.0.tar.gz +Source99: baselibs.conf +Patch0: vid_stab-fix-license.patch +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 +%setup -q -n vid.stab-%{version} +%patch0 -p1 + +%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