Bug 1753050 - Add libwebp to libraries Updatebot can update; r=tjr,aosmond

Differential Revision: https://phabricator.services.mozilla.com/D137696
This commit is contained in:
june wilde 2022-02-04 14:18:35 +00:00
Родитель c2003bb3e7
Коммит 8377018ba2
5 изменённых файлов: 67 добавлений и 42 удалений

Просмотреть файл

@ -11,7 +11,7 @@ are Copyright (c) 2006-2007 Andrew Smith, Copyright (c) 2008-2017 Max Stepin,
and are delimited by "#ifdef PNG_APNG_SUPPORTED / #endif" directives
surrounding them in the modified libpng source files.
2021/09/12 -- Enabled automatic updates via Updatebot (meta bug #1618282). For
2022/02/01 -- Enabled automatic updates via Updatebot (meta bug #1618282). For
further updates to the library please review the mercurial
history for /media/libpng/moz.yaml (bug #1687541).

Просмотреть файл

@ -30,7 +30,8 @@ vendoring:
tracking: tag
exclude:
- "*"
- "**"
- ".*"
include:
- arm

Просмотреть файл

@ -1,5 +1,9 @@
Changes made to pristine libwebp source by mozilla.org developers.
2022/02/03 -- Enabled automatic updates via Updatebot (meta bug #1618282). For
further updates to the library please review the mercurial
history for /media/libwebp/moz.yaml (bug #1753050).
2022/01/25 -- Synced with libwebp-1.2.2 (bug 1752025).
2021/09/08 -- Synced with libwebp-1.2.1 (bug 1729748).

60
media/libwebp/moz.yaml Normal file
Просмотреть файл

@ -0,0 +1,60 @@
schema: 1
bugzilla:
product: "Core"
component: "ImageLib"
origin:
name: "libwebp"
description: "WebP codec library"
url: "https://chromium.googlesource.com/webm/libwebp"
license: BSD-3-Clause
release: commit b0a860891dcd4c0c2d7c6149e5cccb6eb881cc21 (2022-01-19T23:35:26.000Z).
revision: "v1.2.2"
license-file: COPYING
updatebot:
maintainer-phab: aosmond
maintainer-bz: aosmond@mozilla.com
tasks:
- type: vendoring
enabled: True
vendoring:
url: https://github.com/webmproject/libwebp
source-hosting: github
tracking: tag
exclude:
- "**"
- ".*"
include:
- AUTHORS
- COPYING
- NEWS
- PATENTS
- README
- README.mux
- src/webp/*.h
- src/dec/*.h
- src/dec/*.c
- src/demux/demux.c
- src/dsp/*.h
- src/dsp/*.c
- src/enc/*.h
- src/enc/*.c
- src/utils/*.h
- src/utils/*.c
keep:
- MOZCHANGES
- src/moz
update-actions:
- action: delete-path
path: src/dsp/cpu.c

Просмотреть файл

@ -1,40 +0,0 @@
#!/bin/sh
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Usage: ./update.sh <libwebp_directory>
#
# Copies the needed files from a directory containing the original
# libwebp source.
cp $1/AUTHORS .
cp $1/COPYING .
cp $1/NEWS .
cp $1/PATENTS .
cp $1/README .
cp $1/README.mux .
mkdir -p src/webp
cp $1/src/webp/*.h src/webp
mkdir -p src/dec
cp $1/src/dec/*.h src/dec
cp $1/src/dec/*.c src/dec
mkdir -p src/demux
cp $1/src/demux/demux.c src/demux
mkdir -p src/dsp
cp $1/src/dsp/*.h src/dsp
cp $1/src/dsp/*.c src/dsp
rm src/dsp/cpu.c
mkdir -p src/enc
cp $1/src/enc/*.h src/enc
cp $1/src/enc/*.c src/enc
mkdir -p src/utils
cp $1/src/utils/*.h src/utils
cp $1/src/utils/*.c src/utils