Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2020 09:38:12 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r522870 - in head/sysutils/solaar: . files
Message-ID:  <202001130938.00D9cCV2089774@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Mon Jan 13 09:38:12 2020
New Revision: 522870
URL: https://svnweb.freebsd.org/changeset/ports/522870

Log:
  sysutils/solaar: Bring back old patch to fix setting options on a Logitech K400
  
  It is still needed after all.

Added:
  head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py
     - copied, changed from r459841, head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py
Modified:
  head/sysutils/solaar/Makefile

Modified: head/sysutils/solaar/Makefile
==============================================================================
--- head/sysutils/solaar/Makefile	Mon Jan 13 09:35:46 2020	(r522869)
+++ head/sysutils/solaar/Makefile	Mon Jan 13 09:38:12 2020	(r522870)
@@ -2,6 +2,7 @@
 
 PORTNAME=	solaar
 DISTVERSION=	1.0.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	tobik@FreeBSD.org

Copied and modified: head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py (from r459841, head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py)
==============================================================================
--- head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py	Wed Jan 24 14:48:23 2018	(r459841, copy source)
+++ head/sysutils/solaar/files/patch-lib_logitech__receiver_settings.py	Mon Jan 13 09:38:12 2020	(r522870)
@@ -5,13 +5,13 @@ 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.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 self.device_kind == device.kind
+-		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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001130938.00D9cCV2089774>