update to 6.1

This commit is contained in:
lyn1001 2023-07-07 16:01:04 +08:00
parent 7348a4da22
commit 9c933542fc
4 changed files with 7 additions and 27 deletions

View File

@ -1,21 +0,0 @@
diff -up libgdiplus-2.10.9/src/Makefile.am.format libgdiplus-2.10.9/src/Makefile.am
--- libgdiplus-2.10.9/src/Makefile.am.format 2014-04-25 09:24:12.000000000 +0200
+++ libgdiplus-2.10.9/src/Makefile.am 2014-04-25 09:24:21.000000000 +0200
@@ -119,4 +119,4 @@ libgdiplus_la_SOURCES = \
libgdiplus_la_LIBADD = $(GDIPLUS_LIBS)
-INCLUDES = $(GDIPLUS_CFLAGS) -Wall -Wno-unused -Wno-format
+INCLUDES = $(GDIPLUS_CFLAGS) -Wall -Wno-unused
diff -up libgdiplus-2.10.9/src/Makefile.in.format libgdiplus-2.10.9/src/Makefile.in
--- libgdiplus-2.10.9/src/Makefile.in.format 2014-04-25 09:24:16.000000000 +0200
+++ libgdiplus-2.10.9/src/Makefile.in 2014-04-25 09:24:34.000000000 +0200
@@ -361,7 +361,7 @@ libgdiplus_la_SOURCES = \
wmfcodec.h
libgdiplus_la_LIBADD = $(GDIPLUS_LIBS)
-INCLUDES = $(GDIPLUS_CFLAGS) -Wall -Wno-unused -Wno-format
+INCLUDES = $(GDIPLUS_CFLAGS) -Wall -Wno-unused
all: all-am
.SUFFIXES:

Binary file not shown.

BIN
libgdiplus-6.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,14 +1,13 @@
%undefine _hardened_build
Name: libgdiplus
Version: 5.6
Release: 4
Version: 6.1
Release: 1
Summary: An Open Source implementation of the GDI+ API
License: MIT and MPL-1.1 and GPL-3.0+
URL: http://www.mono-project.com/Main_Page
Source0: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.tar.gz
Patch1: libgdiplus-2.10.9-format.patch
BuildRequires: gcc freetype-devel glib2-devel libjpeg-devel libtiff-devel
BuildRequires: gcc freetype-devel glib2-devel libjpeg-devel libtiff-devel gcc-c++ make
BuildRequires: libpng-devel fontconfig-devel cairo-devel giflib-devel libexif-devel zlib-devel
%description
@ -23,7 +22,6 @@ Development files for libgdiplus
%prep
%setup -q
%patch1 -p1 -b .format
CFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy"
CXXFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy"
export CFLAGS
@ -44,7 +42,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%files
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc NEWS README TODO AUTHORS ChangeLog
%doc NEWS README.md TODO AUTHORS ChangeLog
%{_libdir}/lib*.so.*
%files devel
@ -52,6 +50,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_libdir}/lib*.so
%changelog
* Fri Jul 7 2023 liyanan <thistleslyn@163.com> - 6.1-1
- Update to version 6.1
* Thu Jan 21 2021 Ge Wang <wangge20@huawei.com> - 5.6-4
- Modify license information.