Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2001:
[Freeciv-Dev] Re: PATCH: Allowing PNGs under GTK

[Freeciv-Dev] Re: PATCH: Allowing PNGs under GTK

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: PATCH: Allowing PNGs under GTK
From: "Baumans" <baumans@xxxxxxxxxxxxx>
Date: Tue, 13 Mar 2001 15:38:43 -0500

----- Original Message -----
From: "Andreas Kemnade" <akemnade@xxxxxxxxxxx>
To: "Baumans" <baumans@xxxxxxxxxxxxx>
Cc: <freeciv-dev@xxxxxxxxxxx>
Sent: Tuesday, March 13, 2001 1:45 PM
Subject: [Freeciv-Dev] PATCH: Allowing PNGs under GTK

> Baumans writes:
>  > This patch enables the ability to use pngs for the gtk client.
>  > enough, the code to check if the system had libpng was longer (by about
>  > times) than the code to actually enable its use.  This is still
somewhat of
>  > a hack. Next: PNG support for every other client.
>  >
> You cannot rely on being able to link against -lpng if png is
> supported. AFAIK we don't need to add -lpng because gdk_imlib handles
> it. Just add the png format in client/gui-gtk/graphics.c should be
> enough. (And perhaps runtime checks).

I wasn't really sure about that, as I haven't seen too many examples of
imlib code. I don't see many tutorials about imlib. shows in its example to
use -lpng.
> Greetings
> Andreas Kemnade

[Prev in Thread] Current Thread [Next in Thread]