* [gentoo-soc] Ebuild generator week 11 update
@ 2011-07-31 20:21 Sebastian Parborg
0 siblings, 0 replies; only message in thread
From: Sebastian Parborg @ 2011-07-31 20:21 UTC (permalink / raw
To: gentoo-soc
This week I got quite close to generating an ebuild for a autotools project.
Right now I can get all sources that will be compiled, possible
useflags and sources that gets pulled in by those useflags.
I did however run into a problem where I noticed that I don't respect
include flags "-I".
The problem is that I grab all sources that I need to scan from the
whole project then scan all of the files. This does not work that good
when you have a lot of "local" include flags in different automake
files.
So I'll have to rewrite that portion of the program so that I can
separate includes that uses files from the project and includes that
uses stuff from outside the project.
Besides that I also need to solve the problem where I can know all the
include paths because of pkg-config and other programs/scripts that
generates compile flags with "-I" in them.
If there is more than one matching package that provides the header
file I'll have to guess. I can also have it try to guess the correct
dep by trying to see if the package contains the useflag name if the
header file is pulled in by a useflag.
If this fails I think I'll just warn the user that all required
dependencies might not be pulled in by the ebuild and list which
failed.
Sadly I am now behind schedule. These last two weeks I should have
been working on bugfixing and cleaning up code.
But now that I've become unstuck I think I'll have at least something
useful by the GSoC deadline.
I would also like to thank everyone that helped me/gave me ideas when
I was stuck!
Even if I didn't use the ideas/solutions it helped me tremendously in
getting unstuck.
Thanks all of you! :)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-31 20:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-31 20:21 [gentoo-soc] Ebuild generator week 11 update Sebastian Parborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox