[Gtkradiant] Fw: [gimpwin-dev] New GLib and GTK developer packages
Timothee Besset
gtkradiant@zerowing.idsoftware.com
Mon, 29 Oct 2001 15:48:38 +0100
It looks like Tor has built new Gtk SDK packages for win32. It may be time
to do some syncing with his work, by trying out his new packages against
our code, and checking wether the fixes we've been applying are in their
source.
TTimo
Begin forwarded message:
Date: Sun, 28 Oct 2001 04:33:05 +0200 (FLE Standard Time)
From: Tor Lillqvist <tml@iki.fi>
To: gimpwin-dev@yahoogroups.com
Subject: [gimpwin-dev] New GLib and GTK developer packages
Look in http://www.gimp.org/win32/new-downloads.html .
Please try those out, and tell me what problems there might be, if
anything is missing, etc.
There are zipfiles for GLib 1.3.10, libintl, libiconv, and GTK (the
same old 1.3.0 version, more or less).
>From the above page:
<P>If you are just a GIMP user, go away. These packages are for people
who develop software that use GLib and/or GTK. The files included in
these zip archives are not compatible with, or drop-in replacements
for, the stuff used in the GIMP for Windows from December
2000. Eventually there will be a new release of GIMP 1.2.x for Windows
that does use new versions of GLib and GTK, but not yet.</P>
<P>These are developer packages. They include auxiliary executables, DLLs
(although those could really be in "runtime" packages, but I haven't
done that yet), import libraries, headers, pkg-config files, and
documentation.</P>
<P>For everything to work as smoothly as possibly, unzip the files
below (or just those you need) into some directory of your
choice. Let's call that directory <i>top</i>. The add
<i>top</i><tt>\bin</tt> and <i>top</i><tt>\lib</tt> to your PATH. Then
you can use the pkg-config command in your makefiles like this:
<pre>
GLIB_CFLAGS=`pkg-config --cflags glib-2.0`
GLIB_LIBS=`pkg-config --libs glib-2.0`
...
foobar.exe : $(FOOBAR_OBJS)
$(CC) -o $@ $(FOOBAR_OBJS) $(GLIB_LIBS)
</pre>
Etc. Hopefully, you get the idea. That obviously only works with GNU
Make and a shell that understands backquotes.</P>
<P>If you are a MSVC user, and use nmake, it's a bit more complicated
(surprise). nmake (or the shell it uses) doesn't support
backquotes. You must run pkg-config manually with the switch
<tt>--msvc-syntax</tt>, and paste its output into your nmake
makefile.</P>
<P>pkg-config is a replacement for the glib-config and gtk-config
scripts that previously were used (on Unix, no such scripts were
included in my port.).</P>
--tml
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Pinpoint the right security solution for your company- Learn how to add 128- bit encryption and to authenticate your web site with VeriSign's FREE guide!
http://us.click.yahoo.com/yQix2C/33_CAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->
To Post a message, send it to: gimpwin-dev@eGroups.com
To Unsubscribe, send a blank message to: gimpwin-dev-unsubscribe@eGroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/