[PATCH] hw/xwin: Look for gl spec files in $(srcdir) or .
Jon TURNEY
jon.turney at dronecode.org.uk
Fri Feb 25 16:19:45 PST 2011
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 <keithp-aN4HjG94KOLQT0dZR+AlfA at public.gmane.org>
Reviewed-by: Jon TURNEY <jon.turney at dronecode.org.uk>
More information about the xorg-devel
mailing list