Package Details: solaar-git 20151002-1

Git Clone URL: https://aur.archlinux.org/solaar-git.git (read-only)
Package Base: solaar-git
Description: Linux devices manager for the Logitech Unifying Receiver.
Upstream URL: http://pwr.github.io/Solaar/
Licenses: GPL2
Conflicts: solaar
Provides: solaar
Submitter: Max-P
Maintainer: Max-P
Last Packager: Max-P
Votes: 8
Popularity: 1.297526
First Submitted: 2015-10-02 22:37
Last Updated: 2015-10-02 22:37

Required by (0)

Sources (2)

Latest Comments

harbind commented on 2016-07-20 18:10

Also missing 'python-six' dependency.

Tids commented on 2016-06-04 11:23

missing dependency
-> libappindicator-gtk3

if you rebuild it right now and try to start it'll end with
% solaar&
solaar: error: Namespace AppIndicator3 not available

theodore commented on 2015-10-21 12:16

@chief-detector

is this the problem that you talking about:

Traceback (most recent call last):
File "/usr/lib/python3.5/tokenize.py", line 392, in find_cookie
line_string = line.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb8 in position 40: invalid start byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/solaar", line 44, in <module>
solaar.gtk.main()
File "/usr/lib/python3.5/site-packages/solaar/gtk.py", line 89, in main
_require('gi.repository.Gtk', 'gir1.2-gtk-3.0')
File "/usr/lib/python3.5/site-packages/solaar/gtk.py", line 34, in _require
__import__(module)
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "/usr/lib/python3.5/site-packages/gi/importer.py", line 160, in load_module
dynamic_module = load_overrides(introspection_module)
File "/usr/lib/python3.5/contextlib.py", line 66, in __exit__
next(self.gen)
File "/usr/lib/python3.5/site-packages/gi/importer.py", line 123, in _check_require_version
PyGIWarning, stacklevel=stacklevel)
File "/usr/lib/python3.5/warnings.py", line 18, in showwarning
file.write(formatwarning(message, category, filename, lineno, line))
File "/usr/lib/python3.5/warnings.py", line 26, in formatwarning
line = linecache.getline(filename, lineno) if line is None else line
File "/usr/lib/python3.5/linecache.py", line 16, in getline
lines = getlines(filename, module_globals)
File "/usr/lib/python3.5/linecache.py", line 47, in getlines
return updatecache(filename, module_globals)
File "/usr/lib/python3.5/linecache.py", line 136, in updatecache
with tokenize.open(fullname) as fp:
File "/usr/lib/python3.5/tokenize.py", line 456, in open
encoding, lines = detect_encoding(buffer.readline)
File "/usr/lib/python3.5/tokenize.py", line 433, in detect_encoding
encoding = find_cookie(first)
File "/usr/lib/python3.5/tokenize.py", line 397, in find_cookie
raise SyntaxError(msg)
SyntaxError: invalid or missing encoding declaration for '/usr/bin/sys'

because I am getting this error when I am trying to run the app. If yes can you tell me how to apply the patch. How should I use the git apply <patch> command should I modify the PKGBUILD or externally?

chief-detektor commented on 2015-10-18 10:10

Just because you don't suffer from this issue does not mean it doesn't exist.
But if someone has the same problem he/she can fix it.

Don't get me wrong: I didn't want you to paste this inside the prepare hook of PKGBUILD. I just wanted to provide a hotfix for poeple suffering from this issue. And for hotfixes patches seem legit to me. ;)

Max-P commented on 2015-10-18 03:22

chief-detektor: I can't seem to make your patch apply and also do not suffer from your issue, so I will leave it as is for now. I could apply it manually but I'd rather just wait for upstream to fix it than just commenting out some random code, especially for a -git package. It currently functions perfectly fine despite the warnings so there's no urge to fix it now. Thanks for the patch anyway, other people can just apply it if they want.

If it breaks or starts lacking major features and upstream is still as unresponsive I'd recommend someone to fork it and apply most of the PRs, or possibly to make a "solaar-fixed" package. Or even just merge everything back to the regular "solaar" package. I just don't think patches really belong to -git packages anyway.

chief-detektor commented on 2015-10-16 08:49

There is a issue with Gtk.Window.set_default_icon_name breaking solaar gui.
Here is a patch that fixes that problem. When applied one gets also rid of versioning warnigs about gtk and notify.

use git apply <patch>

http://pastebin.com/Q04MV7Dc