Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
Re: x11/arandr: fix missing gtk+3 dep
To:
Edd Barrett <edd@theunixzoo.co.uk>, ports@openbsd.org
Cc:
joel@carnat.net
Date:
Sat, 06 Sep 2025 13:09:59 +0000

Download raw body.

Thread
06.09.2025 16:03, Edd Barrett пишет:
> As pointed out to me by Joel Carnat, arandr is missing a runtime dependency on
> GTK+3:
> 
> ```
> $ arandr
> Traceback (most recent call last):
>   File "/usr/local/bin/arandr", line 41, in <module>
>     from screenlayout.gui import main
>   File "/usr/local/lib/python3.12/site-packages/screenlayout/gui.py", line 28, in <module>
>     gi.require_version('Gtk', '3.0')
>   File "/usr/local/lib/python3.12/site-packages/gi/__init__.py", line 129, in require_version
>     raise ValueError('Namespace %s not available' % namespace)
> ValueError: Namespace Gtk not available
> ```
> 
> Fix below. OK?

OK kn