Hi, can you please apply the following patch to nvidia-settings
? Thank you.
https://github.com/archlinux/svntogit-packages/commit/a961e20af981a649ab128a29e3fc9ba9958c5689
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, libXNVCtrl.so |
Submitter: | jonathon |
Maintainer: | Sinyria (SoftExpert) |
Last Packager: | SoftExpert |
Votes: | 29 |
Popularity: | 0.54 |
First Submitted: | 2021-10-31 00:59 (UTC) |
Last Updated: | 2024-06-29 05:35 (UTC) |
Hi, can you please apply the following patch to nvidia-settings
? Thank you.
https://github.com/archlinux/svntogit-packages/commit/a961e20af981a649ab128a29e3fc9ba9958c5689
@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.
lib32-libxnvctrl
exists on aur, it's needed by lib32-mangohud
Why is that needed? lib32-libxnvctrl
doesn't exist.
lib32- variant of this package (lib32-libxnvctrl-470xx)
lib32- variant of the settings package? Not sure why that's needed. I already packaged lib32-nvidia-470xx-utils
.
lib32- variant?
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.
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.
m4
is in base-devel
so you already have it installed.
Pinned Comments
Sinyria commented on 2023-11-03 03:53 (UTC) (edited on 2024-02-23 00:35 (UTC) by Sinyria)
Sadly I do not at the moment have a system containing a GTX780 or similar to actually test this since switching to AMD in autumn. So kindly let me know if this package installs correctly for you, I can only test if it builds.
Also, hit me up if you want to be made co-maintainer for this.