Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: loading compressed XPM files
Home

[Freeciv-Dev] Re: loading compressed XPM files

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Benoit Hudson <bh@xxxxxxxxxxxxxxxxxxx>
Cc: rf13@xxxxxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: loading compressed XPM files
From: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Date: Mon, 17 Sep 2001 22:04:04 +0200

Benoit Hudson writes:
 > On Mon, Sep 17, 2001 at 10:16:49AM +0200, Raimar Falke wrote:
 > > So the user is lost if freeciv is shipped with compressed xpms and the
 > > user doesn't have libz?! We have to make libz a prerequisite.
 > 
 > Ship with non-compressed; if --with-zlib is specified, compress.

Don't make the thing so complex. gdk_imlib is quite intelligent. It
can search for the dynamic library which can handle the desired
format. If it does not find one, it tries to use ImageMagick.
You can even convert the stuff to e.g. png. Then you can change the
suffix back to xpm and freeciv will load it 
(if imlib find its libimlib-png.so)
You don't need to touch the source! The only thing you might change
is the list of supported gfx formats in the gtk client.

Greetings
Andreas Kemnade


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