<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Sat, 2010-11-06 at 17:29 -0400, linux fan wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Use same xcb module subdirs as git.
Mesa and xkeyboard-config tarballs were not being found.
MesaLib unpacks to Mesa, so sed is required to adjust its SRCDIR.
These tarballs work alternatively in topdir.
Note: The absence of autogen.sh triggers checkfortars() function.
</PRE>
</BLOCKQUOTE>
<BR>
A &quot;Signed-off-by:&quot; line is required with your real name and a valid e-mail address.<BR>
This certifies that you wrote it or otherwise have the right to pass it on as a open-source patch.<BR>
<BR>
The subject line should be [PATCH modular] because [PATCH] is assumed to be a server patch.<BR>
<A HREF="http://www.x.org/wiki/Development/Documentation/SubmittingPatches">http://www.x.org/wiki/Development/Documentation/SubmittingPatches</A><BR>
<BR>
The patch looks otherwise good.<BR>
<BR>
Thanks for making these improvements.<BR>
<BR>
Gaetan
<BLOCKQUOTE TYPE=CITE>
<PRE>
---
 build.sh |   35 ++++++++++++++++++++++++++++++++---
 1 files changed, 32 insertions(+), 3 deletions(-)

diff --git a/build.sh b/build.sh
index 275a1e1..512da80 100755
--- a/build.sh
+++ b/build.sh
@@ -131,11 +131,39 @@ checkfortars() {
             ;;
         &quot;xcb&quot;)
             case $C in
-                &quot;proto&quot;) C=&quot;xcb-proto&quot; ;;
-                &quot;pthread-stubs&quot;) M=&quot;lib&quot;; C=&quot;libpthread-stubs&quot; ;;
-                &quot;util&quot;) C=&quot;xcb-util&quot; ;;
+                &quot;proto&quot;)
+                    M=&quot;xcb/proto&quot;
+                    C=&quot;xcb-proto&quot;
+                    ;;
+                &quot;pthread-stubs&quot;)
+                    M=&quot;xcb/pthread-stubs&quot;
+                    C=&quot;libpthread-stubs&quot;
+                    ;;
+                &quot;libxcb&quot;)
+                    M=&quot;xcb/libxcb&quot;
+                    C=&quot;libxcb&quot;
+                    ;;
+                &quot;util&quot;)
+                    M=&quot;xcb/util&quot;
+                    C=&quot;xcb-util&quot;
+                    ;;
             esac
             ;;
+        &quot;mesa&quot;)
+            case $C in
+                &quot;drm&quot;)
+                    M=&quot;mesa/drm&quot;
+                    C=&quot;libdrm&quot;
+                    ;;
+                &quot;mesa&quot;)
+                    M=&quot;mesa/mesa&quot;
+                    C=&quot;MesaLib&quot;
+                    ;;
+            esac
+            ;;
+        &quot;xkeyboard-config&quot;)
+            C=&quot;xkeyboard-config&quot;
+            ;;
         &quot;xserver&quot;)
             C=&quot;xorg-server&quot;
             ;;
@@ -145,6 +173,7 @@ checkfortars() {
             TARFILE=`ls -1rt $ii/$C-*.tar.$jj 2&gt; /dev/null | tail -n 1`
             if [ X&quot;$TARFILE&quot; != X ]; then
                 SRCDIR=`echo $TARFILE | sed &quot;s,.tar.$jj,,&quot;`
+                SRCDIR=`echo $SRCDIR | sed &quot;s,MesaLib,Mesa,&quot;`
                 if [ ! -d $SRCDIR ]; then
                     TAROPTS=xjf
                     if [ X&quot;$jj&quot; = X&quot;gz&quot; ]; then
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>