Package Details: supergfxctl 5.1.2-1

Git Clone URL: https://aur.archlinux.org/supergfxctl.git (read-only, click to copy)
Package Base: supergfxctl
Description: A utility for Linux graphics switching on Intel/AMD iGPU + nVidia dGPU laptops
Upstream URL: https://gitlab.com/asus-linux/supergfxctl
Licenses: MPL2
Conflicts: optimus-manager, supergfxctl-git
Provides: supergfxctl
Submitter: ModYokosuka
Maintainer: ModYokosuka
Last Packager: ModYokosuka
Votes: 7
Popularity: 0.012418
First Submitted: 2022-02-07 17:19 (UTC)
Last Updated: 2023-11-03 02:42 (UTC)

Pinned Comments

ModYokosuka commented on 2022-08-01 18:26 (UTC)

If changes are required to this package please submit a pull request to https://github.com/GregoryLand/aur-supergfxctl

Latest Comments

ModYokosuka commented on 2023-04-08 04:41 (UTC) (edited on 2023-04-08 05:10 (UTC) by ModYokosuka)

Regarding the base-devel issue raised by DuKol. So from my understanding PKGBUILDS should never include base-devel in the #makedepends per this section of the wiki.

https://wiki.archlinux.org/title/PKGBUILD#makedepends
Note: The package base-devel is assumed to be already installed when building with makepkg. Dependencies of this package should not be included in makedepends array.

It is assumed to be installed. This is why I have not included it in the PKGBUILD. If you are building inside a clean chroot, as I would recommend, please make sure you build base-devel into that chroot to meet the expectations.

DuKol commented on 2023-04-06 12:24 (UTC) (edited on 2023-04-06 13:32 (UTC) by DuKol)

Hello all, I'm trying to build the package hoping it could help me to resolve nonworking keyboard on Asus ExpertBook laptop, but I get the following error:


error: failed to run custom build command for `libudev-sys v0.1.4`

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Could not run `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=\"1\" PKG_CONFIG_ALLOW_SYSTEM_LIBS=\"1\" \"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"`\nThe pkg-config command could not be found.\n\nMost likely, you need to install a pkg-config package for your OS.\nTry `apt install pkg-config`, or `yum install pkg-config`,\nor `pkg install pkg-config` depending on your distribution.\n\nIf you've already installed it, ensure the pkg-config command is one of the\ndirectories in the PATH environment variable.\n\nIf you did not expect this build to link to a pre-installed system library,\nthen check documentation of the libudev-sys crate for an option to\nbuild the library from source, or disable features or dependencies\nthat require pkg-config."', /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libudev-sys-0.1.4/build.rs:38:41
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5
     1: core::panicking::panic_fmt
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14
     2: core::result::unwrap_failed
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/result.rs:1790:5
     3: core::result::Result<T,E>::unwrap
     4: build_script_build::main
     5: core::ops::function::FnOnce::call_once

Is there any way out? And is it worth trying to make the internal keyboard work?

[SOLVED] even if not in dependencies, base-devel is required.

hifigraz commented on 2022-08-06 20:24 (UTC)

I had the same issue ...

Removing

~/.config/trizen/sources/supergfxctl/supergfxctl-4.0.5.tar.gz

solved the problem

ModYokosuka commented on 2022-08-01 18:26 (UTC)

If changes are required to this package please submit a pull request to https://github.com/GregoryLand/aur-supergfxctl

ModYokosuka commented on 2022-08-01 18:15 (UTC) (edited on 2022-08-01 18:17 (UTC) by ModYokosuka)

can you do a sha512sum on supergfxctl-4.0.5.tar.gz and compare it to this one. Also what size is the zip file you have gotten?

eeed34618ea9a9b7f974fc4ffd3eee8fc152b4e2974f51add7e2be622230f110550a7dc9f44acc389096c17453a93c3816251050763d727505f8f4aa89b55ba8 supergfxctl-4.0.5.tar.gz

TheSunCat commented on 2022-07-31 18:03 (UTC) (edited on 2022-07-31 18:03 (UTC) by TheSunCat)

Hi, this package is failing to install (using paru) with the following log:

==> Making package: supergfxctl 4.0.5-2 (Sun 31 Jul 2022 07:59:48 PM CEST)

==> Retrieving sources...

-> Found supergfxctl-4.0.5.tar.gz

==> Validating source files with sha512sums...

supergfxctl-4.0.5.tar.gz ... FAILED

==> ERROR: One or more files did not pass the validity check!

error: failed to download sources for 'supergfxctl-4.0.5-2':