I appreciate any comments here and of course on gimpusers.de
Original tutorial: http://www.gimpusers...or-windows.html
Translated tutorial:
-----
People who are interested in the development process of GIMP and maybe even want to participate, need an up-to-date development version and must know how to compile it. This tutorial explains how to do so in a Windows environemnt (it's much easier with Linux, e.g. Ubuntu Linux).
Warning: This is only for guys who like to play around and try something new. There is no official support etc. for these GIMP binaries.
- [*:1jzmc0no]At first, we need an environment which allows us to compile GIMP: [ac=minimalist GNU for Windows]MinGW[/ac]. We download MinGW 5.0.3 (MinGW-5.0.3.exe) from the MinGW download page on Sourceforge.
Then we install MinGW. The important steps after launching the installation file:
1) Download & install
2) Accept license
3) "Current" - download current stable version
4) Install components: "MinGW base tools", "MinGW Make" and "g++ compiler"
5) Path: C:\MinGW (of course you can choose any path, but this tutorial and the script gimp-dep.sh which is mentioned below is tuned for this path)
6) Install
[*:1jzmc0no]Some other tools are required, too. They are contained in [ab=minimal system]MSYS[ab] which is a part of MinGW. To compile MSYS:
1) Download MSYS-1.0.10.exe from the MinGW download page and run it
2) Install, again use the default path: C:\msys\1.0
3) During the installation, a console window will appear and ask some questions:
"Do you wish to continue with the post install?" => "y"
"Do you have MinGW installed?" => "y"
"Where is your MinGW installation?" => "c:/mingw" ("/", not "\"!)
[*:1jzmc0no]To compile GIMP, we also need PERL. At best we use ActiveState PERL; just download und run the most recent Windows installer for ActivePerl.
It is very important that the compile tools including PERL are really working when run from the command line. To test this, run "gcc" and "perl" on the Windows shell. "Command or file not found" means that the PATH variable has to be adjusted:
My Computer/Properties (or [Win]+[Pause]) / Advanced / Environment variables / User variables for ... / New, name: "PATH", value: "c:\mingw;C:\Mingw\bin;C:\mingw\mingw32\bin; c:\msys\1.0\bin;c:\perl\bin"
(Note: I don't have an English Windows version, so I'm not sure about the correct menu names. To see what I mean, have a look at the image to step 3 on the original tutorial.)
To be on the safe side, we also set PKG_CONFIG_PATH: Again create a new variable: name "PKG_CONFIG_PATH", value: "C:\MinGW\lib\pkgconfig" (this will be needed later)
[*:1jzmc0no]Download wget and unzip for Windows.
unzip: Go to http://gnuwin32.sour...kages/unzip.htm, download unzip-5.51-1-bin.zip and extract it directly to c:\mingw (not into a subdirectory).
wget: http://pages.interlo...on/wgetwin.html, download wgetwin-1_5_3_1-binary.zip and extract wget.exe directly into c:\mingw
[*:1jzmc0no]Download the GIMP source code (development version from the FTP, here gimp-2.3.10.tar.bz2) and extract it to C:\gimp. Then the source should be accessible at c:\gimp\gimp-2.3.10
Also copy the script gimp-dep.sh (download: gimp-dep.sh, see right upper box in original tutorial for another download link) and put it into c:\gimp. It is a modified script (orginal version in the GIMP wiki) which downloads and extracts the libraries needed to compile and run GIMP (gtk etc.).
[*:1jzmc0no]Launch MSYS (start menu: MinGW / MSYS / msys). Then change directory to c:\gimp and execute the gimp-dep script:
[t]cd /c/gimp
sh gimp-dep.sh[/t]
The script should download all needed files to c:\temp (this directory must exist and be writeable!) and extract them to C:\MinGW.
Because the script was written by "someone" and I have modified it, it may be possible (although it shouldn't) that some lines must be adjusted/corrected. Basically, it just downloads glib, gtk, their dependencies and a few other needed libraries and extracts them into c:\MinGW.
[*:1jzmc0no]Ready! Now we put our focus on GIMP itself (without Python - if you want, you can install Python like we installed PERL and then don't use --disable-python):
[t]cd /c/gimp/gimp-2.3.10
./configure --disable-print --disable-python
make
make install[/t]
If there are no errors, you have a working Gimp 2.3.10 at this position:
C:\Msys\1.0\local\bin\gimp-2.3.exe
If there is an error with xmlparse.dll or xmltok.dll, download expat.zip and copy the DLLs to c:\mingw\bin.
An other common error is that you have old glib libraries (from previous GIMP installations) on your computer (Windows system folder). This can lead to error messages regrading gobject-2.0-0.dll when starting the GIMP executable. In this case, remove old Gtk version from System control panel/software and/or replace all older gobject-dlls by the version in your new GIMP directory (C:\Msys\1.0\local\bin)
I hope that I didn't let something out. It is possible that you have to change the procedure a bit, e.g. that you have to download and extract an extra file somewhere (you will notice if something is missing ;)). For general, I would recommend to play around with every tutorial step until it basically works. If you ignore an error and skip the step, there is a high possiblity that the other steps won't work, too (you can try, of course).
-----

Help

















