From f22bb38e54f97f8f892665eb9d9fc4a86cfd1145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=94=80?= <12222356+zppzhangpan@user.noreply.gitee.com> Date: Thu, 7 Sep 2023 09:13:24 +0000 Subject: [PATCH 01/10] update libwebp.spec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张攀 <12222356+zppzhangpan@user.noreply.gitee.com> --- libwebp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libwebp.spec b/libwebp.spec index ae68075..850f71a 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -1,6 +1,6 @@ Name: libwebp Version: 1.3.1 -Release: 1 +Release: 2 URL: http://www.linuxfromscratch.org/blfs/view/svn/general/libwebp.html Summary: Library and tools for the WebP graphics format License: BSD @@ -84,6 +84,9 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %delete_la %ldconfig_scriptlets +%check +make check + %files tools %defattr(-,root,root) %{_bindir}/* -- Gitee From 42cf0b2f051749539791108a257b579ebd69e784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=94=80?= <12222356+zppzhangpan@user.noreply.gitee.com> Date: Tue, 12 Sep 2023 02:45:36 +0000 Subject: [PATCH 02/10] update libwebp.spec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张攀 <12222356+zppzhangpan@user.noreply.gitee.com> --- libwebp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwebp.spec b/libwebp.spec index 850f71a..0fc0f11 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -85,7 +85,7 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %ldconfig_scriptlets %check -make check +make test %files tools %defattr(-,root,root) -- Gitee From 7a78f3ff5c303710a85d7238568b58c410eb7b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=94=80?= <12222356+zppzhangpan@user.noreply.gitee.com> Date: Tue, 12 Sep 2023 03:01:07 +0000 Subject: [PATCH 03/10] update libwebp.spec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张攀 <12222356+zppzhangpan@user.noreply.gitee.com> --- libwebp.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libwebp.spec b/libwebp.spec index 0fc0f11..8c9caa3 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -85,7 +85,8 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %ldconfig_scriptlets %check -make test +cd tests +make -C fuzzer -f makefile.unix %files tools %defattr(-,root,root) -- Gitee From 463a3674cd2b63a21a732675207e2be201d22b2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=94=80?= <12222356+zppzhangpan@user.noreply.gitee.com> Date: Tue, 12 Sep 2023 03:08:38 +0000 Subject: [PATCH 04/10] update libwebp.spec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张攀 <12222356+zppzhangpan@user.noreply.gitee.com> --- libwebp.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libwebp.spec b/libwebp.spec index 8c9caa3..e2e37dc 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -85,8 +85,7 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %ldconfig_scriptlets %check -cd tests -make -C fuzzer -f makefile.unix +ctest %files tools %defattr(-,root,root) -- Gitee From b16217d9ef1e1d4aa246dff49504de41ae395af2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=94=80?= <12222356+zppzhangpan@user.noreply.gitee.com> Date: Tue, 19 Sep 2023 01:55:44 +0000 Subject: [PATCH 05/10] update libwebp.spec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张攀 <12222356+zppzhangpan@user.noreply.gitee.com> --- libwebp.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libwebp.spec b/libwebp.spec index e2e37dc..fb4383c 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -85,7 +85,8 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %ldconfig_scriptlets %check -ctest +cd tests/fuzzer +make -C fuzzer -f makefile.unix %files tools %defattr(-,root,root) -- Gitee From b068552a56877a89bbf7379f6fd2afb1a2932214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=94=80?= <12222356+zppzhangpan@user.noreply.gitee.com> Date: Tue, 19 Sep 2023 02:07:40 +0000 Subject: [PATCH 06/10] update libwebp.spec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张攀 <12222356+zppzhangpan@user.noreply.gitee.com> --- libwebp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwebp.spec b/libwebp.spec index fb4383c..8c9caa3 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -85,7 +85,7 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %ldconfig_scriptlets %check -cd tests/fuzzer +cd tests make -C fuzzer -f makefile.unix %files tools -- Gitee From 71352e7177ad88d3e5292318f0a8e97bd3a73e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=94=80?= <12222356+zppzhangpan@user.noreply.gitee.com> Date: Tue, 19 Sep 2023 02:36:09 +0000 Subject: [PATCH 07/10] update libwebp.spec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张攀 <12222356+zppzhangpan@user.noreply.gitee.com> --- libwebp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwebp.spec b/libwebp.spec index 8c9caa3..23dc652 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -86,7 +86,7 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %check cd tests -make -C fuzzer -f makefile.unix +make -C fuzzer %files tools %defattr(-,root,root) -- Gitee From efcf94e197c73fd7e6e2b6f1c3e6ae964fc146c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=94=80?= <12222356+zppzhangpan@user.noreply.gitee.com> Date: Mon, 25 Sep 2023 01:47:23 +0000 Subject: [PATCH 08/10] update libwebp.spec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张攀 <12222356+zppzhangpan@user.noreply.gitee.com> --- libwebp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwebp.spec b/libwebp.spec index 23dc652..8c9caa3 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -86,7 +86,7 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %check cd tests -make -C fuzzer +make -C fuzzer -f makefile.unix %files tools %defattr(-,root,root) -- Gitee From 7cd48568dfb129791ee6ae0f9cb910ffee94cf9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=94=80?= <12222356+zppzhangpan@user.noreply.gitee.com> Date: Mon, 25 Sep 2023 03:38:11 +0000 Subject: [PATCH 09/10] update libwebp.spec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张攀 <12222356+zppzhangpan@user.noreply.gitee.com> --- libwebp.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libwebp.spec b/libwebp.spec index 8c9caa3..cd28f52 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -50,6 +50,11 @@ Java bindings for libwebp. %autosetup -n %{name}-%{version} -p1 %build +sed -i 's/libwebpmux.a/.libs\/l\ibwebpmux.a/g' tests/fuzzer/makefile.unix +sed -i 's/libwebpdemux.a/.libs\/l\ibwebpdemux.a/g' tests/fuzzer/makefile.unix +sed -i 's/libwebp.a/.libs\/l\ibwebp.a/g' tests/fuzzer/makefile.unix +sed -i 's/libimageio_util.a/.libs\/l\ibimageio_util.a/g' tests/fuzzer/makefile.unix +sed -i 's/libsharpyuv.a/.libs\/l\ibsharpyuv.a/g' tests/fuzzer/makefile.unix autoreconf -vif %ifarch aarch64 export CFLAGS="%{optflags} -frename-registers" -- Gitee From 163f362049f5dd0d117ae15b99d3eda8dc1a50e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=94=80?= <12222356+zppzhangpan@user.noreply.gitee.com> Date: Mon, 25 Sep 2023 03:44:36 +0000 Subject: [PATCH 10/10] update libwebp.spec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张攀 <12222356+zppzhangpan@user.noreply.gitee.com> --- libwebp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwebp.spec b/libwebp.spec index cd28f52..9ea594d 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -10,7 +10,7 @@ Patch6000: libwebp-freeglut.patch BuildRequires: libjpeg-devel libpng-devel giflib-devel libtiff-devel BuildRequires: java-devel jpackage-utils swig freeglut-devel -BuildRequires: autoconf automake libtool +BuildRequires: autoconf automake libtool clang %description This is an image format that does lossy compression of digital -- Gitee