v2.2.2
This commit is contained in:
parent
607009b05b
commit
ec7807215a
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ gd-2.0.35.tar.bz2
|
|||||||
/libgd-2.1.0.tar.xz
|
/libgd-2.1.0.tar.xz
|
||||||
/libgd-2.1.1.tar.xz
|
/libgd-2.1.1.tar.xz
|
||||||
/libgd-2.2.1.tar.xz
|
/libgd-2.2.1.tar.xz
|
||||||
|
/libgd-2.2.2.tar.xz
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
From 7d0d9d2a4f8e48f19e1603c649d4f15d0b9736de Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= <ondrej@sury.org>
|
|
||||||
Date: Fri, 20 May 2016 10:44:33 +0200
|
|
||||||
Subject: [PATCH] Fix error: unused variable in tests/
|
|
||||||
|
|
||||||
---
|
|
||||||
tests/gdimagesetpixel/gdeffectoverlay.c | 2 --
|
|
||||||
1 file changed, 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/tests/gdimagesetpixel/gdeffectoverlay.c b/tests/gdimagesetpixel/gdeffectoverlay.c
|
|
||||||
index 5e42547..7f63e17 100644
|
|
||||||
--- a/tests/gdimagesetpixel/gdeffectoverlay.c
|
|
||||||
+++ b/tests/gdimagesetpixel/gdeffectoverlay.c
|
|
||||||
@@ -5,8 +5,6 @@ int main()
|
|
||||||
{
|
|
||||||
gdImagePtr im;
|
|
||||||
int x, y, c;
|
|
||||||
- FILE *out;
|
|
||||||
- char path[1024];
|
|
||||||
int r=0;
|
|
||||||
|
|
||||||
|
|
14
gd.spec
14
gd.spec
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
Summary: A graphics library for quick creation of PNG or JPEG images
|
Summary: A graphics library for quick creation of PNG or JPEG images
|
||||||
Name: gd
|
Name: gd
|
||||||
Version: 2.2.1
|
Version: 2.2.2
|
||||||
Release: 2%{?prever}%{?short}%{?dist}
|
Release: 1%{?prever}%{?short}%{?dist}
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://libgd.github.io/
|
URL: http://libgd.github.io/
|
||||||
@ -19,7 +19,6 @@ Source0: https://github.com/libgd/libgd/releases/download/gd-%{version}/li
|
|||||||
|
|
||||||
Patch1: gd-2.1.0-multilib.patch
|
Patch1: gd-2.1.0-multilib.patch
|
||||||
Patch2: gd-2.2.1-initialize-full_filename.patch
|
Patch2: gd-2.2.1-initialize-full_filename.patch
|
||||||
Patch3: gd-2.2.1-fix-unused-variable-in-tests.patch
|
|
||||||
|
|
||||||
BuildRequires: freetype-devel
|
BuildRequires: freetype-devel
|
||||||
BuildRequires: fontconfig-devel
|
BuildRequires: fontconfig-devel
|
||||||
@ -79,7 +78,6 @@ files for gd, a graphics library for creating PNG and JPEG graphics.
|
|||||||
%setup -q -n libgd-%{version}%{?prever:-%{prever}}
|
%setup -q -n libgd-%{version}%{?prever:-%{prever}}
|
||||||
%patch1 -p1 -b .mlib
|
%patch1 -p1 -b .mlib
|
||||||
%patch2 -p1 -b .full_filename
|
%patch2 -p1 -b .full_filename
|
||||||
%patch3 -p1 -b .unused-variable
|
|
||||||
|
|
||||||
: $(perl config/getver.pl)
|
: $(perl config/getver.pl)
|
||||||
|
|
||||||
@ -114,6 +112,11 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libgd.a
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%ifarch %{ix86}
|
||||||
|
# see https://github.com/libgd/libgd/issues/242
|
||||||
|
export XFAIL_TESTS="gdimagerotate/bug00067 $XFAIL_TESTS"
|
||||||
|
%endif
|
||||||
|
|
||||||
: Upstream test suite
|
: Upstream test suite
|
||||||
make check
|
make check
|
||||||
|
|
||||||
@ -144,6 +147,9 @@ grep %{version} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdlib.pc
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 24 2016 Remi Collet <remi@fedoraproject.org> - 2.2.2-1
|
||||||
|
- Update to 2.2.2
|
||||||
|
|
||||||
* Sat May 28 2016 Remi Collet <remi@fedoraproject.org> - 2.2.1-2
|
* Sat May 28 2016 Remi Collet <remi@fedoraproject.org> - 2.2.1-2
|
||||||
- remove unneeded sources
|
- remove unneeded sources
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user