Accepting request 258593 from devel:ARM:Factory

- 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

OBS-URL: https://build.opensuse.org/request/show/258593
OBS-URL: https://build.opensuse.org/package/show/graphics/libwebp?expand=0&rev=7
This commit is contained in:
Ismail Dönmez 2014-10-28 09:32:15 +00:00 committed by Git OBS Bridge
parent 593432374a
commit 31c133ff23
5 changed files with 53 additions and 5 deletions

11
aarch64-disable-neon.diff Normal file
View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00b646e6f66550a8faa998711fe70aabee9ed3bc562a8437c89042901674d027
size 966358

3
libwebp-0.4.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14d825d7c2ef7d49621bcb6b83466be455585e671ae0a2ebc1f2e07775a1722d
size 977801

View File

@ -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 Mon Aug 11 01:50:52 UTC 2014 - jengelh@inai.de

View File

@ -17,7 +17,7 @@
Name: libwebp Name: libwebp
Version: 0.4.1 Version: 0.4.2
Release: 0 Release: 0
Summary: Library and tools for the WebP graphics format Summary: Library and tools for the WebP graphics format
License: BSD-3-Clause License: BSD-3-Clause
@ -27,6 +27,8 @@ Url: https://developers.google.com/speed/webp/
#Git-Clone: http://git.chromium.org/webm/libwebp.git #Git-Clone: http://git.chromium.org/webm/libwebp.git
Source: http://downloads.webmproject.org/releases/webp/%name-%version.tar.gz Source: http://downloads.webmproject.org/releases/webp/%name-%version.tar.gz
Source2: baselibs.conf 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: giflib-devel BuildRequires: giflib-devel
BuildRequires: libjpeg-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 from WebP files. This API currently supports XMP/EXIF metadata, ICC
profile and animation. 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 %package devel
Summary: Development files for libwebp, a library for the WebP format Summary: Development files for libwebp, a library for the WebP format
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libwebp5 = %version Requires: libwebp5 = %version
Requires: libwebpdemux1 = %version Requires: libwebpdemux1 = %version
Requires: libwebpmux1 = %version Requires: libwebpmux1 = %version
Requires: libwebpdecoder1 = %version
%description devel %description devel
WebP is an image format that does lossy compression of digital WebP is an image format that does lossy compression of digital
@ -100,9 +114,12 @@ images more efficiently.
%prep %prep
%setup -q %setup -q
%patch0
%build %build
%configure --disable-static --enable-libwebpmux --enable-libwebpdemux %configure --disable-static \
--enable-libwebpmux --enable-libwebpdemux \
--enable-libwebpdecoder
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -116,6 +133,8 @@ rm -f "$b/%_libdir"/*.la;
%postun -n libwebpdemux1 -p /sbin/ldconfig %postun -n libwebpdemux1 -p /sbin/ldconfig
%post -n libwebpmux1 -p /sbin/ldconfig %post -n libwebpmux1 -p /sbin/ldconfig
%postun -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 %files -n libwebp-tools
%defattr(-,root,root) %defattr(-,root,root)
@ -134,6 +153,10 @@ rm -f "$b/%_libdir"/*.la;
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libwebpmux.so.1* %_libdir/libwebpmux.so.1*
%files -n libwebpdecoder1
%defattr(-,root,root)
%_libdir/libwebpdecoder.so.1*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libwebp*.so %_libdir/libwebp*.so