On 25/02/2011 18:58, Keith Packard wrote: > Tarballs include the downloaded gl spec files, which will end up in > $(srcdir). But, git-based builds will not have them at all and will > need to download them from opengl.org. They'll land in in the build > directory instead of $(srcdir), and so we need to allow them to be in > either place. > > This change checks for the files in $(srcdir), linking them to . if > present. Otherwise, it downloads them from opengl.org. > > A suggested better solution is to have Mesa install these files somewhere.
If I recall and understood correctly, mesa doesn't contain the Khronos group .spec/.tm files, but the equivalent data in some XML format. I hope I didn't imagine that, as not only would this solve the problem at hand, but I think would also be a better solution as (i) my comedy python code which parses those files could be replaced by using an XML parser, and (ii) the spec would come from a versioned source. Anyhow, I fully accept this is less than ideal as it stands, and I'll try to come up with something better for the future, as time permits. > Signed-off-by: Keith Packard <[email protected]> Reviewed-by: Jon TURNEY <[email protected]> _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
