!3 Update to version 6.1

From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-07-07 09:03:03 +00:00 committed by Gitee
commit cab0016ecd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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 %undefine _hardened_build
Name: libgdiplus Name: libgdiplus
Version: 5.6 Version: 6.1
Release: 4 Release: 1
Summary: An Open Source implementation of the GDI+ API Summary: An Open Source implementation of the GDI+ API
License: MIT and MPL-1.1 and GPL-3.0+ License: MIT and MPL-1.1 and GPL-3.0+
URL: http://www.mono-project.com/Main_Page URL: http://www.mono-project.com/Main_Page
Source0: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.tar.gz 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 BuildRequires: libpng-devel fontconfig-devel cairo-devel giflib-devel libexif-devel zlib-devel
%description %description
@ -23,7 +22,6 @@ Development files for libgdiplus
%prep %prep
%setup -q %setup -q
%patch1 -p1 -b .format
CFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy" CFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy"
CXXFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy" CXXFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy"
export CFLAGS export CFLAGS
@ -44,7 +42,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%files %files
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license COPYING %license COPYING
%doc NEWS README TODO AUTHORS ChangeLog %doc NEWS README.md TODO AUTHORS ChangeLog
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%files devel %files devel
@ -52,6 +50,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_libdir}/lib*.so %{_libdir}/lib*.so
%changelog %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 * Thu Jan 21 2021 Ge Wang <wangge20@huawei.com> - 5.6-4
- Modify license information. - Modify license information.