me
/
guix
Archived
1
0
Fork 0

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
Maxim Cournoyer 2023-04-20 15:45:45 -04:00
parent a2b20f1d37
commit 71b596a928
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 10 additions and 21 deletions

View File

@ -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