Package Details: solaar-git 1.1.12rc1.r7.g2adeb267-1

Git Clone URL: https://aur.archlinux.org/solaar-git.git (read-only, click to copy)
Package Base: solaar-git
Description: Device manager for Logitech's Unifying receiver peripherals
Upstream URL: https://pwr-solaar.github.io/Solaar/
Licenses: GPL2
Conflicts: python-hid-parser, solaar
Provides: python-hid-parser, solaar
Submitter: Max-P
Maintainer: Max-P
Last Packager: Max-P
Votes: 43
Popularity: 0.057998
First Submitted: 2015-10-02 22:37 (UTC)
Last Updated: 2024-04-21 10:06 (UTC)

Latest Comments

1 2 3 4 Next › Last »

warigan commented on 2024-04-24 12:15 (UTC) (edited on 2024-04-24 12:20 (UTC) by warigan)

I got an error during install:

Build error (click to expand)
==> Starting build()...
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 321, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
    obj = import_module(mod_path)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'setuptools'

ERROR Backend 'setuptools.build_meta:__legacy__' is not available.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: solaar-git-exit status 4

I fixed it by installing python-setuptools. Should setuptools be added as a (make) dependency?

Max-P commented on 2024-04-21 10:20 (UTC)

Added necessary provides/conflicts. I feel like this should have been vendored in as solaar.hid_parser, because it's kind of weird for solaar to provide an HID parsing library for Python but ¯_(ツ)_/¯ I don't think anything other than Solaar was using it so it's probably fine, and one less dependency to maintain.

DexterHaxxor commented on 2024-04-21 09:38 (UTC)

a5a0d7e80e5163f59698a7e7046fc88e22ac2b7f causes: error: failed to commit transaction (conflicting files) solaar-git: /usr/lib/python3.11/site-packages/hid_parser/__init__.py exists in filesystem (owned by python-hid-parser-git) solaar-git: /usr/lib/python3.11/site-packages/hid_parser/__pycache__/__init__.cpython-311.opt-1.pyc exists in filesystem (owned by python-hid-parser-git) solaar-git: /usr/lib/python3.11/site-packages/hid_parser/__pycache__/__init__.cpython-311.pyc exists in filesystem (owned by python-hid-parser-git) solaar-git: /usr/lib/python3.11/site-packages/hid_parser/__pycache__/data.cpython-311.opt-1.pyc exists in filesystem (owned by python-hid-parser-git) solaar-git: /usr/lib/python3.11/site-packages/hid_parser/__pycache__/data.cpython-311.pyc exists in filesystem (owned by python-hid-parser-git) solaar-git: /usr/lib/python3.11/site-packages/hid_parser/data.py exists in filesystem (owned by python-hid-parser-git) Errors occurred, no packages were upgraded.

ragusa87 commented on 2024-03-15 19:25 (UTC)

The changelog file has been renamed. You need to edit the PKGBUILD and use CHANGELOG.md to fix the package.

class101 commented on 2022-11-07 18:52 (UTC) (edited on 2022-11-07 18:57 (UTC) by class101)

@Max-P

In case you haven't seen my report

python-hid-parser-git needs to be fixed to get ride of the endless update 0.0.3 > 0.0.4=0.0.3 > 0.0.4=0.0.3 etc...

the pkgver() method produces a different version 0.0.3 than what you set in PKGBUILD 0.0.4

Nor there is a missing Git tag 0.0.4 at github.com, nor you have to go back to 0.0.3 in the PKGBUILD

Max-P commented on 2022-10-31 02:10 (UTC)

@lgm This makes more sense as a separate package, so I've created python-hid-parser-git and added it as a dependency.

It seems to be optional for now, but I imagine this might not be the case forever if this is a recent introduction so I made it a required dependency to ensure full support for features that may depend on it.

lgm commented on 2022-10-17 18:49 (UTC) (edited on 2022-10-17 18:50 (UTC) by lgm)

solaar now contains a submodule https://github.com/usb-tools/python-hid-parser.git. As per https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules, I think a patch should look as follows:

diff --git a/PKGBUILD b/PKGBUILD
index e53e57f..1718d22 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Victor Häggqvist <aur a snilius d com>

 pkgname=solaar-git
-pkgver=1.1.3rc3.r0.g5a3ffe0
+pkgver=1.1.6rc4.r1.gc6b8c0bd
 pkgrel=1
 pkgdesc="Device manager for Logitech's Unifying receiver peripherals"
 url="https://pwr-solaar.github.io/Solaar/"
@@ -24,14 +24,25 @@ depends=(
 )
 optdepends=('libappindicator-gtk3: tray icon support')
 makedepends=('git')
-source=("${pkgname}::git+https://github.com/pwr-Solaar/Solaar.git")
-sha512sums=('SKIP')
+source=("${pkgname}::git+https://github.com/pwr-Solaar/Solaar.git"
+        "git+https://github.com/usb-tools/python-hid-parser.git"
+      )
+sha512sums=('SKIP'
+            'SKIP'
+            )

 pkgver() {
   cd "${pkgname}"
   git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

+prepare() {
+  cd ${pkgname}
+  git submodule init
+  git config submodule.externals/vendor/python-hid-parser.url "$srcdir/mysubmodule"
+  git submodule update
+}
+
 build() {
   cd "${pkgname}"
   python setup.py build

EDIT: I tested this patch and it works for me

crypt0ninja commented on 2022-04-22 10:42 (UTC) (edited on 2022-04-22 18:38 (UTC) by crypt0ninja)

Getting the following error during build as of yesterday:

install: cannot stat 'ChangeLog': No such file or directory 'README.md' -> '/var/tmp/pamac-build-crypt0ninja/solaar-git/pkg/solaar-git/usr/share/doc/solaar-git/README.md' ==> ERROR: A failure occurred in package(). Aborting...

UPDATE: changing ChangeLog to ChangeLog.md in PKGBUILD resolves the issue.

HC6505 commented on 2022-03-27 10:53 (UTC)

Latest version needs python-evdev

solaar: error: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/solaar/gtk.py", line 158, in main import solaar.ui as ui File "/usr/lib/python3.10/site-packages/solaar/ui/init.py", line 101, in <module> from . import diversion_rules, notify, tray, window # isort:skip # noqa: E402 File "/usr/lib/python3.10/site-packages/solaar/ui/diversion_rules.py", line 30, in <module> from logitech_receiver import diversion as _DIV File "/usr/lib/python3.10/site-packages/logitech_receiver/diversion.py", line 28, in <module> import evdev ModuleNotFoundError: No module named 'evdev'

lgm commented on 2021-12-20 17:39 (UTC)

The name of the changelog file changed from ChangeLog to ChangeLog.md, causing the package build to fail.