gnu: libical: Use local docbook-xml package.
* gnu/packages/calendar.scm (libical)[native-inputs]: Add docbook-xml-4.3. [arguments]: Add phase to substitute docbook location.
This commit is contained in:
parent
de3c03a471
commit
17e88168c3
1 changed files with 10 additions and 1 deletions
|
@ -37,6 +37,7 @@
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
#:use-module (gnu packages check)
|
#:use-module (gnu packages check)
|
||||||
#:use-module (gnu packages dav)
|
#:use-module (gnu packages dav)
|
||||||
|
#:use-module (gnu packages docbook)
|
||||||
#:use-module (gnu packages freedesktop)
|
#:use-module (gnu packages freedesktop)
|
||||||
#:use-module (gnu packages glib)
|
#:use-module (gnu packages glib)
|
||||||
#:use-module (gnu packages gnome)
|
#:use-module (gnu packages gnome)
|
||||||
|
@ -131,6 +132,13 @@ the <tz.h> library for handling time zones and leap seconds.")
|
||||||
"-DICAL_GLIB_VAPI=true")
|
"-DICAL_GLIB_VAPI=true")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-docbook-reference
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "doc/reference/libical-glib/libical-glib-docs.sgml.in"
|
||||||
|
(("http://www.oasis-open.org/docbook/xml/4.3/")
|
||||||
|
(string-append (assoc-ref inputs "docbook-xml")
|
||||||
|
"/xml/dtd/docbook/")))
|
||||||
|
#t))
|
||||||
(add-before 'configure 'patch-paths
|
(add-before 'configure 'patch-paths
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; TODO: libical 3.1.0 supports using TZDIR instead of a hard-coded
|
;; TODO: libical 3.1.0 supports using TZDIR instead of a hard-coded
|
||||||
|
@ -145,7 +153,8 @@ the <tz.h> library for handling time zones and leap seconds.")
|
||||||
(("\\\"/usr/share/lib/zoneinfo\\\"") "")))
|
(("\\\"/usr/share/lib/zoneinfo\\\"") "")))
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gobject-introspection" ,gobject-introspection)
|
`(("docbook-xml" ,docbook-xml-4.3)
|
||||||
|
("gobject-introspection" ,gobject-introspection)
|
||||||
("gtk-doc" ,gtk-doc)
|
("gtk-doc" ,gtk-doc)
|
||||||
("perl" ,perl)
|
("perl" ,perl)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
|
|
Reference in a new issue