Commit 8377018b authored by june wilde's avatar june wilde
Browse files

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

parent c2003bb3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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).

+2 −1
Original line number Diff line number Diff line
@@ -30,7 +30,8 @@ vendoring:
  tracking: tag

  exclude:
    - "*"
    - "**"
    - ".*"

  include:
    - arm
+4 −0
Original line number Diff line number Diff line
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).

media/libwebp/moz.yaml

0 → 100644
+60 −0
Original line number Diff line number Diff line
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

media/libwebp/update.sh

deleted100755 → 0
+0 −40
Original line number Diff line number Diff line
#!/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