guix-commits
[Top][All Lists]
Advanced

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

13/44: gnu: memphis: Remove patch-docbook-xml phase.


From: guix-commits
Subject: 13/44: gnu: memphis: Remove patch-docbook-xml phase.
Date: Fri, 21 Apr 2023 00:48:23 -0400 (EDT)

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

commit f07cf9807fd464de0efe071a5ea193672baa369b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Apr 20 15:37:48 2023 -0400

    gnu: memphis: Remove patch-docbook-xml phase.
    
    * gnu/packages/geo.scm (memphis) [arguments]: Remove patch-docbook-xml 
phase.
    [native-inputs]: Remove labels.  Add libxml2.
---
 gnu/packages/geo.scm | 51 +++++++++++++++++++--------------------------------
 1 file changed, 19 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 62edd829b7..0d5fa64cd9 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -19,7 +19,7 @@
 ;;; Copyright © 2021 Clément Lassieur <clement@lassieur.org>
 ;;; Copyright © 2021, 2022 Nikolay Korotkiy <sikmir@disroot.org>
 ;;; Copyright © 2022 Roman Scherer <roman.scherer@burningswell.com>
-;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -245,44 +245,31 @@ than 600 operators available.")
     (outputs '("out" "doc"))
     (arguments
      `(#:configure-flags
-       (list
-        "--disable-static"
-        "--enable-gtk-doc"
-        "--enable-vala"
-        (string-append "--with-html-dir="
-                       (assoc-ref %outputs "doc")
-                       "/share/gtk-doc/html"))
+       (list "--disable-static"
+             "--enable-gtk-doc"
+             "--enable-vala"
+             (string-append "--with-html-dir=" #$output "/share/gtk-doc/html"))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-autogen
            (lambda _
              (substitute* "autogen.sh"
                (("\\./configure \"\\$@\"")
-                ""))
-             #t))
-         (add-after 'patch-autogen 'patch-docbook-xml
-           (lambda* (#:key inputs #:allow-other-keys)
-             (with-directory-excursion "docs/reference"
-               (substitute* "libmemphis-docs.sgml"
-                 (("http://www.oasis-open.org/docbook/xml/4.3/";)
-                  (string-append (assoc-ref inputs "docbook-xml")
-                                 "/xml/dtd/docbook/"))))
-             #t)))))
+                "")))))))
     (native-inputs
-     `(("autoconf" ,autoconf)
-       ("automake" ,automake)
-       ("docbook-xml" ,docbook-xml-4.3)
-       ("gobject-introspection" ,gobject-introspection)
-       ("gtk-doc" ,gtk-doc/stable)
-       ("libtool" ,libtool)
-       ("pkg-config" ,pkg-config)
-       ("python" ,python-wrapper)
-       ("seed" ,seed)
-       ("vala" ,vala)))
-    (inputs
-     (list expat glib))
-    (propagated-inputs
-     (list cairo))
+     (list autoconf
+           automake
+           docbook-xml-4.3
+           gobject-introspection
+           gtk-doc/stable
+           libtool
+           libxml2                      ;for XML_CATALOG_FILES
+           pkg-config
+           python-wrapper
+           seed
+           vala))
+    (inputs (list expat glib))
+    (propagated-inputs (list cairo))
     (synopsis "Map-rendering for OpenSteetMap")
     (description "Memphis is a map-rendering application and a library for
 OpenStreetMap written in C using eXpat, Cairo and GLib.")



reply via email to

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