Accepting request 990731 from home:dirkmueller:Factory

- update to 1.12.0:
  This release adds optimizations for Loongarch, adds support for vp8 in the
  real-time rate control library, upgrades GoogleTest to v1.11.0, updates
  libwebm to libwebm-1.0.0.28-20-g206d268, and includes numerous bug fixes.
  - Enhancement:
    Numerous improvements on checking memory allocations.
    Optimizations for Loongarch.
    Code clean-up.
  - Bug fixes:
    Fix to a crash related to {vp8/vp9}_set_roi_map.
    Fix to compiling failure with -Wformat-nonliteral.
    Fix to integer overflow with vp9 with high resolution content.
    Fix to AddNoiseTest failure with ARMv7.
    Fix to libvpx Null-dereference READ in vp8.

OBS-URL: https://build.opensuse.org/request/show/990731
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libvpx?expand=0&rev=122
This commit is contained in:
Takashi Iwai 2022-07-23 06:34:24 +00:00 committed by Git OBS Bridge
parent c86d72a50c
commit cc367a2d35
6 changed files with 32 additions and 21 deletions

View File

@ -4,7 +4,7 @@
<param name="scm">git</param> <param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-pattern">v(.*)</param>
<param name="revision">v1.11.0</param> <param name="revision">v1.12.0</param>
</service> </service>
<service name="set_version" mode="manual"/> <service name="set_version" mode="manual"/>
<service name="tar" mode="buildtime"/> <service name="tar" mode="buildtime"/>

View File

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

3
libvpx-1.12.0.obscpio Normal file
View File

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Jul 22 21:46:30 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.12.0:
This release adds optimizations for Loongarch, adds support for vp8 in the
real-time rate control library, upgrades GoogleTest to v1.11.0, updates
libwebm to libwebm-1.0.0.28-20-g206d268, and includes numerous bug fixes.
- Enhancement:
Numerous improvements on checking memory allocations.
Optimizations for Loongarch.
Code clean-up.
- Bug fixes:
Fix to a crash related to {vp8/vp9}_set_roi_map.
Fix to compiling failure with -Wformat-nonliteral.
Fix to integer overflow with vp9 with high resolution content.
Fix to AddNoiseTest failure with ARMv7.
Fix to libvpx Null-dereference READ in vp8.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 24 08:55:18 UTC 2021 - Callum Farmer <gmbr3@opensuse.org> Wed Nov 24 08:55:18 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -1,4 +1,4 @@
name: libvpx name: libvpx
version: 1.11.0 version: 1.12.0
mtime: 1633542079 mtime: 1656442848
commit: 626ff35955c2c35b806b3e0ecf551a1a8611cdbf commit: 03265cd42b3783532de72f2ded5436652e6f5ce3

View File

@ -1,7 +1,7 @@
# #
# spec file for package libvpx # spec file for package libvpx
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define sover 7 %define sover 7
Name: libvpx Name: libvpx
Version: 1.11.0 Version: 1.12.0
Release: 0 Release: 0
Summary: VP8/VP9 codec library Summary: VP8/VP9 codec library
License: BSD-3-Clause AND GPL-2.0-or-later License: BSD-3-Clause AND GPL-2.0-or-later
@ -27,12 +27,11 @@ URL: https://www.webmproject.org/
Source0: %{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz
Source1000: baselibs.conf Source1000: baselibs.conf
Patch2: libvpx-configure-add-arch.patch Patch2: libvpx-configure-add-arch.patch
# only needed for test suite
BuildRequires: gcc-c++
# Needed to be able to create pkgconfig() provides. # Needed to be able to create pkgconfig() provides.
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: yasm BuildRequires: yasm
# only needed for test suite
BuildRequires: gcc-c++
# add curl and do not copy it in to get an updated test-data.sha1 file # add curl and do not copy it in to get an updated test-data.sha1 file
#BuildRequires: curl #BuildRequires: curl
@ -99,13 +98,8 @@ sed -i~ 's@ssse3@@' build/make/rtcd.pl
%endif %endif
cd build cd build
# It is only an emulation of autotools configure; the macro does not work # It is only an emulation of autotools configure; the macro does not work
export CFLAGS="%{optflags} -O3"
# libvpx default enable NEON support on ARMv7, unfortunately some ARMv7 export CXXFLAGS="%{optflags} -O3"
# CPU doesn't have NEON, e.g. NVIDIA Tegra 2.
# So, we still set -mfpu=neon when build libvpx rpm, but also enable
# runtime-cpu-detect for runtime detect NEON.
export CFLAGS="%optflags -O3"
export CXXFLAGS="%optflags -O3"
../configure \ ../configure \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
@ -138,7 +132,7 @@ export CXXFLAGS="%optflags -O3"
echo '#define DECODE_WIDTH_LIMIT 8192' >> vpx_config.h echo '#define DECODE_WIDTH_LIMIT 8192' >> vpx_config.h
echo '#define DECODE_HEIGHT_LIMIT 8192' >> vpx_config.h echo '#define DECODE_HEIGHT_LIMIT 8192' >> vpx_config.h
make %{?_smp_mflags} verbose=yes GEN_EXAMPLES= %make_build verbose=yes GEN_EXAMPLES=
%install %install
cd build cd build
@ -152,7 +146,6 @@ make %{?_smp_mflags} verbose=yes GEN_EXAMPLES= DESTDIR=%{buildroot} install
%postun -n %{name}%{sover} -p /sbin/ldconfig %postun -n %{name}%{sover} -p /sbin/ldconfig
%files -n vpx-tools %files -n vpx-tools
%defattr(-,root,root)
%{_bindir}/* %{_bindir}/*
%files -n %{name}%{sover} %files -n %{name}%{sover}