Name: mingw32-inkscape
Version: 20081027
-Release: 2%{?dist}
+Release: 5%{?dist}
Summary: MinGW Windows port of Inkscape vector graphics editor
License: LGPLv2+
# Rolled-up source patch, submitted upstream on 2008-10-27.
Patch0: mingw32-inkscape-20081027.patch
+# Fix the paths.
+Patch1: mingw32-inkscape-20081027-paths.patch
+
+# This patch is only needed to run under Wine, which doesn't
+# supported getting the outline of unhinted fonts.
+Patch2: /mingw32-inkscape-20081027-unhinted-fonts-for-wine.patch
+
BuildArch: noarch
BuildRequires: mingw32-filesystem >= 30
BuildRequires: mingw32-gcc-c++
BuildRequires: mingw32-binutils
BuildRequires: mingw32-fontconfig
+BuildRequires: mingw32-freetype
BuildRequires: mingw32-glibmm24
BuildRequires: mingw32-cairomm
BuildRequires: mingw32-pangomm
BuildRequires: mingw32-boost
BuildRequires: mingw32-libsigc++20
-BuildRequires: autoconf, automake, libtool
+BuildRequires: autoconf, automake, libtool, intltool
+
+# For /usr/bin/glib-gettextize
+BuildRequires: glib2-devel
%description
%prep
%setup -q -n inkscape
%patch0 -p0
+%patch1 -p0
+%patch2 -p0
./autogen.sh
%build
+PATH=%{_mingw32_bindir}:$PATH \
%{_mingw32_configure} \
--enable-lcms=no \
--without-gnome-vfs
%changelog
-* Mon Oct 27 2008 Richard W.M. Jones <rjones@redhat.com> - 20081027-2
+* Mon Oct 27 2008 Richard W.M. Jones <rjones@redhat.com> - 20081027-5
- Initial RPM release.