Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-05 05:32:17 +08:00
|
|
|
This is an unstable version of the GIMP, intended for developers
|
|
|
|
only. Even more so the Win32 port.
|
1999-03-08 00:24:44 +08:00
|
|
|
|
|
|
|
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/
|
|
|
|
|
1999-07-03 10:27:32 +08:00
|
|
|
To build the GIMP on Win32, you can use either the Microsoft compiler
|
Update gcc instructions. Remove warning about gettext being GPL, as the
* README.win32: Update gcc instructions. Remove warning about
gettext being GPL, as the GIMP is GPL, too, of course, and it
thus doesn't matter.
* user_install.bat: Rename the template user gtkrc to gtkrc_user,
to reduce user confusion.
* app/main.c: Small change for gcc on Win32 compilation.
* */makefile.cygwin
* app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32,
no need to have differently named DLLs (including modules) for
(built by) gcc and MSVC.
* app/module_db.c: Use g_strdup_printf() instead of
strlen(), g_malloc() and g_snprintf()
* libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32,
the suitable gimpfeatures.h is built when making the dist.
* libgimp/gimpfeatures.h.win32: Removed.
* libgimp/makefile.cygwin
* libgimp/makefile.msc: Remove gimpfeatures.h.win32.
* libgimp/gimp.h: Win32 startup code changed a bit.
* plug-ins/makefile.cygwin
* plug-ins/makefile.msc: Add the winsnap unofficial plug-in.
* plug-ins/common/animationplay.c
* plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting
clashing declarations because these guys include gdkx.h (which
includes windows.h), and gimp.h also declares WinMain on its own.
1999-07-22 03:52:20 +08:00
|
|
|
or gcc without the produced executables depending on the cygwin dll
|
|
|
|
(gcc -mno-cygwin). For more information about the preparation
|
|
|
|
necessary for building with gcc, what version you want and where to
|
|
|
|
get it, etc, read README.win32 in the GLib 1.3 distribution.
|
1999-03-08 00:24:44 +08:00
|
|
|
|
1999-08-16 12:59:48 +08:00
|
|
|
The GIMP wants to be built with the GNU "intl" library for
|
1999-06-15 06:18:02 +08:00
|
|
|
internationalisation (i18n). Get the version ported to Win32 (not a
|
1999-08-16 12:59:48 +08:00
|
|
|
very big deal) from tml's web site mentioned above. We build the
|
|
|
|
"intl" library to a DLL called gnu-intl.dll to reduce name clash
|
|
|
|
risks. 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.
|
|
|
|
|
|
|
|
Note that while the GNU gettext package is under the GPL, the "intl"
|
|
|
|
library part as distributed with GNU libc is under the LGPL (like GTk+
|
|
|
|
or GLib). We want the LGPL one, even if they are the same, more or
|
|
|
|
less. It doesn't matter much for the GIMP which itself is under the
|
|
|
|
GPL, but does a bit for GTk+, which is under the LGPL.
|
1999-06-15 06:18:02 +08:00
|
|
|
|
1999-03-08 00:24:44 +08:00
|
|
|
First, build in the libgimp directory, then in tools/gcg, then in app,
|
1999-07-03 10:27:32 +08:00
|
|
|
plug-ins, and finally in modules. Check the makefile.msc or
|
|
|
|
makefile.cygwin files in said directories.
|
1999-03-08 00:24:44 +08:00
|
|
|
|
Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-05 05:32:17 +08:00
|
|
|
The current build setup for Windows is a mess, with complex
|
1999-05-29 09:28:24 +08:00
|
|
|
hand-maintained makefiles. I know. Adding parallel makefiles for gcc
|
1999-07-03 10:27:32 +08:00
|
|
|
didn't make it any cleaner. On the other hand, I don't think using the
|
|
|
|
Unix style configuration mechanism (under cygwin) is quite feasible,
|
|
|
|
either.
|
Win32 portability changes:
* config.h.win32, README.win32: Small changes.
* tools/pdbgen/pdb/*.pdb: Include <string.h>.
* app/*_cmds.c: Autogenerated files reflect above changes.
* libgimp/makefile.msc app/makefile.msc: Various updates,
including new object files. Gtk+ directory now should be called
gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
now should be called just glib.
* libgimp/gimp.def: Updates.
* libgimp/gimpfeatures.h.win32: Made current with
gimpfeatures.h.in.
* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
necessary.
* tools/pdbgen/pdb/fileops.pdb: Must have a
statement (even an empty one) after a label.
* app/fileops_cmds.c: Autogenerated file reflects above changes.
* app/crop.c: Include <string.h>.
* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
runtime, even if we might be compiling with gcc.)
* app/fileops.c: Don't include <process.h> here.
* app/fileops.h: Do include <process.h> here.
* app/gimpparasite.c: Include config.h, guard inclusion of
<unistd.h>. (Is the inclusion of unistd.h in source files all over
the place really necessary?)
* app/ink.c: MSC doesn't handle conversion from unsigned __int64
to double, so cast to signed.
* app/lut_funcs.c: Include config.h, and define rint() if necessary.
* app/pixel_processor.c: Include config.h without "..", like in
all the other places. Include <string.h>
* app/text_tool.c: Guard the "POINTS" identifier that clashes with
<windows.h>, sigh.
1999-05-05 05:32:17 +08:00
|
|
|
|
1999-03-08 00:24:44 +08:00
|
|
|
--Tor Lillqvist <tml@iki.fi>
|