Package Details: solaar-git 1.1.13.r2.g9d2cedbe-2

Git Clone URL: https://aur.archlinux.org/solaar-git.git (read-only, click to copy)
Package Base: solaar-git
Description: Linux device manager for a wide range of Logitech devices
Upstream URL: https://pwr-solaar.github.io/Solaar/
Licenses: GPL-2.0-or-later
Conflicts: python-hid-parser, solaar
Provides: python-hid-parser, solaar
Replaces: python-hid-parser
Submitter: Max-P
Maintainer: Max-P
Last Packager: Max-P
Votes: 43
Popularity: 0.040215
First Submitted: 2015-10-02 22:37 (UTC)
Last Updated: 2024-05-13 07:11 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

Max-P commented on 2020-05-13 23:14 (UTC)

@yochananmarqos Added the optional dependency, which also bumps the version of the package.

That seems to be an issue with how upstream labeled this release candidate and the previous one: 1.0.2.rc1 vs 1.0.2rc2. One has it as a second dot number, while the other has 2rc2 as a whole. That probably messes with the way pacman parses the version number.

I'm not sure how to handle this without getting rid of the version number and reverting back to the commit number. Since the version number comes from the tag, and the version number is first in the version string, I can't fix this without prepending something to override that version number from upstream.

Hopefully upstream remains consistent and the version number change I just pushed fixes it for a while. I suspect that might break again on the 1.0.2 release, because 1.0.2 will be > 1.0.2.rc2.

I'll add an epoch if this keeps breaking, or update the package version again as new versions gets released upstream.

yochananmarqos commented on 2020-05-13 22:45 (UTC)

Could you and an epoch? Yay keeps detecting an update that's a downgrade: 1.0.2rc2.r4.g354c914 -> 1.0.2.rc1.r23.g377c954-1.

yochananmarqos commented on 2020-04-20 21:35 (UTC)

You're missing libappindicator-gtk3, see this commit. It could probably just be added to optional dependencies.

lgm commented on 2020-04-20 18:51 (UTC)

The install fix in line 42

# install fix
mv "${pkgdir}/usr/etc" "${pkgdir}/etc"

breaks the installation. It seems that "${pkgdir}/usr/etc" was moved to "${pkgdir}/etc". Removing the line fixes the problem.

sunaurus commented on 2020-03-10 10:19 (UTC)

Looks like you're missing 'git' as a build dependency:

makedepends=('git')

LinuxDonald commented on 2019-07-15 00:58 (UTC)

New git repo is: https://github.com/pwr-Solaar/Solaar

TrialnError commented on 2018-11-30 19:04 (UTC)

@Max-P: Great :) One small nitpick though ;) You forgot the to reinstate the makedepends var. And if you don't use the _name var you could propably remove it from the PKGBUILD

dreieck commented on 2018-11-30 10:47 (UTC) (edited on 2018-11-30 10:48 (UTC) by dreieck)

For those who want to enable users in the plugdev-group to access the unifying receiver (e.g. when you are not using elogind/ systemd):

enable-plugdev-group-access.patch:

Only in solaar-git: build
Only in solaar-git/lib/solaar: __pycache__
diff -r -U1 solaar-git.orig/rules.d/42-logitech-unify-permissions.rules solaar-git/rules.d/42-logitech-unify-permissions.rules
--- solaar-git.orig/rules.d/42-logitech-unify-permissions.rules 2018-11-30 11:25:28.556373309 +0100
+++ solaar-git/rules.d/42-logitech-unify-permissions.rules  2018-11-30 11:32:13.066966601 +0100
@@ -49,3 +49,3 @@
 # Grant members of the "plugdev" group access to receiver (useful for SSH users)
-#MODE="0660", GROUP="plugdev"
+MODE="0660", GROUP="plugdev"

PKGBUILD which applies this patch:

# Contributor: David Runge <dave@sleepmap.de>
# Contributor: Arnaud Taffanel <dev@taffanel.org>
# Contributor: Victor Häggqvist <aur a snilius d com>

_name=Solaar
pkgname=solaar-git
pkgver=0.9.2.r247.gb852903
pkgrel=1
pkgdesc="Device manager for Logitech's Unifying receiver peripherals"
url="https://pwr.github.com/Solaar/"
license=('GPL2')
arch=('any')
provides=("solaar")
conflicts=("solaar")
depends=('gtk3' 'libnotify' 'python-dbus' 'python-gobject' 'python-pyudev')
source=("${pkgname}::git+https://github.com/pwr/Solaar.git")
sha512sums=('SKIP')

source+=("enable-plugdev-group-access.patch::http://ix.io/1uT9")
sha512sums+=('b47b253798577d91376289f9dd4b231e4653e22def0c529a77134554ba0f63b438c3a016fe0e0267e43e4c243a54770dec5e0498153ef875588cdc235507e2f7')

prepare() {
  cd "${srcdir}/${pkgname}"
  for _patch in 'enable-plugdev-group-access.patch'; do
    msg "Applying patch '${_patch}' ..."
    patch --follow-symlinks -N -p1 -i "${srcdir}/${_patch}"
  done
}
pkgver() {
  cd "${pkgname}"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "${pkgname}"
  python setup.py build
}

package() {
  cd "${pkgname}"
  python setup.py install --skip-build \
    --optimize=1 \
    --prefix=/usr \
    --root="${pkgdir}/"
  # udev
  install -vDm 644 rules.d/42-logitech-unify-permissions.rules \
    "${pkgdir}/usr/lib/udev/rules.d/42-logitech-unify-permissions.rules"
  # docs
  install -vDm 644 {ChangeLog,README.md} \
    -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
# vim:set ts=2 sw=2 et:

Patch for the AUR PKGBUILD (to be used with e.g. customizepkg-scripting):

--- PKGBUILD.orig   2018-11-30 11:25:06.536341012 +0100
+++ PKGBUILD    2018-11-30 11:37:58.047472581 +0100
@@ -18,2 +18,12 @@

+source+=("enable-plugdev-group-access.patch::http://ix.io/1uT9")
+sha512sums+=('b47b253798577d91376289f9dd4b231e4653e22def0c529a77134554ba0f63b438c3a016fe0e0267e43e4c243a54770dec5e0498153ef875588cdc235507e2f7')
+
+prepare() {
+  cd "${srcdir}/${pkgname}"
+  for _patch in 'enable-plugdev-group-access.patch'; do
+    msg "Applying patch '${_patch}' ..."
+    patch --follow-symlinks -N -p1 -i "${srcdir}/${_patch}"
+  done
+}
 pkgver() {

Max-P commented on 2018-11-29 23:32 (UTC) (edited on 2018-11-29 23:33 (UTC) by Max-P)

@TrialnError Good points! I hadn't paid much attention to this package as upstream had been historically inactive for a long time, and I just needed this package ported from the old AUR when the migration to git happened. Things have changed a lot since then...

I took the community version and added VCS back to it, so it should be all clean and modern now :)