it seems x11/xfce4/xfconf is missing in
the RUN_DEPENDS of textproc/catfish

Traceback (most recent call last):
  File "/usr/local/bin/catfish", line 43, in <module>
    import catfish
  File "/usr/local/lib/python3.8/site-packages/catfish/__init__.py", line 32, 
in <module>
    from catfish import CatfishWindow
  File "/usr/local/lib/python3.8/site-packages/catfish/CatfishWindow.py", line 
52, in <module>
    from catfish.CatfishPrefsDialog import CatfishPrefsDialog
  File "/usr/local/lib/python3.8/site-packages/catfish/CatfishPrefsDialog.py", 
line 29, in <module>
    from catfish_lib.PrefsDialog import PrefsDialog
  File "/usr/local/lib/python3.8/site-packages/catfish_lib/__init__.py", line 
23, in <module>
    from . Window import Window  # noqa
  File "/usr/local/lib/python3.8/site-packages/catfish_lib/Window.py", line 27, 
in <module>
    from catfish_lib import CatfishSettings
  File "/usr/local/lib/python3.8/site-packages/catfish_lib/CatfishSettings.py", 
line 23, in <module>
    gi.require_version('Xfconf', '0')
  File "/usr/local/lib/python3.8/site-packages/gi/__init__.py", line 126, in 
require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Xfconf not available

Installing x11/xfce4/xfconf solves the issue

Index: Makefile
===================================================================
RCS file: /home/reposync/ports/textproc/catfish/Makefile,v
retrieving revision 1.46
diff -u -p -r1.46 Makefile
--- Makefile    22 Aug 2021 18:27:21 -0000      1.46
+++ Makefile    19 Sep 2021 18:17:26 -0000
@@ -4,7 +4,7 @@ COMMENT =       versatile file searching tool
 
 XFCE_GOODIE =  catfish
 XFCE_VERSION = 4.16.2
-REVISION =     0
+REVISION =     1
 MODPY_EGG_VERSION =    ${XFCE_VERSION}
 CATEGORIES =   textproc
 
@@ -25,6 +25,7 @@ RUN_DEPENDS = devel/py-gobject3${MODPY_F
                devel/xdg-utils \
                devel/py-pexpect${MODPY_FLAVOR} \
                x11/dbus-python${MODPY_FLAVOR} \
+               x11/xfce4/xfconf \
                x11/gtk+3,-guic
 
 BUILD_DEPENDS +=       ${_MODPY_BUILD_DEPENDS} \

Reply via email to