Re: What is this "gi" Python module that x11-toolkits/gtk40 wants?

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Sun, 11 Sep 2022 16:46:22 UTC

On 11.09.2022 19:18, Rainer Hurling wrote:
> Hi David,
> 
> Am 11.09.22 um 17:44 schrieb David Wolfskill:
>> On Sun, Sep 11, 2022 at 06:28:35PM +0300, Dima Panov wrote:
>>> ....
>>> Just curious -- did you rebuild/reinstall *ALL* 'py3*-*' modules after
>>> bump default python from 3.8 to 3.9?
>>> ....
>>
>> Not sure -- that was a while back, and I only keep build typescripts for
>> a limited time.
>>
>> In any case, given the above hint, I just ran "portmaster py3\*" (which
>> is, admittedly, rather brute-force).
>>
>> A subsequent "portmaster -da" (to pick up x11-toolkits/gtk40) still
>> fails in precisely the same way, though.
>>
>> Thanks for taking the time to help -- this feels as if I'm doing
>> something (after a couple of decades of reasonable success at keeping
>> things up-to-date) rather fundamentally wrong.
> 
> Just a wild guess. Is textproc/gtk-doc installed?

gtk-doc package is legacy/outdated mechanism to gen html docs


> It seems required indirectly by meson in x11-toolkits/gtk40:
> 
> docs/reference/meson.build:l4
> gidocgen = find_program('gi-docgen', required: get_option('gtk_doc'))
> 

gtk_doc knob for meson config is not equals to gtk-doc package 
requirements but for gi-docgen from textproc/py-gi-docgen.

Knob name was keep'd for compatibility with legacy build systems


-- 
Sincerely,
Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team