> Without looking too closely at the fossology build setup, I imagine  
> this would be pretty easy to do inside the RPM itself.  We can create  
> sub-packages for the various modules, and dynamically add the  
> buildrequires on ie. libextractor only when building a module where  
> it's needed.  Will this require changes to the Makefile system that's  
> in place now? Or could I do something like --without-pkgmetagetta/-- 
> with-pkgmetagetta type of argument depending on how I want to build?   

The source tree/build system is setup with each agent in it's own 
directory, to build individual agents you just run make in that dir. If you 
run make in the agents/ dir or the top level dir, all agents are built. One 
other thing to keep in mind is agents have dependencies on each other at 
build time that we need to think about.

We don't have anything like that to turn on/off agents in the top level 
build, which might be useful, but really what we want is the ability to 
have agents be optional at package install time rather than build time. 
Your source rpm would still build everything, they would just go in 
separate packages.

I think it might be useful to have a top level way of saying "don't build 
the agents directory" and then you could individually build them. I will 
think about a way to do that.

> Does this imply that fossology will need a auto-conf type script?

I deliberately avoided autoconf when designing the new build system because 
we didn't need most of what it provides and it overcomplicates things. I 
still think that is the right decision.

> Regardless of how we split the package/modules up, I think it makes  
> sense to get the needed dependencies accepted into some main repos  
> (EPEL in the case of RHEL/CentOS) just for general ease of  
> installation (and build for those who want to build themselves).  I'll  
> take that on for libextractor, which as far as I can tell is the only  
> thing missing for RHEL-5 at this point.

Cool, thanks.

> It's already in Fedora, so  
> it's a non-issue for those wanting to run fossology on Fedora.

Yeah although it seems the majority of people asking for RPMs are on RHEL :(

-- 
Matt Taggart
[email protected]


_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to