Package Details: brightness-controller-git 2.4.r10.gd154da9-1

Git Clone URL: https://aur.archlinux.org/brightness-controller-git.git (read-only, click to copy)
Package Base: brightness-controller-git
Description: Control Brightness of your Primary and Secondary Display in Linux
Upstream URL: https://github.com/LordAmit/Brightness
Licenses: GPL-3.0-or-later
Conflicts: brightness-controller
Provides: brightness-controller
Submitter: dracorp
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 12
Popularity: 0.000842
First Submitted: 2018-02-28 16:40 (UTC)
Last Updated: 2024-01-20 20:28 (UTC)

Latest Comments

1 2 Next › Last »

yochananmarqos commented on 2022-10-03 15:56 (UTC) (edited on 2022-10-03 15:56 (UTC) by yochananmarqos)

@peter.kehl: Your Python path seems to be in your home directory. Please refer to the Manjaro forum for support.

Please edit your comment to use proper formatting using Markdown:

```

terminal output here

```

peter.kehl commented on 2022-10-03 15:23 (UTC)

The current package is failing to build. My Manjaro is up-to-date but old (over 3+years) - I know that it "shouldn't matter", but I did see (GUI) differences between my Manjaro and a newer installation. Anyway, the error:

Preparing... Synchronizing package databases... Refreshing pritunl.db... Checking brightness-controller-git dependencies... Warning: glide: local (0.13.3-3) is newer than community (0.5.9-2) Warning: gnome-wallpapers: local (20201023-1) is newer than community (20201020-1) Resolving dependencies... Checking inter-conflicts... Warning: dependency cycle detected: Warning: python-poetry-plugin-export will be installed before its python-poetry dependency Download of python-crashtest (0.4.0-1) started Download of python-crashtest (0.4.0-1) finished Download of python-secretstorage (3.3.3-1) started Download of python-secretstorage (3.3.3-1) finished Download of python-tomlkit (0.11.4-1) started Download of python-pkginfo (1.8.3-1) started Download of python-tomlkit (0.11.4-1) finished Download of python-pkginfo (1.8.3-1) finished Download of python-keyring (23.9.0-1) started Download of python-cachy (0.3.0-7) started Download of python-keyring (23.9.0-1) finished Download of python-cachy (0.3.0-7) finished Download of python-lark-parser (1.1.2-1) started Download of python-cleo (1.0.0a5-2) started Download of python-lark-parser (1.1.2-1) finished Download of python-cleo (1.0.0a5-2) finished Download of python-pylev (1.4.0-4) started Download of python-pylev (1.4.0-4) finished Download of python-poetry-core (1.1.0-1) started Download of python-poetry-core (1.1.0-1) finished Download of python-entrypoints (0.4-2) started Download of python-entrypoints (0.4-2) finished Download of python-virtualenv (20.13.1-1) started Download of python-filelock (3.8.0-1) started Download of python-filelock (3.8.0-1) finished Download of python-poetry (1.2.0-5) started Download of python-poetry (1.2.0-5) finished Download of python-shellingham (1.5.0-1) started Download of python-shellingham (1.5.0-1) finished Download of python-poetry-plugin-export (1.0.6-2) started Download of python-poetry-plugin-export (1.0.6-2) finished Download of python-virtualenv (20.13.1-1) finished Download of python-requests-toolbelt (0.9.1-7) started Download of python-requests-toolbelt (0.9.1-7) finished Checking keyring... Checking integrity... Loading packages files... Checking file conflicts... Checking available disk space... Installing python-crashtest (0.4.0-1)... Installing python-secretstorage (3.3.3-1)... Installing python-pkginfo (1.8.3-1)... Installing python-entrypoints (0.4-2)... Installing python-keyring (23.9.0-1)... Installing python-cachy (0.3.0-7)... Installing python-pylev (1.4.0-4)... Installing python-cleo (1.0.0a5-2)... Installing python-lark-parser (1.1.2-1)... Installing python-tomlkit (0.11.4-1)... Installing python-poetry-core (1.1.0-1)... Installing python-requests-toolbelt (0.9.1-7)... Installing python-shellingham (1.5.0-1)... Installing python-filelock (3.8.0-1)... Installing python-virtualenv (20.13.1-1)... Installing python-poetry (1.2.0-5)... Installing python-poetry-plugin-export (1.0.6-2)... Running post-transaction hooks... Arming ConditionNeedsUpdate... Cloning brightness-controller-git build files... Generating brightness-controller-git information...

Building brightness-controller-git... ==> Making package: brightness-controller-git 2.4.r5.g7c4a27e-3 (Sun 02 Oct 2022 04:35:23 PM) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning brightness-controller git repo... Cloning into bare repository '/var/tmp/pamac-build-pkehl/brightness-controller-git/brightness-controller'... -> Downloading brightness-controller.1.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

100 647 100 647 0 0 962 0 --:--:-- --:--:-- --:--:-- 962 -> Found brightness-controller.desktop -> Found brightness-reset.sh ==> Validating source files with sha256sums... brightness-controller ... Skipped brightness-controller.1.gz ... Passed brightness-controller.desktop ... Passed brightness-reset.sh ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of brightness-controller git repo... Cloning into 'brightness-controller'... done. -> Extracting brightness-controller.1.gz with gzip ==> Starting prepare()... ==> Starting pkgver()... ==> Starting build()... * Getting dependencies for wheel... * Building wheel... Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pep517/in_process/_in_process.py", line 351, in <module> main() File "/usr/lib/python3.10/site-packages/pep517/in_process/_in_process.py", line 333, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/lib/python3.10/site-packages/pep517/in_process/_in_process.py", line 249, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "/home/pkehl/.local/lib/python3.10/site-packages/poetry/core/masonry/api.py", line 66, in build_wheel poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False) File "/home/pkehl/.local/lib/python3.10/site-packages/poetry/core/factory.py", line 43, in create_poetry raise RuntimeError("The Poetry configuration is invalid:\n" + message) RuntimeError: The Poetry configuration is invalid: - Additional properties are not allowed ('group' was unexpected)

ERROR Backend subprocess exited when trying to invoke build_wheel ==> ERROR: A failure occurred in build(). Aborting...

yochananmarqos commented on 2022-10-02 17:17 (UTC)

@juga: It's fixed now.

juga commented on 2022-10-02 16:36 (UTC)

fragment refers to the directory / src which does not exist. Building a package ends with an error that there is no such directory. Rather than package() { cd "$srcdir/${pkgname%-git}/src i used package() { cd "$srcdir/${pkgname%-git}/brightness-controller-linux/brightness_controller_linux" The package is building but after installing and running I get an error about the missing module py brightness_controller. After installing the module, the program works. Could be a little easier to install, but it works, thanks.

dracorp commented on 2021-05-21 20:53 (UTC)

Ok, thanks. I've orphaned it.

pethersonmoreno commented on 2021-05-21 03:05 (UTC) (edited on 2021-05-21 03:05 (UTC) by pethersonmoreno)

Really interesting this @yochananmarqos's PKGBUILD.

I temporaraly solved this installation using a custom script that I've created to it, here is the link to it:

archisman commented on 2021-05-14 18:47 (UTC) (edited on 2021-05-18 08:23 (UTC) by archisman)

@dracorp I am an upstream contributor. This PKGBUILD does not work, while the one created by @yochananmarqos works perfectly. Please add him as a Co-Maintainer (or orphan the package so that he can adopt it).

yochananmarqos commented on 2021-05-14 15:28 (UTC)

@archisman: Thanks for the tips, I got it working. See my PKGBUILD

archisman commented on 2021-05-14 03:47 (UTC) (edited on 2021-05-14 04:28 (UTC) by archisman)

The setup.py is not ready yet. Till then, edit the PKGBUILD to do the following.

Download the master branch, and,

1. copy src/init.py --> /usr/share/brightness-controller/
2. copy src/ui/ --> /usr/share/brightness-controller/
3. copy src/util/ --> /usr/share/brightness-controller/
4. copy img/brightness.svg --> /usr/share/icons/hicolor/scalable/apps/brightness-controller.svg
5. Download `brightness-controller` and `brightness-reset`and copy them to `/usr/bin` (from releases branch https://github.com/LordAmit/Brightness/tree/releases/usr/bin)
6. Download the .desktop file from releases (https://github.com/LordAmit/Brightness/tree/releases/usr/share/applications) and copy it to `/usr/share/applications`

Alternatively, download everything from the releases branch, which is used to create the Debian package.

The only dependencies should be python-qtpy(+ one of its optional dependencies, either python-pyqt5 or pyside2) and xorg-xrandr.

yochananmarqos commented on 2021-05-14 02:47 (UTC) (edited on 2021-05-14 02:47 (UTC) by yochananmarqos)

This fails to build without patchelf and python-setuptools.

I can't get this to work, so I'm not sure if there are more dependencies needed besides python-qtpy (+ either python-pyqt5 or pyside2) and xorg-xrandr.

❯ brightness
zsh: segmentation fault (core dumped)  brightness