File project.diff of Package mingw32-gdk-pixbuf
--- mingw32-gdk-pixbuf.spec.orig
+++ mingw32-gdk-pixbuf.spec
@@ -24,6 +24,7 @@ License: LGPL-2.1+
Group: Development/Libraries/GNOME
Url: http://www.gtk.org/
Source: http://download.gnome.org/sources/gdk-pixbuf/2.26/gdk-pixbuf-%{version}.tar.xz
+Patch1000: gdk-pixbuf-2.30.8-wix.patch
# Native version for glib-genmarshal
BuildRequires: glib2-devel
#!BuildIgnore: post-build-checks
@@ -44,6 +45,8 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
%_mingw32_package_header_debug
BuildArch: noarch
+BuildRequires: automake autoconf libtool
+BuildRequires: wixwine
%description
gdk-pixbuf is an image loading library that can be extended by loadable modules for new image formats.
It is used by toolkits such as GTK+ or Clutter.
@@ -92,8 +95,10 @@ This package contains development files
%prep
%setup -q -n gdk-pixbuf-%{version}
+%patch1000 -p1 -b .wix
%build
+autoreconf -f -i
# Need to run the correct version of glib-mkenums.
export PATH="%{_mingw32_bindir}:$PATH"
@@ -114,6 +119,9 @@ chmod -x %{buildroot}%{_mingw32_libdir}/
%find_lang gdk-pixbuf
+# Work around automake >= 11.4 not creating this
+mkdir -p %{buildroot}%{_mingw32_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
+
%files -n mingw32-libgdk_pixbuf-2_0-0
%defattr(-,root,root)
%{_mingw32_bindir}/libgdk_pixbuf-2.0-0.dll
@@ -139,5 +147,6 @@ chmod -x %{buildroot}%{_mingw32_libdir}/
%{_mingw32_libdir}/libgdk_pixbuf-2.0.dll.a
%{_mingw32_libdir}/gdk_pixbuf-2.0.def
%{_mingw32_libdir}/pkgconfig/gdk-pixbuf-2.0.pc
+%{_mingw32_datadir}/wixlib/gdk-pixbuf-2.0.wixlib
%changelog