GNU bug report logs -
#37850
Glib documentation is missing
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi Marius,
you are right, this seems to be a much saner approach.
So I've tried the following:
- add `(properties '((hidden? . #t)) )` to glib.
- Add the following new package definition:
--8<---------------cut here---------------start------------->8---
(define-public glib-with-documentation
(package
(inherit glib)
(properties '((hidden? . #f)))
(outputs (cons "doc" (package-outputs glib))) ; 20 MiB of GTK-Doc reference
(native-inputs
`(("gtk-doc" ,gtk-doc) ; for the doc
,@(package-native-inputs glib)))
(arguments
(substitute-keyword-arguments (package-arguments glib)
((#:configure-flags flags)
`(cons "-Dgtk_doc=true" ,flags))
;; TODO: Fix 1 failing test.
((#:phases phases)
`(modify-phases ,phases
(delete 'check)))))))
--8<---------------cut here---------------end--------------->8---
Sadly the above does not build the doc.
Looking at the source, it seems that no provision is taken for building
the doc with Meson. I wonder if this is an upstream mistake, but my
knowledge of Meson is very limited and I could be wrong.
Any idea, anyone?
--
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 5 years and 177 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.