5 Commits

Author SHA256 Message Date
56cd97cbfd Accepting request 1279725 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1279725
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtheora?expand=0&rev=37
2025-05-27 16:49:10 +00:00
3c1726da0f fix Leap 15.x build
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libtheora?expand=0&rev=31
2025-05-24 08:15:44 +00:00
e6d26aaa7b Accepting request 1265711 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1265711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtheora?expand=0&rev=36
2025-04-02 15:06:18 +00:00
1409f7a6fd - Fix devel package Requires, so name of shared libs was changed in
previous version update.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libtheora?expand=0&rev=29
2025-03-31 09:37:42 +00:00
8893f5e76d - update to 1.2.0
* New 'ptalarbvorm' encoder with better rate/distortion optimization
  * New th_encode_ctl option for copying configuration from an existing
    setup header, useful for splicing streams.
  * Returns TH_DUPFRAME in more cases.
  * Add ARM optimizations
  * Add TI C64x+ DSP optimizations
  * Other performance improvements
  * Rename speedlevel 2 to 3 and provide a new speedlevel 2
  * Various minor bug fixes
  * Bumped minor SONAME versions as <codec.h> methods changed constness
    of arguments.
  * Updated libogg dependency to version 1.3.4 for ogg_uint64_t.
  * Updated doxygen setup.
  * Updated autotools setup and support scripts
  * Improved ARM support.
  * Converted SCons setup to work with Python 3.
  * Introduced new configure options --enable-mem-constraint and
    --enable-gcc-sanitizers.
  * Fixed all known compiler warnings and errors from gcc and clang.
  * Improved examples for stability and correctness.
  * Various speed, bug fixes and code quality improvements.
    - Fixed build problem with Visual Studio
    - Avoids undefined bit shift of signed numbers
    - Avoids example encoder crash on bogus audio input
    - Fixed musl linking issue with asm enabled
    - Fixed some broken clamping in rate control
    - Added NULL check _tc and _setup even for data packets
    - Fixed mismatched oc_mb_fill_cmapping11 signature
    - Updated the documentation for theora_encode_comment()

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libtheora?expand=0&rev=28
2025-03-31 07:21:35 +00:00
5 changed files with 149 additions and 120 deletions

View File

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

Binary file not shown.

3
libtheora-1.2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:279327339903b544c28a92aeada7d0dcfd0397b59c2f368cc698ac56f515906e
size 2535283

View File

@@ -1,3 +1,75 @@
-------------------------------------------------------------------
Sat May 24 06:45:42 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- remove Requires from -devel that are already auto-generated
- update description
- Fix Leap 15.x build
-------------------------------------------------------------------
Mon Mar 31 09:03:34 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Fix devel package Requires, so name of shared libs was changed in
previous version update.
-------------------------------------------------------------------
Sat Mar 29 14:17:48 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.2.0
* New 'ptalarbvorm' encoder with better rate/distortion optimization
* New th_encode_ctl option for copying configuration from an existing
setup header, useful for splicing streams.
* Returns TH_DUPFRAME in more cases.
* Add ARM optimizations
* Add TI C64x+ DSP optimizations
* Other performance improvements
* Rename speedlevel 2 to 3 and provide a new speedlevel 2
* Various minor bug fixes
* Bumped minor SONAME versions as <codec.h> methods changed constness
of arguments.
* Updated libogg dependency to version 1.3.4 for ogg_uint64_t.
* Updated doxygen setup.
* Updated autotools setup and support scripts
* Improved ARM support.
* Converted SCons setup to work with Python 3.
* Introduced new configure options --enable-mem-constraint and
--enable-gcc-sanitizers.
* Fixed all known compiler warnings and errors from gcc and clang.
* Improved examples for stability and correctness.
* Various speed, bug fixes and code quality improvements.
- Fixed build problem with Visual Studio
- Avoids undefined bit shift of signed numbers
- Avoids example encoder crash on bogus audio input
- Fixed musl linking issue with asm enabled
- Fixed some broken clamping in rate control
- Added NULL check _tc and _setup even for data packets
- Fixed mismatched oc_mb_fill_cmapping11 signature
- Updated the documentation for theora_encode_comment()
- Adjusted build to only link libcompat with dump_video
- Corrected an operator precedence error in the visualization
code
- Fixed two spelling errors in the comments
- Avoid negative bit shift operation in huffdec.c (CVE-2024-56431)
* Improved library documentation and specification text.
* Adjusted library dependencies so libtheoraenc do not depend on
libtheoradec.
* Handle fallout from CVE-2017-14633 in libvorbis, check return value
in encoder_example and transcoder_example.
* Bumped minor SONAME versions as oc_comment_unpack() implementation
changed.
* Added example wrapper script encoder_example_ffmpeg
* Improve comment handling on platforms where malloc(0) return NULL
* Added pragma in example code to quiet clang op precedenca warnings.
* Adjusted encoder_example help text.
* Adjusted README, CHANGES, pkg-config and spec files to better reflect
current release
* Corrected english typos in source and build system.
* Switched http links to https in doc and comments where relevant.
Did not touch RFC drafts.
- do not obsolete itself
- remove workaround for ppc64 as that arch does not exist anymore
- use macros (autosetup, make, ldconfig_scriptlets)
- be more verbose in the %files section (list every file)
-------------------------------------------------------------------
Mon Jun 21 18:06:32 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,8 @@
#
# spec file for package libtheora
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,165 +18,121 @@
Name: libtheora
Version: 1.2.0
Release: 0
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
URL: https://www.theora.org/
Source0: http://downloads.xiph.org/releases/theora/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: c++_compiler
BuildRequires: pkgconfig
BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(vorbis)
%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.
Theora is a free and open video compression format. It is designed to scale
well from postage stamp to HD resolution, and is considered particularly
competitive at low bitrates.
%package -n libtheora0
%package -n libtheora1
Summary: Theora video compression codec
Group: System/Libraries
Provides: %{name} = %{version}
Obsoletes: %{name} <= %{version}
# bug437293
%ifarch ppc64
Obsoletes: libtheora-64bit
%endif
#
Obsoletes: %{name} < %{version}
%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.
%description -n libtheora1
Theora is a free and open video compression format. It is designed to scale
well from postage stamp to HD resolution, and is considered particularly
competitive at low bitrates.
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.
The package contains the library that can decode and encode Theora streams.
Theora is also able to playback VP3 streams.
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
%package -n libtheoradec2
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.
%description -n libtheoradec2
Theora is a free and open video compression format. It is designed to scale
well from postage stamp to HD resolution, and is considered particularly
competitive at low bitrates.
This subpackage contains the decoder library.
%package -n libtheoraenc1
%package -n libtheoraenc2
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.
%description -n libtheoraenc2
Theora is a free and open video compression format. It is designed to scale
well from postage stamp to HD resolution, and is considered particularly
competitive at low bitrates.
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
#
Requires: libtheora1 = %{version}
Requires: libtheoradec2 = %{version}
Requires: libtheoraenc2 = %{version}
%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 is a free and open video compression format. It is designed to scale
well from postage stamp to HD resolution, and is considered particularly
competitive at low bitrates.
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/
The package contains the library that can decode and encode Theora streams.
Theora is also able to playback VP3 streams.
%prep
%setup -q -n %{name}-%{pkg_version}
%autosetup -p1
%build
ACLOCAL="aclocal -I m4" autoreconf -f -i
%configure --disable-examples \
--disable-static \
--with-pic
make %{?_smp_mflags} docdir=%{_docdir}/%{name}
%configure \
--disable-examples \
--disable-static \
--with-pic \
%{nil}
%make_build 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}
find %{buildroot} -type f -name "*.la" -delete -print
find %{buildroot} -type f -name "doxygen-build.stamp" -delete -print
%check
%{__make} check
%make_build 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
%ldconfig_scriptlets -n libtheora1
%ldconfig_scriptlets -n libtheoradec2
%ldconfig_scriptlets -n libtheoraenc2
%files -n libtheora0
%defattr(-,root,root)
%{_libdir}/libtheora.so.0*
%files -n libtheora1
%license COPYING LICENSE
%{_libdir}/libtheora.so.1*
%files -n libtheoradec1
%defattr(-,root,root)
%{_libdir}/libtheoradec.so.1*
%files -n libtheoradec2
%license COPYING LICENSE
%{_libdir}/libtheoradec.so.2*
%files -n libtheoraenc1
%defattr(-,root,root)
%{_libdir}/libtheoraenc.so.1*
%files -n libtheoraenc2
%license COPYING LICENSE
%{_libdir}/libtheoraenc.so.2*
%files devel
%defattr(-,root,root)
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/*
%license COPYING LICENSE
%doc AUTHORS CHANGES README.md
%{_docdir}/%{name}
%{_includedir}/theora
%{_libdir}/*.so
%{_libdir}/libtheora.so
%{_libdir}/libtheoradec.so
%{_libdir}/libtheoraenc.so
%{_libdir}/pkgconfig/theora.pc
%{_libdir}/pkgconfig/theoradec.pc
%{_libdir}/pkgconfig/theoraenc.pc
%{_libdir}/pkgconfig/theora.pc
%exclude %{_libdir}/*.la
%changelog