From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: bug#37850: Glib documentation is missing Date: Mon, 11 Nov 2019 10:29:03 +0100 Message-ID: <87woc6kbhc.fsf@ambrevar.xyz> References: <87pniq9y2e.fsf@ambrevar.xyz> <8736fjwcd2.fsf@devup.no> <87wocvwbmy.fsf@ambrevar.xyz> <87pnikldtt.fsf@gnu.org> <87v9sbj2ru.fsf@ambrevar.xyz> <87h83ret3a.fsf@ambrevar.xyz> <87k18gncbn.fsf@ambrevar.xyz> <8736f4ok77.fsf@devup.no> <87ftj4m0s0.fsf@ambrevar.xyz> <8736ewmyc1.fsf@devup.no> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41499) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iU61L-00034q-K1 for bug-guix@gnu.org; Mon, 11 Nov 2019 04:30:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iU61K-0007VE-DX for bug-guix@gnu.org; Mon, 11 Nov 2019 04:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44302) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iU61K-0007UU-9h for bug-guix@gnu.org; Mon, 11 Nov 2019 04:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iU61K-00079y-4h for bug-guix@gnu.org; Mon, 11 Nov 2019 04:30:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8736ewmyc1.fsf@devup.no> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Marius Bakke , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 37850@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Marius, you are right, this seems to be a much saner approach. So I've tried the following: =2D add `(properties '((hidden? . #t)) )` to glib. =2D Add the following new package definition: =2D-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 refer= ence (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=3Dtrue" ,flags)) ;; TODO: Fix 1 failing test. ((#:phases phases) `(modify-phases ,phases (delete 'check))))))) =2D-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? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3JKd8ACgkQm9z0l6S7 zH+Nswf/RBWIDmet/Vm5KukfiL6Rwn4WF4ga4gWi+1C06sPBrehU0PHTkj+rP6Ex OYsuBAk1oeAldJ1a/s2dqWyvlf4gpHj0mc8XpMEO6Dr1C1CnWLb7McsQidlfzpqJ XUTbIULsyj5rTDHQ06GcDEbWRT5lp42dw0/96AgN/1GnAmp8/2+qJynWrC3R52Zv LN6ExRkGOhNpgYt8CRRRQLIGeRpPK/UTHYa94SSlL2TIxuF+tI3MoHwV+hCOD9aK wm2KxvG2Rd9Py+YYYhltH0WQz+I7nFfiQOFdwXwZxI15HcZAieUMaQj2BFpGqy0C /pOU6gHMNdEkDfdW87GLM4S3vX4bZQ== =u+h8 -----END PGP SIGNATURE----- --=-=-=--