diff options
-rw-r--r-- | debian/changelog | 104 | ||||
-rw-r--r-- | debian/control | 44 | ||||
-rw-r--r-- | debian/copyright | 59 | ||||
-rw-r--r-- | debian/gav1_decode.1 | 62 | ||||
-rw-r--r-- | debian/libgav1-1.install | 1 | ||||
-rw-r--r-- | debian/libgav1-1.symbols | 35 | ||||
-rw-r--r-- | debian/libgav1-bin.install | 1 | ||||
-rw-r--r-- | debian/libgav1-bin.manpages | 1 | ||||
-rw-r--r-- | debian/libgav1-dev.examples | 2 | ||||
-rw-r--r-- | debian/libgav1-dev.install | 5 | ||||
-rw-r--r-- | debian/patches/0001-Unbundle-abseil.patch | 47 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 38 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/metadata | 4 | ||||
-rw-r--r-- | debian/watch | 4 |
16 files changed, 409 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ed7fc0b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,104 @@ +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 --git a/debian/control b/debian/control new file mode 100644 index 0000000..68a45b7 --- /dev/null +++ b/debian/control @@ -0,0 +1,44 @@ +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, +Standards-Version: 4.6.1 +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1a568c3 --- /dev/null +++ b/debian/copyright @@ -0,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. diff --git a/debian/gav1_decode.1 b/debian/gav1_decode.1 new file mode 100644 index 0000000..924d041 --- /dev/null +++ b/debian/gav1_decode.1 @@ -0,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. diff --git a/debian/libgav1-1.install b/debian/libgav1-1.install new file mode 100644 index 0000000..1d9b40b --- /dev/null +++ b/debian/libgav1-1.install @@ -0,0 +1 @@ +usr/lib/*/libgav1.so.* diff --git a/debian/libgav1-1.symbols b/debian/libgav1-1.symbols new file mode 100644 index 0000000..60a4006 --- /dev/null +++ b/debian/libgav1-1.symbols @@ -0,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 diff --git a/debian/libgav1-bin.install b/debian/libgav1-bin.install new file mode 100644 index 0000000..d3fd60b --- /dev/null +++ b/debian/libgav1-bin.install @@ -0,0 +1 @@ +usr/bin/gav1_decode diff --git a/debian/libgav1-bin.manpages b/debian/libgav1-bin.manpages new file mode 100644 index 0000000..2fd6f22 --- /dev/null +++ b/debian/libgav1-bin.manpages @@ -0,0 +1 @@ +debian/gav1_decode.1 diff --git a/debian/libgav1-dev.examples b/debian/libgav1-dev.examples new file mode 100644 index 0000000..a1e57eb --- /dev/null +++ b/debian/libgav1-dev.examples @@ -0,0 +1,2 @@ +examples/*.h +examples/*.cc diff --git a/debian/libgav1-dev.install b/debian/libgav1-dev.install new file mode 100644 index 0000000..0e71f2b --- /dev/null +++ b/debian/libgav1-dev.install @@ -0,0 +1,5 @@ +usr/include/gav1/* +usr/lib/*/*.a +usr/lib/*/*.so +usr/lib/*/pkgconfig/*.pc +usr/share/cmake diff --git a/debian/patches/0001-Unbundle-abseil.patch b/debian/patches/0001-Unbundle-abseil.patch new file mode 100644 index 0000000..67a8357 --- /dev/null +++ b/debian/patches/0001-Unbundle-abseil.patch @@ -0,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 52b1b32..d5e8f95 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 \\\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() diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..b92502a --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Unbundle-abseil.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..6b2558e --- /dev/null +++ b/debian/rules @@ -0,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) diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..0b62ac4 --- /dev/null +++ b/debian/upstream/metadata @@ -0,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 --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..171fb66 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="mode=git, gitmode=full, pgpmode=none" \ + https://chromium.googlesource.com/codecs/libgav1 \ + refs/tags/v([\d\.]+) debian uupdate |