From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: How to package gnucash-docs Date: Thu, 07 Sep 2017 10:33:57 +0200 Message-ID: <87d172zz4a.fsf@gnu.org> References: <87lglsds6s.fsf@gmail.com> 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]:37468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpsGC-0001n0-1J for guix-devel@gnu.org; Thu, 07 Sep 2017 04:34:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpsG8-0003FO-QG for guix-devel@gnu.org; Thu, 07 Sep 2017 04:34:04 -0400 In-Reply-To: <87lglsds6s.fsf@gmail.com> (Chris Marusich's message of "Wed, 06 Sep 2017 03:42:19 -0700") 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" To: Chris Marusich Cc: guix-devel@gnu.org Hello! Chris Marusich skribis: > First, "make check" fails because xmllint tries to look up a DTD on the > Internet when validating the XML for dozens of documents. Usually it=E2=80=99s a matter of defining XML_CATALOG_FILES (which happens automatically if libxml2 is an input), or something similar. If you grep gnu/packages/*.scm, you=E2=80=99ll find instances of this that either = add libxml2 as an input, or modify the XML DTD URL to refer to the local DTD. > Second, I'm not sure if gnucash-docs should exist as a separate package > in Guix. I feel like it would be nicer if I could just add this as a > "doc" output of the gnucash package. How can I accomplish that? If upstream makes it a separate package, I think it=E2=80=99s OK to make it= a separate package too. Now, if you really want to make it a single package, it=E2=80=99s also poss= ible, by simply adding extra phases in =E2=80=98gnucash=E2=80=99 to build the doc. HTH! Ludo=E2=80=99.