diff --git a/aarch64-disable-neon.diff b/aarch64-disable-neon.diff new file mode 100644 index 0000000..bed4fb4 --- /dev/null +++ b/aarch64-disable-neon.diff @@ -0,0 +1,11 @@ +--- src/dsp/dsp.h ++++ src/dsp/dsp.h +@@ -66,7 +66,7 @@ + #define WEBP_ANDROID_NEON // Android targets that might support NEON + #endif + +-#if defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) || defined(__aarch64__) ++#if defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) + #define WEBP_USE_NEON + #endif + diff --git a/libwebp-0.4.1.tar.gz b/libwebp-0.4.1.tar.gz deleted file mode 100644 index 9852981..0000000 --- a/libwebp-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00b646e6f66550a8faa998711fe70aabee9ed3bc562a8437c89042901674d027 -size 966358 diff --git a/libwebp-0.4.2.tar.gz b/libwebp-0.4.2.tar.gz new file mode 100644 index 0000000..1e92ec5 --- /dev/null +++ b/libwebp-0.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14d825d7c2ef7d49621bcb6b83466be455585e671ae0a2ebc1f2e07775a1722d +size 977801 diff --git a/libwebp.changes b/libwebp.changes index 9f1f507..aa9467e 100644 --- a/libwebp.changes +++ b/libwebp.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +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 diff --git a/libwebp.spec b/libwebp.spec index 1699a2c..010b6b0 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -17,7 +17,7 @@ Name: libwebp -Version: 0.4.1 +Version: 0.4.2 Release: 0 Summary: Library and tools for the WebP graphics format License: BSD-3-Clause @@ -27,6 +27,8 @@ Url: https://developers.google.com/speed/webp/ #Git-Clone: http://git.chromium.org/webm/libwebp.git Source: http://downloads.webmproject.org/releases/webp/%name-%version.tar.gz Source2: baselibs.conf +# PATCH-UPSTREAM-NEVER: incompatible types when initializing type 'int32x4_t' using type 'int32x2_t' +Patch0: aarch64-disable-neon.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: giflib-devel BuildRequires: libjpeg-devel @@ -84,12 +86,24 @@ 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 libwebpdecoder1 +Summary: Library for decoding WebP graphics format +Group: System/Libraries + +%description -n libwebpdecoder1 +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 devel Summary: Development files for libwebp, a library for the WebP format Group: Development/Libraries/C and C++ Requires: libwebp5 = %version Requires: libwebpdemux1 = %version Requires: libwebpmux1 = %version +Requires: libwebpdecoder1 = %version %description devel WebP is an image format that does lossy compression of digital @@ -100,9 +114,12 @@ images more efficiently. %prep %setup -q +%patch0 %build -%configure --disable-static --enable-libwebpmux --enable-libwebpdemux +%configure --disable-static \ + --enable-libwebpmux --enable-libwebpdemux \ + --enable-libwebpdecoder make %{?_smp_mflags} %install @@ -116,6 +133,8 @@ rm -f "$b/%_libdir"/*.la; %postun -n libwebpdemux1 -p /sbin/ldconfig %post -n libwebpmux1 -p /sbin/ldconfig %postun -n libwebpmux1 -p /sbin/ldconfig +%post -n libwebpdecoder1 -p /sbin/ldconfig +%postun -n libwebpdecoder1 -p /sbin/ldconfig %files -n libwebp-tools %defattr(-,root,root) @@ -134,6 +153,10 @@ rm -f "$b/%_libdir"/*.la; %defattr(-,root,root) %_libdir/libwebpmux.so.1* +%files -n libwebpdecoder1 +%defattr(-,root,root) +%_libdir/libwebpdecoder.so.1* + %files devel %defattr(-,root,root) %_libdir/libwebp*.so