From unknown Fri Jun 20 07:15:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#37850 <37850@debbugs.gnu.org> To: bug#37850 <37850@debbugs.gnu.org> Subject: Status: Glib documentation is missing Reply-To: bug#37850 <37850@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:15:27 +0000 retitle 37850 Glib documentation is missing reassign 37850 guix submitter 37850 Pierre Neidhardt severity 37850 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 21 06:45:42 2019 Received: (at submit) by debbugs.gnu.org; 21 Oct 2019 10:45:42 +0000 Received: from localhost ([127.0.0.1]:55783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMVC2-00064A-2S for submit@debbugs.gnu.org; Mon, 21 Oct 2019 06:45:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:55856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMVBx-000640-7O for submit@debbugs.gnu.org; Mon, 21 Oct 2019 06:45:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44546) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMVBv-0001iC-W0 for bug-guix@gnu.org; Mon, 21 Oct 2019 06:45:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMVBu-0006Za-Bl for bug-guix@gnu.org; Mon, 21 Oct 2019 06:45:35 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:35691) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iMVBu-0006Yq-5A for bug-guix@gnu.org; Mon, 21 Oct 2019 06:45:34 -0400 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 5F54D24000F; Mon, 21 Oct 2019 10:45:30 +0000 (UTC) From: Pierre Neidhardt To: bug-guix@gnu.org Subject: Glib documentation is missing Date: Mon, 21 Oct 2019 12:45:29 +0200 Message-ID: <87pniq9y2e.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.193 X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Ricardo Wurmus X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Since the last core-update merge, glib 2.58.1+ does not include the documentation anymore (it was in the "doc" output). Documentation for Glib/GTK-based libraries is very useful for developers: it allows offline and contextual access from any text editor. This is why it would be nice to include it back. Commit 6c237a2d7bfa3c7be02c069e5c24a2b401a51864 (June 21st) states =2D-8<---------------cut here---------------start------------->8--- [outputs]: Remove "doc" as the documentation files are no longer included. =2D-8<---------------cut here---------------end--------------->8--- However looking at the source of Glib I cannot find trace of this in the NEWS file nor in the INSTALL.in file. Disclaimer: I haven't tried building glib. Maybe we miss a compilation flag? What do you think? Ricardo? Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2tjEkACgkQm9z0l6S7 zH+gNQf/WyThZvGKaZsSOcfDmr+sKDvpIciJeoI2WLcRpkl4bW6j15Q1gYWD7r21 D5itKLuzbwxn7AAsbOcNnyNSTJtB4oo0p+wfHo4zGnYzWGJApxYIRXsWtNkNAiLf o2ZpxtLwsI8GIaUVbXB4WTi2/ndgHjC/WgdGtao53MFVpLZFyzbbzMs+B1FVWzG6 tw64i0YUNqtzqhWRgr8ZA2ODl9hNWc4gbFHIRl2QUVkT0GaOk844EmVe6+Y/4tSd PVrxW9Q5NSKqyIKbRxbcXs7cvFXgU0KN1KAVWHXCXkNYhLQN9Ayg52wb+53qHCmR tF4X9lLZH6QJX/58cli4N5Z2P4cvpw== =NaQk -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 23 14:22:44 2019 Received: (at 37850) by debbugs.gnu.org; 23 Oct 2019 18:22:44 +0000 Received: from localhost ([127.0.0.1]:35001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNLHP-0000gs-OR for submit@debbugs.gnu.org; Wed, 23 Oct 2019 14:22:44 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:33003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNLHN-0000gV-5v for 37850@debbugs.gnu.org; Wed, 23 Oct 2019 14:22:41 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C9ACD20CBC; Wed, 23 Oct 2019 14:22:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 23 Oct 2019 14:22:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=o/4MAztQ65KauGtJnXJ5gk1MgZ QmvjtFruQhTmlG700=; b=U+ZzZJmb8yO4BHOyMhD6JnOKVVsz6a5yhntejynRsp mo92tjgjVSR47l5q2gtuUUa/304zycDiDL7N5Yb+4yl5S8BYLP8/U3stDnisjsc+ ukPIxO9Fx+rsBokvNbgUN4bX7aLi+ltErQeEQl0Htqrb8nSb0PkUjD6t1xRHXzaR t1C2Zl+7oj4IOVr1wSJTN1bkf0SUqlEfu5IOfDjRmwWQb9oA0pRIlei7bvqN3w3y GabJtgvES7ypuM8yA2iusSKq2qsCwcHHRB5DwF68zZOndKWAnBzEkEaLsoUg9cpo Cr+xOtktL2Qjbw5vuJBLF9LMihRw9fSJUZ5Mwu4T6jWw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=o/4MAz tQ65KauGtJnXJ5gk1MgZQmvjtFruQhTmlG700=; b=Oeq2Ot8pWoCGIDFnd7PX+P c2ECj4oqJCEBWHpVPBIcNPVpOI6Ke9A2LWzIhVQJH+J+I3GEl8SX+SYu18k/LMJo l70z8Dp3QaKQnwYsTqSsB4O5MHVLejGYgYjELVHV+3K3kt8Ag2g7gSqzpufUlMfG mFyH+hIVb7O2/wF1ESeriTqHLKiPTYr2ns6/VwrGlTsAwl6AdxppwgShGYeMRgVm DBsuFVv2b8HIbvCwdCJu/Hp0RhBjPRkw+U0LMeHYiV43l6dIOZPLyj8UI1nvRL8l qaBa9XPBbgeJRt8qbvkOiC+v1HNXnxf+q2bLryO9f1CEyH9b+2yffRYTaK//BeSQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrkeelgdduvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdludejmdenucfjughrpefhvf fujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgv uceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecuffhomhgrihhnpehgnhhomh gvrdhorhhgnecukfhppeeivddrudeirdduledvrdduhedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuih iivgeptd X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 4F44DD6005B; Wed, 23 Oct 2019 14:22:35 -0400 (EDT) From: Marius Bakke To: Pierre Neidhardt , 37850@debbugs.gnu.org Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <87pniq9y2e.fsf@ambrevar.xyz> References: <87pniq9y2e.fsf@ambrevar.xyz> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) Date: Wed, 23 Oct 2019 20:22:33 +0200 Message-ID: <8736fjwcd2.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37850 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Pierre Neidhardt writes: > Since the last core-update merge, glib 2.58.1+ does not include the > documentation anymore (it was in the "doc" output). > > Documentation for Glib/GTK-based libraries is very useful for > developers: it allows offline and contextual access from any text > editor. > > This is why it would be nice to include it back. > > Commit 6c237a2d7bfa3c7be02c069e5c24a2b401a51864 (June 21st) states > > --8<---------------cut here---------------start------------->8--- > [outputs]: Remove "doc" as the documentation files are no longer included. > --8<---------------cut here---------------end--------------->8--- > > However looking at the source of Glib I cannot find trace of this in the > NEWS file nor in the INSTALL.in file. Disclaimer: I haven't tried > building glib. > > Maybe we miss a compilation flag? Installing the GLib documentation now requires 'gtk-doc' at build time: https://gitlab.gnome.org/GNOME/glib/blob/master/meson_options.txt 'gtk-doc' unsurprisingly depends on GLib, so I'm not sure what the best approach is. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2wmmkACgkQoqBt8qM6 VPoxpggA1djnGNf3X48JToNrRlGUP/pFPn9KboUTrfRizxxy2YxIGlKGI8q+Sp2P 4jll5S6ygS6+/QyHMYRbNsbCfnJSjPQsn86+KE7a74J+umBuN/v1IzAXBunl5lpL DpaYxr8D5ZbHAfT3/8ZGcjhuOxSBAtU/680weTdgdZlXRXat2tDaxkWVWND86SVq TfNj7u0c9ClfFFn8wEPRD8NcJipTJJHPrUJammUPPW1HL2xV1D3CxOOhIWSZuTmZ 9FQQ8+KtfJz9XifMxVijE2kqBKHzsEs0XNBbd8LUMyQ5sfPb5usYVUTZlkk6Eogg 6AfP9bu+TLMNZw27oVeyNtD0rWhNxg== =a4wM -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 23 14:38:18 2019 Received: (at 37850) by debbugs.gnu.org; 23 Oct 2019 18:38:18 +0000 Received: from localhost ([127.0.0.1]:35009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNLWU-000166-8c for submit@debbugs.gnu.org; Wed, 23 Oct 2019 14:38:18 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:50697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNLWS-00015w-A8 for 37850@debbugs.gnu.org; Wed, 23 Oct 2019 14:38:16 -0400 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 18B99240002; Wed, 23 Oct 2019 18:38:13 +0000 (UTC) From: Pierre Neidhardt To: Marius Bakke , 37850@debbugs.gnu.org Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <8736fjwcd2.fsf@devup.no> References: <87pniq9y2e.fsf@ambrevar.xyz> <8736fjwcd2.fsf@devup.no> Date: Wed, 23 Oct 2019 20:38:13 +0200 Message-ID: <87wocvwbmy.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37850 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > Installing the GLib documentation now requires 'gtk-doc' at build time: > > https://gitlab.gnome.org/GNOME/glib/blob/master/meson_options.txt Thanks for looking into this! > 'gtk-doc' unsurprisingly depends on GLib, so I'm not sure what the best > approach is. What about the following: 1. Turn our current glib into glib-minimal. 2. Build gtk-doc against glib-minimal. 3. Define a new glib package that inherits from glib-minimal and adds gtk-doc as native-inputs so that we can restore the "doc" output. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2wnhUACgkQm9z0l6S7 zH8aOgf/XTmxGdGDs34gOFDdodBhrouYwKug3B/IDNlZ/GxotIaBK5FGv+aP8Vxs 8L5fz9vJaWU1HiiPsYeja7B34XPP4jF6J7slfcUt3Hzlf30WR4TogPOSsh5MCbRb /XyGARiWYMB9SDvctX3iwmCLQVsMkxpfu8SaEINnrD+Qemo8sphXNfSJ5dtCD/SN bAH2S/fp0nBQh1hRmPUjs6lKciderxdYK2eHjY5l9K4WaiHyN4w6s6NDF3o9Gp49 2hEkDl2sjfZnkabopo1PRxF33y8ydt3ZlkjCAGLZ4lbHIGEgyHhwYz+BpbAdx2/5 fUU1fFVa0QoMZAE5SXev6ukUk4WcDQ== =0uzt -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 25 17:23:23 2019 Received: (at 37850) by debbugs.gnu.org; 25 Oct 2019 21:23:23 +0000 Received: from localhost ([127.0.0.1]:39482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iO73L-0002ug-Ir for submit@debbugs.gnu.org; Fri, 25 Oct 2019 17:23:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iO73F-0002uO-Ob for 37850@debbugs.gnu.org; Fri, 25 Oct 2019 17:23:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iO73A-0002Ne-Dq; Fri, 25 Oct 2019 17:23:12 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46780 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iO73A-00013y-0g; Fri, 25 Oct 2019 17:23:12 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Pierre Neidhardt Subject: Re: bug#37850: Glib documentation is missing References: <87pniq9y2e.fsf@ambrevar.xyz> <8736fjwcd2.fsf@devup.no> <87wocvwbmy.fsf@ambrevar.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 Brumaire an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 25 Oct 2019 23:23:10 +0200 In-Reply-To: <87wocvwbmy.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Wed, 23 Oct 2019 20:38:13 +0200") Message-ID: <87pnikldtt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37850 Cc: Marius Bakke , 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Pierre Neidhardt skribis: > Marius Bakke writes: [...] >> 'gtk-doc' unsurprisingly depends on GLib, so I'm not sure what the best >> approach is. > > What about the following: > > 1. Turn our current glib into glib-minimal. > > 2. Build gtk-doc against glib-minimal. > > 3. Define a new glib package that inherits from glib-minimal and adds > gtk-doc as native-inputs so that we can restore the "doc" output. Alternately, we could define a new =E2=80=9Cglib-doc=E2=80=9D package that = would depend on the current =E2=80=9Cglib=E2=80=9D package, assuming the build system al= lows us to build nothing but documentation. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 26 05:04:59 2019 Received: (at 37850) by debbugs.gnu.org; 26 Oct 2019 09:04:59 +0000 Received: from localhost ([127.0.0.1]:39684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOI0J-0005Qw-Hl for submit@debbugs.gnu.org; Sat, 26 Oct 2019 05:04:59 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:43713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOI0G-0005Qm-IC for 37850@debbugs.gnu.org; Sat, 26 Oct 2019 05:04:58 -0400 X-Originating-IP: 92.169.151.76 Received: from mimimi (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 75DE61BF205; Sat, 26 Oct 2019 09:04:53 +0000 (UTC) From: Pierre Neidhardt To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <87pnikldtt.fsf@gnu.org> References: <87pniq9y2e.fsf@ambrevar.xyz> <8736fjwcd2.fsf@devup.no> <87wocvwbmy.fsf@ambrevar.xyz> <87pnikldtt.fsf@gnu.org> Date: Sat, 26 Oct 2019 11:04:53 +0200 Message-ID: <87v9sbj2ru.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37850 Cc: Marius Bakke , 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Alternately, we could define a new =E2=80=9Cglib-doc=E2=80=9D package tha= t would depend > on the current =E2=80=9Cglib=E2=80=9D package, assuming the build system = allows us to > build nothing but documentation. Some possible drawbacks: =2D It's not consistent with the other Glib/GNOME libraries like gtk+ or webkitgtk which have a "doc" output. =2D Previously we had glib:doc and no measure can be taken to let the user know that it's now "glib-doc". So I would got for the glib-minimal route. This bring me to another problem: "glib:doc" was not deprecated, so users who installed "glib:doc" cannot update their manifests / profiles after a guix pull. Can we actually deprecate single outputs? If not, isn't it a bug? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl20DDUACgkQm9z0l6S7 zH8r8gf+KbyFIKiUVX0xDYn56UVGqyUR8s1h8V3GfS//vNzrxkS/lSyaWdTHeaVp Oah/GHoGQp2lvROzFOFJm7AZhqOuyR4QaUdS5mFDrvOCh363ZLEGEYak/g8rw76r 79rNylydT8HdkggIhXaqoixNbWgHD6OmWlDEp4nXV9ujDu4L16Qh/rzGu/nbAVfl 9LInaxZApj54rethAW0gXoPs9B/o5pAFpZnvX3elvz5Cw/jZUzI83nBq6U4D618n azyY682ZVg1gSO231rGVqVxnZUUBH1K6FBT+SiqVsBNXx0uSC+qAD+dqTwZtzAED 8AS1KJvl4KVvN73idqJ5N5QI2mPyEA== =RxzE -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 29 06:37:27 2019 Received: (at 37850) by debbugs.gnu.org; 29 Oct 2019 10:37:27 +0000 Received: from localhost ([127.0.0.1]:46927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPOsR-0002rC-7S for submit@debbugs.gnu.org; Tue, 29 Oct 2019 06:37:27 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:49333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPOrk-0002q1-Oj for 37850@debbugs.gnu.org; Tue, 29 Oct 2019 06:37:25 -0400 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 8DCCE1C001A; Tue, 29 Oct 2019 10:36:42 +0000 (UTC) From: Pierre Neidhardt To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <87v9sbj2ru.fsf@ambrevar.xyz> References: <87pniq9y2e.fsf@ambrevar.xyz> <8736fjwcd2.fsf@devup.no> <87wocvwbmy.fsf@ambrevar.xyz> <87pnikldtt.fsf@gnu.org> <87v9sbj2ru.fsf@ambrevar.xyz> Date: Tue, 29 Oct 2019 11:36:41 +0100 Message-ID: <87h83ret3a.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37850 Cc: Marius Bakke , 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I can send a patch for Glib. =2D-8<---------------cut here---------------start------------->8--- > guix refresh -l glib Building the following 1645 packages would ensure 4428 dependent packages a= re rebuilt: a =2D-8<---------------cut here---------------end--------------->8--- I guess this is going to core-updates. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl24FjkACgkQm9z0l6S7 zH9CCwf/ZdObEwtMTRt1mDMb7uv+T89b/rhTU4lVPSqF/fox1pxWWnbp7Ikh1RZk ++Q9bxXwtuJ84cf+1oqamDDtsJCx65A9VQejeKf1vcqyB6BeEGb0C9f+pNr85QgD ruMQN3h25Vt4JfF5j2m+FYWXTefkhVOe1dMwbqOjhiSgBCT9oojR2ZoE/YF+zOE1 HJZEhCVCxpEiopBgV2MXvBFY5zkHxA2zYRWwue+Uugc/3bULG970E4io9jloaqDI gU8zIxRzurcp06QDeBro37/yggbnhCqqhjzQTu6C4hX1H8msF+cv4zsmp4pEATtF vqM49h2KJE7XubFE0jHw+t8j/4YLrg== =k1kh -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 03 11:40:05 2019 Received: (at 37850) by debbugs.gnu.org; 3 Nov 2019 16:40:05 +0000 Received: from localhost ([127.0.0.1]:34943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRIv5-0001f7-SZ for submit@debbugs.gnu.org; Sun, 03 Nov 2019 11:40:05 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:49047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRIv0-0001eF-GM for 37850@debbugs.gnu.org; Sun, 03 Nov 2019 11:40:00 -0500 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 8F2D41C0008; Sun, 3 Nov 2019 16:39:56 +0000 (UTC) From: Pierre Neidhardt To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <87h83ret3a.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> Date: Sun, 03 Nov 2019 17:39:56 +0100 Message-ID: <87k18gncbn.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37850 Cc: Marius Bakke , 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Find a patch attached. What do you think? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2/AtwACgkQm9z0l6S7 zH85dggAriYhCIZQHgFnHyOviFiJ6nHVos8f0LbfGT4MompA81Rm7bh+d3ncXxjd BLOzziUXioiPwhN78qk7nZIcyBSx/fM4nkjR8pvJTvNoiVCwJlnwOM9iutvOvs22 TaH01H7fYYmgvSC5DS6xiuNuIHEnjyAJBPzmOnIM0xBpntHxXBSez02laQdJKwnY gJmzGGn88spq/6u3Tp+GGxsc3lpiq9mBXFT5FK1ZTOibkTNlEXhbSwqX2mF7/6bg ekOrKD5GsjOcKP/G6JDXniiw3s9QviGiVAQA3/n0OUQ74vHNr0pkz1EETNrl31fz ML6Iso/3u0BzyrJDV7mpwzUXIuL0iQ== =5pJa -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-glib-minimal-and-build-glib-doc.patch >From 893613a3b99c20688cc331d2926dbee28cc143d7 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Sun, 3 Nov 2019 17:36:17 +0100 Subject: [PATCH] gnu: Add glib-minimal and build glib doc. glib documentation must be built with gtk-doc which in turn depends on glib, so we need to define glib-minimal which does not depend on gtk-doc. * gnu/packages/glib.scm (glib-minimal): New variable. (glib)[source]: Don't use `name'. * gnu/packages/avahi.scm: Use glib-minimal when necessary. * gnu/packages/cups.scm: Use glib-minimal when necessary. * gnu/packages/gnome.scm: Use glib-minimal when necessary. * gnu/packages/graphviz.scm: Use glib-minimal when necessary. * gnu/packages/gtk.scm: Use glib-minimal when necessary. * gnu/packages/inkscape.scm: Use glib-minimal when necessary. * gnu/packages/pdf.scm: Use glib-minimal when necessary. --- gnu/packages/avahi.scm | 4 ++-- gnu/packages/cups.scm | 4 ++-- gnu/packages/glib.scm | 35 ++++++++++++++++++++++++++--------- gnu/packages/gnome.scm | 16 ++++++++-------- gnu/packages/graphviz.scm | 2 +- gnu/packages/gtk.scm | 22 +++++++++++----------- gnu/packages/inkscape.scm | 2 +- gnu/packages/pdf.scm | 4 ++-- 8 files changed, 53 insertions(+), 36 deletions(-) diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm index e84fed6a71..0b577ca990 100644 --- a/gnu/packages/avahi.scm +++ b/gnu/packages/avahi.scm @@ -59,14 +59,14 @@ "--enable-compat-libdns_sd"))) (inputs `(("expat" ,expat) - ("glib" ,glib) + ("glib" ,glib-minimal) ("dbus" ,dbus) ("gdbm" ,gdbm) ("libcap" ,libcap) ;to enable chroot support in avahi-daemon ("libdaemon" ,libdaemon))) (native-inputs `(("intltool" ,intltool) - ("glib" ,glib "bin") + ("glib" ,glib-minimal "bin") ("pkg-config" ,pkg-config))) (synopsis "Implementation of mDNS/DNS-SD protocols") (description diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index 694ed6b039..8a1fe66073 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -147,7 +147,7 @@ out "/lib/cups/filter"))) #t)))))) (native-inputs - `(("glib" ,glib "bin") ; for gdbus-codegen + `(("glib" ,glib-minimal "bin") ; for gdbus-codegen ("pkg-config" ,pkg-config))) (inputs `(("avahi" ,avahi) @@ -161,7 +161,7 @@ ("libjpeg" ,libjpeg) ("libpng" ,libpng) ("libtiff" ,libtiff) - ("glib" ,glib) + ("glib" ,glib-minimal) ("qpdf" ,qpdf) ("poppler" ,poppler) ("cups-minimal" ,cups-minimal))) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index b3e85f8df9..2ac270f9c9 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -71,6 +71,7 @@ ;; Export variables up-front to allow circular dependency with the 'xorg' ;; module. #:export (dbus + glib-minimal glib gobject-introspection dbus-glib @@ -159,15 +160,15 @@ or through unencrypted TCP/IP suitable for use behind a firewall with shared NFS home directories.") (license license:gpl2+))) ; or Academic Free License 2.1 -(define glib +(define glib-minimal (package - (name "glib") + (name "glib-minimal") (version "2.60.6") (source (origin (method url-fetch) - (uri (string-append "mirror://gnome/sources/" - name "/" (string-take version 4) "/" - name "-" version ".tar.xz")) + (uri (string-append "mirror://gnome/sources/glib/" + (string-take version 4) "/" + "glib-" version ".tar.xz")) (sha256 (base32 "0v7vpx2md1gn0wwiirn7g4bhf2csfvcr03y96q2zv97ain6sp3zz")) @@ -348,6 +349,22 @@ dynamic loading, and an object system.") (home-page "https://developer.gnome.org/glib/") (license license:lgpl2.1+))) +(define glib + (package + (inherit glib-minimal) + (name "glib") + (outputs (cons "doc" (package-outputs glib-minimal))) ; 20 MiB of GTK-Doc reference + (native-inputs + `(("gtk-doc" ,gtk-doc) ; for the doc + ,@(package-native-inputs glib-minimal))) + (arguments + (substitute-keyword-arguments (package-arguments glib-minimal) + ((#:configure-flags flags) + `(cons (string-append "--with-html-dir=" + (assoc-ref %outputs "doc") + "/share/gtk-doc/html") + ,flags)))))) + (define gobject-introspection (package (name "gobject-introspection") @@ -376,11 +393,11 @@ dynamic loading, and an object system.") (inputs `(("bison" ,bison) ("flex" ,flex) - ("glib" ,glib) + ("glib" ,glib-minimal) ("python" ,python-wrapper) ("zlib" ,zlib))) (native-inputs - `(("glib" ,glib "bin") + `(("glib" ,glib-minimal "bin") ("pkg-config" ,pkg-config))) (propagated-inputs `(;; In practice, GIR users will need libffi when using @@ -597,10 +614,10 @@ has an ease of use unmatched by other C++ callback libraries.") "return 77;\n")) #t))))) (native-inputs `(("pkg-config" ,pkg-config) - ("glib" ,glib "bin"))) + ("glib" ,glib-minimal "bin"))) (propagated-inputs `(("libsigc++" ,libsigc++) - ("glib" ,glib))) + ("glib" ,glib-minimal))) (home-page "https://gtkmm.org/") (synopsis "C++ interface to the GLib library") (description diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index cd881b5b87..636c665f21 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -991,7 +991,7 @@ guidelines.") ;; The build system appears not to be parallel-safe. '(#:parallel-build? #f)) (inputs - `(("glib" ,glib) + `(("glib" ,glib-minimal) ("libxml2" ,libxml2))) (native-inputs `(("intltool" ,intltool) @@ -1282,7 +1282,7 @@ the GNOME desktop environment.") (native-inputs `(("pkg-config" ,pkg-config))) (inputs - `(("glib" ,glib) + `(("glib" ,glib-minimal) ("libxml2" ,libxml2) ("zlib" ,zlib))) (home-page "https://github.com/GNOME/libcroco") @@ -1318,7 +1318,7 @@ XML/CSS rendering engine.") ("bzip2" ,bzip2))) (propagated-inputs `(("gdk-pixbuf" ,gdk-pixbuf) - ("glib" ,glib) + ("glib" ,glib-minimal) ("libxml2" ,libxml2))) (home-page "https://www.gnome.org/projects/libgsf") (synopsis "GNOME's Structured File Library") @@ -1375,7 +1375,7 @@ dealing with different structured file formats.") (native-inputs `(("pkg-config" ,pkg-config) ("vala" ,vala) - ("glib" ,glib "bin") ; glib-mkenums, etc. + ("glib" ,glib-minimal "bin") ; glib-mkenums, etc. ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. (inputs `(("pango" ,pango) @@ -1387,7 +1387,7 @@ dealing with different structured file formats.") ;; librsvg-2.0.pc refers to all of that. `(("cairo" ,cairo) ("gdk-pixbuf" ,gdk-pixbuf) - ("glib" ,glib))) + ("glib" ,glib-minimal))) (home-page "https://wiki.gnome.org/LibRsvg") (synopsis "Render SVG files using Cairo") (description @@ -1466,7 +1466,7 @@ library.") ("rust" ,rust-1.34) ("cargo" ,rust-1.34 "cargo") ("vala" ,vala) - ("glib" ,glib "bin") ; glib-mkenums, etc. + ("glib" ,glib-minimal "bin") ; glib-mkenums, etc. ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. (inputs `(("pango" ,pango) @@ -1478,7 +1478,7 @@ library.") ;; librsvg-2.0.pc refers to all of that. `(("cairo" ,cairo) ("gdk-pixbuf" ,gdk-pixbuf) - ("glib" ,glib))) + ("glib" ,glib-minimal))) (home-page "https://wiki.gnome.org/LibRsvg") (synopsis "Render SVG files using Cairo") (description @@ -2304,7 +2304,7 @@ passwords in the GNOME keyring.") (inputs `(("graphviz" ,graphviz))) (propagated-inputs - `(("glib" ,glib))) ; required by libvala-0.40.pc + `(("glib" ,glib-minimal))) ; required by libvala-0.40.pc (home-page "https://live.gnome.org/Vala/") (synopsis "Compiler for the GObject type system") (description diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index f9667e873b..e49579cd0e 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -247,7 +247,7 @@ structure and layout algorithms.") `(("pkg-config" ,pkg-config))) (propagated-inputs ;; The gts.pc file has glib-2.0 as required. - `(("glib" ,glib))) + `(("glib" ,glib-minimal))) (home-page "http://gts.sourceforge.net/") ;; Note: Despite the name, this is not official GNU software. diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 436018efdb..cc637e7438 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -99,11 +99,11 @@ (base32 "1k4i817bd2w5b9z394f2yyx95591l2746wa40am0vvz4gzdgwhfb")))) (build-system meson-build-system) - (propagated-inputs `(("glib" ,glib))) ; required by atk.pc + (propagated-inputs `(("glib" ,glib-minimal))) ; required by atk.pc (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) - ("glib" ,glib "bin") ; glib-mkenums, etc. + ("glib" ,glib-minimal "bin") ; glib-mkenums, etc. ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. (synopsis "GNOME accessibility toolkit") (description @@ -128,7 +128,7 @@ tools have full access to view and control running applications.") (propagated-inputs `(("fontconfig" ,fontconfig) ("freetype" ,freetype) - ("glib" ,glib) + ("glib" ,glib-minimal) ("libpng" ,libpng) ("libx11" ,libx11) ("libxext" ,libxext) @@ -197,11 +197,11 @@ affine transformation (scale, rotation, shear, etc.).") `(("cairo" ,cairo))) (propagated-inputs ;; There are all in the Requires or Requires.private field of '.pc'. - `(("glib" ,glib) + `(("glib" ,glib-minimal) ("graphite2" ,graphite2) ("icu4c" ,icu4c))) (native-inputs - `(("glib:bin" ,glib "bin") ;for glib-mkenums + `(("glib:bin" ,glib-minimal "bin") ;for glib-mkenums ("gobject-introspection" ,gobject-introspection) ("pkg-config" ,pkg-config) ("python" ,python-wrapper) @@ -237,7 +237,7 @@ affine transformation (scale, rotation, shear, etc.).") ("fribidi" ,fribidi) ("fontconfig" ,fontconfig) ("freetype" ,freetype) - ("glib" ,glib) + ("glib" ,glib-minimal) ("harfbuzz" ,harfbuzz))) (inputs `(("zlib" ,zlib) @@ -247,7 +247,7 @@ affine transformation (scale, rotation, shear, etc.).") ("libxft" ,libxft))) (native-inputs `(("pkg-config" ,pkg-config) - ("glib" ,glib "bin") ; glib-mkenums, etc. + ("glib" ,glib-minimal "bin") ; glib-mkenums, etc. ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. (synopsis "GNOME text and font handling library") (description @@ -507,7 +507,7 @@ highlighting and other features typical of a source code editor.") #t))))) (propagated-inputs `(;; Required by gdk-pixbuf-2.0.pc - ("glib" ,glib) + ("glib" ,glib-minimal) ("libpng" ,libpng) ;; Used for testing and required at runtime. ("shared-mime-info" ,shared-mime-info))) @@ -518,7 +518,7 @@ highlighting and other features typical of a source code editor.") (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) - ("glib" ,glib "bin") ; glib-mkenums, etc. + ("glib" ,glib-minimal "bin") ; glib-mkenums, etc. ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. (synopsis "GNOME image loading and manipulation library") (description @@ -696,7 +696,7 @@ is part of the GNOME accessibility project.") (native-inputs `(("perl" ,perl) ("gettext" ,gettext-minimal) - ("glib" ,glib "bin") + ("glib" ,glib-minimal "bin") ("gobject-introspection" ,gobject-introspection) ("pkg-config" ,pkg-config) ("python-wrapper" ,python-wrapper))) @@ -1516,7 +1516,7 @@ information.") ("docbook-xml" ,docbook-xml-4.3) ("docbook-xsl" ,docbook-xsl) ("source-highlight" ,source-highlight) - ("glib" ,glib) + ("glib" ,glib-minimal) ("python-six" ,python-six))) (home-page "https://www.gtk.org/gtk-doc/") (synopsis "Documentation generator from C source code") diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm index 1ad23a92d4..e5d951ae1a 100644 --- a/gnu/packages/inkscape.scm +++ b/gnu/packages/inkscape.scm @@ -75,7 +75,7 @@ ("boost" ,boost))) (native-inputs `(("intltool" ,intltool) - ("glib" ,glib "bin") + ("glib" ,glib-minimal "bin") ("perl" ,perl) ("pkg-config" ,pkg-config))) ;; FIXME: tests require gmock diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index f54200a54d..3e4a5100e6 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -119,10 +119,10 @@ ;; As per poppler-cairo and poppler-glib.pc. ;; XXX: Ideally we'd propagate Cairo too, but that would require a ;; different solution to the circular dependency mentioned above. - `(("glib" ,glib))) + `(("glib" ,glib-minimal))) (native-inputs `(("pkg-config" ,pkg-config) - ("glib" ,glib "bin") ; glib-mkenums, etc. + ("glib" ,glib-minimal "bin") ; glib-mkenums, etc. ("gobject-introspection" ,gobject-introspection))) (arguments `(#:tests? #f ; no test data provided with the tarball -- 2.23.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 03 14:04:38 2019 Received: (at 37850) by debbugs.gnu.org; 3 Nov 2019 19:04:38 +0000 Received: from localhost ([127.0.0.1]:35103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRLB0-0007gT-0c for submit@debbugs.gnu.org; Sun, 03 Nov 2019 14:04:38 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:49431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRLAy-0007gE-8a for 37850@debbugs.gnu.org; Sun, 03 Nov 2019 14:04:36 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 8C7A32CA; Sun, 3 Nov 2019 14:04:30 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 03 Nov 2019 14:04:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=Cfu5i7FgPNauXIcXdqpZ7qDNL0 eNdygN00cGHkfOEiU=; b=cH9pR326p0bTlHGxOvjMjW/CZ96dOWw6KyDqujNDNV R4qDfrpU/iluZo1+Kq6UbeuMpgmG3mlg5/KRkRfX/ZQzS1lTZsHcVFUz6RSrM92m QYUM8HP/WyNNDEeF+CO/J8miVtlBPaBQifIAygQq3ZyqS6BMZi0GMbNxoQ9J7SnN 1ZvfoZzKW6ew3hPwaVO+cG1vrurENNDR8YJR+3swH3vPtRSidmCJA7BICvAfpVMD 7yr5CnebsZGBPDKdv0hMja3begCeTXv0xLPUCf2hioLDnKJIhV+7M3ohTl6aFWED 87aoG6xwDseck6KTmkTciPwm0jyGjbsoG1CxbNffv8OA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Cfu5i7 FgPNauXIcXdqpZ7qDNL0eNdygN00cGHkfOEiU=; b=Rt2+Oa4oSr2pI+bqwKK5lC deDR+ejeaJGIvE5sJFSJju5SS9Mlba8edhA430DMNfERP788GqkxASXSHVOXwhd4 aG45aS2Kpxs0/7JnCIhOpO2wtuw1VDAak6c8P2TovBpilnre0NRuMAjM0w2v0twe JaU3LyKpQvpDoz5kkL19eXdm1WaEdPAOtjHxSR3SuceQwskpM7WUXjygaluZCl8o 46TQuq7OpQQKlbc1q6bajfxuB9WQiALq6mpDzodgoSbVRyHoH2E+k1LJKERyS0z4 IOPXkWOyHDs/62moiiQRZTExP75hB9GQZEpZhzfTVMAJa4CwsvmZzCutTsogq7xw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudduuddguddvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculddvfedmnecujfgurhephffvufgjfhgffffkgggtsehgtderredt redtnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmh grihhlrdgtohhmqeenucfkphepiedvrdduiedrudelvddrudehtdenucfrrghrrghmpehm rghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghilhdrtghomhenucevlhhushhtvg hrufhiiigvpedt X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 6FF603060057; Sun, 3 Nov 2019 14:04:29 -0500 (EST) From: Marius Bakke To: Pierre Neidhardt , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <87k18gncbn.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> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sun, 03 Nov 2019 20:04:28 +0100 Message-ID: <8736f4ok77.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37850 Cc: 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Pierre Neidhardt writes: > From 893613a3b99c20688cc331d2926dbee28cc143d7 Mon Sep 17 00:00:00 2001 > From: Pierre Neidhardt > Date: Sun, 3 Nov 2019 17:36:17 +0100 > Subject: [PATCH] gnu: Add glib-minimal and build glib doc. > > glib documentation must be built with gtk-doc which in turn depends on glib, > so we need to define glib-minimal which does not depend on gtk-doc. > > * gnu/packages/glib.scm (glib-minimal): New variable. > (glib)[source]: Don't use `name'. > * gnu/packages/avahi.scm: Use glib-minimal when necessary. > * gnu/packages/cups.scm: Use glib-minimal when necessary. > * gnu/packages/gnome.scm: Use glib-minimal when necessary. > * gnu/packages/graphviz.scm: Use glib-minimal when necessary. > * gnu/packages/gtk.scm: Use glib-minimal when necessary. > * gnu/packages/inkscape.scm: Use glib-minimal when necessary. > * gnu/packages/pdf.scm: Use glib-minimal when necessary. Please mention all changed variables and inputs here, as we always do. That said, I'm not certain this is a good solution. Why do some packages use glib-minimal and others not? What does "necessary" mean in this context? What about 'hiding' the normal glib package, and expose a 'glib-with-documentation' variant to end users, similar to how the 'cmake' package works? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2/JLwACgkQoqBt8qM6 VPqVyAf/ZAN4NhlQWHAakZkr2TfL/5WrbakRFLC+ejGsXVveJDNlxH1Vzg4AVkRS v2b5gxop1ihqsS1kQAIV0QDP/1NlxRL61HyVutpEbbv7Oax/EOfDNSAHRfqdtlzh AfgXQ4myNyzzAVZIDhSa9guxoiLCB/Uif05c83cSvOy8arhyHXY9YLaTwJYPtjiu ZMpuWgd4ahp9jnV3hc90h53UdE+pEBnE33enMhv+cTcOyoGzW1DSqykWkmpb09UP 1vH912HH6t85bkULXBuLE5eE8vmjGdWendJpjLDLMKle/t5I0n0dT4e253csaayn Ez5D2sE6KHSyNzKfMRDeM919VTMcGA== =vmS7 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 04 04:47:03 2019 Received: (at 37850) by debbugs.gnu.org; 4 Nov 2019 09:47:03 +0000 Received: from localhost ([127.0.0.1]:35880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRYwx-0001AA-Im for submit@debbugs.gnu.org; Mon, 04 Nov 2019 04:47:03 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:46963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRYwu-00019g-3i for 37850@debbugs.gnu.org; Mon, 04 Nov 2019 04:47:02 -0500 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay11.mail.gandi.net (Postfix) with ESMTPSA id E0511100013; Mon, 4 Nov 2019 09:46:57 +0000 (UTC) From: Pierre Neidhardt To: Marius Bakke , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <8736f4ok77.fsf@devup.no> 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> Date: Mon, 04 Nov 2019 10:46:55 +0100 Message-ID: <87ftj4m0s0.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37850 Cc: 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > Pierre Neidhardt writes: > >> From 893613a3b99c20688cc331d2926dbee28cc143d7 Mon Sep 17 00:00:00 2001 >> From: Pierre Neidhardt >> Date: Sun, 3 Nov 2019 17:36:17 +0100 >> Subject: [PATCH] gnu: Add glib-minimal and build glib doc. >> >> glib documentation must be built with gtk-doc which in turn depends on g= lib, >> so we need to define glib-minimal which does not depend on gtk-doc. >> >> * gnu/packages/glib.scm (glib-minimal): New variable. >> (glib)[source]: Don't use `name'. >> * gnu/packages/avahi.scm: Use glib-minimal when necessary. >> * gnu/packages/cups.scm: Use glib-minimal when necessary. >> * gnu/packages/gnome.scm: Use glib-minimal when necessary. >> * gnu/packages/graphviz.scm: Use glib-minimal when necessary. >> * gnu/packages/gtk.scm: Use glib-minimal when necessary. >> * gnu/packages/inkscape.scm: Use glib-minimal when necessary. >> * gnu/packages/pdf.scm: Use glib-minimal when necessary. > > Please mention all changed variables and inputs here, as we always do. Sure, I didn't because I wasn't sure it was a good idea either :p > That said, I'm not certain this is a good solution. Why do some > packages use glib-minimal and others not? What does "necessary" mean in > this context? > > What about 'hiding' the normal glib package, and expose a > 'glib-with-documentation' variant to end users, similar to how the > 'cmake' package works? cmake-minimal builds the doc already, I don't see a cmake-with-documentation. Did you mean something else? I see a couple packages with the "-documentation" prefix, so we could use "glib-documentation". In a previous email, I explained that I wanted to put the documentation in the "doc" output of glib for 2 reasons: =2D For consistency with the other packages from the GTK family. =2D To restore the missing "gtk:doc" output. If I understand correctly, we don't have a provision to deprecate outputs, only packages. I think this is a bug. Now my current patch is admittedly not pretty. If we fix the output deprecation feature, then glib:doc could be forwarded to glib-documentation. And I guess we can live without complete consistency. Thoughts? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2/848ACgkQm9z0l6S7 zH+eYQf/XfqZrRT1dUCWX9fHSlWFNVLLXhU87+IUNd9gRMRcnVId2wnYTF8PcU33 s0UqyV3ox2bYvv9Yk9fVjqWb1imHexqI2srX6MCUxvlPDHW3PNwKSDTOoije8D+Y TYNOHpaHOPMIbOJFQrTKpUIV+WFsT9ekciqCK1HX3NTVbnn6cr7Vy2SA/4Ipz1b/ Cq/zs2/ODokCB+HAHfs9hfL15ACso6WLCB1UzauS4RkChrvudtZViCeV5JDuYxLi bL1HBA4xfHuhMbhALD7YjxKG2PtLyLjkHhxm4eMJjhXOCZ0ICNSorON/HJqS1BKo SyJWOkAajrA51ASmOUuh2QJUn/ST6w== =UOPh -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 08 21:03:56 2019 Received: (at 37850) by debbugs.gnu.org; 9 Nov 2019 02:03:56 +0000 Received: from localhost ([127.0.0.1]:48024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTG6W-0004JV-5v for submit@debbugs.gnu.org; Fri, 08 Nov 2019 21:03:56 -0500 Received: from mout01.posteo.de ([185.67.36.141]:33238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTG6U-0004JH-1U for 37850@debbugs.gnu.org; Fri, 08 Nov 2019 21:03:55 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 8BDAD16005C for <37850@debbugs.gnu.org>; Sat, 9 Nov 2019 03:03:47 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4790mf2X2Hz6tm7 for <37850@debbugs.gnu.org>; Sat, 9 Nov 2019 03:03:46 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 09 Nov 2019 03:03:46 +0100 From: Alexandros Theodotou To: 37850@debbugs.gnu.org Subject: Re: Glib documentation is missing Message-ID: <49c82620e6bd4b6cb477eb353fc0e8f5@posteo.net> X-Sender: alex@zrythm.org User-Agent: Posteo Webmail X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37850 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) I am new to guix so please excuse my ignorance, but is there an issue with just adding a "doc" output to the current glib, as mentioned in the manual? http://guix.gnu.org/manual/en/guix.html#Packages-with-Multiple-Outputs I find this approach nice and clean and I am personally not too fond of the idea of having "*-minimal" and "*-with-documentation" packages. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 08 21:11:00 2019 Received: (at 37850) by debbugs.gnu.org; 9 Nov 2019 02:11:00 +0000 Received: from localhost ([127.0.0.1]:48029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTGDK-0004Tc-05 for submit@debbugs.gnu.org; Fri, 08 Nov 2019 21:11:00 -0500 Received: from mout01.posteo.de ([185.67.36.141]:54488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTGDG-0004TH-Uk for 37850@debbugs.gnu.org; Fri, 08 Nov 2019 21:10:55 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D655C16005C for <37850@debbugs.gnu.org>; Sat, 9 Nov 2019 03:10:48 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4790wl4g4hz6tm8 for <37850@debbugs.gnu.org>; Sat, 9 Nov 2019 03:10:47 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 09 Nov 2019 03:10:47 +0100 From: Alexandros Theodotou To: 37850@debbugs.gnu.org Subject: Re: Glib documentation is missing In-Reply-To: <49c82620e6bd4b6cb477eb353fc0e8f5@posteo.net> References: <49c82620e6bd4b6cb477eb353fc0e8f5@posteo.net> Message-ID: X-Sender: alex@zrythm.org User-Agent: Posteo Webmail X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37850 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) I missed this part. > glib documentation must be built with gtk-doc which in turn depends on > glib, > so we need to define glib-minimal which does not depend on gtk-doc. In this case the way I have seen other distros do it is by having a *-bootstrap package (same as the *-minimal that you mention), which doesn't sound like a bad approach. > What about 'hiding' the normal glib package Maybe the *-bootstrap package can be hidden. Then the normal glib package can have its "doc" back? From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 09 18:20:24 2019 Received: (at 37850) by debbugs.gnu.org; 9 Nov 2019 23:20:24 +0000 Received: from localhost ([127.0.0.1]:50475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTa1o-0001MG-0F for submit@debbugs.gnu.org; Sat, 09 Nov 2019 18:20:24 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:48785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTa1m-0001M0-Qz for 37850@debbugs.gnu.org; Sat, 09 Nov 2019 18:20:23 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 17967404; Sat, 9 Nov 2019 18:20:17 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 09 Nov 2019 18:20:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=cDSvE0tcHXY/aVUKASVXv1tSdP QP52KlX7Z5h858mKs=; b=CBL5rihTQmjxprC/qCOtiTAq9xFfVDZidvAe80itYN YlIWhos5V+vBIurdmqG/xhkz+InKOoNuhQEKBqRsM9LsxRxZvMA3kj3O5sQ88pzg zPd+W0eWaloq0V5GXd3NsGF4oHozd0GKmiKDUc582zV7qXZ+pZx5FNZIuCtn9s36 Q66ElyV7QsZDmzh0w492Bk6T8e+d0ivw9UGJeLRaVt7w76avSUrLAtKAVJSE/kKg Zye29hAMpBQZnlS6i1rT3NdkCJ4WkVAOTWG04YNqFReFMF1+4a6a1OVG5J0+lEaR CYk3Qm4/8iouKszcr3D8yJBd7sf/5LlkjK+mAau/X4Pg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=cDSvE0 tcHXY/aVUKASVXv1tSdPQP52KlX7Z5h858mKs=; b=q7i1W9Xwuh3ezPmZaLds/b HZS2LiUOpQWCg1iER7KdB55TQa1IKjSVf42RmG5nIsXzECG8/2bz/DS9Ev+cdhmL pugseUFhhenRLox9BvJeNgyndonHkvibBlxUeN90cZUx/I1Ouf4LwI2j4WDoFhKj fwm+J6FrRno+yCoFd2mBfUZPpubA/H/peh2mdPXHdXX4ywOW73KHvtbUln1bt10w 8pIkBWw7RtcEGsLFTChYLfkWex/t7J1mD6QdS8ebToa5o2UURV+l8BOgdhedjbAc cfBl9cRaaSJDJN+OChDwr5YXhI25WnRuo+ftVkqvvPxkBqCxgg1uz8UscCa64p6A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddvgedgtdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlvdefmdenucfjughrpefhvffujghffgffkfggtgesghdtreertder tdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrg hilhdrtghomheqnecukfhppeekgedrhedvrddvvdeirddutddvnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrh fuihiivgeptd X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 7AA208005A; Sat, 9 Nov 2019 18:20:15 -0500 (EST) From: Marius Bakke To: Pierre Neidhardt , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <87ftj4m0s0.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> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sun, 10 Nov 2019 00:20:14 +0100 Message-ID: <8736ewmyc1.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37850 Cc: 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Pierre Neidhardt writes: > Marius Bakke writes: > >> Pierre Neidhardt writes: >> >>> From 893613a3b99c20688cc331d2926dbee28cc143d7 Mon Sep 17 00:00:00 2001 >>> From: Pierre Neidhardt >>> Date: Sun, 3 Nov 2019 17:36:17 +0100 >>> Subject: [PATCH] gnu: Add glib-minimal and build glib doc. >>> >>> glib documentation must be built with gtk-doc which in turn depends on glib, >>> so we need to define glib-minimal which does not depend on gtk-doc. >>> >>> * gnu/packages/glib.scm (glib-minimal): New variable. >>> (glib)[source]: Don't use `name'. >>> * gnu/packages/avahi.scm: Use glib-minimal when necessary. >>> * gnu/packages/cups.scm: Use glib-minimal when necessary. >>> * gnu/packages/gnome.scm: Use glib-minimal when necessary. >>> * gnu/packages/graphviz.scm: Use glib-minimal when necessary. >>> * gnu/packages/gtk.scm: Use glib-minimal when necessary. >>> * gnu/packages/inkscape.scm: Use glib-minimal when necessary. >>> * gnu/packages/pdf.scm: Use glib-minimal when necessary. >> >> Please mention all changed variables and inputs here, as we always do. > > Sure, I didn't because I wasn't sure it was a good idea either :p > >> That said, I'm not certain this is a good solution. Why do some >> packages use glib-minimal and others not? What does "necessary" mean in >> this context? >> >> What about 'hiding' the normal glib package, and expose a >> 'glib-with-documentation' variant to end users, similar to how the >> 'cmake' package works? > > cmake-minimal builds the doc already, I don't see a > cmake-with-documentation. Did you mean something else? > I see a couple packages with the "-documentation" prefix, so we could > use "glib-documentation". I meant this part: (define-public cmake (package (inherit cmake-minimal) (name "cmake") (arguments (substitute-keyword-arguments (package-arguments cmake-minimal) ((#:configure-flags configure-flags ''()) `(append ,configure-flags ;; Extra configure flags used to generate the documentation. '("--sphinx-info" "--sphinx-man" "--sphinx-html"))) Do you think it would make sense to do something similar with GLib, and "hiding" the normal variant? > In a previous email, I explained that I wanted to put the documentation > in the "doc" output of glib for 2 reasons: > > - For consistency with the other packages from the GTK family. > - To restore the missing "gtk:doc" output. If I understand correctly, > we don't have a provision to deprecate outputs, only packages. I > think this is a bug. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl3HSa4ACgkQoqBt8qM6 VPql9wf7BvCPou3hu5kWaNT+h4w0u5N6FPAKsp0Yq2eildSbBkTVlDepXMy6SVD4 IYp8RaINYlR3o+BaefZjrfFWSpHzSyksVR+6Qa0s8EmMr9VDPIp3qcFMp0RrynIl erXPoo9pibhdyPcKXZA5WGGpewPTuI9PKA2N330enzPkphvbZoBFwVwsAw7Eifvz oDJPGRjuzajID+HFknWWoiQvDTWoPCts3lyHNESEPP9+DS5GBItNfiNyksxvX0p3 /FEMELNhbtO6r1vNxLAaHCdM6E0AvU7l7+nSj+S0pbBMrkqCmKTO2w3JwbnAJlHb 0dC4owNmj+eUFtV5iUVIC53+fd0mrg== =AE57 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 11 04:29:09 2019 Received: (at 37850) by debbugs.gnu.org; 11 Nov 2019 09:29:09 +0000 Received: from localhost ([127.0.0.1]:53122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iU60T-00078P-0B for submit@debbugs.gnu.org; Mon, 11 Nov 2019 04:29:09 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:52745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iU60Q-00078E-Ce for 37850@debbugs.gnu.org; Mon, 11 Nov 2019 04:29:07 -0500 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 34D76100003; Mon, 11 Nov 2019 09:29:03 +0000 (UTC) From: Pierre Neidhardt To: Marius Bakke , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <8736ewmyc1.fsf@devup.no> 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> Date: Mon, 11 Nov 2019 10:29:03 +0100 Message-ID: <87woc6kbhc.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37850 Cc: 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 12 07:32:37 2019 Received: (at 37850) by debbugs.gnu.org; 12 Nov 2019 12:32:37 +0000 Received: from localhost ([127.0.0.1]:56390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUVLZ-00064H-Bx for submit@debbugs.gnu.org; Tue, 12 Nov 2019 07:32:37 -0500 Received: from pelzflorian.de ([5.45.111.108]:43400 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUVLX-000649-A2 for 37850@debbugs.gnu.org; Tue, 12 Nov 2019 07:32:36 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id E38AF36051E; Tue, 12 Nov 2019 13:32:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1573561954; bh=ar9VH1kSF3CACL1/e4N1zrNCQGZVyMxLchSbyk8p7lQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=ISPAYvkqJ8fWaZM2FZG5StizEV+ANi8ZCOwW7xi9jX3aN3+iPESaZDxGjAaNqCHhR wfsFeP+pOeFLPiSirSjeRXyt/M2XTabrtSe46C1c66MVveOfdfm3BnjZo0qwXshl4M 78tNulGLvSGKwEJQhaqJy83rzf+4AysNw1/EobzM= Date: Tue, 12 Nov 2019 13:32:33 +0100 From: "pelzflorian (Florian Pelz)" To: Pierre Neidhardt Subject: Re: bug#37850: Glib documentation is missing Message-ID: <20191112123233.jkcevtpkz5i2yut5@pelzflorian.localdomain> References: <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> <87woc6kbhc.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87woc6kbhc.fsf@ambrevar.xyz> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37850 Cc: Marius Bakke , Ludovic =?utf-8?Q?Court=C3=A8s?= , 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, Nov 11, 2019 at 10:29:03AM +0100, Pierre Neidhardt wrote: > 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? > I have not checked, but https://mesonbuild.com/Gnome-module.html says about gtkdoc > This creates a $module-doc target that can be ran to build docs and > normally these are only built on install. Since GNOME is a big supporter of Meson, I believe they make no mistakes in GLib’s meson files. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 12 08:22:58 2019 Received: (at 37850) by debbugs.gnu.org; 12 Nov 2019 13:22:58 +0000 Received: from localhost ([127.0.0.1]:56435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUW8I-0007FO-2p for submit@debbugs.gnu.org; Tue, 12 Nov 2019 08:22:58 -0500 Received: from pelzflorian.de ([5.45.111.108]:43446 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUW8G-0007FD-GE for 37850@debbugs.gnu.org; Tue, 12 Nov 2019 08:22:57 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id F1DB936051E; Tue, 12 Nov 2019 14:22:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1573564975; bh=uVhetlSTJoR5H7S/2J9iWLg239+hVpQxLp85skWshWc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=XoYH9jYHGHEFc0cp0WtQfPpta0xquP6c5NRxQqtANmW/0bwBycXhwYpG6cNd2kphz M3TUL19NxE9oKOazYiWsiluM927/ZebwLRx37Hw7cqP5oBKMSi813qByk64VxWfFbh P8JzrwN2wa5zgTsC8hE45x48XkrwNVBXtzDDGSj4= Date: Tue, 12 Nov 2019 14:22:54 +0100 From: "pelzflorian (Florian Pelz)" To: Pierre Neidhardt Subject: Re: bug#37850: Glib documentation is missing Message-ID: <20191112132254.hzqo2zck3btcerdb@pelzflorian.localdomain> References: <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> <87woc6kbhc.fsf@ambrevar.xyz> <20191112123233.jkcevtpkz5i2yut5@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191112123233.jkcevtpkz5i2yut5@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37850 Cc: 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sorry for my past unhelpful email. This module is not used by glib. When I try your package, it seems -Dgtk_doc=true is not applied like when manually running meson. I do not understand why. (Manually running it leads to a crash later.) Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 12 11:00:45 2019 Received: (at 37850) by debbugs.gnu.org; 12 Nov 2019 16:00:45 +0000 Received: from localhost ([127.0.0.1]:58258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUYaz-00039j-Et for submit@debbugs.gnu.org; Tue, 12 Nov 2019 11:00:45 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:55201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUYaw-00039Z-RC for 37850@debbugs.gnu.org; Tue, 12 Nov 2019 11:00:44 -0500 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 9AC31FF807; Tue, 12 Nov 2019 16:00:40 +0000 (UTC) From: Pierre Neidhardt To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <20191112132254.hzqo2zck3btcerdb@pelzflorian.localdomain> References: <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> <87woc6kbhc.fsf@ambrevar.xyz> <20191112123233.jkcevtpkz5i2yut5@pelzflorian.localdomain> <20191112132254.hzqo2zck3btcerdb@pelzflorian.localdomain> Date: Tue, 12 Nov 2019 17:00:40 +0100 Message-ID: <87h839gk47.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37850 Cc: 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hmmm, you are right, it does not get built during the install phase. I had a look at the bugtracker: https://gitlab.gnome.org/GNOME/glib/issues Could not find anything related to this. Could our Meson build system be buggy? As a side note, it does not seem to print any command line flags, which is a bit inconvenient for debugging. Something we could improve at least. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3K1ygACgkQm9z0l6S7 zH9thQf9EhN1xDgIqvsC2NeCGgNmHeEedi++fU/MjgspP9g0muQjk3nOQcaehv57 m7DEfhu6djrX8HToad/TYCZWLjZYy8IseYhhBiGACvoyUi2f9dTwxHIUB7RNDc1s 6EZd513znICIkTZuc5FP+1muAOVaiv28Vr0FFI30xtHUMTx6rtIBvtWY3V2bPmF+ DYEEMouACAKSJwC373k6vhNuveW+W7HObcolskn2sVzOIfDFFA+ZyWlM9F97Ffqs bZismxKXTCoUSy95d2rkRqO58bPqBD8KtKDgkrklmSnrtFjU3gIdp+sW54uZTN1v YpCEemWYCP9sKVr9obZ83+6VUasydg== =/Lnp -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 12 13:35:05 2019 Received: (at 37850) by debbugs.gnu.org; 12 Nov 2019 18:35:05 +0000 Received: from localhost ([127.0.0.1]:58373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUb0K-00071H-W3 for submit@debbugs.gnu.org; Tue, 12 Nov 2019 13:35:05 -0500 Received: from pelzflorian.de ([5.45.111.108]:43822 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUb0F-00070l-Kj for 37850@debbugs.gnu.org; Tue, 12 Nov 2019 13:35:03 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 29A8436051E; Tue, 12 Nov 2019 19:34:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1573583698; bh=IUPMRWrmTql5FvbdW2O4Jf0CCqrd2mWsxs9FaGXlzIk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=tSK8sQ2oKHGq9j6/TP3v3ENgkLhdqQFJ8EtbKcsuozg1lNrY2NhxDEvt+rDPko2yg Ca3cX1h05s0fiKFGhoIGhT02YQEM9nJoAyICsDqNtkEjdwCH91Yvvy1FIWCW2Wk1Uk cZUnYZCPyiapiQh4n9KRC4d2rZZrG+PHwjaDyLzk= Date: Tue, 12 Nov 2019 19:34:58 +0100 From: "pelzflorian (Florian Pelz)" To: Pierre Neidhardt Subject: Re: bug#37850: Glib documentation is missing Message-ID: <20191112183458.fmlullhdc65bp2am@pelzflorian.localdomain> References: <87v9sbj2ru.fsf@ambrevar.xyz> <87h83ret3a.fsf@ambrevar.xyz> <87k18gncbn.fsf@ambrevar.xyz> <8736f4ok77.fsf@devup.no> <87ftj4m0s0.fsf@ambrevar.xyz> <8736ewmyc1.fsf@devup.no> <87woc6kbhc.fsf@ambrevar.xyz> <20191112123233.jkcevtpkz5i2yut5@pelzflorian.localdomain> <20191112132254.hzqo2zck3btcerdb@pelzflorian.localdomain> <87h839gk47.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87h839gk47.fsf@ambrevar.xyz> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37850 Cc: 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Nov 12, 2019 at 05:00:40PM +0100, Pierre Neidhardt wrote: > Hmmm, you are right, it does not get built during the install phase. > > I had a look at the bugtracker: > > https://gitlab.gnome.org/GNOME/glib/issues > > Could not find anything related to this. > > Could our Meson build system be buggy? > As a side note, it does not seem to print any command line flags, which > is a bit inconvenient for debugging. Something we could improve at least. > Moving a call to the “error” procedure in various places in the package and Guix’ meson-build-system.scm reveals (I think) that the package arguments are correctly rewritten by substitute-keyword-arguments, but the meson-build procedure from meson-build-system.scm is called with the original package’s args. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 06:17:42 2019 Received: (at 37850) by debbugs.gnu.org; 15 Nov 2019 11:17:42 +0000 Received: from localhost ([127.0.0.1]:35719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVZbh-0006E0-Fv for submit@debbugs.gnu.org; Fri, 15 Nov 2019 06:17:42 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:38263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVZba-0006Dl-8V for 37850@debbugs.gnu.org; Fri, 15 Nov 2019 06:17:40 -0500 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id BBAEC60005; Fri, 15 Nov 2019 11:17:31 +0000 (UTC) From: Pierre Neidhardt To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <20191112183458.fmlullhdc65bp2am@pelzflorian.localdomain> References: <87v9sbj2ru.fsf@ambrevar.xyz> <87h83ret3a.fsf@ambrevar.xyz> <87k18gncbn.fsf@ambrevar.xyz> <8736f4ok77.fsf@devup.no> <87ftj4m0s0.fsf@ambrevar.xyz> <8736ewmyc1.fsf@devup.no> <87woc6kbhc.fsf@ambrevar.xyz> <20191112123233.jkcevtpkz5i2yut5@pelzflorian.localdomain> <20191112132254.hzqo2zck3btcerdb@pelzflorian.localdomain> <87h839gk47.fsf@ambrevar.xyz> <20191112183458.fmlullhdc65bp2am@pelzflorian.localdomain> Date: Fri, 15 Nov 2019 12:17:30 +0100 Message-ID: <87tv752xth.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37850 Cc: Ricardo Wurmus , Marius Bakke , 37850@debbugs.gnu.org, petermikkelsen10@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable You are right, something is wrong with substitute-keyword-arguments. If I copy-paste the arguments from glib, then add the stuff to build the doc, everything is fine. Peter, Ricardo, Marius, any clue what's going on? Here follows a working definition for glib-with-documentation. Obviously the copy-pasting of arguments is less than ideal. =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 ("docbook-xml" ,docbook-xml) ,@(package-native-inputs glib))) (arguments `( ;; TODO: Uncomment on the next rebuild cycle. ;; #:disallowed-references (,tzdata-for-tests) #:configure-flags (list "-Dgtk_doc=3Dtrue") #:phases (modify-phases %standard-phases (add-before 'build 'pre-build (lambda* (#:key inputs outputs #:allow-other-keys) ;; For tests/gdatetime.c. (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo")) ;; Some tests want write access there. (setenv "HOME" (getcwd)) (setenv "XDG_CACHE_HOME" (getcwd)) #t)) (add-after 'unpack 'disable-failing-tests (lambda _ (let ((disable (lambda (test-file test-paths) (define pattern+procs (map (lambda (test-path) (cons ;; XXX: only works for single line statemen= ts. (format #f "g_test_add_func.*\"~a\".*" test= -path) (const ""))) test-paths)) (substitute test-file pattern+procs))) (failing-tests '(("glib/tests/thread.c" ( ;; prlimit(2) returns ENOSYS on Linux 2.6.32-5-xen= -amd64 ;; as found on hydra.gnu.org, and strace(1) doesn't ;; recognize it. "/thread/thread4")) ;; This tries to find programs in FHS directories. ("glib/tests/utils.c" ("/utils/find-program")) ;; This fails because "glib/tests/echo-script" cannot= be ;; found. ("glib/tests/spawn-singlethread.c" ("/gthread/spawn-script")) ("glib/tests/timer.c" ( ;; fails if compiler optimizations are enabled, wh= ich they ;; are by default. "/timer/stop")) ("gio/tests/gapplication.c" ( ;; XXX: proven to be unreliable. See: ;; ;; "/gapplication/quit" ;; XXX: fails randomly for unknown reason. See: ;; "/gapplication/local-actions")) ("gio/tests/contenttype.c" ( ;; XXX: requires shared-mime-info. "/contenttype/guess" "/contenttype/guess_svg_from_data" "/contenttype/subtype" "/contenttype/list" "/contenttype/icon" "/contenttype/symbolic-icon" "/contenttype/tree")) ("gio/tests/appinfo.c" ( ;; XXX: requires update-desktop-database. "/appinfo/associations")) ("gio/tests/desktop-app-info.c" ( ;; XXX: requires update-desktop-database. "/desktop-app-info/delete" "/desktop-app-info/default" "/desktop-app-info/fallback" "/desktop-app-info/lastused" "/desktop-app-info/search")) ("gio/tests/gdbus-peer.c" ( ;; Requires /etc/machine-id. "/gdbus/codegen-peer-to-peer")) ("gio/tests/gdbus-unix-addresses.c" ( ;; Requires /etc/machine-id. "/gdbus/x11-autolaunch")) ("gio/tests/gsocketclient-slow.c" ( ;; These tests tries to resolve "localhost", and f= ails. "/socket-client/happy-eyeballs/slow" "/socket-client/happy-eyeballs/cancellation/delayed= "))))) (for-each (lambda (x) (apply disable x)) failing-tests) #t))) (replace 'check (lambda _ (setenv "MESON_TESTTHREADS" (number->string (parallel-job-count))) ;; Do not run tests marked as "flaky". (invoke "meson" "test" "--no-suite" "flaky"))) ;; TODO: meson does not permit the bindir to be outside of prefix. ;; See https://github.com/mesonbuild/meson/issues/2561 ;; We can remove this once meson is patched. (add-after 'install 'move-executables (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) (bin (assoc-ref outputs "bin"))) (mkdir-p bin) (rename-file (string-append out "/bin") (string-append bin "/bin")) ;; Do not refer to "bindir", which points to "${prefix}/bin". ;; We don't patch "bindir" to point to "$bin/bin", because t= hat ;; would create a reference cycle between the "out" and "bin" ;; outputs. (substitute* (list (string-append out "/lib/pkgconfig/gio-2.= 0.pc") (string-append out "/lib/pkgconfig/glib-2= .0.pc")) (("bindir=3D\\$\\{prefix\\}/bin") "") (("=3D\\$\\{bindir\\}/") "=3D")) #t))) (add-after 'unpack 'make-local-docbook-xml (lambda* (#:key inputs #:allow-other-keys) (let ((replace-http (lambda (file) (substitute* file ;; Warning: gio.xml uses docbook 4.2. (("http://www.oasis-open.org/docbook/x= ml/4../docbookx.dtd") (string-append (assoc-ref inputs "doc= book-xml") "/xml/dtd/docbook/docb= ookx.dtd")))) )) (replace-http "gio/gdbus-2.0/codegen/codegen_docbook.py") (for-each replace-http (find-files "." "\\.xml$")) #t))) (add-after 'install 'move-doc (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) (doc (assoc-ref outputs "doc")) (html (string-append "/share/gtk-doc"))) (copy-recursively (string-append out html) (string-append doc html)) (delete-file-recursively (string-append out html)) #t)))))))) =2D-8<---------------cut here---------------end--------------->8--- =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3OiUoACgkQm9z0l6S7 zH8LpggAm6fBISS9M8aQGmov6sdHBcl9LJZBgqKsOLMnsahNYRwTBJUvZ+tqHXNp 37DJsUjXioVfDGjVHxKtWJnpDNHT1tl/IxzuuFyOcmcaBttBsXv5Yq9yq79Tm0sP VUPOxOoTPR6nBRIwo2knxwZBmkQCmNfgJuAGV44jRjgXY+J3u3nE+1wI7qo/nPo1 jtwBITUaI8IYPscgKWBRCI77DrQLP/g1AcxVc1cyD2wr9kjbOgZr3hVwvRJOstyz guNFtEpDzMnS95Cuf0si7JMj8SKzeOrJw4NQIGPo4h6nzYV8KCgu+8fhlKkTAGLS I3S5BbWspzsbWPNKWFhMGke3rwDoqw== =7w+n -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 07:14:13 2019 Received: (at 37850) by debbugs.gnu.org; 15 Nov 2019 12:14:13 +0000 Received: from localhost ([127.0.0.1]:35736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVaUO-0007Yz-Ji for submit@debbugs.gnu.org; Fri, 15 Nov 2019 07:14:12 -0500 Received: from pelzflorian.de ([5.45.111.108]:47614 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVaUM-0007Yp-Oq for 37850@debbugs.gnu.org; Fri, 15 Nov 2019 07:14:11 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id BC6533604DA; Fri, 15 Nov 2019 13:14:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1573820049; bh=+tshjP1YP5kBZiEDi6wk/UpKXrteUeJnY9pZ4AZBwXQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=NVkdLWcFfBZD6h2aJBW2aHVZ3nJ/ITl2U/IVPUM8b4iyoiTxHRpFgE+CQMmVvwBVM vaDoOKjpcejZhte8ZWYVUnxuit0KReqkTatnOyKlGLOI2ZT9Tn9KTsYakOCJRYSg0g UWJx1OXEUFjuzljSVvQpI5er4T54hPoio1Fi6zeU= Date: Fri, 15 Nov 2019 13:14:08 +0100 From: "pelzflorian (Florian Pelz)" To: Pierre Neidhardt Subject: Re: bug#37850: Glib documentation is missing Message-ID: <20191115121408.efmbw33m3d5k6er4@pelzflorian.localdomain> References: <87k18gncbn.fsf@ambrevar.xyz> <8736f4ok77.fsf@devup.no> <87ftj4m0s0.fsf@ambrevar.xyz> <8736ewmyc1.fsf@devup.no> <87woc6kbhc.fsf@ambrevar.xyz> <20191112123233.jkcevtpkz5i2yut5@pelzflorian.localdomain> <20191112132254.hzqo2zck3btcerdb@pelzflorian.localdomain> <87h839gk47.fsf@ambrevar.xyz> <20191112183458.fmlullhdc65bp2am@pelzflorian.localdomain> <87tv752xth.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87tv752xth.fsf@ambrevar.xyz> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37850 Cc: Ricardo Wurmus , Marius Bakke , 37850@debbugs.gnu.org, petermikkelsen10@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, Nov 15, 2019 at 12:17:30PM +0100, Pierre Neidhardt wrote: > You are right, something is wrong with substitute-keyword-arguments. > No, I did not say that, I said that despite substitute-keyword-arguments returning the correct arguments – as is visible by enclosing the args with a call to (error …) –, meson builds with the old arguments. However now you say it works when copying the arguments from Glib, which is strange. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 09:10:23 2019 Received: (at 37850) by debbugs.gnu.org; 15 Nov 2019 14:10:23 +0000 Received: from localhost ([127.0.0.1]:35865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVcIp-0005qQ-HN for submit@debbugs.gnu.org; Fri, 15 Nov 2019 09:10:23 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:44999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVcIm-0005q6-7q for 37850@debbugs.gnu.org; Fri, 15 Nov 2019 09:10:21 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 63F9B22012; Fri, 15 Nov 2019 09:10:14 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 15 Nov 2019 09:10:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=QOVDmTf2f9bcVrfpLC4RHm3CsY WAZED8H3/LhjcSpAI=; b=nrn8JfpWe4lmiD2c/stGKotwHAkYSajAIEvawQHdvF kEabNpDmGQ1dQPrjr4/pvNmAg6pXYa9M0Q3o0x+W1SZdh2cDoiPEUQIzGSDFSWwe udI+9XtE0A8kxBSXM+2A/hWZokuowkqOowHCV81lWkngv4Mz9NgTZS2hZ1jluy8a sHJRF+uAGf1xtyYAtfwhwznczlyMNOcUCOLKN15IDPtGQyVPqY5GyAULz2ZyWGpF qTYsrzRvmoXEvCDhyjzOoYsdfCzxfMPI0UqBRl8im/3LMz75JGcflQ7UyHWQaWI/ tiEkp7EcXgBgAnOcUAQI29Wmhxn1m49+Fj3JbDCcg2hg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=QOVDmT f2f9bcVrfpLC4RHm3CsYWAZED8H3/LhjcSpAI=; b=H9YBDc4YSUlx8AM6eqx90y 6CYFGuLuJSgD1SZsXmro1/ntfIzRda87qBAZ+M4dP8EFDASLdD6lP81ftzw9057I jxCkG+nDzCk3jyMO0M57UobXcS8Z6RZ8QuQACF1h/3efELcPBbzdY2/WtVnKasQF Wl3bdD0RuWFP/QMXBUAv2O2WDMPAmHZJHb62SpfKEtkX0bQX+BG5rOGNgvq/RaRT 1QWPQiY8/NeEiILalFSSFlavYKMfMRaL/FPO17bLRF48NhULKNtpxp4znMhJy+aG Ii++UMlyjzpjgU7SpeZ2nN0ya8OxkLyiRywsx80V4Kb5SPf7Vougwf36mGQRUxsQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudefhedgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlvdefmdenucfjughrpefhvffujghffgffkfggtgesghdtreertder tdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrg hilhdrtghomheqnecukfhppeeivddrudeirdduledvrdduhedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrh fuihiivgeptd X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 9785780072; Fri, 15 Nov 2019 09:10:12 -0500 (EST) From: Marius Bakke To: Pierre Neidhardt , "pelzflorian \(Florian Pelz\)" Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <87tv752xth.fsf@ambrevar.xyz> References: <87v9sbj2ru.fsf@ambrevar.xyz> <87h83ret3a.fsf@ambrevar.xyz> <87k18gncbn.fsf@ambrevar.xyz> <8736f4ok77.fsf@devup.no> <87ftj4m0s0.fsf@ambrevar.xyz> <8736ewmyc1.fsf@devup.no> <87woc6kbhc.fsf@ambrevar.xyz> <20191112123233.jkcevtpkz5i2yut5@pelzflorian.localdomain> <20191112132254.hzqo2zck3btcerdb@pelzflorian.localdomain> <87h839gk47.fsf@ambrevar.xyz> <20191112183458.fmlullhdc65bp2am@pelzflorian.localdomain> <87tv752xth.fsf@ambrevar.xyz> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Fri, 15 Nov 2019 15:10:10 +0100 Message-ID: <87d0dtgri5.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37850 Cc: 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Pierre Neidhardt writes: > You are right, something is wrong with substitute-keyword-arguments. The problem is that GLib has no configure-flags from before. I'm not sure why we get no error from substitute-keyword-arguments (is it swallowed? never run?), but if you change this part: (substitute-keyword-arguments (package-arguments glib) ((#:configure-flags flags) `(cons "-Dgtk_doc=true" ,flags))) ...to read like this: (substitute-keyword-arguments (package-arguments glib) ((#:configure-flags flags ''()) `(cons "-Dgtk_doc=true" ,flags))) Then it should work. The difference is that "flags" gets initialized as the empty list when not already set. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl3OscIACgkQoqBt8qM6 VPprXAgAqF71yhS5mb2oAteKp+jkDigLgwgR0vd9x5wrNfO0A34XocV48ZBKck6e 5V65z7twfSwtIZu4Ui5R8QABecuURz2nbMEHYCRD0NvjdFezIP+NzBqWhFL1dtUW at0mojfViFiXmVBrCSsckEq9e6p/yFrvII7Ay0wnUnVBlEFaP13vUl5BDImJ4j9Z 5XncuO3see3sLojLDkSfnqqzN5jpdYjQgKTyYS/exQSt1gyBTB1wWl2iPoR5pXI/ PMcPUu8qp12hV/jqrz5htoqMdhDHHIvYs41kNGia7ixuNbSsEfd8e6c67ynnUXUd ly9/qoB9QHGk4s6asPFpy5nBEGTeVA== =uu2t -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 10:06:24 2019 Received: (at 37850) by debbugs.gnu.org; 15 Nov 2019 15:06:24 +0000 Received: from localhost ([127.0.0.1]:37226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVdB0-0007Wt-6y for submit@debbugs.gnu.org; Fri, 15 Nov 2019 10:06:24 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:52457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVdAw-0007Wj-Lw for 37850@debbugs.gnu.org; Fri, 15 Nov 2019 10:06:20 -0500 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 88684FF808; Fri, 15 Nov 2019 15:06:15 +0000 (UTC) From: Pierre Neidhardt To: Marius Bakke , "pelzflorian \(Florian Pelz\)" Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <87d0dtgri5.fsf@devup.no> References: <87v9sbj2ru.fsf@ambrevar.xyz> <87h83ret3a.fsf@ambrevar.xyz> <87k18gncbn.fsf@ambrevar.xyz> <8736f4ok77.fsf@devup.no> <87ftj4m0s0.fsf@ambrevar.xyz> <8736ewmyc1.fsf@devup.no> <87woc6kbhc.fsf@ambrevar.xyz> <20191112123233.jkcevtpkz5i2yut5@pelzflorian.localdomain> <20191112132254.hzqo2zck3btcerdb@pelzflorian.localdomain> <87h839gk47.fsf@ambrevar.xyz> <20191112183458.fmlullhdc65bp2am@pelzflorian.localdomain> <87tv752xth.fsf@ambrevar.xyz> <87d0dtgri5.fsf@devup.no> Date: Fri, 15 Nov 2019 16:06:15 +0100 Message-ID: <87h8352n88.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37850 Cc: 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Oh, that makes total sense, thanks for the explanation Marius! Alright, final patch attached. Let me know if I should merge on master. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3OvucACgkQm9z0l6S7 zH8OnAgArCqfKfeY2fQsXNzk8uXqElZ1Y5Zr9aSOkGC5BlYHVPaRjXa+z/lwiN1p tnCFVu0Si96Cm0MoAYrZlQHYDM9p91kZKDlj+etYj4vLefAh4FQuuC4T0+VhmY6t Fq4Cz/2s0vsCWspYuB9tETw3pp34vah7h0yYLAhsuqQDAJluuciyUzaB7/Hz7TPx zbGjqOWJyVBMPUrf8pg/5B1HJmSdD5vpovzD3PdpFK9d2OLOL2RqlT+US5JqJN3B /oldtK13w0vDs/teVbfcFMEXj064lJNMgrw99RXnWqrzaA6dXY3UA1PJV6dMcQ4G 9pf+fzPr8/tYu/o+mukeh2qxCWNIIQ== =BhAJ -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-glib-with-documentation.patch >From 29d27b64fb7bbf96a2ed59a3e1c4179717770f5c Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 11 Nov 2019 15:38:11 +0100 Subject: [PATCH] gnu: Add glib-with-documentation. * gnu/packages/glib.scm (glib-with-documentation): New variable. (glib): Hide package. --- gnu/packages/glib.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index b3e85f8df9..47e4f7006a 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -339,6 +339,7 @@ shared NFS home directories.") (variable "GIO_EXTRA_MODULES") (files '("lib/gio/modules"))))) (search-paths native-search-paths) + (properties '((hidden? . #t)) ) (synopsis "Thread-safe general utility library; basis of GTK+ and GNOME") (description @@ -348,6 +349,45 @@ dynamic loading, and an object system.") (home-page "https://developer.gnome.org/glib/") (license license:lgpl2.1+))) +(define-public glib-with-documentation + ;; glib's doc must be built in a separate package since it requires gtk-doc, + ;; which in turn depends on glib. + (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 + ("docbook-xml" ,docbook-xml) + ,@(package-native-inputs glib))) + (arguments + (substitute-keyword-arguments (package-arguments glib) + ((#:configure-flags flags ''()) + `(cons "-Dgtk_doc=true" ,flags)) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'make-local-docbook-xml + (lambda* (#:key inputs #:allow-other-keys) + (let ((replace-http + (lambda (file) + (substitute* file + ;; Warning: gio.xml uses docbook 4.2, hence the "4.." pattern. + (("http://www.oasis-open.org/docbook/xml/4../docbookx.dtd") + (string-append (assoc-ref inputs "docbook-xml") + "/xml/dtd/docbook/docbookx.dtd")))))) + (replace-http "gio/gdbus-2.0/codegen/codegen_docbook.py") + (for-each replace-http (find-files "." "\\.xml$")) + #t))) + (add-after 'install 'move-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (doc (assoc-ref outputs "doc")) + (html (string-append "/share/gtk-doc"))) + (copy-recursively (string-append out html) + (string-append doc html)) + (delete-file-recursively (string-append out html)) + #t))))))))) + (define gobject-introspection (package (name "gobject-introspection") -- 2.23.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 21 14:50:37 2019 Received: (at 37850) by debbugs.gnu.org; 21 Nov 2019 19:50:37 +0000 Received: from localhost ([127.0.0.1]:53353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXsTH-0000nI-Vq for submit@debbugs.gnu.org; Thu, 21 Nov 2019 14:50:35 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:55311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXsTC-0000n0-UB for 37850@debbugs.gnu.org; Thu, 21 Nov 2019 14:50:27 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id AFA26C25; Thu, 21 Nov 2019 14:50:20 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 21 Nov 2019 14:50:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=REa5RQ/X0bZUbHzzKTPwS0SDDi +NzXF0n3cOsmaNSmY=; b=N6z5nfiLEmCo38nt0EJim02xk/YqJ02cSouxgKRO5Q 5pOiwe0YoWbfMWOl+NVQerB9eEDT1MwvGdAcVphXC7oh+TaiShpLqdCeq2SdYrKd QAwRr2SVs2csDKB6+UPzah8jzRII7l4ieoCGP5opXNiLx2swEy3gFaOFyF8mSSmG PaC2xFnTjRe4+Wl1c5wm67EhpMWvH+9//XtWVNqaF1H+FFahJ2F6nvfMia61g0HZ 1TXXh2RVA5SSguoAXRFWAhQLJ0PuefOg8CpRfA9MXPrjpk6Qiqc6pEGExo1I+5qG WZeaYtfeICOWbToeSCCGGBSulLPQtvhkPXSr8+cf22mg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=REa5RQ /X0bZUbHzzKTPwS0SDDi+NzXF0n3cOsmaNSmY=; b=x2q+L/Urk7IzKugVNFtsif Eui5YSVXACuOeziYyzLHItmIzzXexj5Xf7mNGbEzwaVTbsjmnJX9X4dNem+8lJk/ dQTlNlDqtIE8njdrJqGyXOTIKpHWuu+bpEfPUMC/lWQdgrGTYy88duyXrvjIMFal CQNZFdgUThj7CbHqznd+GHyXnQlx/8P92vYi9hEsAOlQ9cpr2xjZ8nN3M3VNCtLB BW+jOAvmeT8MGQam3OApHQ6IWJM6NgcKlI271bgYKWL09Npcom5lqF0yzBQNr37u LRCJrMPkgJepBg4CnD30NB/mtv1uBYmRWGG8i0M8cgtS5wYBZl6NvT5fjw2ILLxA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudehvddgudefudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculddujedmnecujfgurhephffvufgjfhgffffkgggtsehgtderredt redtnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmh grihhlrdgtohhmqeenucffohhmrghinhepohgrshhishdqohhpvghnrdhorhhgnecukfhp peeivddrudeirdduledvrdduhedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkh hkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 0F2CD306005F; Thu, 21 Nov 2019 14:50:18 -0500 (EST) From: Marius Bakke To: Pierre Neidhardt , "pelzflorian \(Florian Pelz\)" Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <87h8352n88.fsf@ambrevar.xyz> References: <87v9sbj2ru.fsf@ambrevar.xyz> <87h83ret3a.fsf@ambrevar.xyz> <87k18gncbn.fsf@ambrevar.xyz> <8736f4ok77.fsf@devup.no> <87ftj4m0s0.fsf@ambrevar.xyz> <8736ewmyc1.fsf@devup.no> <87woc6kbhc.fsf@ambrevar.xyz> <20191112123233.jkcevtpkz5i2yut5@pelzflorian.localdomain> <20191112132254.hzqo2zck3btcerdb@pelzflorian.localdomain> <87h839gk47.fsf@ambrevar.xyz> <20191112183458.fmlullhdc65bp2am@pelzflorian.localdomain> <87tv752xth.fsf@ambrevar.xyz> <87d0dtgri5.fsf@devup.no> <87h8352n88.fsf@ambrevar.xyz> User-Agent: Notmuch/0.29.2 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 21 Nov 2019 20:50:16 +0100 Message-ID: <87d0dl80w7.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37850 Cc: 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Pierre Neidhardt writes: > Oh, that makes total sense, thanks for the explanation Marius! > > Alright, final patch attached. > Let me know if I should merge on master. Looks good! > From 29d27b64fb7bbf96a2ed59a3e1c4179717770f5c Mon Sep 17 00:00:00 2001 > From: Pierre Neidhardt > Date: Mon, 11 Nov 2019 15:38:11 +0100 > Subject: [PATCH] gnu: Add glib-with-documentation. > > * gnu/packages/glib.scm (glib-with-documentation): New variable. > (glib): Hide package. This should say (glib)[properties]: ... [...] =20=20 > +(define-public glib-with-documentation > + ;; glib's doc must be built in a separate package since it requires gt= k-doc, > + ;; which in turn depends on glib. > + (package > + (inherit glib) > + (properties '((hidden? . #f))) Using (alist-delete 'hidden? (package-properties glib)) is more future proof. :-) > + (outputs (cons "doc" (package-outputs glib))) ; 20 MiB of GTK-Doc re= ference > + (native-inputs > + `(("gtk-doc" ,gtk-doc) ; for the doc > + ("docbook-xml" ,docbook-xml) > + ,@(package-native-inputs glib))) > + (arguments > + (substitute-keyword-arguments (package-arguments glib) > + ((#:configure-flags flags ''()) > + `(cons "-Dgtk_doc=3Dtrue" ,flags)) > + ((#:phases phases) > + `(modify-phases ,phases > + (add-after 'unpack 'make-local-docbook-xml > + (lambda* (#:key inputs #:allow-other-keys) > + (let ((replace-http > + (lambda (file) > + (substitute* file > + ;; Warning: gio.xml uses docbook 4.2, hence th= e "4.." pattern. > + (("http://www.oasis-open.org/docbook/xml/4../d= ocbookx.dtd") > + (string-append (assoc-ref inputs "docbook-xml= ") > + "/xml/dtd/docbook/docbookx.dtd= ")))))) > + (replace-http "gio/gdbus-2.0/codegen/codegen_docbook.py= ") > + (for-each replace-http (find-files "." "\\.xml$")) > + #t))) Can this phase be removed if you add 'libxml2' to inputs (for the $XML_CATALOG_FILES search path)? Otherwise LGTM! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl3W6ngACgkQoqBt8qM6 VPpeuQf+MpHD6VPO5GoJoZGwMYAgDtztPOJMbzl45I+60ZrvSz8Xlkx9Wh6gESCQ ypqQBhWi0EN+F+QL+qF9dDJ/bWDqCjBB0dLSvrhLUjPicA3z5jKWDWi7yXdkXlqS hdg8bm6QbbExL+izuXkHr6k7Lbk841ut97t6jYeOO/gHuExr3zSZyXO1A6DM7WOK 90P+2n2tg7qbPfMxq9WUeRps4Bpu+zduGRn5Msw3+o0E7XpprCl6fWlRfH0bH6HV OIIGqOVjHp+CQP1L8ydD+iYR2rIKeKSibHBaoHCia3hej8y4vp0znWv5QGjKiVSL 0nvJoepK2OvruHqph5TKlbIm23hqbA== =CNx9 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 27 07:37:30 2019 Received: (at 37850) by debbugs.gnu.org; 27 Nov 2019 12:37:30 +0000 Received: from localhost ([127.0.0.1]:53649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZwZW-0005qa-AN for submit@debbugs.gnu.org; Wed, 27 Nov 2019 07:37:30 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:57603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZwZU-0005qM-E2 for 37850@debbugs.gnu.org; Wed, 27 Nov 2019 07:37:29 -0500 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 3F8A31C000A; Wed, 27 Nov 2019 12:37:25 +0000 (UTC) From: Pierre Neidhardt To: Marius Bakke , "pelzflorian \(Florian Pelz\)" Subject: Re: bug#37850: Glib documentation is missing In-Reply-To: <87d0dl80w7.fsf@devup.no> References: <87v9sbj2ru.fsf@ambrevar.xyz> <87h83ret3a.fsf@ambrevar.xyz> <87k18gncbn.fsf@ambrevar.xyz> <8736f4ok77.fsf@devup.no> <87ftj4m0s0.fsf@ambrevar.xyz> <8736ewmyc1.fsf@devup.no> <87woc6kbhc.fsf@ambrevar.xyz> <20191112123233.jkcevtpkz5i2yut5@pelzflorian.localdomain> <20191112132254.hzqo2zck3btcerdb@pelzflorian.localdomain> <87h839gk47.fsf@ambrevar.xyz> <20191112183458.fmlullhdc65bp2am@pelzflorian.localdomain> <87tv752xth.fsf@ambrevar.xyz> <87d0dtgri5.fsf@devup.no> <87h8352n88.fsf@ambrevar.xyz> <87d0dl80w7.fsf@devup.no> Date: Wed, 27 Nov 2019 13:37:24 +0100 Message-ID: <87d0dda41n.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 37850 Cc: 37850@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > This should say (glib)[properties]: ... Fixed. > Using (alist-delete 'hidden? (package-properties glib)) is more future > proof. :-) Done. > Can this phase be removed if you add 'libxml2' to inputs (for the > $XML_CATALOG_FILES search path)? It worked, thanks! Merged! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3ebgQACgkQm9z0l6S7 zH8diQgAi2HEzW8VeHjXLFozN+ofQE1AJt0oOfNRfFPLquiN382IXqe0mmAIsaCw HO/DUJ0RqP64sRbE/OWu5B4V8PCQwjpQj1XUyUHZSLfwbt/VFYsgDjsLzEFG5Dg8 OdktUwDqmeb/Lsh8D4Cyh4Q2e8Eq1CEWvUle1vkSB+eOnd3ijbtpAcvgAzNkm4Lo fOdvukcDUZua9XFjhbLTntU980IH0ZLwSigCWLITIs0yGEmcMcXJQ0cZWt02GWB+ zQ3uqtZ5GGs9FuZngBk17EZNCRk0lGa8jnOOjPfGrsv1sz4S9yEkHOnIZQatQAgs BK0a2bXNwidiGyN35ErvPEZ7+q0Agw== =AEBw -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 27 07:37:41 2019 Received: (at control) by debbugs.gnu.org; 27 Nov 2019 12:37:41 +0000 Received: from localhost ([127.0.0.1]:53652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZwZh-0005r3-IM for submit@debbugs.gnu.org; Wed, 27 Nov 2019 07:37:41 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:42471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZwZe-0005qs-Hn for control@debbugs.gnu.org; Wed, 27 Nov 2019 07:37:39 -0500 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id B6A791BF209 for ; Wed, 27 Nov 2019 12:37:36 +0000 (UTC) Date: Wed, 27 Nov 2019 13:37:36 +0100 Message-Id: <87blsxa41b.fsf@ambrevar.xyz> To: control@debbugs.gnu.org From: Pierre Neidhardt Subject: control message for bug #37850 X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 37850 quit Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.201 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) close 37850 quit From unknown Fri Jun 20 07:15:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 26 Dec 2019 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator