Merge tag 'v1.12.0' into tizen 54/286154/1 accepted/tizen/8.0/unified/20231005.095132 accepted/tizen/unified/20230102.132010 tizen_8.0_m2_release
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 29 Dec 2022 07:06:23 +0000 (16:06 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 29 Dec 2022 07:07:04 +0000 (16:07 +0900)
Release v1.12.0 Torrent Duck

2022-06-17 v1.12.0 "Torrent Duck"

  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.

- Upgrading:
    This release is ABI compatible with the previous release.
    vp8 support in the real-time rate control library.
    New codec control VP8E_SET_RTC_EXTERNAL_RATECTRL is added.
    Configure support for darwin21 is added.
    GoogleTest is upgraded to v1.11.0.
    libwebm is updated to libwebm-1.0.0.28-20-g206d268.

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

Change-Id: I9c31fd945f848af0bd75fa58399b33ee0c010eed
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
1  2 
packaging/libvpx.spec

index ecc6771,0000000..969f04d
mode 100644,000000..100644
--- /dev/null
@@@ -1,97 -1,0 +1,97 @@@
- Version:        1.10.0
 +Name:           libvpx
++Version:        1.12.0
 +Release:        0
 +License:        BSD-3-Clause
 +Summary:        VP8 codec library
 +Url:            http://www.webmproject.org/
 +#X-Vc-Url:    https://chromium.googlesource.com/webm/libvpx
 +Group:          Multimedia/Libraries
 +Source0:        http://webm.googlecode.com/files/%{name}-v%{version}.tar.bz2
 +Source1001:   libvpx.manifest
 +BuildRequires:  yasm
 +
 +%description
 +WebM is an open, royalty-free, media file format designed for the web.
 +
 +WebM defines the file container structure, video and audio formats.
 +WebM files consist of video streams compressed with the VP8 video codec
 +and audio streams compressed with the Vorbis audio codec.
 +The WebM file structure is based on the Matroska container.
 +
 +%package -n vpx-tools
 +Summary:        VP8 codec library - Utilities
 +
 +%description -n vpx-tools
 +This package contains utilities around the vp8 codec sdk.
 +
 +WebM is an open, royalty-free, media file format designed for the web.
 +
 +WebM defines the file container structure, video and audio formats.
 +WebM files consist of video streams compressed with the VP8 video codec
 +and audio streams compressed with the Vorbis audio codec.
 +The WebM file structure is based on the Matroska container.
 +%package devel
 +Summary:        VP8 codec library - Development headers
 +Requires:       %{name} = %{version}-%{release}
 +
 +%description devel
 +Development headers and library
 +
 +WebM is an open, royalty-free, media file format designed for the web.
 +
 +WebM defines the file container structure, video and audio formats.
 +WebM files consist of video streams compressed with the VP8 video codec
 +and audio streams compressed with the Vorbis audio codec.
 +The WebM file structure is based on the Matroska container.
 +
 +%prep
 +%setup -q -n %name-v%version
 +cp %{SOURCE1001} .
 +
 +%build
 +cd build
 +export CFLAGS="%{optflags}"
 +# It is only an emulation of autotools configure; the macro does not work
 +
 +# libvpx default enable NEON support on ARMv7, unfortunately some ARMv7
 +# 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.
 +../configure \
 +    --prefix=%{_prefix} \
 +    --libdir=%{_libdir} \
 +    --enable-debug \
 +    --enable-shared \
 +%ifarch armv7l armv7hl
 +    --target=armv7-linux-gcc \
 +    --enable-runtime-cpu-detect \
 +%endif
 +    --enable-pic
 +
 +%__make %{?_smp_mflags}
 +
 +%install
 +cd build
 +%make_install
 +
 +%post -n %{name} -p /sbin/ldconfig
 +
 +%postun -n %{name} -p /sbin/ldconfig
 +
 +%files -n vpx-tools
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%{_bindir}/*
 +
 +%files
 +%manifest %{name}.manifest
 +%defattr(-, root, root)
 +%license LICENSE
 +%{_libdir}/libvpx.so.*
 +
 +%files devel
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%{_includedir}/vpx/
 +%{_libdir}/pkgconfig/vpx.pc
 +%{_libdir}/libvpx.so