Package Details: logiops 0.3.5-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: 26
Popularity: 0.36
First Submitted: 2020-07-15 18:41 (UTC)
Last Updated: 2024-09-28 00:56 (UTC)

Latest Comments

1 2 Next › Last »

Arch_User commented on 2024-05-28 23:46 (UTC)

[ERROR] Could not create input device: No such file or directory

Tried with this package and also logiops-git package. Both fail.

It builds fine, but does not run.

I have two mice running well with Solaar. Just wanted to try this package out.

pixl commented on 2024-05-28 03:33 (UTC)

Should no longer throw a build error

maikelfumaker commented on 2024-05-24 09:55 (UTC)

Throws me this error when building.


[ 14%] Building CXX object src/logid/CMakeFiles/logid.dir/logid.cpp.o
In file included from /logiops/src/logiops-v0.3.3/src/logid/./config/map.h:21,
                 from /logiops/src/logiops-v0.3.3/src/logid/./config/types.h:21,
                 from /logiops/src/logiops-v0.3.3/src/logid/./config/schema.h:21,
                 from /logiops/src/logiops-v0.3.3/src/logid/./Configuration.h:22,
                 from /logiops/src/logiops-v0.3.3/src/logid/./Device.h:27,
                 from /logiops/src/logiops-v0.3.3/src/logid/./DeviceManager.h:23,
                 from /logiops/src/logiops-v0.3.3/src/logid/logid.cpp:19:
/logiops/src/logiops-v0.3.3/src/logid/./config/group.h: In static member function ‘static std::string logid::config::normalize_signature<std::__cxx11::basic_string<char> >::make(const std::string&)’:
/logiops/src/logiops-v0.3.3/src/logid/./config/group.h:151:18: error: ‘transform’ is not a member of ‘std’
  151 |             std::transform(ret.begin(), ret.end(), ret.begin(), ::tolower);
      |                  ^~~~~~~~~
make[2]: *** [src/logid/CMakeFiles/logid.dir/build.make:76: src/logid/CMakeFiles/logid.dir/logid.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:170: src/logid/CMakeFiles/logid.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

My solution was to manually edit logiops/src/logiops-v0.3.3/src/logid/./config/group.h adding the header #include <algorithm> as suggested in this stackoverflow post and then running makepkg -ei

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.