# The NVIDIA license does not allow any form of modification.
hardening-no-bindnow
hardening-no-fortify-functions
hardening-no-pie
binary-has-unneeded-section
[!ppc64el]: embedded-library lcms2 [usr/lib/nsight-systems/host-linux-ppc64le/libQt6WebEngineCore.so.6]
[!ppc64el]: embedded-library libjpeg [usr/lib/nsight-systems/host-linux-ppc64le/Plugins/imageformats/libqjpeg.so]
[!ppc64el]: embedded-library libjpeg [usr/lib/nsight-systems/host-linux-ppc64le/libQt6WebEngineCore.so.6]
[!ppc64el]: embedded-library libjsoncpp [usr/lib/nsight-systems/host-linux-ppc64le/libQt6WebEngineCore.so.6]
[!ppc64el]: embedded-library libpng [usr/lib/nsight-systems/host-linux-ppc64le/libQt6Gui.so.6]
[!ppc64el]: embedded-library libpng [usr/lib/nsight-systems/host-linux-ppc64le/libQt6WebEngineCore.so.6]
[!ppc64el]: embedded-library openjpeg [usr/lib/nsight-systems/host-linux-ppc64le/libQt6WebEngineCore.so.6]
[!ppc64el]: embedded-library srtp [usr/lib/nsight-systems/host-linux-ppc64le/libQt6WebEngineCore.so.6]
[!ppc64el]: embedded-library tiff [usr/lib/nsight-systems/host-linux-ppc64le/Plugins/imageformats/libqtiff.so]
[!ppc64el]: embedded-library tiff [usr/lib/nsight-systems/host-linux-ppc64le/libQt6WebEngineCore.so.6]
[!ppc64el]: embedded-library zlib [usr/lib/nsight-systems/host-linux-ppc64le/libQt6Core.so.6]
[ppc64el]: embedded-library zlib [usr/lib/nsight-systems/host-linux-ppc64le/libboost_iostreams.so.1.78.0]
[amd64]: executable-stack-in-shared-library
exit-in-shared-library
[!ppc64el]: shared-library-lacks-prerequisites
[ppc64el]: specific-address-in-shared-library
spelling-error-in-binary
[!ppc64el]: unstripped-binary-or-object

# Documentation and manpages are no longer bundled since 11.1.
no-manual-page

# The package is only available for few architectures.
arch-dep-package-has-big-usr-share

# Lintian and debhelper disagree w.r.t. a library in a private directory.
package-has-unnecessary-activation-of-ldconfig-trigger

# Some of NVIDIA's binaries expect files at certain relative paths.
executable-in-usr-lib
[amd64]: image-file-in-usr-lib [usr/lib/nsight-systems/host-linux-ppc64le/nsys-ui.png]
[!ppc64el]: repeated-path-segment lib [usr/lib/nsight-systems/host-linux-ppc64le/python/lib/]
[amd64]: repeated-path-segment Scripts [usr/share/doc/nsight-systems/examples/Scripts/VncContainer/Scripts/]
[amd64]: repeated-path-segment share [usr/share/doc/nsight-systems/examples/Scripts/VncContainer/usr/share/]
[amd64]: repeated-path-segment usr [usr/share/doc/nsight-systems/examples/Scripts/VncContainer/usr/]

# Describes contents and purpose of the directory.
[!ppc64el]: package-contains-documentation-outside-usr-share-doc [usr/lib/nsight-systems/host-linux-ppc64le/reports/README.txt]
[!ppc64el]: package-contains-documentation-outside-usr-share-doc [usr/lib/nsight-systems/host-linux-ppc64le/rules/README.txt]

# Data for populating a docker container.
[amd64]: arch-dependent-file-in-usr-share [usr/share/doc/nsight-systems/examples/Scripts/WebRTCContainer/setup/neko/server/bin/neko]
[amd64]: package-contains-eslint-config-file [usr/share/doc/nsight-systems/examples/Scripts/WebRTCContainer/setup/neko/client/.eslintrc]
[amd64]: font-in-non-font-package [usr/share/doc/nsight-systems/examples/Scripts/WebRTCContainer/setup/neko/client/dist/fonts/fa-*.ttf]
[amd64]: font-in-non-font-package [usr/share/doc/nsight-systems/examples/Scripts/WebRTCContainer/setup/neko/client/dist/fonts/fa-*.woff2]
[amd64]: font-in-non-font-package [usr/share/doc/nsight-systems/examples/Scripts/WebRTCContainer/setup/neko/client/dist/fonts/whitney-*.woff]
[amd64]: font-outside-font-dir [usr/share/doc/nsight-systems/examples/Scripts/WebRTCContainer/setup/neko/client/dist/fonts/fa-*.ttf]
[amd64]: font-outside-font-dir [usr/share/doc/nsight-systems/examples/Scripts/WebRTCContainer/setup/neko/client/dist/fonts/fa-*.woff2]
[amd64]: font-outside-font-dir [usr/share/doc/nsight-systems/examples/Scripts/WebRTCContainer/setup/neko/client/dist/fonts/whitney-*.woff]
[amd64]: duplicate-files usr/share/doc/nsight-systems/examples/Scripts/WebRTCContainer/setup/neko/*

# The *.woff fonts are not packaged separately.
font-in-non-font-package [usr/share/doc/nsight-systems/_static/css/fonts/Roboto-Slab-*.woff]
font-in-non-font-package [usr/share/doc/nsight-systems/_static/css/fonts/lato-*.woff]
font-outside-font-dir [usr/share/doc/nsight-systems/_static/css/fonts/Roboto-Slab-*.woff]
font-outside-font-dir [usr/share/doc/nsight-systems/_static/css/fonts/lato-*.woff]
