Index: head/sysutils/solaar/Makefile =================================================================== --- head/sysutils/solaar/Makefile (revision 440474) +++ head/sysutils/solaar/Makefile (revision 440475) @@ -1,43 +1,44 @@ # $FreeBSD$ PORTNAME= solaar PORTVERSION= g20170327 +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_PYTHON= distutils autoplist USE_GITHUB= yes GH_ACCOUNT= pwr GH_PROJECT= Solaar # The latest release is from 2013 and there is not going to be a new # release for now: # https://github.com/pwr/Solaar/issues/288 # https://github.com/pwr/Solaar/issues/296 GH_TAGNAME= 53ec751 NO_ARCH= yes OPTIONS_DEFINE= GUI GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py${PYTHON_MAJOR_VER:S/2//}-gobject3 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 .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 440475) @@ -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 2017-04-17 19:26:20 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 self.device_kind == 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