mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: libsigc++: Remove patch-docbook-xml phase.
* gnu/packages/glib.scm (libsigc++) [arguments]: Remove patch-docbook-xml phase. Remove trailing #t. Use gexps. [native-inputs]: Remove labels.
This commit is contained in:
parent
3b1f0a7b05
commit
a2b20f1d37
1 changed files with 24 additions and 40 deletions
|
@ -805,51 +805,35 @@ credentials and service-specific settings.")
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
(list #:configure-flags #~(list "-Dbuild-documentation=true")
|
||||||
(list
|
#:phases #~(modify-phases %standard-phases
|
||||||
"-Dbuild-documentation=true")
|
(add-after 'install 'move-doc
|
||||||
#:phases
|
(lambda _
|
||||||
(modify-phases %standard-phases
|
(mkdir-p (string-append #$output:doc "/share"))
|
||||||
(add-after 'unpack 'patch-docbook-xml
|
(rename-file
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(string-append #$output "/share/doc")
|
||||||
(with-directory-excursion "docs"
|
(string-append #$output:doc "/share/doc")))))))
|
||||||
(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))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("docbook-xml" ,docbook-xml-4.1.2)
|
(list docbook-xml-4.1.2
|
||||||
("docbook-xsl" ,docbook-xsl)
|
docbook-xsl
|
||||||
("dot" ,graphviz)
|
graphviz
|
||||||
("doxygen" ,doxygen)
|
doxygen
|
||||||
("m4" ,m4)
|
m4
|
||||||
("mm-common" ,mm-common)
|
mm-common
|
||||||
("perl" ,perl)
|
perl
|
||||||
("pkg-config" ,pkg-config)
|
pkg-config
|
||||||
("xmllint" ,libxml2)
|
libxml2
|
||||||
("xsltproc" ,libxslt)))
|
libxslt))
|
||||||
(inputs
|
(inputs (list boost))
|
||||||
(list boost))
|
|
||||||
(home-page "https://libsigcplusplus.github.io/libsigcplusplus/")
|
(home-page "https://libsigcplusplus.github.io/libsigcplusplus/")
|
||||||
(synopsis "Type-safe callback system for standard C++")
|
(synopsis "Type-safe callback system for standard C++")
|
||||||
(description
|
(description
|
||||||
"Libsigc++ implements a type-safe callback system for standard C++. It
|
"Libsigc++ implements a type-safe callback system for standard C++. It
|
||||||
allows you to define signals and to connect those signals to any callback
|
allows you to define signals and to connect those signals to any callback
|
||||||
function, either global or a member function, regardless of whether it is
|
function, either global or a member function, regardless of whether it is
|
||||||
static or virtual.
|
static or virtual. It also contains adaptor classes for connection of
|
||||||
|
dissimilar callbacks and has an ease of use unmatched by other C++ callback
|
||||||
It also contains adaptor classes for connection of dissimilar callbacks and
|
libraries.")
|
||||||
has an ease of use unmatched by other C++ callback libraries.")
|
|
||||||
(license license:lgpl3+)))
|
(license license:lgpl3+)))
|
||||||
|
|
||||||
(define-public libsigc++-2
|
(define-public libsigc++-2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue