Package Details: libxnvctrl-470xx 470.94-1

Git Clone URL: https://aur.archlinux.org/nvidia-470xx-settings.git (read-only, click to copy)
Package Base: nvidia-470xx-settings
Description: NVIDIA NV-CONTROL X extension
Upstream URL: https://github.com/NVIDIA/nvidia-settings
Licenses: GPL2
Conflicts: libxnvctrl
Provides: libXNVCtrl.so, libxnvctrl
Submitter: jonathon
Maintainer: jonathon
Last Packager: jonathon
Votes: 23
Popularity: 7.07
First Submitted: 2021-10-31 00:59
Last Updated: 2021-12-13 19:35

Required by (39)

Sources (2)

Latest Comments

1 2 Next › Last »

yochananmarqos commented on 2021-12-14 01:16

@ahmubashshir: It's not needed by anything as there's no 32-bit nvidia-settings package. No, it's not needed by lib32-mangohud. It's listed as an optional dependency erroneously.

ahmubashshir commented on 2021-12-14 01:08

lib32-libxnvctrl exists on aur, it's needed by lib32-mangohud

jonathon commented on 2021-12-13 21:01

Why is that needed? lib32-libxnvctrl doesn't exist.

ahmubashshir commented on 2021-12-13 20:26

lib32- variant of this package (lib32-libxnvctrl-470xx)

jonathon commented on 2021-11-02 11:09

lib32- variant of the settings package? Not sure why that's needed. I already packaged lib32-nvidia-470xx-utils.

ahmubashshir commented on 2021-11-02 07:28

lib32- variant?

jonathon commented on 2021-11-01 12:58

The difference will be due to using an AUR helper rather than e.g. makechrootpkg. However, the variable definitions have now been moved. No pkgrel bump as no rebuild needed.

Internauta commented on 2021-11-01 11:54

Line 48:

rm "$pkgdir/usr/lib/libnvidia-gtk2.so.$pkgver"

The file is in /usr/local/[...], then should be:

rm "$pkgdir/usr/local/lib/libnvidia-gtk2.so.$pkgver"

Line 64:

cp -Pr out/libXNVCtrl.* -t "${pkgdir}/usr/lib"

The path is wrong. It should be:

cp -Pr _out/Linux_${arch}/libXNVCtrl.* -t "${pkgdir}/usr/lib"

Fixing these 2 lines should complete the build, but it gives another error during installation, because man files now points to /usr/local/share/man (the official package pointed to /usr/share/man). The error is:

nvidia-470xx-settings: /usr/local/share/man exists in filesystem (owned by filesystem)

EDIT: nevermind, i think i found the issue. For some reason the PREFIX variable is not visible in line 42. Adding it like this:

make DESTDIR="${pkgdir}" PREFIX="/usr" install

fixes everything. The fix in line 64 is still needed.

jonathon commented on 2021-11-01 10:58

m4 is in base-devel so you already have it installed.

xhenon commented on 2021-11-01 08:56

I notice m4 package is mandatory compile nvidia-470xx-settings but is not listed as dependence