Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#4751 - nvidia-utils tweaks
|
DetailsThe nvidia-utils pkgbuild could use a tweak or two. For example, the following lines would make the .desktop a little more useful...
cd NVIDIA-Linux-x86-${_nver} chmod +w ./usr/share/applications/nvidia-settings.desktop sed 's:__UTILS_PATH__:/usr/bin:' ./usr/share/applications/nvidia-settings.desktop > ./nv.desktop sed 's:__DOCS_PATH__:/usr/share/icons:' ./nv.desktop > ./usr/share/applications/nvidia-settings.desktop chmod -w ./usr/share/applications/nvidia-settings.desktop mkdir -p $startdir/pkg/usr/share/icons/ install $startdir/src/NVIDIA-Linux-x86-${_nver}/usr/share/doc/nvidia-settings.png $startdir/pkg/usr/share/icons/ |
This task depends upon
sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__DOCS_PATH__:/usr/share/icons:' -i nvidia-settings.desktop
Which edits the file in-place with two regular expressions. Less code, less failures ;)