Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2002:
[Freeciv-Dev] Re: GTK-2 client has gtk/gnome1 dependency
Home

[Freeciv-Dev] Re: GTK-2 client has gtk/gnome1 dependency

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Ainsley Pereira <freeciv@xxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: GTK-2 client has gtk/gnome1 dependency
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Sun, 27 Oct 2002 23:16:30 +0000 (WET)

I believe this has been fixed already. Check the new 1.14.0beta-1.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa

On Sun, 27 Oct 2002, Ainsley Pereira wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I just got freeciv 1.13.0, and tried to compile the gtk-2 client. I have my
> gnome-1 and gnome-2 packages installed under different prefixes, so I noticed
> that there's still a #include for gdk_imlib.h in graphics.c, even though no
> gdk_imlib functions are used.
>
> This patch fixes it (the client then compiles and runs happily, no doubt soon
> to eat many hours of my life).
>
> diff -Naur freeciv-1.13.0-orig/client/gui-gtk-2.0/graphics.c
> freeciv-1.13.0/client/gui-gtk-2.0/graphics.c
> - --- freeciv-1.13.0-orig/client/gui-gtk-2.0/graphics.c   2002-06-25
> 09:48:54.000000000 +0100
> +++ freeciv-1.13.0/client/gui-gtk-2.0/graphics.c        2002-10-27
> 12:36:04.000000000 +0000
> @@ -20,7 +20,6 @@
>
>  #include <gtk/gtk.h>
>
> - -#include <gdk_imlib.h>
>  #include "gtkpixcomm.h"
>
>  #include "game.h"
>
> I looked in your LXR and it should still apply to current CVS versions.
>
> ~ainsley
>
> PS. I'm not subscribed to this list.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.0 (GNU/Linux)
>
> iD8DBQE9u+G5F842hMDjAiIRAqp8AJ9EuIkvWs2xCRsFlhz+DEEiXHX0lACfVroY
> TWcAmjNIJYb0aUiC9P3iINI=
> =B74N
> -----END PGP SIGNATURE-----
>
>
>



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: GTK-2 client has gtk/gnome1 dependency, Vasco Alexandre Da Silva Costa <=