Hi, I've found installing the OpenPrinting HPLIP plugins with their python script needs py-gobject installed.
FreshPorts shows devel/py-gobject as both build & runtime dependencies: http://www.freshports.org/print/hplip/ I'm not sure if it would be better in some other port, such as py-dbus. Also update the README for mostly non-root plugins fetch/install: Index: Makefile =================================================================== RCS file: /cvs/ports/print/hplip/Makefile,v retrieving revision 1.127 diff -u -p -r1.127 Makefile --- Makefile 17 Apr 2015 04:18:13 -0000 1.127 +++ Makefile 6 Jun 2015 07:49:27 -0000 @@ -10,6 +10,7 @@ COMMENT-hpijs= HP ghostscript driver (s COMMENT-gui= HPLIP graphical tools V= 3.15.4 +REVISION= 0 DISTNAME= hplip-${V} SUBST_VARS= V @@ -107,6 +108,8 @@ LIB_DEPENDS-hpijs= print/hplip,-common \ # foomatic-rip(1), foomatic-db(-engine) RUN_DEPENDS-hpijs += print/cups-filters + +RUN_DEPENDS-hplip += devel/py-gobject ### -gui WANTLIB-gui += #empty Index: pkg/README-common =================================================================== RCS file: /cvs/ports/print/hplip/pkg/README-common,v retrieving revision 1.6 diff -u -p -r1.6 README-common --- pkg/README-common 15 Aug 2014 15:45:38 -0000 1.6 +++ pkg/README-common 6 Jun 2015 07:49:27 -0000 @@ -103,8 +103,10 @@ Plugin installation Some devices will not work properly without a corresponding proprietary binary plugin. HPLIP plugins automated installation is not available on OpenBSD but it can be installed manually by running the following as -root: - cd /tmp +non-root: + cd $(mktemp -d) ftp http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${V}-plugin.run - /bin/sh ./hplip-${V}-plugin.run --keep 2>/dev/null - cd plugin_tmp && ${MODPY_BIN} ./plugin_install.py -i + umask 022 + /bin/sh ./hplip-${V}-plugin.run --keep --nox11 --noexec + cd plugin_tmp && sudo ${MODPY_BIN} ./plugin_install.py -g -i +