On 25 Feb, 2010, at 12:20 PM, Alexander Hansen wrote:

> On 2/25/10 2:38 PM, David Lowe wrote:
>> Greetings,
>> 
>>      FreeCiv 2.2.0 did build successfully on my system.  This is still a 
>> work in progress [DescUsage at least is outdated, and i think the 
>> dependencies should be freshened], so i won't burden the list with my info 
>> file yet.  However, i will be glad to share it with anybody who wants to see 
>> it in the meanwhile.
>> 
>>      The package file as currently written only configures the client for 
>> the Gtk+ GUI.  There is an optional SDL interface, and i would like to also 
>> experiment with that.  How should i handle that in the context of the info 
>> file: is the preferred method to make separate files like 'freeciv-gtk' and 
>> 'freeciv-sdl'?  I ask this question now as i think the answer to this 
>> dictates the dependencies i will be looking into.
>> 
>> <snip>
> 
> Interesting.  The existing freeciv uses both sdl and gtk+2.  Does it not
> build the SDL interface?  If that's the case, then I'd recommend leaving
> "freeciv" as the name of the GTK-interfaced package, and "freeciv-sdl"
> as the name of the SDL-interfaced one, in the interest of an easy
> upgrade path.

        Well, i'm inexperienced enough to not be totally sure whereof i speak, 
but i don't believe the 2.0.5 package actually uses SDL at all.  In fact, the 
second ConfigureParam disables any configuration of the SDL portion, so no SDL 
client gets built.  I speculate that the various SDL dependencies are not 
actually needed, and are merely leftovers from a previous attempt to build such 
a client.  The SDL client is not yet as fully developed as the GTK client, and 
was problematic in earlier versions.

> How to structure the packaging is up to you.  You may find it easier to
> do them as separate Variants within a single .info file, particularly if
> the build stuff for the GTK and SDL versions come out to be mostly the same.

        My thinking was that A) most users will only need one or the other 
client; and B) separating them will reduce the dependency burden upon the user. 
 In my eye, the 34 dependencies as given are excessive - my reading of the 
install text in the tarball shows only 10 of these as being truly needed for a 
GTK build.  Possibly some of them were needed in the 1.x versions, and weren't 
pruned out for the 2.0 update.  Obviously i need to tread carefully here, as 
i'm not totally familiar with handling dependencies.  Anyway, i'm currently 
leaning towards having 'freeciv' with a 'freeciv-sdl' splitoff.  However, i'm 
still open to input at this point.  Could you please name an existing info file 
that could serve as a good model for using Variants?

Sent from my MacBookPro

A bird in the hand is safer than one overhead
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to