Index: head/sysutils/solaar/Makefile =================================================================== --- head/sysutils/solaar/Makefile (revision 522869) +++ head/sysutils/solaar/Makefile (revision 522870) @@ -1,48 +1,49 @@ # $FreeBSD$ PORTNAME= solaar DISTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= tobik@FreeBSD.org COMMENT= Device manager for the Logitech Unifying Receiver LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING # libhidapi.so is only loaded at runtime via ctypes (dlopen) RUN_DEPENDS= ${LOCALBASE}/lib/libhidapi.so:comms/hidapi USES= python USE_GITHUB= yes GH_ACCOUNT= pwr-Solaar GH_PROJECT= Solaar USE_PYTHON= autoplist concurrent distutils optsuffix NO_ARCH= yes OPTIONS_DEFINE= GUI GUI_USES= gnome GUI_USE= GNOME=pygobject3:run post-patch: @${CP} ${FILESDIR}/hidapi.py ${WRKSRC}/lib/hidapi/udev.py @${REINPLACE_CMD} -e '/pyudev/d' \ -e 's|python-gi|${PYTHON_PKGNAMEPREFIX}gobject3|' \ ${WRKSRC}/lib/solaar/gtk.py @${REINPLACE_CMD} 's|receiver\.path\.split.*|receiver.path)|' \ ${WRKSRC}/lib/logitech_receiver/listener.py @${REINPLACE_CMD} 's|[[:<:]]cmd[[:>:]]|action|' \ ${WRKSRC}/lib/solaar/cli/__init__.py post-build: ${AWK} -f ${FILESDIR}/devd-solaar.awk \ ${WRKSRC}/rules.d/42-logitech-unify-permissions.rules \ > ${WRKDIR}/solaar.conf.sample post-install: ${INSTALL_DATA} ${WRKDIR}/solaar.conf.sample \ ${STAGEDIR}${PREFIX}/etc/devd .include Index: head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py =================================================================== --- head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py (nonexistent) +++ head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py (revision 522870) @@ -0,0 +1,17 @@ +Solaar will die with a silent error when trying to configure devices like +e.g. the Logitech K400 that are detected as keyboards but also have +mouse settings for an integrated touchpad. Remove the overly cautious +assert. + +https://github.com/pwr/Solaar/issues/330 + +--- lib/logitech_receiver/settings.py.orig 2019-07-26 15:55:51 UTC ++++ lib/logitech_receiver/settings.py +@@ -61,7 +61,6 @@ class Setting(object): + + def __call__(self, device): + assert not hasattr(self, '_value') +- assert self.device_kind is None or device.kind in self.device_kind + p = device.protocol + if p == 1.0: + # HID++ 1.0 devices do not support features Property changes on: head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property