Sync from SUSE:SLFO:Main libtheora revision 03dea4ae33bd83a31cecbc140c7bc971

This commit is contained in:
Adrian Schröter 2024-05-03 15:57:49 +02:00
commit 3f27cf2a9e
5 changed files with 461 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

5
baselibs.conf Normal file
View File

@ -0,0 +1,5 @@
libtheora0
obsoletes "libtheora-<targettype> <= <version>"
provides "libtheora-<targettype> = <version>"
libtheoradec1
libtheoraenc1

BIN
libtheora-1.1.1.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

249
libtheora.changes Normal file
View File

@ -0,0 +1,249 @@
-------------------------------------------------------------------
Mon Jun 21 18:06:32 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Remove completely unnecessary python BR
-------------------------------------------------------------------
Sat Aug 30 11:29:11 UTC 2014 - jengelh@inai.de
- Split libtheoradec/enc from libtheora0 as they have different
SO numbers
- Trim huge description; improve on RPM group classificaiton
-------------------------------------------------------------------
Thu May 23 14:27:51 UTC 2013 - idonmez@suse.com
- Update descriptions, thanks to Perry Werneck
-------------------------------------------------------------------
Sun Nov 20 06:25:00 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Mon Aug 29 19:11:23 UTC 2011 - crrodriguez@opensuse.org
- remove examples that fail to build, also SDL and png
are only needed for those, so remove from buildrequires.
-------------------------------------------------------------------
Wed Jul 27 23:53:06 UTC 2011 - crrodriguez@opensuse.org
- remove fno-strict-aliasing from CFLAGS as it is no longer
needed and will slow down things.
-------------------------------------------------------------------
Mon May 23 19:15:11 UTC 2011 - crrodriguez@opensuse.org
- Disable doxygen documentation to avoid build dates in
-devel packages.
- add missing BuildRequires libpng-devel
-------------------------------------------------------------------
Fri Dec 18 17:25:50 CET 2009 - jengelh@medozas.de
- add baselibs.conf as a source
-------------------------------------------------------------------
Wed Oct 7 08:11:26 UTC 2009 - adrian@suse.de
- update to version 1.1.1
* minor bugfixes
-------------------------------------------------------------------
Sat Sep 26 13:13:49 UTC 2009 - adrian@suse.de
- update to version 1.1.0
* minor fixes since beta 3
-------------------------------------------------------------------
Thu Aug 27 07:29:25 UTC 2009 - adrian@suse.de
- update to version 1.1 beta 3
* Much better encoder
(faster and more details at same compressions level)
* Playback received speed improvements, but bitstream format is
untouched
- no package split yet for dec/enc/legacy libs due to 11.2 freeze
-------------------------------------------------------------------
Fri Jul 17 11:02:49 CEST 2009 - adrian@suse.de
- update to version 1.0 final
* new additional encoder and decoder libs with new api.
-------------------------------------------------------------------
Wed Jan 7 12:34:56 CET 2009 - olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
-------------------------------------------------------------------
Wed May 21 20:43:00 CEST 2008 - cthiel@suse.de
- fix baselibs.conf
-------------------------------------------------------------------
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
-------------------------------------------------------------------
Thu Dec 13 01:57:07 CET 2007 - crrodriguez@suse.de
- fix package version numbers 1.0beta1 --> 1.0.beta2
- libtheora 1.0.beta2
- Fix a crash bug on char-is-unsigned architectures (PowerPC)
- Fix a buffer sizing issue that caused rare encoder crashes
- Fix a buffer alignment issue
- Improved format documentation.
- removed unneeded patch, use --with-pic configure option instead.
-------------------------------------------------------------------
Thu Nov 8 09:57:32 CET 2007 - adrian@suse.de
- fix compiling with gcc 4.3 on ia32
-------------------------------------------------------------------
Wed Sep 26 13:46:14 CEST 2007 - adrian@suse.de
- update to 1.0beta1
From official changelog:
* Granulepos scheme modified to match other codecs. This bumps
the bitstream revision to 3.2.1. Bitstreams marked 3.2.0 are
handled correctly by this decoder. Older decoders will show
a one frame sync error in the less noticable direction.
* Switch to new spec compliant decoder from theora-exp branch.
Written by Dr. Timothy Terriberry.
* Add support to the encoder for using quantization settings
provided by the application.
* more assembly optimizations
-------------------------------------------------------------------
Wed Aug 15 13:50:33 CEST 2007 - coolo@suse.de
- fixing upgrade (#293401)
-------------------------------------------------------------------
Sun Aug 12 00:06:27 CEST 2007 - crrodriguez@suse.de
- fix build in x86_64
- use library packaging policy
- run make check in the check section
- add missing call to ldconfig
-------------------------------------------------------------------
Wed Mar 28 18:34:27 CEST 2007 - sbrabec@suse.cz
- Updated to version 1.0alpha7:
* Enable mmx assembly by default
* Avoid some relocations that caused problems on SELinux
* Other build fixes
* time testing mode (-f) for the dump_video example
* Merge theora-mmx simd acceleration (x86_32 and x86_64)
* Major RTP payload specification update
* Minor format specification updates
* Fix some spurious calls to free() instead of _ogg_free()
* Fix invalid array indexing in PixelLineSearch()
* Improve robustness against invalid input
* General warning cleanup
* The offset_y member meaning fix.
- Use incremental versioning scheme.
- Documentation repackaged.
- Use less vague names for binaries.
-------------------------------------------------------------------
Tue Aug 1 03:21:15 CEST 2006 - dmueller@suse.de
- Reenable test suite run with valgrind.
-------------------------------------------------------------------
Fri Jul 28 14:43:59 CEST 2006 - aj@suse.de
- Disable test suite run with valgrind.
-------------------------------------------------------------------
Fri Mar 10 15:55:10 CET 2006 - bk@suse.de
- libtheora-devel: add libogg-devel to Requires (found by .la check)
-------------------------------------------------------------------
Mon Feb 6 10:36:07 CET 2006 - adrian@suse.de
- add -fstack-protector
- enable test suite run with valgrind
-------------------------------------------------------------------
Sun Jan 29 17:41:50 CET 2006 - aj@suse.de
- Fix BuildRequires.
-------------------------------------------------------------------
Wed Jan 25 21:37:46 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Oct 19 10:15:30 CEST 2005 - adrian@suse.de
- update to version 1.0 alpha 5
- enable test suite
- generate API documentation with doxygen
-------------------------------------------------------------------
Thu Apr 14 17:17:06 CEST 2005 - sbrabec@suse.cz
- Added audiofile-devel to neededforbuild.
-------------------------------------------------------------------
Wed Jan 5 14:33:42 CET 2005 - adrian@suse.de
- update to version 1.0 alpha 4
-------------------------------------------------------------------
Tue Oct 26 16:17:00 CEST 2004 - adrian@suse.de
- remove .svn directories
-------------------------------------------------------------------
Mon Oct 18 08:58:16 CEST 2004 - adrian@suse.de
- update to current cvs to get pc file
-------------------------------------------------------------------
Thu Aug 19 10:32:43 CEST 2004 - adrian@suse.de
- create -devel package
-------------------------------------------------------------------
Tue Jun 29 21:52:48 CEST 2004 - adrian@suse.de
- do not install the libtool scripts ...
-------------------------------------------------------------------
Sat Apr 24 13:45:35 CEST 2004 - adrian@suse.de
- use xorg-x11 packages
-------------------------------------------------------------------
Wed Apr 21 12:21:07 CEST 2004 - adrian@suse.de
- compile with -fno-strict-aliasing
-------------------------------------------------------------------
Sun Mar 21 17:36:51 CET 2004 - adrian@suse.de
- update to alpha 3 release
on disc format is still not frozen, so this remain an internal package
-------------------------------------------------------------------
Wed Feb 4 09:50:06 CET 2004 - adrian@suse.de
- remove binaries from example dir (they get installed anyway)
-------------------------------------------------------------------
Fri Jan 30 18:04:02 CET 2004 - adrian@suse.de
- initial package of current snapshot (post alpha2)
- internal package only atm

181
libtheora.spec Normal file
View File

@ -0,0 +1,181 @@
#
# spec file for package libtheora
#
# Copyright (c) 2021 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/
#
Name: libtheora
Summary: Theora video compression codec
License: BSD-3-Clause
Group: Productivity/Multimedia/Other
Version: 1.1.1
Release: 0
%define pkg_version %version
URL: http://www.theora.org/
Source: http://downloads.xiph.org/releases/theora/%{name}-%{pkg_version}.tar.bz2
Source2: baselibs.conf
BuildRequires: gcc-c++
BuildRequires: libogg-devel
BuildRequires: libtool
BuildRequires: libvorbis-devel
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# bug437293
%ifarch ppc64
Obsoletes: libtheora-64bit
%endif
%description
Theora is a free and open video compression format from the Xiph.org Foundation. Like all our
multimedia technology it can be used to distribute film and video online and on disc without
the licensing and royalty fees or vendor lock-in associated with other formats.
%package -n libtheora0
Summary: Theora video compression codec
Group: System/Libraries
Provides: %{name} = %{version}
Obsoletes: %{name} <= %{version}
# bug437293
%ifarch ppc64
Obsoletes: libtheora-64bit
%endif
#
%description -n libtheora0
Theora is a free and open video compression format from the Xiph.org Foundation. Like all our
multimedia technology it can be used to distribute film and video online and on disc without
the licensing and royalty fees or vendor lock-in associated with other formats.
Theora scales from postage stamp to HD resolution, and is considered particularly competitive
at low bitrates. It is in the same class as MPEG-4/DiVX, and like the Vorbis audio codec it
has lots of room for improvement as encoder technology develops.
Theora is in full public release as of November 3, 2008. The bitstream format for Theora I
was frozen Thursday, 2004 July 1. All bitstreams encoded since that date will remain compatible
with future releases.
The package contains the library that can decode and encode Theora streams. Theora is also
able to playback VP3 streams.
Authors:
--------
the Xiph.Org Foundation http://www.xiph.org/
%package -n libtheoradec1
Summary: Theora video decompression library
Group: System/Libraries
%description -n libtheoradec1
Theora is a free and open video compression format from the Xiph.org Foundation. Like all our
multimedia technology it can be used to distribute film and video online and on disc without
the licensing and royalty fees or vendor lock-in associated with other formats.
This subpackage contains the decoder library.
%package -n libtheoraenc1
Summary: Theora video compression library
Group: System/Libraries
%description -n libtheoraenc1
Theora is a free and open video compression format from the Xiph.org Foundation. Like all our
multimedia technology it can be used to distribute film and video online and on disc without
the licensing and royalty fees or vendor lock-in associated with other formats.
This subpackage contains the encoder library.
%package devel
Summary: Theora video compression codec
Group: Development/Libraries/C and C++
Requires: libogg-devel
Requires: libtheora0 = %{version}
Requires: libtheoradec1 = %{version}
Requires: libtheoraenc1 = %{version}
# bug437293
%ifarch ppc64
Obsoletes: libtheora-devel-64bit
%endif
#
%description devel
Theora is a free and open video compression format from the Xiph.org Foundation. Like all our
multimedia technology it can be used to distribute film and video online and on disc without
the licensing and royalty fees or vendor lock-in associated with other formats.
Theora scales from postage stamp to HD resolution, and is considered particularly competitive
at low bitrates. It is in the same class as MPEG-4/DiVX, and like the Vorbis audio codec it
has lots of room for improvement as encoder technology develops.
Theora is in full public release as of November 3, 2008. The bitstream format for Theora I
was frozen Thursday, 2004 July 1. All bitstreams encoded since that date will remain compatible
with future releases.
The package contains the library that can decode and encode Theora streams. Theora is also
able to playback VP3 streams.
Authors:
--------
the Xiph.Org Foundation http://www.xiph.org/
%prep
%setup -q -n %{name}-%{pkg_version}
%build
ACLOCAL="aclocal -I m4" autoreconf -f -i
%configure --disable-examples \
--disable-static \
--with-pic
make %{?_smp_mflags} docdir=%{_docdir}/%{name}
%install
%make_install docdir=%{_docdir}/%{name}
%{__install} -d $RPM_BUILD_ROOT%{_bindir}
# Install remaining parts of documentation.
%{__cp} -a AUTHORS CHANGES COPYING LICENSE README $RPM_BUILD_ROOT%{_docdir}/%{name}
%check
%{__make} check
%post -n libtheora0 -p /sbin/ldconfig
%postun -n libtheora0 -p /sbin/ldconfig
%post -n libtheoradec1 -p /sbin/ldconfig
%postun -n libtheoradec1 -p /sbin/ldconfig
%post -n libtheoraenc1 -p /sbin/ldconfig
%postun -n libtheoraenc1 -p /sbin/ldconfig
%files -n libtheora0
%defattr(-,root,root)
%{_libdir}/libtheora.so.0*
%files -n libtheoradec1
%defattr(-,root,root)
%{_libdir}/libtheoradec.so.1*
%files -n libtheoraenc1
%defattr(-,root,root)
%{_libdir}/libtheoraenc.so.1*
%files devel
%defattr(-,root,root)
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/*
%{_includedir}/theora
%{_libdir}/*.so
%{_libdir}/pkgconfig/theoradec.pc
%{_libdir}/pkgconfig/theoraenc.pc
%{_libdir}/pkgconfig/theora.pc
%exclude %{_libdir}/*.la
%changelog