diff options
-rw-r--r-- | debian/changelog | 37 | ||||
-rw-r--r-- | debian/control | 43 | ||||
-rw-r--r-- | debian/copyright | 28 | ||||
-rw-r--r-- | debian/gav1_decode.1 | 62 | ||||
-rw-r--r-- | debian/libgav1-0.install | 1 | ||||
-rw-r--r-- | debian/libgav1-0.symbols | 36 | ||||
-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/Unbundling-abseil.patch | 22 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 39 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/metadata | 4 |
15 files changed, 283 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d08ab72 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,37 @@ +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..ea8ac0a --- /dev/null +++ b/debian/control @@ -0,0 +1,43 @@ +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, +Standards-Version: 4.5.0 +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-0 +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-0 (= ${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..f26a054 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +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-2020 The libgav1 Authors +License: Apache-2.0 + +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". 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-0.install b/debian/libgav1-0.install new file mode 100644 index 0000000..1d9b40b --- /dev/null +++ b/debian/libgav1-0.install @@ -0,0 +1 @@ +usr/lib/*/libgav1.so.* diff --git a/debian/libgav1-0.symbols b/debian/libgav1-0.symbols new file mode 100644 index 0000000..84e3236 --- /dev/null +++ b/debian/libgav1-0.symbols @@ -0,0 +1,36 @@ +# SymbolsHelper-Confirmed: 0.16.0 amd64 armel +libgav1.so.0 libgav1-0 #MINVER# +* Build-Depends-Package: libgav1-dev + Libgav1ComputeFrameBufferInfo@Base 0.16.0 + Libgav1DecoderCreate@Base 0.16.0 + Libgav1DecoderDequeueFrame@Base 0.16.0 + Libgav1DecoderDestroy@Base 0.16.0 + Libgav1DecoderEnqueueFrame@Base 0.16.0 + Libgav1DecoderGetMaxBitdepth@Base 0.16.0 + Libgav1DecoderSettingsInitDefault@Base 0.16.0 + Libgav1DecoderSignalEOS@Base 0.16.0 + Libgav1GetBuildConfiguration@Base 0.16.0 + Libgav1GetErrorString@Base 0.16.0 + Libgav1GetVersion@Base 0.16.0 + Libgav1GetVersionString@Base 0.16.0 + Libgav1SetFrameBuffer@Base 0.16.0 + _ZN7libgav17Decoder12DequeueFrameEPPK20Libgav1DecoderBuffer@Base 0.16.0 + _ZN7libgav17Decoder14GetMaxBitdepthEv@Base 0.16.0 + _ZN7libgav17Decoder4InitEPKNS_15DecoderSettingsE@Base 0.16.0 + _ZN7libgav17Decoder9SignalEOSEv@Base 0.16.0 + _ZN7libgav17DecoderC1Ev@Base 0.16.0 + _ZN7libgav17DecoderC2Ev@Base 0.16.0 + _ZN7libgav17DecoderD1Ev@Base 0.16.0 + _ZN7libgav17DecoderD2Ev@Base 0.16.0 + (arch=armel riscv64)_ZTIN9__gnu_cxx7__mutexE@Base 0.16.0 + (arch=armel riscv64)_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 0.16.0 + (arch=!armel !riscv64)_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.16.0 + (arch=armel riscv64)_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 0.16.0 + (arch=!armel !riscv64)_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.16.0 + (arch=armel riscv64)_ZTSN9__gnu_cxx7__mutexE@Base 0.16.0 + (arch=armel riscv64)_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 0.16.0 + (arch=!armel !riscv64)_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.16.0 + (arch=armel riscv64)_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 0.16.0 + (arch=!armel !riscv64)_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.16.0 + (c++|arch-bits=32)"libgav1::Decoder::EnqueueFrame(unsigned char const*, unsigned int, long long, void*)@Base" 0.16.0 + (c++|arch-bits=64)"libgav1::Decoder::EnqueueFrame(unsigned char const*, unsigned long, long, void*)@Base" 0.16.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/Unbundling-abseil.patch b/debian/patches/Unbundling-abseil.patch new file mode 100644 index 0000000..c33dcbe --- /dev/null +++ b/debian/patches/Unbundling-abseil.patch @@ -0,0 +1,22 @@ +Unbundling abseil +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -97,7 +97,6 @@ + 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 +@@ -109,8 +108,8 @@ + separate_arguments(LIBGAV1_EXE_LINKER_FLAGS) + endif() + +-add_subdirectory("${libgav1_root}/third_party/abseil-cpp" +- "${libgav1_abseil_build}" EXCLUDE_FROM_ALL) ++set(absl "/usr/lib/*/cmake/absl") ++find_package(absl REQUIRED) + + libgav1_reset_target_lists() + libgav1_add_dsp_targets() diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..f1aaaf0 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +Unbundling-abseil.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..216424e --- /dev/null +++ b/debian/rules @@ -0,0 +1,39 @@ +#!/usr/bin/make -f +DPKG_EXPORT_BUILDFLAGS = 1 + +include /usr/share/dpkg/buildflags.mk +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +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 $@ + +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 |