[PATCH modular] Remove "lib only" option from build.sh.

Gaetan Nadon memsize at videotron.ca
Thu Nov 25 17:29:19 PST 2010


On Wed, 2010-11-24 at 22:13 -0500, zt.tmzt at gmail.com wrote:

> While I only recently discovered the -l option to build.sh, I find it
> immensly helpful in building a set of protos and libraries for various
> architectures/processors in a build root.

This is good to know. The goal was not remove this feature, but to
provide a more flexible way. Read on.

>   The alternative is near
> verbose a setup as building and installing every library and proto
> from git manually, which is what I was doing prior to discovering this
> option.

Can you give us your opinion on this:

        $ util/modular/build.sh -L > modlist.txt
        
        [edit modlist.txt: either delete lines or comment them out with a hash '#']
        $ util/modular/build.sh $PREFIX --modfile modlist.txt 


Reference:
http://wiki.x.org/wiki/ModularDevelopersGuide#BestPractices

This recent addition was meant exactly for your scenario. Even better,
you are not bound by what
build.sh thinks is the right set of modules for you. There would be
nothing wrong with keeping
the -l in parallel with this more flexible feature. We were concerned
that "too many options"
would be detrimental. We need user's input on that.


> 
> On a more general note, this makes it more difficult for someone to
> begin working with the X codebase, as they may be focused on a single
> driver or the xserver/DDXs themselves, building able to install all of
> the prerequesites in one go is of great utility.

That's why we are actively maintaining build.sh

> 
> My use case:
> 
> I am building X for an arm processor, including all of the libraries
> it requires in a static configuration in a tree under /opt
> 
> 
> --
> tmzt
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101125/722defa0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101125/722defa0/attachment.pgp>


More information about the xorg-devel mailing list