guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Update glade.


From: Ludovic Courtès
Subject: Re: [PATCH] Update glade.
Date: Fri, 15 Jan 2016 21:30:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ricardo Wurmus <address@hidden> 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 <address@hidden>
> 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?

Otherwise LGTM, thanks!

I agree with Efraim that switching to GTK+ 3.x is good idea.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]