X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=inkscape%2Fmingw32-inkscape.spec;h=0e2a117571fb57e8f153db7e549f90b35407e27e;hb=433074544daf2c2c40f465f1150fe0b354afc69a;hp=f0c0f9def3150b076fc638b2e99cb8d26f3f12d3;hpb=bb9d4eb508562b640fc7fe6ab18cc5183edf189e;p=fedora-mingw.git diff --git a/inkscape/mingw32-inkscape.spec b/inkscape/mingw32-inkscape.spec index f0c0f9d..0e2a117 100644 --- a/inkscape/mingw32-inkscape.spec +++ b/inkscape/mingw32-inkscape.spec @@ -7,9 +7,11 @@ %define __find_requires %{_mingw32_findrequires} %define __find_provides %{_mingw32_findprovides} +%define svnrev 20568 + Name: mingw32-inkscape -Version: 20081027 -Release: 2%{?dist} +Version: 0.47 +Release: 0.1.svn%{svnrev}%{?dist} Summary: MinGW Windows port of Inkscape vector graphics editor License: LGPLv2+ @@ -18,22 +20,26 @@ URL: http://www.inkscape.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -# Checked out of SVN on the date shown and then just rolled up into -# a tarball. -# svn co https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk inkscape -# tar zcf /tmp/inkscape-%{version}.tar.gz inkscape -Source0: inkscape-%{version}.tar.gz +Source0: http://inkscape.modevia.com/svn-snap/inkscape-%{svnrev}.tar.bz2 # Rolled-up source patch, submitted upstream on 2008-10-27. -Patch0: mingw32-inkscape-20081027.patch +#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-filesystem >= 43 BuildRequires: mingw32-gcc BuildRequires: mingw32-gcc-c++ BuildRequires: mingw32-binutils BuildRequires: mingw32-fontconfig +BuildRequires: mingw32-freetype BuildRequires: mingw32-glibmm24 BuildRequires: mingw32-cairomm BuildRequires: mingw32-pangomm @@ -46,7 +52,10 @@ BuildRequires: mingw32-gsl 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 @@ -63,13 +72,16 @@ community-oriented development. %prep -%setup -q -n inkscape -%patch0 -p0 +%setup -q -n inkscape-%{svnrev} +#%patch0 -p0 +%patch1 -p0 +%patch2 -p0 ./autogen.sh %build +PATH=%{_mingw32_bindir}:$PATH \ %{_mingw32_configure} \ --enable-lcms=no \ --without-gnome-vfs @@ -98,5 +110,5 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Mon Oct 27 2008 Richard W.M. Jones - 20081027-2 +* Sun Jan 25 2009 Richard W.M. Jones - 0.47-0.1.svn20568 - Initial RPM release.