gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Header organization of -base & -gui


From: Nicola Pero
Subject: Re: [RFC] Header organization of -base & -gui
Date: Wed, 9 Jul 2003 13:34:16 +0100 (BST)

> >Do we all agree then, and can we start changing things ?
> >
> Almost, one minor detail, the structure of the Headers in the source 
> treee.  Without much thought, I'd simply suggest
> 
> base/Headers/GNUstepBase/
> base/Headers/gnustep/Foundation/
> gui/Headers/GNUstepGUI/
> gui/Headers/gnustep/AppKit/
> 
> with an extra -I../Headers/gnustep when installing -base and -gui, as 
> opposed to -baseadd (and -guiadd once we have it.)
> Changing this would be part of step 3 below.

Ok.  I suppose it doesn't make much of a difference.

An alternative approach is

base/Headers/Foundation
base/Headers/Extra/GNUstepBase

(passing -I../Headers/ -I../Headers/Extra/ when compiling gnustep-base,
and -I../Headers/Extra when compiling gnustep-baseadd only)  I'd prefer
this one because most people will be looking for Foundation headers, and
in this setup Foundation/ is well placed in a top-level position.  In the
other setup it's not very immediate the fact that the Foundation headers
are inside the gnustep/ subdirectory.

But it doesn't make much difference so whatever you choose, as soon as it 
works, it's Ok for me.


> > 2. put headers into Headers/$LIBRARY_COMBO if not flattened
> >
> I'm not sure what you mean.

I mean to modify gnustep-make so that when you install a library, it
installs headeres in there, and so that it adds
-Ixxx/Headers/$LIBRARY_COMBO flags on the command line.  It really means
replacing the Headers directory with Headers/$LIBRARY_COMBO (if a
LIBRARY_COMBO is used).


> Are you talking about a convenience script that relocates the installed
> headers to make them work with the new infrastructure without having to
> reinstall them?

No.  I'm not planning any such script.  One reason is that no header
(except gnustep-base/gui ones, which are going to be installed in the new
place) need to be moved for people using the default settings, and people
not using the default settings and needing library-combos are usually
enough smart/advanced to reinstall everything from scratch, or be able to
copy a directory around. :-)






reply via email to

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