From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KmYRf-00056F-Os for garchives@archives.gentoo.org; Sun, 05 Oct 2008 18:35:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B7ADE0326; Sun, 5 Oct 2008 18:35:07 +0000 (UTC) Received: from tommyserver.de (tommyserver.de [85.14.217.158]) by pigeon.gentoo.org (Postfix) with ESMTP id D6BDAE0326 for ; Sun, 5 Oct 2008 18:35:06 +0000 (UTC) Received: from [192.168.178.22] (Q0df1.q.pppool.de [89.53.13.241]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tommyserver.de (Postfix) with ESMTPSA id 16B48B12E9A for ; Sun, 5 Oct 2008 20:35:08 +0200 (CEST) Message-ID: <48E908D0.40209@gentoo.org> Date: Sun, 05 Oct 2008 20:34:56 +0200 From: Thomas Sachau Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Changing doc use flag on gtk-doc packages to gtk-doc-rebuild or something else References: <48E8BB83.1010100@gentoo.org> <48E8C140.2050209@gentoo.org> <48E8EADD.1060504@gentoo.org> In-Reply-To: <48E8EADD.1060504@gentoo.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=211CA2D4 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigFB417AFAD866367F97913846" X-Archives-Salt: 7d1dba48-ed7e-4883-b0df-0bb791872774 X-Archives-Hash: dd3cda6ce116a9961536717371c597ff This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFB417AFAD866367F97913846 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable R=C3=A9mi Cardona schrieb: > Thomas Sachau a =C3=A9crit : >> Why not do both (rebuild and install) with the doc useflag and none of= >> both, if it is not set? Imho >> the doc flag is for control of installation for (additional) docs, the= >> way it is used for gtk-doc is >> surely confusing. >> >=20 > Building gtk-doc documentation pulls in a lot of deps. Installing it > requires only some disk-space. For a full Gnome system, I only have 96M= > of docs. >=20 > As for rebuilding docs, one of the advantage is to correctly crosslink > docs for tools such as dev-util/devhelp. >=20 > If anyone is _that_ short on diskspace, we'll gladly take patches :) >=20 > Cheers >=20 > R=C3=A9mi >=20 >=20 Did i say something about disk space? I say, you are using the doc use fl= ag in a way that is not expected. The global use flag says, it installs additional documentation.= But your doc use flag does not install anything additional, but instead rebuilds those docs. There i= s nothing wrong with rebuilding them on use=3Ddoc, but imho you should also only install those= docs with use=3Ddoc. The patch could be as simple as adding >use doc || rm -rf "${D}"usr/share= /gtk-doc< at the end of src_install()-function in gnome2.eclass, that should be simple enough to = apply without a patch. :) Btw: e.g. x11-libs/gtk+ has no doc use flag, does not rebuild those docs,= but does also install those docs as reported in bug 239524. --=20 Thomas Sachau Gentoo Linux Developer use doc || rm -rf "${D}usr/share/gtk-doc --------------enigFB417AFAD866367F97913846 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iJwEAQEKAAYFAkjpCNYACgkQG7kqcTWJkGdTTAP5AR0kD948bRFYI7z1XdKvPmct 96Faxi9cbrVTM+jrVlUWqPqp11yVzb8VrEr5tvGU8sg5vToWL/Nr+R1Hv1lj3/yu UMPu8zrOn7wbR63sLa3ovOiJGYsogvo7Zt5Z3FNKQO9tNQYVWiHs5N88kImFcVSA vOKRJHQ4/+X50vySPeg= =Ukp4 -----END PGP SIGNATURE----- --------------enigFB417AFAD866367F97913846--