guix-commits
[Top][All Lists]
Advanced

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

05/08: gnu: gdk-pixbuf: Use search path instead of patching docbook sche


From: guix-commits
Subject: 05/08: gnu: gdk-pixbuf: Use search path instead of patching docbook schema location.
Date: Wed, 27 Jul 2022 12:24:00 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit e220ad684f4fee5b0f9839d35603129d58791455
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jul 25 03:13:55 2022 +0200

    gnu: gdk-pixbuf: Use search path instead of patching docbook schema 
location.
    
    * gnu/packages/gtk.scm (gdk-pixbuf)[arguments]: Remove phase patch-docbook.
    [native-inputs]: Add LIBXML2.
---
 gnu/packages/gtk.scm | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index d24738564c..53353dfab1 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -644,20 +644,6 @@ highlighting and other features typical of a source code 
editor.")
        #:configure-flags '("-Dinstalled_tests=false")
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'patch-docbook
-           (lambda* (#:key native-inputs inputs #:allow-other-keys)
-             (with-directory-excursion "docs"
-               (substitute* "meson.build"
-                 (("http://docbook.sourceforge.net/release/xsl/current/";)
-                  (string-append (assoc-ref (or native-inputs inputs)
-                                            "docbook-xsl")
-                                 "/xml/xsl/docbook-xsl-1.79.2/")))
-               (substitute* (find-files "." "\\.xml$")
-                 (("http://www.oasis-open.org/docbook/xml/4\\.3/";)
-                  (string-append (assoc-ref ,(if (%current-target-system)
-                                                 '(or native-inputs inputs)
-                                                 'inputs) "docbook-xml")
-                                 "/xml/dtd/docbook/"))))))
          (add-before 'configure 'disable-failing-tests
            (lambda _
              (substitute* "tests/meson.build"
@@ -688,6 +674,7 @@ highlighting and other features typical of a source code 
editor.")
        ("gettext" ,gettext-minimal)
        ("glib" ,glib "bin")                             ; glib-mkenums, etc.
        ("gobject-introspection" ,gobject-introspection) ; g-ir-compiler, etc.
+       ("libxml2" ,libxml2)             ;for XML_CATALOG_FILES
        ("perl" ,perl)
        ("pkg-config" ,pkg-config)
        ("xsltproc" ,libxslt)))



reply via email to

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