Package Details: logiops 0.3.3-1

Git Clone URL: https://aur.archlinux.org/logiops.git (read-only, click to copy)
Package Base: logiops
Description: An unofficial driver for Logitech HID++>2.0 mice and keyboard
Upstream URL: https://github.com/PixlOne/logiops
Keywords: config hidpp logitech
Licenses: GPL3
Conflicts: logiops
Provides: logiops
Submitter: pixl
Maintainer: pixl
Last Packager: pixl
Votes: 22
Popularity: 0.55
First Submitted: 2020-07-15 18:41 (UTC)
Last Updated: 2023-07-12 21:44 (UTC)

Latest Comments

mbromilow commented on 2024-01-14 14:17 (UTC)

Hi, systemd (not only systemd-libs) needs to be added as a makedepend - otherwise the logid.service file is not generated and installed as CMake does not find it:

-- Checking for module 'systemd'
--   Package 'systemd', required by 'virtual:world', not found

You can check by building the package in a clean chroot, e.g. using extra-x86_64-build.

MithicSpirit commented on 2023-05-10 21:22 (UTC) (edited on 2023-05-10 21:26 (UTC) by MithicSpirit)

I prefer respecting the user's MAKEFLAGS if possible, or just defaulting to one core if not. Some users (like me) may not want to see the performance spike associated with taking all cores just on compiling this, and imo it's better to be safe than sorry.

EDIT: looks like you can set CMAKE_BUILD_PARALLEL_LEVEL if you want to change the number of cores. This is overriden by -j, so it's better to not use the flag in order to allow for easier user customization.

obj_Obj commented on 2023-05-10 18:53 (UTC) (edited on 2023-05-10 18:54 (UTC) by obj_Obj)

Pass -j $(nproc) to cmake to make it build using all cores

pixl commented on 2023-05-08 19:22 (UTC)

@MithicSpirit Fixed this in the last commit, didn't notice it did this, thanks.

MithicSpirit commented on 2023-05-08 00:17 (UTC)

Can you please fix this package installing to /usr/local? It is not allowed according to the wiki.

alumni commented on 2023-05-03 08:40 (UTC) (edited on 2023-05-03 08:43 (UTC) by alumni)

Additional make dependencies required: base-devel (which should pull make, gcc and pkgconf).

Also, the ipcgull submodule is not checked out, and it's also not in the source code archive from github.

marwing commented on 2022-06-11 19:40 (UTC)

On my system the build fails without patching the PKGBUILD file as cmake generates a Ninja build system by default (due to some configuration on my part). I would appreciate if you could apply one of below changes to fix this issue.

You shouldn't assume cmake creates a make based build system by default. Instead you should explicitly specify -G "Unix Makefiles" OR (even better) use cmake --build . to build and DESTDIR="$pkgdir" cmake --install . to install. The latter changes make sure cmake invokes the correct build system.

cyqsimon commented on 2021-08-20 18:58 (UTC)

Please update this package if possible.

I recently installed this package but found my customisations weren't applied on startup; required a sudo systemctl restart logid to work properly. I took a look at the unit file and found that it's wanted by multi-user.target, which explains why. I changed it to graphical.target and the issue is fixed.

I checked back and found that this issue has already been addressed in commit 5947cc939eed6891e8008943c9538e662f4218ae, but AUR only hosts an older version, so all that's required is an update.

Thank you in advance!

Saancreed commented on 2021-01-16 11:31 (UTC)

Hello, please add systemd to makedepends, otherwise the build fails with the following error:

-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") 
-- Checking for module 'libevdev'
--   Found libevdev, version 1.10.1
-- Checking for module 'systemd'
--   Package 'systemd', required by 'virtual:world', not found
-- Checking for module 'libconfig'
--   Found libconfig, version 1.7.2
-- Checking for module 'libudev'
--   Package 'libudev', required by 'virtual:world', not found
CMake Error at /usr/share/cmake-3.19/Modules/FindPkgConfig.cmake:553 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.19/Modules/FindPkgConfig.cmake:741 (_pkg_check_modules_internal)
  src/logid/CMakeLists.txt:75 (pkg_check_modules)