libgav1 (0.19.0-2) unstable; urgency=medium
authorSebastian Ramacher <sramacher@debian.org>
Mon, 1 Apr 2024 13:14:00 +0000 (15:14 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Mon, 1 Apr 2024 13:14:00 +0000 (15:14 +0200)
  * Team upload
  * Upload to unstable (Closes: #1068180)
  * debian/patches: Temporarily disable cpu test

[dgit import unpatched libgav1 0.19.0-2]

19 files changed:
1  2 
debian/changelog
debian/control
debian/copyright
debian/gav1_decode.1
debian/libgav1-1.install
debian/libgav1-1.symbols
debian/libgav1-bin.install
debian/libgav1-bin.manpages
debian/libgav1-dev.examples
debian/libgav1-dev.install
debian/patches/0001-Unbundle-abseil.patch
debian/patches/0002-Use-system-googletest.patch
debian/patches/0003-Use-C-14.patch
debian/patches/0004-Temporarily-disable-CPU-test.patch
debian/patches/series
debian/rules
debian/source/format
debian/upstream/metadata
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1011fd9850ad607e64c7ec51f82578594a4d3643
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,124 @@@
++libgav1 (0.19.0-2) unstable; urgency=medium
++
++  * Team upload
++  * Upload to unstable (Closes: #1068180)
++  * debian/patches: Temporarily disable cpu test
++
++ -- Sebastian Ramacher <sramacher@debian.org>  Mon, 01 Apr 2024 15:14:00 +0200
++
++libgav1 (0.19.0-1~exp1) experimental; urgency=medium
++
++  * Team upload.
++  * New upstream release.
++  * debian/patches/0001-Unbundle-abseil.patch: Refresh the patch.
++  * debian/patches/0002-Use-system-googletest.patch: Try to enable
++    googletest.
++  * debian/patches/0003-Use-C-14.patch: Force C++14 standard to avoid
++    FTBFS with googletest.
++
++ -- Boyuan Yang <byang@debian.org>  Mon, 27 Nov 2023 23:17:46 -0500
++
++libgav1 (0.18.0-1) unstable; urgency=medium
++
++  * Upload to unstable.
++  * debian/rules: Properly use pkgkde_symbolshelper dh plugin.
++  * debian/control: Add build-dependency on pkg-kde-tools.
++
++ -- Boyuan Yang <byang@debian.org>  Wed, 27 Jul 2022 16:50:15 -0400
++
++libgav1 (0.18.0-1~exp2) experimental; urgency=medium
++
++  * debian/rules: Enable lto build.
++
++ -- Boyuan Yang <byang@debian.org>  Wed, 27 Jul 2022 12:32:14 -0400
++
++libgav1 (0.18.0-1~exp1) experimental; urgency=medium
++
++  * Team upload.
++  * New upstream version 0.18.0. (Closes: #1014934)
++  * Refresh patches.
++  * debian/control: Bump Standards-Version to 4.6.1.
++  * Bump SONAME: 0 -> 1, with library package rename.
++  * debian/libgav1-1.symbols: Reset symbols.
++
++ -- Boyuan Yang <byang@debian.org>  Sat, 16 Jul 2022 14:10:20 -0400
++
++libgav1 (0.17.0-1) unstable; urgency=medium
++
++  * Team upload.
++
++  [ Debian Janitor ]
++  * debian/copyright: use spaces rather than tabs to start continuation lines.
++
++  [ Boyuan Yang ]
++  * New upstream release 0.17.0. 
++
++ -- Boyuan Yang <byang@debian.org>  Sun, 07 Nov 2021 08:53:56 -0500
++
++libgav1 (0.16.3-2) unstable; urgency=medium
++
++  * Team upload.
++  * Upload to sid.
++
++  [ qinxialei ]
++  * d/copyright:
++    + Update copyright
++
++ -- Boyuan Yang <byang@debian.org>  Sun, 15 Aug 2021 13:09:06 -0400
++
++libgav1 (0.16.3-1~exp1) experimental; urgency=medium
++
++  * New upstream version 0.16.3
++  * d/control:
++    + Bump Standards-Version to 4.5.1.
++  * d/patches:
++    + Update patch:Unbundling-abseil.patch
++  * d/copyright:
++    + Update copyright
++
++ -- qinxialei <xialeiqin@gmail.com>  Thu, 22 Apr 2021 10:35:22 +0800
++
++libgav1 (0.16.0-5) unstable; urgency=medium
++
++  * Team upload.
++  * debian/libgav1-0.symbols: Refresh symbols again.
++
++ -- Boyuan Yang <byang@debian.org>  Sun, 08 Nov 2020 20:38:23 -0500
++
++libgav1 (0.16.0-5) unstable; urgency=medium
++
++  * Team upload.
++  * debian/libgav1-0.symbols: Refresh symbols again.
++
++ -- Boyuan Yang <byang@debian.org>  Sun, 08 Nov 2020 20:38:23 -0500
++
++libgav1 (0.16.0-4) unstable; urgency=medium
++
++  * Team upload.
++  * debian/libgav1-0.symbols: Try to distinguish by symbol bits.
++  * debian/rules: Also explicitly disable AVX2 per baseline.
++
++ -- Boyuan Yang <byang@debian.org>  Sat, 31 Oct 2020 12:26:14 -0400
++
++libgav1 (0.16.0-3) unstable; urgency=medium
++
++  * Team upload.
++  * debian/libgav1-0.symbols: refresh symbols.
++  * debian/rules: Adjust build flags to meet Debian's ISA baseline
++    requirement.
++
++ -- Boyuan Yang <byang@debian.org>  Fri, 30 Oct 2020 23:02:37 -0400
++
++libgav1 (0.16.0-2) unstable; urgency=medium
++
++  * Team upload.
++  * debian/control: Update package description to remove mentions
++    of advanced build flags since we are not enabling them.
++
++ -- Boyuan Yang <byang@debian.org>  Thu, 29 Oct 2020 10:19:44 -0400
++
++libgav1 (0.16.0-1) unstable; urgency=medium
++
++  * Initial release (Closes: #973288)
++
++ -- qinxialei <xialeiqin@gmail.com>  Wed, 28 Oct 2020 17:35:33 +0800
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d7738b0e09bedca99768110824b3ddb90289d586
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,45 @@@
++Source: libgav1
++Section: libs
++Priority: optional
++Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
++Uploaders: qinxialei <xialeiqin@gmail.com>
++Build-Depends:
++ debhelper-compat (= 13),
++ cmake (>= 3.7.1),
++ libabsl-dev,
++ pkg-kde-tools,
++ googletest <!nocheck>,
++Standards-Version: 4.6.2
++Homepage: https://chromium.googlesource.com/codecs/libgav1/
++Vcs-Browser: https://salsa.debian.org/multimedia-team/libgav1
++Vcs-Git: https://salsa.debian.org/multimedia-team/libgav1.git
++Rules-Requires-Root: no
++
++Package: libgav1-1
++Architecture: any
++Multi-Arch: same
++Depends: ${shlibs:Depends}, ${misc:Depends}
++Description: AV1 decoder developed by Google -- runtime library
++ This package contains the runtime, shared library of gav1. Gav1 is
++ a new decoder implementation for AV1 video encoding format (supporting
++ profiles 0 and 1).
++
++Package: libgav1-dev
++Section: libdevel
++Architecture: any
++Multi-Arch: same
++Depends: ${misc:Depends}, libgav1-1 (= ${binary:Version})
++Description: AV1 decoder developed by Google -- development kit
++ This package contains the header file and development library of gav1.
++ Gav1 is A new decoder implementation for AV1 video encoding format (supporting
++ profiles 0 and 1).
++
++Package: libgav1-bin
++Section: utils
++Architecture: any
++Depends: ${shlibs:Depends}, ${misc:Depends}
++Description: Av1 decoder developed by Google -- example application
++ This package provides gav1_decode binary as an example application of
++ libgav1. It can be used to decode IVF files.
++ .
++ Please see the output of "gav1_decode --help" for detailed options.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1a568c324f5f1796a8aac5722b46ddbcd323c802
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,59 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: libgav1
++Upstream-Contact: gav1-devel@googlegroups.com
++Source: https://chromium.googlesource.com/codecs/libgav1/
++
++Files: *
++Copyright: 2019-2020 Google LLC
++           2019-2022 The libgav1 Authors
++License: Apache-2.0
++
++Files: tests/third_party/libvpx/*
++Copyright: 2012 The WebM project authors.
++License: BSD-3-clause
++
++Files: debian/*
++Copyright: 2020 qinxialei <qinxialei@gmail.com>
++License: Apache-2.0
++
++License: Apache-2.0
++ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
++ this file except in compliance with the License. You may obtain a copy of the
++ License at
++ .
++     https://www.apache.org/licenses/LICENSE-2.0
++ .
++ Unless required by applicable law or agreed to in writing, software distributed
++ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
++ CONDITIONS OF ANY KIND, either express or implied. See the License for the
++ specific language governing permissions and limitations under the License.
++ .
++ On Debian systems, the complete text of the Apache License, Version 2.0, can be
++ found in "/usr/share/common-licenses/Apache-2.0".
++
++License: BSD-3-clause
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ .
++ 1) Redistributions of source code must retain the above copyright notice,
++ this list of conditions and the following disclaimer.
++ .
++ 2) Redistributions in binary form must reproduce the above copyright notice,
++ this list of conditions and the following disclaimer in the documentation
++ and/or other materials provided with the distribution.
++ .
++ 3) Neither the name of the ORGANIZATION nor the names of its contributors
++ may be used to endorse or promote products derived from this software
++ without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
++ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
++ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
++ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
++ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
++ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ POSSIBILITY OF SUCH DAMAGE.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..924d04133b5b7c64a01cb6f44d6807212f55c254
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,62 @@@
++.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.16.
++.TH GAV1_DECODE 1 "23 Oct 2020" "gav1_decode, a libgav1 based AV1 decoder"
++.SH NAME
++gav1_decode, \- An example application of gav1.gav1_decode can be used to decode IVF files
++.SH SYNOPSIS
++.B gav1_decode
++[\fI\,options\/\fR] \fI\,<input file> \/\fR[\fI\,-o <output file>\/\fR]
++.SH OPTIONS
++.HP
++\fB\-h\fR, \fB\-\-help\fR This help message.
++.HP
++\fB\-\-threads\fR <positive integer> (Default 1).
++.HP
++\fB\-\-frame_parallel\fR.
++.HP
++\fB\-\-limit\fR <integer> Stop decoding after N frames (0 = all).
++.HP
++\fB\-\-skip\fR <integer> Skip initial N frames (Default 0).
++.HP
++\fB\-\-version\fR.
++.HP
++\fB\-\-y4m\fR (Default false).
++.HP
++\fB\-\-raw\fR (Default true).
++.HP
++\fB\-v\fR logging verbosity, can be used multiple times.
++.HP
++\fB\-\-all_layers\fR.
++.HP
++\fB\-\-operating_point\fR <integer between 0 and 31> (Default 0).
++.HP
++\fB\-\-frame_timing\fR <file> Output per\-frame timing to <file> in tsv format.
++.IP
++Yields meaningful results only when frame parallel is off.
++.SS "Advanced settings:"
++.HP
++\fB\-\-post_filter_mask\fR <integer> (Default 0x1f).
++.IP
++Mask indicating which post filters should be applied to the reconstructed
++frame. This may be given as octal, decimal or hexadecimal. From LSB:
++.IP
++Bit 0: Loop filter (deblocking filter)
++Bit 1: Cdef
++Bit 2: SuperRes
++Bit 3: Loop Restoration
++Bit 4: Film Grain Synthesis
++.PP
++libgav1 0.16.1
++max bitdepth: 10
++build configuration: Not available.
++.SH "SEE ALSO"
++The full documentation for
++.B gav1_decode,
++is maintained as a Texinfo manual.  If the
++.B info
++and
++.B gav1_decode,
++programs are properly installed at your site, the command
++.IP
++.B info gav1_decode,
++.PP
++should give you access to the complete manual.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1d9b40b19cf78e7be7acbcead5b764bdd6aef7da
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/lib/*/libgav1.so.*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..60a4006993ba66c05472bc61c5e026bb88f7886e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,35 @@@
++# SymbolsHelper-Confirmed: 0.18.0 amd64 arm64 armel armhf hppa i386 ia64 mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sparc64
++libgav1.so.1 libgav1-1 #MINVER#
++* Build-Depends-Package: libgav1-dev
++ Libgav1ComputeFrameBufferInfo@Base 0.18.0
++ Libgav1DecoderCreate@Base 0.18.0
++ Libgav1DecoderDequeueFrame@Base 0.18.0
++ Libgav1DecoderDestroy@Base 0.18.0
++ Libgav1DecoderEnqueueFrame@Base 0.18.0
++ Libgav1DecoderGetMaxBitdepth@Base 0.18.0
++ Libgav1DecoderSettingsInitDefault@Base 0.18.0
++ Libgav1DecoderSignalEOS@Base 0.18.0
++ Libgav1GetBuildConfiguration@Base 0.18.0
++ Libgav1GetErrorString@Base 0.18.0
++ Libgav1GetVersion@Base 0.18.0
++ Libgav1GetVersionString@Base 0.18.0
++ Libgav1SetFrameBuffer@Base 0.18.0
++ _ZN7libgav17Decoder12DequeueFrameEPPK20Libgav1DecoderBuffer@Base 0.18.0
++ (subst)_ZN7libgav17Decoder12EnqueueFrameEPKh{size_t}{int64_t}Pv@Base 0.18.0
++ _ZN7libgav17Decoder14GetMaxBitdepthEv@Base 0.18.0
++ _ZN7libgav17Decoder4InitEPKNS_15DecoderSettingsE@Base 0.18.0
++ _ZN7libgav17Decoder9SignalEOSEv@Base 0.18.0
++ _ZN7libgav17DecoderC1Ev@Base 0.18.0
++ _ZN7libgav17DecoderC2Ev@Base 0.18.0
++ _ZN7libgav17DecoderD1Ev@Base 0.18.0
++ _ZN7libgav17DecoderD2Ev@Base 0.18.0
++ (optional|arch=armel riscv64)_ZTIN9__gnu_cxx7__mutexE@Base 0.18.0
++ (optional|arch=armel riscv64)_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 0.18.0
++ (optional|arch=!armel !riscv64)_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.18.0
++ (optional|arch=armel riscv64)_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 0.18.0
++ (optional|arch=!armel !riscv64)_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.18.0
++ (optional|arch=armel riscv64)_ZTSN9__gnu_cxx7__mutexE@Base 0.18.0
++ (optional|arch=armel riscv64)_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 0.18.0
++ (optional|arch=!armel !riscv64)_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.18.0
++ (optional|arch=armel riscv64)_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 0.18.0
++ (optional|arch=!armel !riscv64)_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.18.0
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d3fd60b1756e285790f83155024affc491544a2a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/bin/gav1_decode
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..2fd6f2217222220e6cb62310206d2d10e47224d9
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++debian/gav1_decode.1
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a1e57eb93bc3e4cafc5265a7ae1d0586148577aa
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++examples/*.h
++examples/*.cc
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0e71f2ba51df2c61c4682a150a1f311daac73e6b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,5 @@@
++usr/include/gav1/*
++usr/lib/*/*.a
++usr/lib/*/*.so
++usr/lib/*/pkgconfig/*.pc
++usr/share/cmake
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1395830a069b0db472f05faf8cf8234c2f3226eb
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,47 @@@
++From: Boyuan Yang <byang@debian.org>
++Date: Sat, 16 Jul 2022 13:49:23 -0400
++Subject: Unbundle abseil
++
++---
++ CMakeLists.txt | 21 +++------------------
++ 1 file changed, 3 insertions(+), 18 deletions(-)
++
++diff --git a/CMakeLists.txt b/CMakeLists.txt
++index 73f27a1..e9bb9b0 100644
++--- a/CMakeLists.txt
+++++ b/CMakeLists.txt
++@@ -116,7 +116,6 @@ if(LIBGAV1_VERBOSE)
++   libgav1_dump_options()
++ endif()
++ 
++-set(libgav1_abseil_build "${libgav1_build}/abseil")
++ set(libgav1_gtest_build "${libgav1_build}/gtest")
++ 
++ # Compiler/linker flags must be lists, but come in from the environment as
++@@ -131,23 +130,9 @@ endif()
++ # Set test-only flags based on LIBGAV1_CXX_FLAGS.
++ libgav1_set_test_flags()
++ 
++-set(libgav1_abseil "${libgav1_root}/third_party/abseil-cpp")
++-if(EXISTS "${libgav1_abseil}")
++-  set(ABSL_PROPAGATE_CXX_STD ON)
++-  add_subdirectory("${libgav1_abseil}" "${libgav1_abseil_build}"
++-                   EXCLUDE_FROM_ALL)
++-else()
++-  if(use_absl_threading OR LIBGAV1_ENABLE_EXAMPLES OR LIBGAV1_ENABLE_TESTS)
++-    message(
++-      FATAL_ERROR
++-        "Abseil not found. This dependency is required by the"
++-        " examples & tests and libgav1 when LIBGAV1_THREADPOOL_USE_STD_MUTEX is"
++-        " not defined. To continue, download the Abseil repository to"
++-        " third_party/abseil-cpp:\n  git \\\n    -C ${libgav1_root} \\\n"
++-        "    clone -b 20220623.0 --depth 1 \\\n"
++-        "    https://github.com/abseil/abseil-cpp.git third_party/abseil-cpp")
++-  endif()
++-endif()
+++set(absl "/usr/lib/*/cmake/absl")
+++find_package(absl REQUIRED)
+++set(ABSL_PROPAGATE_CXX_STD ON)
++ 
++ libgav1_reset_target_lists()
++ libgav1_add_dsp_targets()
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..bef83770e3b11dace73b1b5f53ecae79da4face8
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,39 @@@
++From: Boyuan Yang <byang@debian.org>
++Date: Mon, 27 Nov 2023 23:03:28 -0500
++Subject: Use system googletest
++
++---
++ cmake/libgav1_build_definitions.cmake | 6 +++---
++ tests/libgav1_tests.cmake             | 2 +-
++ 2 files changed, 4 insertions(+), 4 deletions(-)
++
++diff --git a/cmake/libgav1_build_definitions.cmake b/cmake/libgav1_build_definitions.cmake
++index 1465679..16ddd4a 100644
++--- a/cmake/libgav1_build_definitions.cmake
+++++ b/cmake/libgav1_build_definitions.cmake
++@@ -43,9 +43,9 @@ macro(libgav1_set_build_definitions)
++   list(APPEND libgav1_include_paths "${libgav1_root}" "${libgav1_root}/src"
++               "${libgav1_build}" "${libgav1_root}/third_party/abseil-cpp")
++   list(APPEND libgav1_gtest_include_paths
++-              "third_party/googletest/googlemock/include"
++-              "third_party/googletest/googletest/include"
++-              "third_party/googletest/googletest")
+++              "/usr/src/googletest/googlemock/include"
+++              "/usr/src/googletest/googletest/include"
+++              "/usr/src/googletest/googletest")
++   list(APPEND libgav1_test_include_paths ${libgav1_include_paths}
++               ${libgav1_gtest_include_paths})
++   list(APPEND libgav1_defines "LIBGAV1_CMAKE=1"
++diff --git a/tests/libgav1_tests.cmake b/tests/libgav1_tests.cmake
++index 95f6361..209054b 100644
++--- a/tests/libgav1_tests.cmake
+++++ b/tests/libgav1_tests.cmake
++@@ -17,7 +17,7 @@ if(LIBGAV1_LIBGAV1_TESTS_CMAKE_)
++ endif() # LIBGAV1_LIBGAV1_TESTS_CMAKE_
++ set(LIBGAV1_LIBGAV1_TESTS_CMAKE_ 1)
++ 
++-set(libgav1_googletest "${libgav1_root}/third_party/googletest")
+++set(libgav1_googletest "/usr/src/googletest/")
++ if(NOT LIBGAV1_ENABLE_TESTS OR NOT EXISTS "${libgav1_googletest}")
++   macro(libgav1_add_tests_targets)
++ 
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a4f4e107afb26e0e75aa0e63e4cb047c7b6186ca
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,21 @@@
++From: Boyuan Yang <byang@debian.org>
++Date: Mon, 27 Nov 2023 23:08:49 -0500
++Subject: Use C++14
++
++---
++ CMakeLists.txt | 2 +-
++ 1 file changed, 1 insertion(+), 1 deletion(-)
++
++diff --git a/CMakeLists.txt b/CMakeLists.txt
++index e9bb9b0..abc3b41 100644
++--- a/CMakeLists.txt
+++++ b/CMakeLists.txt
++@@ -16,7 +16,7 @@
++ cmake_minimum_required(VERSION 3.7.1 FATAL_ERROR)
++ 
++ # libgav1 requires C++11.
++-set(CMAKE_CXX_STANDARD 11)
+++set(CMAKE_CXX_STANDARD 14)
++ set(ABSL_CXX_STANDARD 11)
++ # libgav1 requires C99.
++ set(CMAKE_C_STANDARD 99)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..269d016d1ae463b243a00617528361504a36e4de
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,44 @@@
++From: Sebastian Ramacher <sramacher@debian.org>
++Date: Mon, 1 Apr 2024 15:13:03 +0200
++Subject: Temporarily disable CPU test
++
++Parsing of the max CPU frequency is broken on ARM.
++---
++ tests/libgav1_tests.cmake | 17 -----------------
++ 1 file changed, 17 deletions(-)
++
++diff --git a/tests/libgav1_tests.cmake b/tests/libgav1_tests.cmake
++index 209054b..76eece7 100644
++--- a/tests/libgav1_tests.cmake
+++++ b/tests/libgav1_tests.cmake
++@@ -99,7 +99,6 @@ list(APPEND libgav1_common_sse4_test_sources
++             "${libgav1_source}/dsp/x86/common_sse4_test.h")
++ list(APPEND libgav1_convolve_test_sources
++             "${libgav1_source}/dsp/convolve_test.cc")
++-list(APPEND libgav1_cpu_test_sources "${libgav1_source}/utils/cpu_test.cc")
++ list(APPEND libgav1_c_decoder_test_sources
++             "${libgav1_source}/c_decoder_test.c"
++             "${libgav1_source}/decoder_test_data.h")
++@@ -339,22 +338,6 @@ macro(libgav1_add_tests_targets)
++                          libgav1_gtest
++                          libgav1_gtest_main)
++ 
++-  libgav1_add_executable(TEST
++-                         NAME
++-                         cpu_test
++-                         SOURCES
++-                         ${libgav1_cpu_test_sources}
++-                         DEFINES
++-                         ${libgav1_defines}
++-                         INCLUDES
++-                         ${libgav1_test_include_paths}
++-                         OBJLIB_DEPS
++-                         libgav1_utils
++-                         LIB_DEPS
++-                         ${libgav1_common_test_absl_deps}
++-                         libgav1_gtest
++-                         libgav1_gtest_main)
++-
++   libgav1_add_executable(TEST
++                          NAME
++                          entropy_decoder_test
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d091eb037dc91477fc6d6f3f054dc15c09634e1c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++0001-Unbundle-abseil.patch
++0002-Use-system-googletest.patch
++0003-Use-C-14.patch
++0004-Temporarily-disable-CPU-test.patch
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..6b2558e59b0c7940165354d20bbaab89c564d726
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,38 @@@
++#!/usr/bin/make -f
++DPKG_EXPORT_BUILDFLAGS = 1
++
++include /usr/share/dpkg/buildflags.mk
++export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
++
++CXXFLAGS += $(CPPFLAGS)
++
++EXTRA_CONFIG_FLAGS =
++
++# try to fix FTBFS on mipsel
++ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mips mipsel powerpc powerpcspe sh4))
++  export DEB_LDFLAGS_MAINT_APPEND=-latomic
++endif
++
++# Conform to Debian's baseline requirement
++# https://wiki.debian.org/ArchitectureSpecificsMemo
++
++ifneq (,$(filter $(DEB_HOST_ARCH), i386 amd64 x32))
++  EXTRA_CONFIG_FLAGS += -DLIBGAV1_ENABLE_SSE4_1=0 -DLIBGAV1_ENABLE_AVX2=0
++endif
++
++ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf))
++  EXTRA_CONFIG_FLAGS += -DLIBGAV1_ENABLE_NEON=0
++endif
++
++ifneq (,$(filter $(DEB_HOST_ARCH), arm64))
++  EXTRA_CONFIG_FLAGS += -DLIBGAV1_ENABLE_NEON=1
++endif
++
++
++%:
++      dh $@ --with pkgkde_symbolshelper
++
++override_dh_auto_configure:
++      dh_auto_configure -- \
++          -DBUILD_SHARED_LIBS=ON \
++          $(EXTRA_CONFIG_FLAGS)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0b62ac4eeba5a0a3dabe6b91f0f5453cd23709f4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++Bug-Database: https://issuetracker.google.com/issues/new?component=750480&template=1355007
++Changelog: https://chromium.googlesource.com/codecs/libgav1/+log
++Repository-Browse: https://chromium.googlesource.com/codecs/libgav1
++Repository: https://chromium.googlesource.com/codecs/libgav1
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..171fb66c91242dc2149298ebf704aed96e5d8b71
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++version=4
++opts="mode=git, gitmode=full, pgpmode=none" \
++ https://chromium.googlesource.com/codecs/libgav1 \
++ refs/tags/v([\d\.]+) debian uupdate