forked from AuroraMiddleware/gtk
51046a9fbf
* README.win32 * config.h.win32: Add HAVE_WINTAB. Undefine it if bulding without the Wintab SDK. * gdk/win32/gdkinput.c: Hack some more. Still doesn't quite work OK, but getting closer. Guard against bogus tilt data from Wacom ArtPad II with the 3.40 driver. Add ifdefs for HAVE_WINTAB to enable easier building without Wintab. * gdk/win32/gdkinput.h * gdk/win32/gdkevents.c * gdk/win32/gdkwindow.c: Minor changes related related to above. * gdk/win32/gdkvisual.c: Simplify a lot, remove leftovers from X11 code. As we have just one visual on Win32, no sense to have it in a table, and no need for the hash table.
30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
The Win32 port of GTk+ is a work in progress, and not as stable or
|
|
correct as the Unix/X11 version. For more information about the Win32
|
|
port, see http://www.gimp.org/tml/gimp/win32/ or
|
|
http://www.iki.fi/tml/gimp/win32/ .
|
|
|
|
To build GTk+ on Win32, you need either Microsoft compiler and tools,
|
|
or gcc-2.95 or later running under cygwin-b20.1. Compile in gdk\win32
|
|
and gtk with `nmake -f makefile.msc` or `make -f
|
|
makefile.cygwin`. Before doing a install, check the BIN definition in
|
|
gdk\win32\makefile.msc (or makefile.cygwin) and gtk\makefile.msc (or
|
|
makefile.cygwin).
|
|
|
|
See the README.win32 file in the GLib distribution for instructions
|
|
how to build with gcc.
|
|
|
|
The tablet support uses the Wintab API. The Wintab development kit can
|
|
be downloaded from http://www.pointing.com. If you don't care for
|
|
that, undefine HAVE_WINTAB in config.h.win32 before building.
|
|
|
|
GTk+ 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, HAVE_GETTEXT and HAVE_LIBINTL in
|
|
the config.h.win32 file, and remove references to the gnu-intl library
|
|
from the makefiles.
|
|
|
|
Note that GNU gettext is under the GPL, not the LGPL like GTk+ or
|
|
GLib. So, if GPL is a problem to you, follow the above advice to
|
|
remove the use of gettext.
|