gnu: libsigc++-2: Remove patch-docbook-xml phase.
* gnu/packages/glib.scm (libsigc++-2) [arguments]: Remove patch-docbook-xml phase. Remove trailing #t. Use gexps.master
parent
a2b20f1d37
commit
71b596a928
|
@ -836,8 +836,8 @@ dissimilar callbacks and has an ease of use unmatched by other C++ callback
|
|||
libraries.")
|
||||
(license license:lgpl3+)))
|
||||
|
||||
(define-public libsigc++-2
|
||||
(package
|
||||
(define-public libsigc++-2
|
||||
(package
|
||||
(inherit libsigc++)
|
||||
(name "libsigc++")
|
||||
(version "2.9.3")
|
||||
|
@ -852,25 +852,14 @@ libraries.")
|
|||
(base32 "0zq963d0sss82q62fdfjs7l9iwbdch51albck18cb631ml0v7y8b"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-docbook-xml
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(with-directory-excursion "docs"
|
||||
(substitute* (find-files "." "\\.xml$")
|
||||
(("http://www.oasis-open.org/docbook/xml/4\\.1\\.2/")
|
||||
(string-append (assoc-ref inputs "docbook-xml")
|
||||
"/xml/dtd/docbook/"))))
|
||||
#t))
|
||||
(add-after 'install 'move-doc
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(doc (assoc-ref outputs "doc")))
|
||||
(mkdir-p (string-append doc "/share"))
|
||||
(rename-file
|
||||
(string-append out "/share/doc")
|
||||
(string-append doc "/share/doc"))
|
||||
#t))))))))
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'move-doc
|
||||
(lambda _
|
||||
(mkdir-p (string-append #$output:doc "/share"))
|
||||
(rename-file
|
||||
(string-append #$output "/share/doc")
|
||||
(string-append #$output:doc "/share/doc")))))))))
|
||||
|
||||
(define glibmm
|
||||
(package
|
||||
|
|
Reference in New Issue