From f0717d3a90a639fb8d04bfd8977329951c4b0a05d1a521d0c2f6563fc5083060 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 8 Dec 2016 15:05:34 +0000 Subject: [PATCH 1/2] Accepting request 444918 from home:elvigia:branches:graphics - Support webp format, BuildRequires libwebp-devel - Honour %optflags correctly. OBS-URL: https://build.opensuse.org/request/show/444918 OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=34 --- gd.changes | 10 ++++++++++ gd.spec | 8 +++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/gd.changes b/gd.changes index c608594..67feaba 100644 --- a/gd.changes +++ b/gd.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Dec 8 14:33:22 UTC 2016 - crrodriguez@opensuse.org + +- Support webp format, BuildRequires libwebp-devel + +------------------------------------------------------------------- +Thu Dec 8 14:20:54 UTC 2016 - crrodriguez@opensuse.org + +- Honour %optflags correctly. + ------------------------------------------------------------------- Fri Sep 30 14:59:25 UTC 2016 - badshah400@gmail.com diff --git a/gd.spec b/gd.spec index d70a414..f6be1d3 100644 --- a/gd.spec +++ b/gd.spec @@ -49,6 +49,7 @@ BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: libtool +BuildRequires: libwebp-devel BuildRequires: pkg-config BuildRequires: xorg-x11-libX11-devel BuildRequires: xorg-x11-libXau-devel @@ -105,10 +106,11 @@ autoreconf -fiv # ADDITIONAL CFLAGS ARE NEEDED TO FIX TEST FAILURES IN CASE OF i586, BUT HARMLESS TO APPLY GENERALLY FOR ALL ix86 %ifarch %{ix86} -CFLAGS="$CFLAGS -msse -mfpmath=sse" -export CFLAGS +export CFLAGS="%optflags -msse -mfpmath=sse" %else -CFLAGS="$CFLAGS -ffp-contract=off" +%ifnarch x86_64 +export CFLAGS="%optflags -ffp-contract=off" +%endif %endif # without-x -- useless switch which just mangles cflags From 084c792f834506cb1d42a852ae7cf17b246fe91d5b9cfc491d2df6ef4562fd6e Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Fri, 9 Dec 2016 17:10:09 +0000 Subject: [PATCH 2/2] - devel package also require libwebp-devel OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=35 --- gd.changes | 5 +++++ gd.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/gd.changes b/gd.changes index 67feaba..286f174 100644 --- a/gd.changes +++ b/gd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 9 17:09:40 UTC 2016 - pgajdos@suse.com + +- devel package also require libwebp-devel + ------------------------------------------------------------------- Thu Dec 8 14:33:22 UTC 2016 - crrodriguez@opensuse.org diff --git a/gd.spec b/gd.spec index f6be1d3..1663538 100644 --- a/gd.spec +++ b/gd.spec @@ -83,6 +83,7 @@ Requires: glibc-devel Requires: libpng-devel Requires: libtiff-devel Requires: libvpx-devel +Requires: libwebp-devel Requires: zlib-devel %description devel