@fabiscafe: It seems upstream supports libayatana-appindicator
now. See the README
Search Criteria
Package Details: rog-control-center 6.0.5-0.1
Package Actions
Git Clone URL: | https://aur.archlinux.org/asusctl.git (read-only, click to copy) |
---|---|
Package Base: | asusctl |
Description: | App to control asusctl |
Upstream URL: | https://asus-linux.org |
Keywords: | anime asus matrix rog |
Licenses: | MPL-2.0 |
Submitter: | fabiscafe |
Maintainer: | fabiscafe |
Last Packager: | fabiscafe |
Votes: | 15 |
Popularity: | 1.27 |
First Submitted: | 2021-09-18 11:01 (UTC) |
Last Updated: | 2024-05-10 12:50 (UTC) |
Dependencies (21)
- asusctlAUR (asusctl-gitAUR)
- gcc-libs (gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libayatana-appindicator
- libinput (libinput-three-finger-dragAUR, libinput-multiplierAUR)
- libxkbcommon (libxkbcommon-gitAUR)
- mesa (mesa-nightly-nvk-rusticl-intelrt-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-minimal-gitAUR, mesa-gitAUR, mesa-amber)
- seatd (seatd-gitAUR)
- systemd-libs (systemd-libs-gitAUR, systemd-libs-fmlAUR, systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR) (make)
- git (git-gitAUR) (make)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR) (make)
- libayatana-appindicator (make)
- libinput (libinput-three-finger-dragAUR, libinput-multiplierAUR) (make)
- libusb (libusb-gitAUR) (make)
- rust (rust-nightlyAUR, rust-nightly-binAUR, rust-gitAUR, rustup-gitAUR, rustup) (make)
- seatd (seatd-gitAUR) (make)
- Show 1 more dependencies...
Required by (1)
- asusctl (optional)
Sources (1)
yochananmarqos commented on 2024-03-13 20:44 (UTC)
fabiscafe commented on 2024-03-13 09:21 (UTC)
@yochananmarqos Nice catch! This will be adopted :D
yochananmarqos commented on 2024-03-12 21:01 (UTC)
@fabiscafe: The export is in Rust package guidelines for a reason. ;)
ngoquang2708 commented on 2024-03-12 15:49 (UTC)
Setting CARGO_TARGET_DIR=target is just reset everything back to default value. Anyway, we are already modified CARGO_HOME.
fabiscafe commented on 2024-03-12 15:12 (UTC)
@ngoquang2708 Would you report this upstream? I don't want to workaround an upstream issue caused by a user setting. Because the supported scope of this PKGBUILD is to be build in a clean build environment. 😟
ngoquang2708 commented on 2024-03-12 14:32 (UTC)
In system with global target directory set, build process will fail because asusctl Makefile expected that target is in the asusctl folder. Apply this patch fix the issue.
diff --git a/PKGBUILD b/PKGBUILD
index 487354c..34a7148 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -48,6 +48,7 @@ build() {
# Keep rust/cargo build-dependency management inside the build directory
export CARGO_HOME="${srcdir}/cargo"
+ export CARGO_TARGET_DIR=target
make build
# gnome-shell extension
bemxio commented on 2024-03-11 16:56 (UTC)
@fabiscafe Got the terminology wrong, but you got what I meant :^) And yeah, after setting up a swap file it still makes my machine unresponsive for a while, but it builds successfully. Thanks!
fabiscafe commented on 2024-03-11 07:33 (UTC)
@bemxio AUR contains PKGBUILDs, not packages. This PKGBUILD builds 3 packages: asusctl, rog-control-center, gnome-shell-extension-asusctl-gnome.
Some of them will require a high amount of system memory (>16GiB) I have an optional swapfile of 30GiB that I swapon to build it, because I'm also pretty limited when it comes to system memory (8GiB).
@redsolja Please try in a clean build environment
bemxio commented on 2024-03-05 11:56 (UTC)
The package makes my system halt when building rog-control-center
. Why is it built anyway, since rog-control-center
is a seperate package? Is there a way to disable building it?
redsolja commented on 2024-03-05 07:39 (UTC)
Fails to build:
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0282]: type annotations needed
error[E0282]: type annotations needed
Some errors have detailed explanations: E0282, E0562, E0706.
For more information about an error, try `rustc --explain E0282`.
error: could not compile `asusd` (lib) due to 21 previous errors
warning: build failed, waiting for other jobs to finish...
make: *** [Makefile:141: build] Error 101
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
fabiscafe commented on 2023-06-13 21:53 (UTC) (edited on 2024-05-06 13:15 (UTC) by fabiscafe)
Official Setup Guide
https://asus-linux.org/guides/arch-guide/
Merge/Pull Requests / Bugreports
https://gitlab.archlinux.org/fabiscafe/asusctl_aur
Known Issues
asusctl 6 will require Kernel 6.10 or applied patches as explained here: https://gitlab.com/asus-linux/asusctl#kernel-support
Compilation time takes very long (hours!) for 'Compiling asusctl v…'. This is a known problem with slint-ui release builds. See this slint and this rust bug report