From c4526d600c9ff7b3281701ddeaaf5f6240649baa Mon Sep 17 00:00:00 2001 From: GMT 2003 Tony Gale Date: Wed, 29 Oct 2003 13:31:21 +0000 Subject: [PATCH] further 2.x updates: mirrors,compiling,g_main_context_iteration Wed Oct 29 13:29:15 GMT 2003 Tony Gale * docs/faq/gtk-faq.sgml: further 2.x updates: mirrors,compiling,g_main_context_iteration --- ChangeLog | 5 ++++ ChangeLog.pre-2-10 | 5 ++++ ChangeLog.pre-2-4 | 5 ++++ ChangeLog.pre-2-6 | 5 ++++ ChangeLog.pre-2-8 | 5 ++++ docs/faq/gtk-faq.sgml | 62 ++++++++++++++++++++++++++----------------- 6 files changed, 63 insertions(+), 24 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7bb4ceb990..ee364d9bc4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 29 13:29:15 GMT 2003 Tony Gale + + * docs/faq/gtk-faq.sgml: further 2.x updates: + mirrors,compiling,g_main_context_iteration + Wed Oct 29 02:54:35 2003 Soeren Sandmann * gtk/gtktoolbar.[ch] (gtk_toolbar_set_drop_highlight_item): Add this diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 7bb4ceb990..ee364d9bc4 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Wed Oct 29 13:29:15 GMT 2003 Tony Gale + + * docs/faq/gtk-faq.sgml: further 2.x updates: + mirrors,compiling,g_main_context_iteration + Wed Oct 29 02:54:35 2003 Soeren Sandmann * gtk/gtktoolbar.[ch] (gtk_toolbar_set_drop_highlight_item): Add this diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 7bb4ceb990..ee364d9bc4 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Wed Oct 29 13:29:15 GMT 2003 Tony Gale + + * docs/faq/gtk-faq.sgml: further 2.x updates: + mirrors,compiling,g_main_context_iteration + Wed Oct 29 02:54:35 2003 Soeren Sandmann * gtk/gtktoolbar.[ch] (gtk_toolbar_set_drop_highlight_item): Add this diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 7bb4ceb990..ee364d9bc4 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Wed Oct 29 13:29:15 GMT 2003 Tony Gale + + * docs/faq/gtk-faq.sgml: further 2.x updates: + mirrors,compiling,g_main_context_iteration + Wed Oct 29 02:54:35 2003 Soeren Sandmann * gtk/gtktoolbar.[ch] (gtk_toolbar_set_drop_highlight_item): Add this diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 7bb4ceb990..ee364d9bc4 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Wed Oct 29 13:29:15 GMT 2003 Tony Gale + + * docs/faq/gtk-faq.sgml: further 2.x updates: + mirrors,compiling,g_main_context_iteration + Wed Oct 29 02:54:35 2003 Soeren Sandmann * gtk/gtktoolbar.[ch] (gtk_toolbar_set_drop_highlight_item): Add this diff --git a/docs/faq/gtk-faq.sgml b/docs/faq/gtk-faq.sgml index 1d71410c45..e35f37e6a5 100644 --- a/docs/faq/gtk-faq.sgml +++ b/docs/faq/gtk-faq.sgml @@ -2,7 +2,7 @@ - October 28th 2003 + October 29th 2003 GTK+ FAQ @@ -368,7 +368,7 @@ them). - + What do I need to compile GTK+? <emphasis>[GTK 2.x]</emphasis> GTK+ is a large package that is dependent on a number of other @@ -445,7 +445,7 @@ GTK+ Site) -Where can I get GTK+? +Where can I get GTK+? <emphasis>[GTK 2.x]</emphasis> The canonical site is ftp://ftp.gtk.org/pub/gtk. @@ -463,30 +463,31 @@ url="ftp://ftp.gtk.org/etc/mirrors">ftp://ftp.gtk.org/etc/mirrors ftp://ftp.is.co.za/applications/gimp + Australia - -ftp://ftp.au.gimp.org/pub/gimp +url="ftp://ftp.planetmirror.com/pub/gimp/gtk"> +ftp://ftp.planetmirror.com/pub/gimp/gtk + Finland - - -ftp://ftp.funet.fi/pub/sci/graphics/packages/gimp + +ftp://ftp.funet.fi/pub/sci/graphics/packages/gimp/gtk + Germany - - -ftp://infosoc.uni-koeln.de/pub/ftp.gimp.org" + +ftp://ftp.gwdg.de/pub/misc/grafik/gimp/gtk + Japan - - -ftp://SunSITE.sut.ac.jp/pub/archives/packages/gimp + +ftp://sunsite.sut.ac.jp/pub/archives/packages/gimp/gtk + UK - - -ftp://ftp.flirble.org/pub/X/gimp - - US - - -ftp://ftp.insync.net/pub/mirrors/ftp.gimp.org + +http://www.mirror.ac.uk/sites/ftp.gimp.org/pub/gtk/ @@ -494,21 +495,34 @@ ftp://ftp.insync.net/pub/mirrors/ftp.gimp.org -How do I configure/compile GTK+? +How do I configure/compile GTK+? <emphasis>[GTK 2.x]</emphasis> -Generally, all you will need to do is issue the commands: +Generally, the minimum you need to do is issue the commands: ./configure -make +make +make install -in the gtk+-version/ directory. +in the GTK+ source directory. + +This generally also holds true for each of the packages that GTK+ +depends upon, listed above. + +There are various options that you can pass to the configure script +in order to change its default settings. The one that you are most likely +to want to use is the --prefix +argument, which defines where the package is to be install, e.g. + + +./configure --prefix=/usr + When compiling GTK+ I get an error like: <literal>make: -file `Makefile' line 456: Syntax error</literal> +file `Makefile' line 456: Syntax error [GTK 2.x] Make sure that you are using GNU make (use make -v @@ -2026,7 +2040,7 @@ do gtk_grab_remove(my_window). Why doesn't my widget (e.g. progressbar) -update? +update? [GTK 2.x] You are probably doing all the changes within a function without returning control to gtk_main(). This may @@ -2037,7 +2051,7 @@ drawing queue to be processed using something like: -while (g_main_iteration(FALSE)); +while (g_main_context_iteration(NULL, FALSE)); inside you're function that changes the widget.