From owner-freebsd-gnome@FreeBSD.ORG Sat Oct 24 20:03:11 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 073C010656A5 for ; Sat, 24 Oct 2009 20:03:11 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.freebsd.org (Postfix) with ESMTP id B44188FC19 for ; Sat, 24 Oct 2009 20:03:10 +0000 (UTC) Received: from 153.78.171.66.subscriber.vzavenue.net (HELO homobox.opal.com) ([66.171.78.153]) by smtp.vzavenue.net with ESMTP; 24 Oct 2009 16:03:08 -0400 X-REPUTATION: None X-REMOTE-IP: 66.171.78.153 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArwEAFP64kpCq06Z/2dsb2JhbACBUNNthD8Egl0 X-IronPort-AV: i="4.44,617,1249272000"; d="scan'208"; a="209220557:sNHT18516843" Received: from opal.com (localhost [IPv6:::1]) (authenticated bits=0) by homobox.opal.com (8.14.3/8.14.3) with ESMTP id n9OK37ae079895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Oct 2009 16:03:07 -0400 (EDT) (envelope-from fbsd@opal.com) Received: from shibato.opal.com ([2001:5c0:1100:f103:221:63ff:fe5a:c9a7] helo=shibato.opal.com) with IPv6:587 by opal.com; 24 Oct 2009 16:03:07 -0400 Date: Sat, 24 Oct 2009 16:03:07 -0400 From: "J.R. Oldroyd" To: Joe Marcus Clarke Message-ID: <20091024160307.106e1fcc@shibato.opal.com> In-Reply-To: <1256366142.54447.188.camel@shumai.marcuscom.com> References: <20091022212532.23a0b972@shibato.opal.com> <1256270523.54447.113.camel@shumai.marcuscom.com> <20091023013730.6300fd64@shibato.opal.com> <1256276672.54447.130.camel@shumai.marcuscom.com> <20091023141921.7aaecf23@shibato.opal.com> <1256366142.54447.188.camel@shumai.marcuscom.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; amd64-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-gnome@freebsd.org Subject: Re: hal truncating block.device on freebsd-8.0rc1 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Oct 2009 20:03:11 -0000 On Sat, 24 Oct 2009 02:35:42 -0400, Joe Marcus Clarke wrote: > > > > I have a simple patch to the conftxt parser that looks for LABEL > > lines and appends fields until the "i" field is in the right > > place. This fixes things for this camera. > > > Thanks. I believe this will work given that the format of conftxt looks > to be consistent across 6.X, 7.X, 8.X, and 9.X. I've modified the patch > some for safety and style, and added it to hal-0.5.13 which will be > committed with GNOME 2.28 when 8.0 is released. > > Joe > You're welcome. Your earlier note about parsing confxml would probably be the correct, long-term solution. This solution will not properly handle names with multiple spaces or with tabs - the parser will eliminate those and leave just single spaces. But I don't have time to write an xml parser! And I think this solution is an improvement over not having it at all. I suspect devices that use multiple spaces or tabs are rare. Don't forget to update the documentation at that URL you sent me too. -jr