From patchwork Fri Jul 2 15:09:59 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deen Sethanandha X-Patchwork-Id: 57669 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 8AF4A1007E1 for ; Sat, 3 Jul 2010 01:10:24 +1000 (EST) Received: from mail-vw0-f51.google.com (mail-vw0-f51.google.com [209.85.212.51]) by ozlabs.org (Postfix) with ESMTP id C185A1007D4 for ; Sat, 3 Jul 2010 01:10:22 +1000 (EST) Received: by vws9 with SMTP id 9so400432vws.38 for ; Fri, 02 Jul 2010 08:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=IN8MNdU4abLSMr5kKlMaZOOG/cbm902hho0gWZ9dEkM=; b=llhpzZtGBDvEviSx3acZ3XgDEGzXxwvI6Kgkz+mR97irjh8/sfLH6xOAaxiM79XPvG SMRlWCqWlTZx77e0Aw/zIE0LjqTfnDKe0fhj4rZBS3kCbIca+qK9Zru5OGIDLGlm59q8 Cm4X052mnw0VcC6j9DTY2paJqPy1upQ6WrpTk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ebrTJrOAaI2JPPWoAm9hQewYu7/+2uYf6ao6ZaKnzQmCcE3XeIXSAOC7lzQWV8Lngi 25h9Aax8rHQ4rzgSt4YFr3gE1JhdJs1WdS6eV2LEoeP3o6gzSfQyouG9hOYKoK+LNZJk a1B04jVtrEipZQ6mVhPMTUln02IzUnx0bUHm8= Received: by 10.220.76.74 with SMTP id b10mr446841vck.218.1278083419519; Fri, 02 Jul 2010 08:10:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.189.199 with HTTP; Fri, 2 Jul 2010 08:09:59 -0700 (PDT) In-Reply-To: <201007011121.43837.jk@ozlabs.org> References: <201007011121.43837.jk@ozlabs.org> From: Deen Sethanandha Date: Fri, 2 Jul 2010 22:09:59 +0700 Message-ID: Subject: Re: Need help setting up Patchwork To: Jeremy Kerr Cc: patchwork@lists.ozlabs.org, bart@cs.pdx.edu X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Hi Jeremy, Thanks for your reply. I ran patchwork on Virtualbox Ubuntu guest. I don't know why I got the error "unable to execute /srv/patchwork/apps/patchwork/bin/parsemail.sh: No such file or directory". I can execute the parsemail.sh if I boot into Ubuntu. However, when I run it against the email archived it retured "no project found". I notice that that it doesn't contain mailinglist (List-ID) value. Does this mean that the parsemail.sh only work on the mbox format? Does parsemail.sh assume one email per file? I create a file and manually copy mbox text from an email account that I subscribe to a mailing list. Parsemail.sh works on the first email only. Would it be useful if I try to add code so that it support multiple email one file? Without modifying the code how can I process multiple email at once? I saw the parsemail-batch.sh, but it seems to require one email per file because it uses the parsemail.py. Thank you very much Deen ----- Example of a email archived -------- From krh at bitplanet.net Sat May 1 10:31:58 2010 From: krh at bitplanet.net (=?UTF-8?q?Kristian=20H=C3=B8gsberg?=) Date: Sat, 1 May 2010 13:31:58 -0400 Subject: [PATCH 2/4] glxdri2: Hard-code the extension version we need In-Reply-To: <1272735120-10941-1-git-send-email-krh@bitplanet.net> References: <1272735120-10941-1-git-send-email-krh@bitplanet.net> Message-ID: <1272735120-10941-2-git-send-email-krh@bitplanet.net> If we use the #define'd version from dri_interface.h, the server will require at least that version of the extension. If we're compiling against a dri_interface.h with a newer version we don't really require, glxdri2 will require a too high version of the extension. The right approach is to just hard-code the version we need instead of using the #defines. Signed-off-by: Kristian H?gsberg --- glx/glxdri2.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/glx/glxdri2.c b/glx/glxdri2.c index 74d6ebc..c34e29a 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c @@ -653,7 +653,7 @@ initializeExtensions(__GLXDRIscreen *screen) #ifdef __DRI2_FLUSH if (strcmp(extensions[i]->name, __DRI2_FLUSH) == 0 && - extensions[i]->version >= __DRI2_FLUSH_VERSION) { + extensions[i]->version >= 3) { screen->flush = (__DRI2flushExtension *) extensions[i]; } #endif @@ -713,11 +713,11 @@ __glXDRIscreenProbe(ScreenPtr pScreen) for (i = 0; extensions[i]; i++) { if (strcmp(extensions[i]->name, __DRI_CORE) == 0 && - extensions[i]->version >= __DRI_CORE_VERSION) { + extensions[i]->version >= 1) { screen->core = (const __DRIcoreExtension *) extensions[i]; } if (strcmp(extensions[i]->name, __DRI_DRI2) == 0 && - extensions[i]->version >= __DRI_DRI2_VERSION) { + extensions[i]->version >= 1) { screen->dri2 = (const __DRIdri2Extension *) extensions[i]; } }