Accepting request 1175042 from home:yannboyer_dev
Update libwebp to 1.4.0 and delete unused patch : 0001-Fix-invalid-incremental-decoding-check.patch OBS-URL: https://build.opensuse.org/request/show/1175042 OBS-URL: https://build.opensuse.org/package/show/graphics/libwebp?expand=0&rev=43
This commit is contained in:
commit
b2da7edb51
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
48
0001-Fix-invalid-incremental-decoding-check.patch
Normal file
48
0001-Fix-invalid-incremental-decoding-check.patch
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
From 95ea5226c870449522240ccff26f0b006037c520 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Vincent Rabaud <vrabaud@google.com>
|
||||||
|
Date: Mon, 11 Sep 2023 16:06:08 +0200
|
||||||
|
Subject: [PATCH] Fix invalid incremental decoding check.
|
||||||
|
|
||||||
|
The first condition is only necessary if we have not read enough
|
||||||
|
(enough being defined by src_last, not src_end which is the end
|
||||||
|
of the image).
|
||||||
|
The second condition now fits the comment below: "if not
|
||||||
|
incremental, and we are past the end of buffer".
|
||||||
|
|
||||||
|
BUG=oss-fuzz:62136
|
||||||
|
|
||||||
|
Change-Id: I0700f67c62db8e1c02c2e429a069a71e606a5e4f
|
||||||
|
---
|
||||||
|
src/dec/vp8l_dec.c | 15 +++++++++++++--
|
||||||
|
1 file changed, 13 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/dec/vp8l_dec.c b/src/dec/vp8l_dec.c
|
||||||
|
index 5ab34f56..809b1aa9 100644
|
||||||
|
--- a/src/dec/vp8l_dec.c
|
||||||
|
+++ b/src/dec/vp8l_dec.c
|
||||||
|
@@ -1233,9 +1233,20 @@ static int DecodeImageData(VP8LDecoder* const dec, uint32_t* const data,
|
||||||
|
}
|
||||||
|
|
||||||
|
br->eos_ = VP8LIsEndOfStream(br);
|
||||||
|
- if (dec->incremental_ && br->eos_ && src < src_end) {
|
||||||
|
+ // In incremental decoding:
|
||||||
|
+ // br->eos_ && src < src_last: if 'br' reached the end of the buffer and
|
||||||
|
+ // 'src_last' has not been reached yet, there is not enough data. 'dec' has to
|
||||||
|
+ // be reset until there is more data.
|
||||||
|
+ // !br->eos_ && src < src_last: this cannot happen as either the buffer is
|
||||||
|
+ // fully read, either enough has been read to reach 'src_last'.
|
||||||
|
+ // src >= src_last: 'src_last' is reached, all is fine. 'src' can actually go
|
||||||
|
+ // beyond 'src_last' in case the image is cropped and an LZ77 goes further.
|
||||||
|
+ // The buffer might have been enough or there is some left. 'br->eos_' does
|
||||||
|
+ // not matter.
|
||||||
|
+ assert(!dec->incremental_ || (br->eos_ && src < src_last) || src >= src_last);
|
||||||
|
+ if (dec->incremental_ && br->eos_ && src < src_last) {
|
||||||
|
RestoreState(dec);
|
||||||
|
- } else if (!br->eos_) {
|
||||||
|
+ } else if ((dec->incremental_ && src >= src_last) || !br->eos_) {
|
||||||
|
// Process the remaining rows corresponding to last row-block.
|
||||||
|
if (process_func != NULL) {
|
||||||
|
process_func(dec, row > last_row ? last_row : row);
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
14
baselibs.conf
Normal file
14
baselibs.conf
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
libwebp7
|
||||||
|
libwebpdecoder3
|
||||||
|
libwebpdemux2
|
||||||
|
libwebpmux3
|
||||||
|
libsharpyuv0
|
||||||
|
#libwebpextras0
|
||||||
|
libwebp-devel
|
||||||
|
-requires libwebp-<targettype>
|
||||||
|
requires "libwebp7-<targettype> = <version>"
|
||||||
|
requires "libwebpdecoder3-<targettype> = <version>"
|
||||||
|
requires "libwebpdemux2-<targettype> = <version>"
|
||||||
|
requires "libwebpmux3-<targettype> = <version>"
|
||||||
|
requires "libsharpyuv0-<targettype> = <version>"
|
||||||
|
# requires "libwebpextras0-<targettype> = <version>"
|
BIN
libwebp-1.3.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
libwebp-1.3.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
16
libwebp-1.3.2.tar.gz.asc
Normal file
16
libwebp-1.3.2.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEEaw5rcJdt4wPt8vYB+cPWvbgjK10FAmUCSVoACgkQ+cPWvbgj
|
||||||
|
K13/+xAAxdcgcBz6PAuDriln0NcEGqzLkhstDJIsBr9E/VpXKrr1La4z/7IdCHZv
|
||||||
|
fi7xkH9zBiz+DjhEKICi/ItCJ0toovn0tiZIYZDZWdZ+wyi1Sns+w7rIPjrjNYpN
|
||||||
|
nHCRyG8CZfTPJhPyWwrxj+ESkzogDpd+zEewE4gpLq4K3+HWIVA+IOV8K6tDRXua
|
||||||
|
HgmWqQ+BSqAH9tc2kb8OeUuEYhBevb6PP8ijMKrC04WFI7DaAgCr4JeS3+brTfg+
|
||||||
|
CUEw2af1THOA1vKeNo42xInduX8fZ3HPHAFwJzfNxYzJOyPVsOfG2pDPuUngB360
|
||||||
|
ejc1nBk/tjqmdw01cAjhOKNcY6vctAW3Q8akTI2jCZftEoCbSxLHHdPCGvVOU8xy
|
||||||
|
zPLyq06k71GI6aPYCBUcBqoGSdhY4FsSFkAzc+Ix28h6sJ4jakYPeXq9YoE/66HW
|
||||||
|
s4O7FhBvsGlrUgTehrnFGgX+G9IB63zldfI6XfKZ6Z8upD/oy3EWDPBdvIX2vDQj
|
||||||
|
wxYZtOljtNprljhcQ8xu1Kc68M3H4UYiEynYt1bq0dLucXqbb+axhmv5WilAqoXH
|
||||||
|
iZQxcg6K1OKNSW7XAc0T3a2un8mREJAy4EddBKSsgp7RnHoRkKDzrNzYTPw6DZeh
|
||||||
|
861HUotMSKAFXSLPyVpZRIG6IX6R62e+TKY5zT2hlA7K7UneLFA=
|
||||||
|
=/nBK
|
||||||
|
-----END PGP SIGNATURE-----
|
3
libwebp-1.4.0.tar.gz
Normal file
3
libwebp-1.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:61f873ec69e3be1b99535634340d5bde750b2e4447caa1db9f61be3fd49ab1e5
|
||||||
|
size 4281370
|
16
libwebp-1.4.0.tar.gz.asc
Normal file
16
libwebp-1.4.0.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEEaw5rcJdt4wPt8vYB+cPWvbgjK10FAmYZuzcACgkQ+cPWvbgj
|
||||||
|
K12roBAAv0AS7ROXwqObQpRmhVrm7miHd2SH0OvUm5x2aBv70cAEV//IwGg3nMkp
|
||||||
|
5y4ce/l/Z5TwIlZs+zUVjzYjmZ3+rsO/r1VY7hvaydnjyHPSUykAnp8zW9RiKfv4
|
||||||
|
l4+RHTwvBKHTFKLcvyBx0oXWaS0fXhA09aXJXbBKxCyvI4YC7UfWmca+tVABv4Zo
|
||||||
|
rp2G0HSrU+U2Tu8WZ7bRXEmr5bnNVl1JUNmxbMd5HuNR4YxDVs7+XGeDdNT74GQF
|
||||||
|
tyB9Z7Wj5eeq1NYh97Ujzrd4ChmkJZHSr698jppfX5hShlFNr79nCYVtjnjyis6H
|
||||||
|
299NJEHlN0pbHzhxFRudvnl98EW9gm8WxzA174lF8iQzQ4+KMs7GG3IFu4xqxkh+
|
||||||
|
fHEMphhkarFGwjiH8y5JSHEuppEQswdKh/862XcBJEUwKPFTWC8sXfsVhwSiRiR7
|
||||||
|
rM33Fjz7vNFgOKruTlHruVFjrbN+XIE/S87rlAO5GVJSndlJ5Mnq5vq6lqCOb0nW
|
||||||
|
XDbMw9Glkg2Ao6/xwECS3OjItGUA5XHYwYYKlCQ1n3r5+MvqT+GIYbWA/3aVU0kE
|
||||||
|
HOULCWnnKD7mx/uNnkQalVagPmhG9TgYiwHOJYibYTI5F+ITv+WE2WuXEVK6rr5F
|
||||||
|
UVQd1Wv0F0vDevUfyeihW3opAqhqg/nloasC0PS+hgiSn4OV8HM=
|
||||||
|
=Ty7E
|
||||||
|
-----END PGP SIGNATURE-----
|
454
libwebp.changes
Normal file
454
libwebp.changes
Normal file
@ -0,0 +1,454 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 18 16:57:00 - Yann BOYER <yann.boyer742@gmail.com>
|
||||||
|
|
||||||
|
- Update to 1.4.0:
|
||||||
|
* further security related hardening in libwebp & examples
|
||||||
|
* some minor optimizations in the lossless encoder
|
||||||
|
* added WEBP_NODISCARD to report unused result warnings; enable with
|
||||||
|
-DWEBP_ENABLE_NODISCARD=1
|
||||||
|
* improvements and corrections in webp-container-spec.txt and
|
||||||
|
webp-lossless-bitstream-spec.txt (#611)
|
||||||
|
* miscellaneous warning, bug & build fixes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 27 20:37:54 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- Add 0001-Fix-invalid-incremental-decoding-check.patch
|
||||||
|
A fuzzing finding fixed in the SLE/Leap updates
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 15 07:37:46 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 1.3.2:
|
||||||
|
* security fix for lossless decoder (boo#1215231 CVE-2023-4863)
|
||||||
|
- Drop 0001-Fix-OOB-write-in-BuildHuffmanTable.patch,
|
||||||
|
0001-Fix-invalid-incremental-decoding-check.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 14 01:27:02 UTC 2023 - Xiaoguang Wang <xiaoguang.wang@suse.com>
|
||||||
|
|
||||||
|
- Add 0001-Fix-invalid-incremental-decoding-check.patch:
|
||||||
|
[boo#1215231] [CVE-2023-4863]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 12 12:53:18 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Add 0001-Fix-OOB-write-in-BuildHuffmanTable.patch
|
||||||
|
[boo#1215231] [CVE-2023-4863]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 18 09:22:41 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update to version 1.3.1:
|
||||||
|
* security fixes for lossless encoder (CVE-2023-1999)
|
||||||
|
* improve error reporting through WebPPicture error codes
|
||||||
|
* fix upsampling for RGB565 and RGBA4444 in NEON builds
|
||||||
|
* img2webp: add -sharp_yuv & -near_lossless
|
||||||
|
* fix webp_js with emcc >= 3.1.27 (stack size change)
|
||||||
|
* CMake fixes
|
||||||
|
* further updates to the container and lossless bitstream docs
|
||||||
|
- Drop libwebp-double-free.patch: fixed upstream.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 30 01:20:57 UTC 2023 - Xiaoguang Wang <xiaoguang.wang@suse.com>
|
||||||
|
|
||||||
|
- Add libwebp-double-free.patch: Avoid a double free, upstream
|
||||||
|
commit a486d800 (bsc#1210212 CVE-2023-1999).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 4 07:46:40 UTC 2023 - Arjen de Korte <suse+build@de-korte.org>
|
||||||
|
|
||||||
|
- update baselibs.conf for the new libsharpyuv
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 3 07:15:38 UTC 2023 - Arjen de Korte <suse+build@de-korte.org>
|
||||||
|
|
||||||
|
- update to 1.3.0
|
||||||
|
This is a binary compatible release.
|
||||||
|
* add libsharpyuv, which exposes -sharp_yuv/config.use_sharp_yuv
|
||||||
|
functionality to other libraries; libwebp now depends on this library
|
||||||
|
* major updates to the container and lossless bitstream docs (#448, #546,
|
||||||
|
#551)
|
||||||
|
* miscellaneous warning, bug & build fixes (#576, #583, #584)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 7 19:53:47 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.2.4:
|
||||||
|
This is a binary compatible release.
|
||||||
|
* restore CMake libwebpmux target name for compatibility with 1.2.2 (#575)
|
||||||
|
* fix lossless crunch mode encoding with WEBP_REDUCE_SIZE
|
||||||
|
(chromium: #1345547, #1345595, #1345772, #1345804)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 22 21:56:30 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.2.3:
|
||||||
|
* security fix for lossless encoder (#565, chromium:1313709)
|
||||||
|
* improved progress granularity in WebPReportProgress() when using lossless
|
||||||
|
* improved precision in Sharp YUV (-sharp_yuv) conversion
|
||||||
|
* many corrections to webp-lossless-bitstream-spec.txt (#551)
|
||||||
|
* crash/leak fixes on error/OOM and other bug fixes (#558, #563, #569, #573)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 31 20:22:35 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.2.2:
|
||||||
|
* webpmux: add "-set bgcolor A,R,G,B"
|
||||||
|
* add ARM64 NEON support for MSVC builds (#539)
|
||||||
|
* doc updates and bug fixes (#538, #544, #548, #550)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 13 17:59:22 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
- update to 1.2.1:
|
||||||
|
* minor lossless encoder improvements and x86 color conversion
|
||||||
|
speed up
|
||||||
|
* further security related hardening in libwebp & examples
|
||||||
|
* toolchain updates and bug fixes
|
||||||
|
* use more inclusive language within the source
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 30 11:20:05 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.2.0:
|
||||||
|
* API changes in libwebp: encode.h: add a qmin / qmax range for
|
||||||
|
quality factor (cwebp adds -qrange)
|
||||||
|
* lossless encoder improvements
|
||||||
|
* SIMD support for Wasm builds
|
||||||
|
* import fuzzers from oss-fuzz & chromium
|
||||||
|
* webpmux: add a '-set loop <value>' option
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 1 07:25:56 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Update to version 1.1.0:
|
||||||
|
* API changes:
|
||||||
|
- libwebp:
|
||||||
|
WebPMalloc
|
||||||
|
- extras:
|
||||||
|
WebPUnmultiplyARGB
|
||||||
|
* alpha decode fix
|
||||||
|
* toolchain updates and bug fixes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 1 11:48:03 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Disable LTO (boo#1155449) for ARM targets.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 24 13:46:36 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to new upstream release 1.0.3
|
||||||
|
* Resize fixes for Nx1 sizes and the addition of non-opaque
|
||||||
|
alpha values for odd sizes.
|
||||||
|
* Lossless encode/decode performance improvements.
|
||||||
|
* Lossy compression performance improvement at low quality
|
||||||
|
levels with flat content.
|
||||||
|
* vwebp will now preserve the aspect ratio of images that
|
||||||
|
exceed monitor resolution by scaling the image to fit.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 3 18:02:20 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 1.0.2:
|
||||||
|
* Lossless encoder speedups.
|
||||||
|
* Lossy encoder speedup on ARM.
|
||||||
|
* Lossless multi-threaded security fix.
|
||||||
|
- Changes from version 1.0.1:
|
||||||
|
* Lossless encoder speedups.
|
||||||
|
* Big-endian fix for alpha decoding.
|
||||||
|
* Gif2webp fix for loop count=65535 transcode.
|
||||||
|
* Further security related hardening in libwebp & libwebpmux.
|
||||||
|
* Miscellaneous bug & build fixes.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 28 01:14:53 UTC 2018 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- update baselibs.conf for the new soversions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 28 00:53:26 UTC 2018 - mrueckert@suse.de
|
||||||
|
|
||||||
|
- update to 1.0.0
|
||||||
|
- lossy encoder improvements to avoid chroma shifts in various
|
||||||
|
-ircumstances (issues #308, #340)
|
||||||
|
- big-endian fixes for decode, RGBA import and
|
||||||
|
WebPPictureDistortion
|
||||||
|
- Tool updates:
|
||||||
|
gifwebp, anim_diff - default duration behavior (<= 10ms)
|
||||||
|
changed to match web browsers, transcoding
|
||||||
|
tools (issue #379)
|
||||||
|
img2webp, webpmux - allow options to be passed in via a file
|
||||||
|
(issue #355)
|
||||||
|
- changes from 0.6.1
|
||||||
|
- lossless performance and compression improvements + a new
|
||||||
|
'cruncher' mode (-m 6 -q 100)
|
||||||
|
- ARM performance improvements with clang (15-20% w/ndk r15c,
|
||||||
|
issue #339)
|
||||||
|
- webp-js: emscripten/webassembly based javascript decoder
|
||||||
|
- miscellaneous bug & build fixes (issue #329, #332, #343, #353,
|
||||||
|
#360, #361, #363)
|
||||||
|
- Tool updates / additions:
|
||||||
|
- added webpinfo - prints file format information (issue #330)
|
||||||
|
- gif2webp - loop behavior modified to match Chrome M63+
|
||||||
|
(crbug.com/649264); '-loop_compatibility' can be
|
||||||
|
used for the old behavior
|
||||||
|
- changes from 0.6.0
|
||||||
|
- lossless performance and compression improvements
|
||||||
|
- miscellaneous performance improvements (SSE2, NEON, MSA)
|
||||||
|
- webpmux gained a -duration option allowing for frame timing
|
||||||
|
modification
|
||||||
|
- new img2webp utility allowing a sequence of images to be
|
||||||
|
converted to animated webp
|
||||||
|
- API changes:
|
||||||
|
- libwebp:
|
||||||
|
WebPPictureSharpARGBToYUVA
|
||||||
|
WebPPlaneDistortion
|
||||||
|
- libwebpmux / gif2webp:
|
||||||
|
WebPAnimEncoderOptions: kmax <= 0 now disables keyframes,
|
||||||
|
kmax == 1 forces all keyframes. See
|
||||||
|
mux.h and the gif2webp manpage for
|
||||||
|
details.
|
||||||
|
- changes from 0.5.2
|
||||||
|
- This release covers CVE-2016-8888 and CVE-2016-9085.
|
||||||
|
- further security related hardening in the tools; fixes to
|
||||||
|
gif2webp/AnimEncoder (issues #310, #314, #316, #322),
|
||||||
|
cwebp/libwebp (issue #312)
|
||||||
|
- full libwebp (encoder & decoder) iOS framework; libwebpdecoder
|
||||||
|
WebP.framework renamed to WebPDecoder.framework (issue #307)
|
||||||
|
- CMake support for Android Studio (2.2)
|
||||||
|
- miscellaneous build related fixes (issue #306, #313)
|
||||||
|
- miscellaneous documentation improvements (issue #225)
|
||||||
|
- minor lossy encoder fixes and improvements
|
||||||
|
- changes from 0.5.1
|
||||||
|
- miscellaneous bug fixes (issues #280, #289)
|
||||||
|
- reverted alpha plane encoding with color cache for
|
||||||
|
compatibility with libwebp 0.4.0->0.4.3 (issues #291, #298)
|
||||||
|
- lossless encoding performance improvements
|
||||||
|
- memory reduction in both lossless encoding and decoding
|
||||||
|
- force mux output to be in the extended format (VP8X) when
|
||||||
|
undefined chunks are present (issue #294)
|
||||||
|
- gradle, cmake build support
|
||||||
|
- workaround for compiler bug causing 64-bit decode failures on
|
||||||
|
android devices using clang-3.8 in the r11c NDK
|
||||||
|
- various WebPAnimEncoder improvements
|
||||||
|
- disable extras for now. it seems it is not building and
|
||||||
|
installing a library anymore
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 12 15:34:04 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update baselibs.conf
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 11 15:44:22 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to 0.5.0
|
||||||
|
* miscellaneous bug & build fixes (issues #234, #258, #274, #275,
|
||||||
|
#278)
|
||||||
|
* encoder & decoder speed-ups on x86/ARM/MIPS for lossy &
|
||||||
|
lossless
|
||||||
|
+ note! YUV->RGB conversion was sped-up, but the results will
|
||||||
|
be slightly different from previous releases
|
||||||
|
* various lossless encoder improvements
|
||||||
|
* gif2webp improvements, -min_size option added
|
||||||
|
* tools fully support input from stdin and output to stdout (issue
|
||||||
|
#168)
|
||||||
|
* New WebPAnimEncoder API for creating animations
|
||||||
|
* New WebPAnimDecoder API for decoding animations
|
||||||
|
* other API changes:
|
||||||
|
+ libwebp:
|
||||||
|
WebPPictureSmartARGBToYUVA() (-pre 4 in cwebp)
|
||||||
|
WebPConfig::exact (-exact in cwebp; -alpha_cleanup is now the
|
||||||
|
default)
|
||||||
|
WebPConfig::near_lossless (-near_lossless in cwebp)
|
||||||
|
WebPFree() (free'ing webp allocated memory in other
|
||||||
|
languages)
|
||||||
|
WebPConfigLosslessPreset()
|
||||||
|
WebPMemoryWriterClear()
|
||||||
|
+ libwebpdemux: removed experimental fragment related fields
|
||||||
|
and functions
|
||||||
|
+ libwebpmux: WebPMuxSetCanvasSize()
|
||||||
|
* new libwebpextras library with some uncommon import functions:
|
||||||
|
WebPImportGray/WebPImportRGB565/WebPImportRGB4444
|
||||||
|
- Make building more verbose
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 8 19:08:14 UTC 2015 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
- Update to version 0.4.4
|
||||||
|
* rescaling out-of-bounds read fix (issue #254)
|
||||||
|
* various build fixes and improvements (issues #253, #259, #262, #267, #268)
|
||||||
|
* container documentation update
|
||||||
|
* gif2webp transparency fix (issue #245)
|
||||||
|
- Add freeglut-devel build requires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 29 16:21:01 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Add libwebp-devel to baselibs.conf [bnc#936417]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 13 10:48:36 UTC 2015 - dmueller@suse.com
|
||||||
|
|
||||||
|
- remove aarch64-disable-neon.diff: compiler was fixed, neon
|
||||||
|
can be compiled now
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 29 12:44:43 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 0.4.3
|
||||||
|
* lossless decode fix and a multi-threading fix
|
||||||
|
* documentation / vwebp updates for animation
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 29 08:21:16 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update baselibs.conf: make it match the currently build library
|
||||||
|
packages.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 28 06:45:02 UTC 2014 - dmueller@suse.com
|
||||||
|
|
||||||
|
- update to 0.4.2:
|
||||||
|
This is a binary compatible release.
|
||||||
|
* Android / gcc build fixes
|
||||||
|
* (Windows) fix reading from stdin and writing to stdout
|
||||||
|
* gif2webp: miscellaneous fixes
|
||||||
|
* fix 'alpha-leak' with lossy compression (issue #220)
|
||||||
|
* the lossless bitstream spec has been amended to reflect the current code
|
||||||
|
- add aarch64-disable-neon.diff: work around compile failure with
|
||||||
|
neon on aarch64.
|
||||||
|
- add libwebpdecoder1 subpackage
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 11 01:50:52 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 0.4.1
|
||||||
|
* AArch64 (arm64) & MIPS support/optimizations
|
||||||
|
* NEON assembly additions: ~25% faster lossy decode/encode (-m 4);
|
||||||
|
~10% faster lossless decode;~5-10% faster lossless encode (-m 3/4)
|
||||||
|
* dwebp/vwebp can read from stdin
|
||||||
|
* cwebp/gif2webp can write to stdout
|
||||||
|
* cwebp can read webp files; useful if storing sources as webp
|
||||||
|
lossless
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 9 14:21:55 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 0.4.0
|
||||||
|
* improved gif2webp tool
|
||||||
|
* numerous fixes, compression improvement and speed-up
|
||||||
|
* dither option added to decoder (dwebp -dither 50 ...)
|
||||||
|
* improved multi-threaded modes (-mt option)
|
||||||
|
* improved filtering strength determination
|
||||||
|
* BMP and TIFF format output added to 'dwebp'
|
||||||
|
* Significant memory reduction for decoding lossy images with alpha.
|
||||||
|
* Intertwined decoding of RGB and alpha for a shorter
|
||||||
|
time-to-first-decoded-pixel.
|
||||||
|
* WebPIterator has a new member 'has_alpha' denoting whether the
|
||||||
|
frame contains transparency.
|
||||||
|
* Container spec amended with new 'blending method' for animation.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 26 10:22:32 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 0.3.1
|
||||||
|
* Add incremental decoding support for images containing
|
||||||
|
ALPH and ICCP chunks.
|
||||||
|
- Enable libwebpmux, libwebpdemux
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 16 09:49:31 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 0.3.0
|
||||||
|
* WebPINewRGB/WebPINewYUVA accept being passed a NULL output buffer
|
||||||
|
and will perform auto-allocation.
|
||||||
|
* Default filter option is now "-strong -f 60"
|
||||||
|
* Encoding speed-up for lossy methods 3 to 6
|
||||||
|
* Alpha encoding can be done in parallel to lossy using
|
||||||
|
`cwebp -mt ...`
|
||||||
|
* Color profile, metadata (XMP/EXIF) and animation support in the
|
||||||
|
container was finalized.
|
||||||
|
* Various NEON assembly additions
|
||||||
|
- Tool updates / additions:
|
||||||
|
* gif2webp added
|
||||||
|
* vwebp given color profile & animation support
|
||||||
|
* cwebp can preserve color profile / metadata with "-metadata"
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 9 13:21:00 UTC 2012 - mailaender@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.2.1
|
||||||
|
* libwebp: validate chunk size in ParseOptionalChunks
|
||||||
|
* cwebp (windows): fix alpha image import on XP
|
||||||
|
* autoconf/libwebp: enable dll builds for mingw
|
||||||
|
* [cd]webp: always output windows errors
|
||||||
|
* fix double to float conversion warning
|
||||||
|
* cwebp: fix jpg encodes on XP
|
||||||
|
* VP8LAllocateHistogramSet: fix overflow in size calculation
|
||||||
|
* GetHistoBits: fix integer overflow
|
||||||
|
* EncodeImageInternal: fix uninitialized free
|
||||||
|
* fix the -g/O3 discrepancy for 32bit compile
|
||||||
|
* fix the BITS=8 case
|
||||||
|
* Make *InitSSE2() functions be empty on non-SSE2 platform
|
||||||
|
* make *InitSSE2() functions be empty on non-SSE2 platform
|
||||||
|
* make VP8DspInitNEON() public
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 31 08:57:43 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 0.2.0:
|
||||||
|
* Add support for ARGB -> YUVA conversion for lossless decoder
|
||||||
|
* Add stats for lossless and alpha encoding
|
||||||
|
* Security related hardening: allocation and size checks
|
||||||
|
* Add PAM output support to dwebp
|
||||||
|
* Alpha channel encode/decode support
|
||||||
|
* Lossless encoder/decoder
|
||||||
|
* Add TIFF input support to cwebp
|
||||||
|
* Incompatible changes:
|
||||||
|
- The encode ABI has been modified to support alpha encoding
|
||||||
|
- Deprecated function WebPINew() has been removed
|
||||||
|
- Decode function signatures have changed to consistently use
|
||||||
|
size_t over int/uint32_t
|
||||||
|
- decode_vp8.h is no longer installed system-wide
|
||||||
|
- cwebp will encode the alpha channel if present.
|
||||||
|
* Add libtiff-devel BuildRequires for the new tiff input support.
|
||||||
|
* Rename libwebp2 subpackage to libwebp4 (by changing lname
|
||||||
|
defines), following upstreams soname bump (incl. baselibs.conf).
|
||||||
|
* No reason to run autogen
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 30 12:51:06 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Rename webp-tools to libwebp-tools to follow scheme of other
|
||||||
|
lib*-tools packages.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 23 09:26:59 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- add libtool as buildrequire to avoid implicit dependency
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 31 13:37:08 UTC 2011 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- update to 0.1.3:
|
||||||
|
* Advanced decoding APIs.
|
||||||
|
* On-the-fly cropping and rescaling of images.
|
||||||
|
* SSE2 instructions for decoding performance optimizations on x86 based platforms.
|
||||||
|
* Support Multi-threaded decoding.
|
||||||
|
* 40% improvement in Decoding performance.
|
||||||
|
* Add support for RGB565, RGBA4444 & ARGB image colorspace.
|
||||||
|
* Better handling of large picture encoding.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 16 11:24:15 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- add baselibs.conf and use original tar
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 6 18:57:59 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Rename subpackage libwebp-tools to webp-tools to get out of
|
||||||
|
rpmlint's pedant observation that it does not contain libraries.
|
33
libwebp.keyring
Normal file
33
libwebp.keyring
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
pub 4096R/B8232B5D 2011-09-23
|
||||||
|
uid [ unknown] WebP release signing key <webp-discuss@webmproject.org>
|
||||||
|
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Version: GnuPG v2
|
||||||
|
|
||||||
|
mQINBE58xqEBEADG87qwtVN0i6d/YRCns/+RYHQawcxTOtIyOSh69aSjNeVg9wBo
|
||||||
|
9yoPrGtOOYwbYx/IQ3JZSWMwTj5o2LJfwO8sDXCXDTq+KmJ72RKe6WXIsr6ZP7u4
|
||||||
|
BO/kz3IOIg+ON9YDYtLssFpJLELJNGGnjVo62gosPxwh2s8FwUyFCUm3yhVKYCee
|
||||||
|
IfFcxizM5W8MhApdEU9OprPndVpv9U7PLfXk30myG8wkIYR+7VRvbg/HIyuGPf9m
|
||||||
|
HjJ8Vlv7sezPqtkMtbgCRbmWxvlNd5WIO8fDHfBxQIspuFFIBgpKN8Q1TapApzE2
|
||||||
|
VLxOxU2ezdAq9Q7uVKfCV2VkDx4tD2aS7Mx7UN0HMz1J47rgHeGc5qnVC0j6s26X
|
||||||
|
FtwLK6AjGkO8FncAl0A0qu7vipghhS3hlehBvZcWjbgtTdvEa2H4mxZmPWHlNLhk
|
||||||
|
6Jk6PaahKic1wmNldg9ndr7sSUo3IuFZnsx9QHvWyYolNKah/vAY6YESZKkrDJO8
|
||||||
|
ksXbyt62uneUowIYNmv1DSVFPewWysjU+VwiEJQVO5H0cUmQlaFNVajuNK5lbN3+
|
||||||
|
4EXAuEC63RIex0cvekJUuIWkGUkYUHYckwY0iZnfBDR/y4dhPqsFwBCJxBMbAzWn
|
||||||
|
9gcyEdtS4uD15BngjuFI7DgyVVP5ZQ8iU8sZA6Z2m3Z/wC71xSHrMfYqBQARAQAB
|
||||||
|
tDdXZWJQIHJlbGVhc2Ugc2lnbmluZyBrZXkgPHdlYnAtZGlzY3Vzc0B3ZWJtcHJv
|
||||||
|
amVjdC5vcmc+iQI4BBMBAgAiBQJOfMahAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIe
|
||||||
|
AQIXgAAKCRD5w9a9uCMrXSHzEACv2zHG0SG/Avp41Mtnen1SUUNgBCEcexfDXhpk
|
||||||
|
ueKdSyxvwgW+J1BhprnYoUjRzQMk30oiZ8GUhwc84iObuvG3Ast0qWoxILlUkxfV
|
||||||
|
IhyfLNDMHVeRinpq2xSJSbeP3tM6njcZCUtL8mkzZ5bQMEZOcyv/cdwCE4TcdZsH
|
||||||
|
Ewhyds7l1KRcra7ajoVRRPQ5LNjPW2yJ0UjpDGvNfbt3Xq6BqTRxvMN6iwemY7lN
|
||||||
|
gWwIkxAgDyLzIdVbFf4glaHuXcMc7FFzf8KieyAKxHZ7xG/y90nBKI8nF2TEu/OK
|
||||||
|
Yp1CChIiQhCQOEccjiEaZ6t+b8iQ8E/QqQG8ng/DBt/EKr04rS7YtR7c4v9Hrv7w
|
||||||
|
jmS0eZmR7vlu9R6lDDvdCmKwRD1I33ksAWMZZKpQIpxy6cErQMG5RJ2CbQZuDN5J
|
||||||
|
T8OjoMdBv26VpaCgMui7mSc8ESBgsZv1fMvVA8LnfovznPHQhVLw7xPkJrt4n1Mw
|
||||||
|
IuRuw7VIUGJieG8aoPl8SkH55Xf9BXMisbMj9cxUuk3DVx0dwgW7PtxdYAVSwBWL
|
||||||
|
GVgZghAOel/LvLGi2at28bER2I8bGIkuxwqSsNWF42ToKJi1xFNJgJYUstT/p8lQ
|
||||||
|
uFL8jiavt4Gmt3uwIM4wZVWfC7n/F4hW+2xu9x0Ya1fvCh8EHb5lKuXTZCb7EqMJ
|
||||||
|
1jT8dg==
|
||||||
|
=YlGr
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
195
libwebp.spec
Normal file
195
libwebp.spec
Normal file
@ -0,0 +1,195 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libwebp
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: libwebp
|
||||||
|
Version: 1.4.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Library and tools for the WebP graphics format
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
URL: https://developers.google.com/speed/webp/
|
||||||
|
#Git-Clone: https://chromium.googlesource.com/webm/libwebp/
|
||||||
|
Source: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-%version.tar.gz
|
||||||
|
Source2: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-%version.tar.gz.asc
|
||||||
|
Source3: %name.keyring
|
||||||
|
Source4: baselibs.conf
|
||||||
|
|
||||||
|
BuildRequires: giflib-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(glut)
|
||||||
|
BuildRequires: pkgconfig(libjpeg)
|
||||||
|
BuildRequires: pkgconfig(libpng)
|
||||||
|
BuildRequires: pkgconfig(libtiff-4)
|
||||||
|
|
||||||
|
%description
|
||||||
|
WebP is an image format that does lossy compression of digital
|
||||||
|
photographic images. WebP consists of a codec based on VP8, and a
|
||||||
|
container based on RIFF. Webmasters, web developers and browser
|
||||||
|
developers can use WebP to compress, archive and distribute digital
|
||||||
|
images more efficiently.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: The WebP command line tools
|
||||||
|
Group: Productivity/Archiving/Compression
|
||||||
|
#O/P added in 12.2
|
||||||
|
Obsoletes: webp-tools < %version-%release
|
||||||
|
Provides: webp-tools = %version-%release
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
WebP is an image format that does lossy compression of digital
|
||||||
|
photographic images. WebP consists of a codec based on VP8, and a
|
||||||
|
container based on RIFF. Webmasters, web developers and browser
|
||||||
|
developers can use WebP to compress, archive and distribute digital
|
||||||
|
images more efficiently.
|
||||||
|
|
||||||
|
%package -n libwebp7
|
||||||
|
Summary: Library for the WebP graphics format
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libwebp7
|
||||||
|
WebP is an image format that does lossy compression of digital
|
||||||
|
photographic images. WebP consists of a codec based on VP8, and a
|
||||||
|
container based on RIFF. Webmasters, web developers and browser
|
||||||
|
developers can use WebP to compress, archive and distribute digital
|
||||||
|
images more efficiently.
|
||||||
|
|
||||||
|
%package -n libwebpdemux2
|
||||||
|
Summary: Library for extraction of data and images from WebP container files
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libwebpdemux2
|
||||||
|
The WebP Demux API enables extraction of images and extended format
|
||||||
|
data from WebP files. This API currently supports reading of XMP/EXIF
|
||||||
|
metadata, ICC profile and animated images.
|
||||||
|
|
||||||
|
%package -n libwebpmux3
|
||||||
|
Summary: Library for reading/adding data to WebP container files
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libwebpmux3
|
||||||
|
The WebP Mux API contains methods for adding data to and reading data
|
||||||
|
from WebP files. This API currently supports XMP/EXIF metadata, ICC
|
||||||
|
profile and animation.
|
||||||
|
|
||||||
|
%package -n libwebpdecoder3
|
||||||
|
Summary: Library for decoding WebP graphics format
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libwebpdecoder3
|
||||||
|
WebP is an image format that does lossy compression of digital
|
||||||
|
photographic images. WebP consists of a codec based on VP8, and a
|
||||||
|
container based on RIFF. Webmasters, web developers and browser
|
||||||
|
developers can use WebP to compress, archive and distribute digital
|
||||||
|
images more efficiently.
|
||||||
|
|
||||||
|
%package -n libsharpyuv0
|
||||||
|
Summary: Library for sharpening YUV option in WebP
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libsharpyuv0
|
||||||
|
Library that provides the sharpening YUV option for better WebP images.
|
||||||
|
|
||||||
|
%package -n libwebpextras0
|
||||||
|
Summary: Library for decoding WebP graphics format
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libwebpextras0
|
||||||
|
WebP is an image format that does lossy compression of digital
|
||||||
|
photographic images. WebP consists of a codec based on VP8, and a
|
||||||
|
container based on RIFF. Webmasters, web developers and browser
|
||||||
|
developers can use WebP to compress, archive and distribute digital
|
||||||
|
images more efficiently. This package contains shared libraries for less
|
||||||
|
common imports - WebPImportGray/WebPImportRGB565/WebPImportRGB4444.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for libwebp, a library for the WebP format
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libsharpyuv0 = %version
|
||||||
|
Requires: libwebp7 = %version
|
||||||
|
Requires: libwebpdecoder3 = %version
|
||||||
|
Requires: libwebpdemux2 = %version
|
||||||
|
Requires: libwebpmux3 = %version
|
||||||
|
%if %{with extras}
|
||||||
|
Requires: libwebpextras0 = %version
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
WebP is an image format that does lossy compression of digital
|
||||||
|
photographic images. WebP consists of a codec based on VP8, and a
|
||||||
|
container based on RIFF. Webmasters, web developers and browser
|
||||||
|
developers can use WebP to compress, archive and distribute digital
|
||||||
|
images more efficiently.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static \
|
||||||
|
--enable-libwebpmux --enable-libwebpdemux \
|
||||||
|
--enable-libwebpdecoder --enable-libwebpextras
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
find "%buildroot" -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
|
%post -n libwebp7 -p /sbin/ldconfig
|
||||||
|
%postun -n libwebp7 -p /sbin/ldconfig
|
||||||
|
%post -n libwebpdemux2 -p /sbin/ldconfig
|
||||||
|
%postun -n libwebpdemux2 -p /sbin/ldconfig
|
||||||
|
%post -n libwebpmux3 -p /sbin/ldconfig
|
||||||
|
%postun -n libwebpmux3 -p /sbin/ldconfig
|
||||||
|
%post -n libwebpdecoder3 -p /sbin/ldconfig
|
||||||
|
%postun -n libwebpdecoder3 -p /sbin/ldconfig
|
||||||
|
%post -n libsharpyuv0 -p /sbin/ldconfig
|
||||||
|
%postun -n libsharpyuv0 -p /sbin/ldconfig
|
||||||
|
%post -n libwebpextras0 -p /sbin/ldconfig
|
||||||
|
%postun -n libwebpextras0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n libwebp-tools
|
||||||
|
%_bindir/*
|
||||||
|
%_mandir/man*/*
|
||||||
|
|
||||||
|
%files -n libwebp7
|
||||||
|
%_libdir/libwebp.so.*
|
||||||
|
|
||||||
|
%files -n libwebpdemux2
|
||||||
|
%_libdir/libwebpdemux.so.*
|
||||||
|
|
||||||
|
%files -n libwebpmux3
|
||||||
|
%_libdir/libwebpmux.so.*
|
||||||
|
|
||||||
|
%files -n libwebpdecoder3
|
||||||
|
%_libdir/libwebpdecoder.so.*
|
||||||
|
|
||||||
|
%files -n libsharpyuv0
|
||||||
|
%_libdir/libsharpyuv.so.*
|
||||||
|
|
||||||
|
%if %{with extras}
|
||||||
|
%files -n libwebpextras0
|
||||||
|
%_libdir/libwebpextras.so.*
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%_libdir/libwebp*.so
|
||||||
|
%_libdir/libsharpyuv.so
|
||||||
|
%_includedir/webp/
|
||||||
|
%_libdir/pkgconfig/libwebp*.pc
|
||||||
|
%_libdir/pkgconfig/libsharpyuv.pc
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user