From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] Update glade. Date: Fri, 15 Jan 2016 22:28:14 +0100 Message-ID: <87d1t2353l.fsf@elephly.net> References: <87lh7s3247.fsf@elephly.net> <87fuxyegbi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKBv0-0000MG-Lq for guix-devel@gnu.org; Fri, 15 Jan 2016 16:28:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKBuz-00070V-M1 for guix-devel@gnu.org; Fri, 15 Jan 2016 16:28:26 -0500 In-reply-to: <87fuxyegbi.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 =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel Ludovic Courtès writes: > Ricardo Wurmus skribis: > >> This makes it possible to build “gnunet-gtk” with the latest version of >> GTK+. I chose to disable the three tests, because they require an X >> server with libGL support for software rendering. I couldn’t get this >> to work even after adding “xorg-server” and “mesa”, and starting Xvfb >> before tests. > > OK. > >> From 48a7ac38ee0f5554c844a503d5ed232a5816eb07 Mon Sep 17 00:00:00 2001 >> From: Ricardo Wurmus >> Date: Thu, 14 Jan 2016 11:03:49 +0100 >> Subject: [PATCH] gnu: glade: Update to 3.18.5. >> >> * gnu/packages/gnome.scm (glade): Update to 3.18.5. >> [arguments]: Disable tests; add "fix-docbook" phase. >> [inputs]: Replace "gtk+-2" with "gtk+". >> [native-inputs]: Add "itstool", "libxslt", "docbook-xml", "docbook-xsl"; >> replace "python" with "python-2". > > [...] > >> + (add-before 'configure 'fix-docbook >> + (lambda* (#:key inputs #:allow-other-keys) >> + (substitute* "man/Makefile.in" >> + (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl") >> + (string-append (assoc-ref inputs "docbook-xsl") >> + "/xml/xsl/docbook-xsl-" >> + ,(package-version docbook-xsl) >> + "/manpages/docbook.xsl"))) >> + (setenv "XML_CATALOG_FILES" >> + (string-append (assoc-ref inputs "docbook-xml") >> + "/xml/dtd/docbook/catalog.xml")) > > I’m surprised that this is needed: since libxml2 is an input, and since > libxml2 defines XML_CATALOG_FILES as its search path, XML_CATALOG_FILES > should automatically be set, no? Oh, you are right. I just rebuilt it without that setenv part and it does work fine. I’ll push with that change. Thanks for the review! ~~ Ricardo