Comment 116 for bug 179988

Revision history for this message
Rygle (rygle) wrote :

Adrian:

This is a simplified version of http://wiki.inkscape.org/wiki/index.php/Win32Port - I've now started using Tortoise, which is much easier.

*Get Mingw and Devlibs*
I'm using the stuff from Ishmal's site;

- Download http://inkscape.modevia.com/win32libs/mingw-4.2.1-071022-dw2.7z and put the contents in c:\mingw - Just to save confusion the folders directly inside are bin, include, lib, libexec, mingw32, share.
- Download http://inkscape.modevia.com/win32libs/devlibs-2.12-080313.7z and put the contents in c:\devlibs - same story, bin, etc directly inside

*Get source*
I'm using TortoiseSVN - http://tortoisesvn.net/downloads - you can use that or download a source snapshot from Ishmal here;
http://inkscape.modevia.com/svn-snap/?C=M;O=D

*Using Tortoise*
Once Tortoise is installed, just make a working folder wherever you want, and do the following;
In explorer, right click and select TortoiseSVN -> Make repository here
Now make another folder in the working folder called 0.46branch or whatever, and go inside that
Right click and select SVN Checkout, then the URL for the version you want, probably https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/branches/RELEASE_0_46_BRANCH/

*Patching*
To patch with Tortoise, simply put the patch inside the src directory, then right click it and select TortoiseSVN -> Apply Patch
When the patch dialogue comes up, it should list the modules to be patched on the left, and you can select to patch all, patch one, or view diffs on any module

To patch using GNU patch command, follow the instructions here;
http://wiki.inkscape.org/wiki/index.php?title=Win32Port&action=edit&section=5

*Building*
Once you've got source, follow the instructions here - you should find them very easy
http://wiki.inkscape.org/wiki/index.php/Win32Port#Building_The_Binary

Steps are;
- set env variables - from shell type mingwenv (enter)
- build btool - ...> g++ buildtool.cpp -o btool
- run btool and sit back for about 60-70 minutes on my PC