rebuild with libpng 1.6 [release 0.2-2mamba;Sat May 09 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 05:03:19 +01:00
parent 8601e1814e
commit f0599e0566
2 changed files with 30 additions and 5 deletions

View File

@ -0,0 +1,11 @@
diff -up mhgui-0.2/include/mhgui/ImageData.h.png15 mhgui-0.2/include/mhgui/ImageData.h
--- mhgui-0.2/include/mhgui/ImageData.h.png15 2007-12-12 22:07:20.000000000 +0100
+++ mhgui-0.2/include/mhgui/ImageData.h 2012-01-21 15:10:13.179933285 +0100
@@ -67,7 +67,7 @@ class ImageData
private:
char *image_data; /* raw png image data */
char *end_bufferPtr;
- unsigned long width, height;
+ png_uint_32 width, height;
unsigned int bytesPerRow;
bool alpha;

View File

@ -1,7 +1,7 @@
### AUTOUPDATE-OFF: 1 ### AUTOUPDATE-OFF: 1
Name: libmhgui Name: libmhgui
Version: 0.2 Version: 0.2
Release: 1mamba Release: 2mamba
Summary: A graphical user interface library for makehuman Summary: A graphical user interface library for makehuman
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -9,14 +9,24 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.makehuman.org URL: http://www.makehuman.org
Source: http://downloads.sourceforge.net/sourceforge/makehuman/mhgui-%{version}.tar.gz Source: http://downloads.sourceforge.net/sourceforge/makehuman/mhgui-%{version}.tar.gz
Patch0: libmhgui-0.2-libpng-1.6.patch
License: LGPL License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libGL-devel BuildRequires: libGL-devel
BuildRequires: libpng-devel BuildRequires: libGLU-devel
BuildRequires: libICE-devel BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXi-devel
BuildRequires: libXmu-devel
BuildRequires: libanimorph-devel
BuildRequires: libfreeglut-devel
BuildRequires: libgcc
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%description %description
A graphical user interface library for makehuman. A graphical user interface library for makehuman.
@ -33,6 +43,7 @@ This package contains static libraries and header files need for development.
%prep %prep
%setup -q -n mhgui-%{version} %setup -q -n mhgui-%{version}
%patch0 -p1
%build %build
%configure %configure
@ -58,9 +69,12 @@ rm -rf %{buildroot}%{_prefix}/doc
%{_libdir}/libmhgui.a %{_libdir}/libmhgui.a
%{_libdir}/libmhgui.la %{_libdir}/libmhgui.la
%{_libdir}/libmhgui.so %{_libdir}/libmhgui.so
%{_exec_prefix}/lib/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Sat May 09 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2-2mamba
- rebuild with libpng 1.6
* Sun Jun 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2-1mamba * Sun Jun 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2-1mamba
- update to 0.2 - update to 0.2