From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MA1pIn6gSGB5JgAA0tVLHw (envelope-from ) for ; Wed, 10 Mar 2021 10:33:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SBMsHn6gSGDPWAAAB5/wlQ (envelope-from ) for ; Wed, 10 Mar 2021 10:33:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0703518CDC for ; Wed, 10 Mar 2021 11:33:34 +0100 (CET) Received: from localhost ([::1]:43794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJw9l-0007Om-5r for larch@yhetil.org; Wed, 10 Mar 2021 05:33:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJvxE-0008RE-B2 for guix-devel@gnu.org; Wed, 10 Mar 2021 05:20:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58886) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJvxD-0003RC-IL; Wed, 10 Mar 2021 05:20:35 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48590 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lJvxB-0002ti-DR; Wed, 10 Mar 2021 05:20:35 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brice Waegeneire Subject: Re: Getting rid of the mandb profile hook? References: <87k0tw3y15.fsf@inria.fr> <87v9ad7jal.fsf@gmail.com> <87ft1cqq94.fsf@gnu.org> <0170f58ece0b1bfd193f1566c37eddb8@waegenei.re> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Vent=C3=B4se?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=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: Wed, 10 Mar 2021 11:20:32 +0100 In-Reply-To: <0170f58ece0b1bfd193f1566c37eddb8@waegenei.re> (Brice Waegeneire's message of "Wed, 03 Mar 2021 21:50:31 +0100") Message-ID: <878s6v5mz3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel , Maxim Cournoyer Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615372414; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=AwISXUjpjKTF45x6NS7ap0AUXVYPjHla9+QKyNo2c7o=; b=rcohfYl+lQnh6bl6pcsONV0glfMoZkhGdlQtCe2VHEv0oeqLS1FS+crdLslONe8xmcXVwz D9j9JZflrxW4SLpbCz6RzyLnkeMuNejYCsua2lgIhDaZDNuUygfwym/9XynRVEUROZ14CK lJYWJ7JpNCV0WdEft2bnXGwd2d+TtOWKdVHLXp2anLy35NxzrQIuA70XvPXRtc8RIntxJC bgzqOG/XmtsyMjEkjiTr9nBrex4ew+QM7gqDoxjPYJmFe7e5uSlQbel+le1qdZ9BfRSbpg 25D7S72nZi/J/V5UA8st2mospiMxvT+itRISqqsoz8x+HgPyBLaLIwsZ5K5vEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615372414; a=rsa-sha256; cv=none; b=iiyROjvS7PKH2idNEUIlURqa73/SLmVvN57NBSH/L1gk11YLxwVTmpoXR4MT09DKVNgxQ+ Y4XWyXkXHgRm2iESaG9GcdsrXTrv9rqVx0CJf5W1rpKn+nIvbsOLVnUQ3j3BULi1Ggye8+ TWvdugIiIMY7vwr5CMqcHl+wBAOynDCA/nsY/WRJ7WGFhcO8MIxAEgtBLrhl9VKizDakKG sieGjVamJ5XaZ3gL9bzMlJRcNfxAK6lyLcbM4Wq4uaRsvU+HO3qfFbLovaEIaDwyT9DizZ RuZV+ox87ojEOgWlFyk5SyIt6VXhAkzRCrh5ldGFA+thRUXUwSvh2gS9I6CBHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.89 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 0703518CDC X-Spam-Score: -1.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9Nu2ZkiKJZ7/ Hi Brice, Brice Waegeneire skribis: > On 2021-03-03 15:13, Ludovic Court=C3=A8s wrote: [...] >> I looked a bit at man-db, thinking it must have that already done >> more >> or less. Indeed, one can run =E2=80=9Cmandb -uc=E2=80=9D to create the = database. >> The problem is that it insists on writing databases and >> =E2=80=98CACHEDIR.TAG=E2=80=99 >> files in the same directory as man pages. In our case, these are all >> read-only, so just prints a warning for each directory and keeps going. >> It looks like man-db is not written with a situation like ours in >> mind. > > What about using mandoc=C2=B9, the manpage compiler from OpenBSD, instead= of > man-db? As from it's manual it support specifying the database location: > > =E2=80=9Cmakewhatis -d dir [file ...]=E2=80=9D=C2=B2 > > It isn't packaged in Guix yet, but other Linux distros have done it, > some > are even using it as their default. Sounds like a plan! We=E2=80=99d need to update the =E2=80=9CDocumentation= =E2=80=9D node in the manual accordingly. Do you want to give it a try? >> [...] >> One option I contemplated at one point is to simply have fewer man=20 >> pages >> in the first place. :-) There were packages that install man pages >> when they shouldn=E2=80=99t. This led to commits like >> 305eefc0627eb1d047e6fc4320d7e56897719ab8 and >> 4b797193d7508ddc53bb1ff7a267a0d50c1fe298 (and parent commits). > > More outputs would be great tho having a way to force the installation > of > specifics outputs for every installed package would improve quality of > live. For a specific example in that case, when installing ncurses from > the cli it would install it's man output too if you always want man > page > to be installed. Hmm sounds tricky (and kinda unpredictable, too). Thanks, Ludo=E2=80=99.