Download raw body.
x11/arandr: fix missing gtk+3 dep
Hi,
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?
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/arandr/Makefile,v
diff -u -p -r1.21 Makefile
--- Makefile 29 Apr 2025 10:40:38 -0000 1.21
+++ Makefile 6 Sep 2025 12:56:07 -0000
@@ -3,7 +3,7 @@ MODPY_DISTV = 0.1.11
DISTNAME = arandr-${MODPY_DISTV}
CATEGORIES = x11 sysutils
HOMEPAGE = https://christian.amsuess.com/tools/arandr/
-REVISION = 3
+REVISION = 4
MAINTAINER = Edd Barrett <edd@openbsd.org>
@@ -16,7 +16,8 @@ MODULES = lang/python
MODPY_PYBUILD = setuptools
RUN_DEPENDS = devel/desktop-file-utils \
- devel/py-gobject3
+ devel/py-gobject3 \
+ x11/gtk+3
BUILD_DEPENDS = devel/gettext,-tools \
textproc/py-docutils
--
Best Regards
Edd Barrett
https://www.theunixzoo.co.uk
x11/arandr: fix missing gtk+3 dep