Package Details: libxnvctrl-510xx 510.108.03-1

Git Clone URL: https://aur.archlinux.org/nvidia-510xx-settings.git (read-only, click to copy)
Package Base: nvidia-510xx-settings
Description: NVIDIA NV-CONTROL X extension
Upstream URL: https://github.com/NVIDIA/nvidia-settings
Licenses: GPL2
Conflicts: libxnvctrl
Provides: libxnvctrl, libXNVCtrl.so
Submitter: jonathon
Maintainer: KarlLudwig
Last Packager: KarlLudwig
Votes: 2
Popularity: 0.000000
First Submitted: 2022-05-20 21:12 (UTC)
Last Updated: 2024-05-23 03:58 (UTC)

Required by (32)

Sources (2)

Latest Comments

1 2 Next › Last »

mrdaltro commented on 2024-10-17 01:04 (UTC) (edited on 2024-10-17 01:06 (UTC) by mrdaltro)

In the "cp" line, downwards next to the end of the pkgbuild, you need to replace out/libXNVCtrl.* by _out/Linux_x86_64/libXNVCtrl.*.

Ps.: also, for some reason the "rm" line outputs and error too, but I think the script runs as well if you comment that line.

dakata1337 commented on 2022-06-19 11:20 (UTC)

Thanks. Manually installing the package seems to fix the problem.

jonathon commented on 2022-06-19 10:52 (UTC)

You seem to be installing into /usr/local/bin for some reason - it looks like the PREFIX environment variable is being reset. Try makepkg, and check your configuration.

dakata1337 commented on 2022-06-19 09:12 (UTC) (edited on 2022-06-19 09:12 (UTC) by dakata1337)

I am getting this error

==> Starting package_nvidia-510xx-settings()...
make[1]: Entering directory '/home/daniel/.cache/yay/nvidia-510xx-settings/src/nvidia-settings-510.73.05/src'
mkdir -p /home/daniel/.cache/yay/nvidia-510xx-settings/pkg/nvidia-510xx-settings/usr/local/bin
install -m 755 _out/Linux_x86_64/nvidia-settings /home/daniel/.cache/yay/nvidia-510xx-settings/pkg/nvidia-510xx-settings/usr/local/bin/nvidia-settings
mkdir -p /home/daniel/.cache/yay/nvidia-510xx-settings/pkg/nvidia-510xx-settings/usr/local/lib
install -m 644 _out/Linux_x86_64/libnvidia-gtk2.so \
    /home/daniel/.cache/yay/nvidia-510xx-settings/pkg/nvidia-510xx-settings/usr/local/lib/libnvidia-gtk2.so.510.73.05
install -m 644 _out/Linux_x86_64/libnvidia-gtk3.so \
    /home/daniel/.cache/yay/nvidia-510xx-settings/pkg/nvidia-510xx-settings/usr/local/lib/libnvidia-gtk3.so.510.73.05
make[1]: Leaving directory '/home/daniel/.cache/yay/nvidia-510xx-settings/src/nvidia-settings-510.73.05/src'
make[1]: Entering directory '/home/daniel/.cache/yay/nvidia-510xx-settings/src/nvidia-settings-510.73.05/samples'
make[1]: Leaving directory '/home/daniel/.cache/yay/nvidia-510xx-settings/src/nvidia-settings-510.73.05/samples'
make[1]: Entering directory '/home/daniel/.cache/yay/nvidia-510xx-settings/src/nvidia-settings-510.73.05/doc'
mkdir -p /home/daniel/.cache/yay/nvidia-510xx-settings/pkg/nvidia-510xx-settings/usr/local/share/man/man1
install -m 644 _out/Linux_x86_64/nvidia-settings.1.gz /home/daniel/.cache/yay/nvidia-510xx-settings/pkg/nvidia-510xx-settings/usr/local/share/man/man1/nvidia-settings.1.gz
make[1]: Leaving directory '/home/daniel/.cache/yay/nvidia-510xx-settings/src/nvidia-settings-510.73.05/doc'
rm: cannot remove '/home/daniel/.cache/yay/nvidia-510xx-settings/pkg/nvidia-510xx-settings/usr/lib/libnvidia-gtk2.so.510.73.05': No such file or directory
==> ERROR: A failure occurred in package_nvidia-510xx-settings().

maderios commented on 2022-05-23 19:00 (UTC)

Yes it builds fine. Done, Thanks :)

jonathon commented on 2022-05-23 18:38 (UTC)

One more time.

maderios commented on 2022-05-23 17:31 (UTC)

git pull --rebase'
 % makepkg -sicC
==> WARNING: Cannot find the sudo binary. Will use su to acquire root privileges.
==> Making package: nvidia-510xx-settings 510.73.05-2 (Mon 23 May 2022 07:28:26 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found nvidia-510xx-settings-510.73.05.tar.gz
  -> Found libxnvctrl_so.patch
==> Validating source files with sha512sums...
    nvidia-510xx-settings-510.73.05.tar.gz ... Passed
    libxnvctrl_so.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting nvidia-510xx-settings-510.73.05.tar.gz with bsdtar
==> Starting prepare()...
patching file src/libXNVCtrl/Makefile
patching file src/libXNVCtrl/xnvctrl.mk
==> Removing existing $pkgdir/ directory...
==> Starting build()...
./nvidia-510xx-settings/PKGBUILD: line 30: cd: nvidia-510xx-settings-510.73.05: No such file or directory

jonathon commented on 2022-05-23 17:19 (UTC) (edited on 2022-05-23 17:20 (UTC) by jonathon)

Oh, gorammit there's another one hidden away in prepare(). -.-

I'm not bumping pkgrel for that, just pull and build.

maderios commented on 2022-05-23 17:18 (UTC)

As usually, I did 'git pull --rebase' in PKGBUILD directory