Package Details: randrctl 1.9.0-1

Git Clone URL: https://aur.archlinux.org/randrctl.git (read-only, click to copy)
Package Base: randrctl
Description: Lightweight profile based screen manager for X
Upstream URL: http://github.com/edio/randrctl
Licenses: GPL3
Submitter: itsme
Maintainer: Wolfizen
Last Packager: Wolfizen
Votes: 3
Popularity: 0.000017
First Submitted: 2016-09-11 19:58 (UTC)
Last Updated: 2022-01-28 06:41 (UTC)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2023-07-07 11:08 (UTC)

python-argcomplete needs to be added as a dependency.

Without it, I‌ get the following error:

Installing randrctl script to /home/felics/.cache/yay/randrctl/pkg/randrctl/usr/bin
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/felics/.cache/yay/randrctl/src/randrctl-1.9.0/randrctl/__main__.py", line 3, in <module>
    from randrctl import cli
  File "/home/felics/.cache/yay/randrctl/src/randrctl-1.9.0/randrctl/cli.py", line 5, in <module>
    import argcomplete
ModuleNotFoundError: No module named 'argcomplete'
==> ERROR: A failure occurred in package().

It is also needed at runtime.

Thanks for maintaining,
regards!

drws commented on 2020-03-13 09:14 (UTC) (edited on 2020-03-13 09:15 (UTC) by drws)

During update to 1.8.2, the build is failing with:

install: cannot stat 'randrctl/misc/config.ini': No such file or directory

There seems to be multiple problems introduced in the latest PKGBUILD. First of all, there are two package() functions defined, the first one should be build(). Even after this correction, building is still not working with different error:

rm: cannot remove 'bin/randrctl-setup': No such file or directory

Furthermore, inbetween the previous AUR-published version (1.6.0) and the current one (1.8.2), the support for INI config format has been deprecated and only YAML is supported in the current 1.8.2. The PKGBUILD should at least inform the user that configuration needs to be reworked in case of INI format.

Last but not least, currently there is one yet-to-be-accepted pull request in randrctl repo: https://github.com/edio/randrctl/pull/22

As it is update-related and randrctl repo hasn't been updated for some time, I propose it be applied in the PKGBUILD.

drws commented on 2018-04-10 10:54 (UTC)

Also python-yaml is missing as a dependency:

https://github.com/edio/randrctl/blob/master/requirements.txt

drws commented on 2018-04-04 20:02 (UTC) (edited on 2023-08-09 14:00 (UTC) by drws)

Package needs Python's packit package and builds successfully after.

itsme commented on 2017-11-22 10:45 (UTC)

fixed, thank you

xduugu commented on 2017-11-21 21:03 (UTC)

The package does not build without git.