rebuild with libpng 1.6 [release 0.2-2mamba;Sat May 09 2015]
This commit is contained in:
parent
8601e1814e
commit
f0599e0566
11
libmhgui-0.2-libpng-1.6.patch
Normal file
11
libmhgui-0.2-libpng-1.6.patch
Normal 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;
|
@ -1,7 +1,7 @@
|
||||
### AUTOUPDATE-OFF: 1
|
||||
Name: libmhgui
|
||||
Version: 0.2
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A graphical user interface library for makehuman
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -9,14 +9,24 @@ Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.makehuman.org
|
||||
Source: http://downloads.sourceforge.net/sourceforge/makehuman/mhgui-%{version}.tar.gz
|
||||
Patch0: libmhgui-0.2-libpng-1.6.patch
|
||||
License: LGPL
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libGL-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libGLU-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
|
||||
A graphical user interface library for makehuman.
|
||||
@ -33,6 +43,7 @@ This package contains static libraries and header files need for development.
|
||||
|
||||
%prep
|
||||
%setup -q -n mhgui-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -58,9 +69,12 @@ rm -rf %{buildroot}%{_prefix}/doc
|
||||
%{_libdir}/libmhgui.a
|
||||
%{_libdir}/libmhgui.la
|
||||
%{_libdir}/libmhgui.so
|
||||
%{_exec_prefix}/lib/pkgconfig/*.pc
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%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
|
||||
- update to 0.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user