From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: [PATCH 5/6] gnu: Enable gnome-doc-utils tests Date: Wed, 16 Jul 2014 12:08:54 +0200 Message-ID: <20140716100854.GB21262@jocasta.intra> References: <1405449096-29230-1-git-send-email-jmd@gnu.org> <1405449096-29230-5-git-send-email-jmd@gnu.org> <87r41ml4nu.fsf@gnu.org> <20140715214338.GB16482@jocasta.intra> <87mwc9irnj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7M9A-0003MN-DU for guix-devel@gnu.org; Wed, 16 Jul 2014 06:09:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7M96-0003kN-7D for guix-devel@gnu.org; Wed, 16 Jul 2014 06:09:12 -0400 Content-Disposition: inline In-Reply-To: <87mwc9irnj.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic Court??s Cc: guix-devel@gnu.org, John Darrington On Wed, Jul 16, 2014 at 11:23:12AM +0200, Ludovic Court??s wrote: John Darrington skribis: > On Tue, Jul 15, 2014 at 10:59:17PM +0200, Ludovic Court??s wrote: [...] > The problem is that ???search-path-specification??? is meant for $PATH-like > variables that list directories, not files. > > That occurred to me too. But what problems does it actually cause? That we can???t use it for $XML_CATALOG_FILES. > So I see two solutions: > > 1. Patch libxml2 so that it honors a new variable, say > $XML_CATALOG_DIRECTORIES, which would allow us to use > ???search-path-specification???. > > 2. Augment support for search paths to allow file-based search paths. > > (2) may be best in the long run, but it has ramifications in different > places. > > > (1) seems like a good idea only if upstream can be persuaded to adopt it. Which is unlikely, given that it???s redundant with $XML_CATALOG_FILES. > What are the ramifications of (2) ? There are changes in the build tools, for instance ???search-path-as-list??? (used by ???set-path-environment-variable???, used in gnu-build-system.scm) expects directories, not files. And all this calls things ???directories???. This is a change we could schedule for the next core-updates. This sounds like it is the most sensible solution. J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key.