mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 09:00:34 +00:00
658b4b1da8
2000-10-09 Tor Lillqvist <tml@iki.fi> * README.win32: Update. * gdk/win32/gdkgeometry-win32.c (gdk_window_clip_changed): Add two lines that had been deleted by mistake (?). * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Handle also the case fg==white and bg==black (but still not randomly coloured cursors). Thanks to Wolfgang Sourdeau. * gdk/win32/*.c: Silence gcc -Wall. * gtk/gtk.def: Add missing entry points. Fixes by Hans Breuer: * gdk/makefile.msc * gdk/win32/makefile.msc: Update. * gdk/testgdk.c: If compiling with debugging (with _DEBUG defined, some MSVC thing, presumably), cause breakpoint on failures. Add GDK_NOR case. Call g_log_set_always_fatal. * gdk/win32/gdkwin32id.c (gdk_win32_handle_table_insert): Handle should be pased by reference. * gdk/win32/gdkprivate-win32.h: Correct declaration accordingly. * gdk/win32/*.c: Correct calls to gdk_win32_handle_table_insert. * gdk/win32/gdkevents-win32.c * gdk/win32/gdkwindow-win32.c: Handle WM_CREATE. * gdk/win32/gdkgc-win32.c: Fix mixups of drawable and implementation object. * gdk/win32/gdkimage-win32.c (gdk_image_get): Handle drawables, not just windows. * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize): Use the wrapper object.
49 lines
2.4 KiB
Plaintext
49 lines
2.4 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/win32/ or
|
|
http://www.iki.fi/tml/gimp/win32/ .
|
|
|
|
This current (CVS) version of the Win32 backend does *not* necessarily
|
|
even compile properly. A zipfile with an older snapshot (from before
|
|
the merge of the no-flicker branch, and the other recent additions),
|
|
is available from http://www.gimp.org/win32/. That should be used by
|
|
"production" code until this CVS version is useable. (But note, the
|
|
Win32 backend has never been claimed to be "production quality",
|
|
although it works OK for the GIMP.)
|
|
|
|
To build GTk+ on Win32, you need either gcc-2.95 or later, or the
|
|
Microsoft compiler and tools. The mingw setup of gcc is preferred, but
|
|
you can run gcc also under cygwin-b20.1 or later. Compile in
|
|
gdk\win32, gdk and gtk with `make -f makefile.mingw` (gcc) or `nmake
|
|
-f makefile.msc` (MSVC). The name makefile.mingw needs an explanation:
|
|
It refers to the target, not the build environment. As build
|
|
envíronment, only cygwin is tested. GNU Make is definitely needed.
|
|
|
|
See the README.win32 file in the GLib distribution for instructions
|
|
how to build with gcc.
|
|
|
|
To use GTk+ on Win32, you also need either one of the above mentioned
|
|
compilers. Other compilers might work, but don't count on it. The
|
|
same instructions on how to set up a correct version of gcc should
|
|
also be followed if you want to build applications that use GTk+ 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 and remove references to
|
|
the wntab32x library from the makefile before building.
|
|
|
|
GTk+ wants to be built with the GNU "intl" library for
|
|
internationalisation (i18n). Get the version ported to Win32 (not a
|
|
very big deal) from tml's web site mentioned above. We build the
|
|
"intl" library as a DLL called gnu-intl.dll (the "gnu" prefix is used
|
|
to reduce name clash risks). 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 while the GNU gettext package is under the GPL license, the
|
|
"intl" part of it is also distributed as part of the GNU C library
|
|
(glibc) where it is under the LGPL license (as is GTk+ or GLib). We
|
|
want the LGPL licensed version. The code is more or less the same.
|