Package Details: rog-control-center 6.0.12-0.1

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: 17
Popularity: 0.62
First Submitted: 2021-09-18 11:01 (UTC)
Last Updated: 2024-08-31 21:34 (UTC)

Pinned Comments

fabiscafe commented on 2023-06-13 21:53 (UTC) (edited on 2024-05-11 23:43 (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

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

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...

ngoquang2708 commented on 2023-12-26 10:49 (UTC) (edited on 2023-12-26 10:49 (UTC) by ngoquang2708)

Build fail if target-dir = "..." is set in ~/.cargo/config.toml

ModYokosuka commented on 2023-09-03 19:02 (UTC)

Just a heads up to. A few merges were added to the latest release to correct issues with the upstream build system. No action needed

Debug builds were impossible because of an error in the upstream makefile. https://gitlab.com/asus-linux/asusctl/-/commit/15732ecd82b2ab4b79cc5fd64eeb310826ce3a83

Symbol stripping was being forced by the upstream makefile. https://gitlab.com/asus-linux/asusctl/-/commit/b105ff5180b189f718f110a8614218958bafeda6