* README.win32: Mention using GNU gettext. * config.h.win32: Enable NLS stuff. Remove the X11 & Unix vs. Win32 feature test macros, we use those from glibconfig.h and gdkconfig.h. * app/makefile.msc: Use gettext. New object files. * app/batch.c: No need to include <io.h> on Win32. * app/errorconsole.c * app/plug_in.c * app/tile_swap.c: Include <glib.h> early to get Win32 feature test macros from <glibconfig.h>. * app/gimpset.c: Remove unnecessary (?) warning. * app/main.c * libgimp/stdplugins-intl.h: If no LOCALEDIR defined (as on Win32), use the "locale" subdir in gimp_data_directory(). * app/palette.c: Open palette file in text mode. * app/session.c * app/text_tool.c: Use GDK's GDK_WINDOWING feature test macro if available, not WINDOWS_DISPLAY. * libgimp/gimpfeatures.h.win32: Correct GIMP_VERSION. * libgimp/makefile.msc: Use gettext. * plug-ins/makefile.msc: Use gettext. Add some missing plug-ins. Advice how to build "unofficial" plug-ins. * plug-ins/FractalExplorer/FractalExplorer.c * plug-ins/faxg3/faxg3.c * plug-ins/gbr/gbr.c * plug-ins/gz/gz.c: Include <glib.h> early. * plug-ins/tga/tga.c: Include config.h, use HAVE_UNISTD_H.
30 lines
1.3 KiB
Text
30 lines
1.3 KiB
Text
This is an unstable version of the GIMP, intended for developers
|
|
only. Even more so the Win32 port.
|
|
|
|
For more information about the port or GLib, GTk+ and the GIMP to
|
|
native Windows, and pre-built binary packages, see
|
|
http://www.iki.fi/tml/gimp/win32/ or
|
|
http://www.gimp.org/~tml/gimp/win32/
|
|
|
|
To build the GIMP on Win32, you will need (for now) the Microsoft
|
|
compiler. Eventually gcc (egcs) on cygwin will also be supported, but
|
|
without the produced executables depending on the cygwin dll (gcc
|
|
-mno-cygwin).
|
|
|
|
The GIMP wants to be built with the GNU gettext library for
|
|
internationalisation (i18n). Get the version ported to Win32 (not a
|
|
very big deal) from tml's web site mentioned above. If you don't want
|
|
any i18n stuff, undefine ENABLE_NLS in the config.h.win32 file, and
|
|
remove references to the gnu-intl library from the makefiles.
|
|
|
|
First, build in the libgimp directory, then in tools/gcg, then in app,
|
|
plug-ins, and finally in modules. Check the makefile.msc files in said
|
|
directories.
|
|
|
|
The current build setup for Windows is a mess, with complex
|
|
hand-maintained makefiles. I know. Adding parallel makefiles for gcc
|
|
isn't going to make it any better. On the other hand, I don't think
|
|
using the Unix style configuration mechanism (under cygwin) is quite
|
|
feasible, either.
|
|
|
|
--Tor Lillqvist <tml@iki.fi>
|