From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 5/6] gnu: Enable gnome-doc-utils tests Date: Wed, 16 Jul 2014 11:23:12 +0200 Message-ID: <87mwc9irnj.fsf@gnu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X7LQn-0000HH-Sz for guix-devel@gnu.org; Wed, 16 Jul 2014 05:23:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X7LQg-00051d-O3 for guix-devel@gnu.org; Wed, 16 Jul 2014 05:23:21 -0400 In-Reply-To: <20140715214338.GB16482@jocasta.intra> (John Darrington's message of "Tue, 15 Jul 2014 23:43:38 +0200") 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: John Darrington Cc: guix-devel@gnu.org, John Darrington 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 $PA= TH-like > variables that list directories, not files. > > That occurred to me too. But what problems does it actually cause? That we can=E2=80=99t use it for $XML_CATALOG_FILES. > So I see two solutions: >=20=20=20=20=20=20 > 1. Patch libxml2 so that it honors a new variable, say > $XML_CATALOG_DIRECTORIES, which would allow us to use > ???search-path-specification???. >=20=20=20=20=20=20 > 2. Augment support for search paths to allow file-based search pat= hs. >=20=20=20=20=20=20 > (2) may be best in the long run, but it has ramifications in differe= nt > places. >=20=20=20=20=20=20 > > (1) seems like a good idea only if upstream can be persuaded to adopt it. Which is unlikely, given that it=E2=80=99s redundant with $XML_CATALOG_FILE= S. > What are the ramifications of (2) ? There are changes in the build tools, for instance =E2=80=98search-path-as-= list=E2=80=99 (used by =E2=80=98set-path-environment-variable=E2=80=99, used in gnu-build= -system.scm) expects directories, not files. And all this calls things =E2=80=98directories=E2=80=99. This is a change we could schedule for the next core-updates. WDYT? Ludo=E2=80=99.