Source: nvidia-legacy-340xx
Section: non-free/x11
Priority: optional
Maintainer: nvidia-legacy CI <ci@nvidia-legacy.invalid>
Build-Depends:
 debhelper-compat (= 12),
 dpkg-dev,
 binutils,
 xz-utils,
# runtime libs the prebuilt NVIDIA .so files link against, so dpkg-shlibdeps
# can resolve their SONAMEs at build time
 libc6-dev,
 libx11-6, libxext6, libxv1, libxrandr2, libxrender1, libxfixes3, libxi6,
 libgl1, libglx0, libglvnd0,
 libwayland-client0, libwayland-server0,
 libpciaccess0, libxvmc1, libvdpau1, libgbm1,
 libxcb1, libxcb-glx0, libxcb-dri2-0, libxcb-dri3-0, libxcb-present0,
 libxdamage1, libxshmfence1, libxcursor1, libxinerama1,
Rules-Requires-Root: no
Standards-Version: 4.6.2
Homepage: https://github.com/kami911/nvidia-legacy
Vcs-Git: https://github.com/kami911/nvidia-legacy-dkms.git
Vcs-Browser: https://github.com/kami911/nvidia-legacy-dkms

Package: nvidia-legacy-340xx-driver
Architecture: amd64
Depends:
 ${misc:Depends},
 nvidia-legacy-340xx-driver-libs (= ${binary:Version}),
 nvidia-legacy-340xx-driver-bin (= ${binary:Version}),
 xserver-xorg-video-nvidia-legacy-340xx (= ${binary:Version}),
 nvidia-legacy-340xx-kernel-support (= ${binary:Version}),
 nvidia-legacy-340xx-kernel-dkms (= ${binary:Version}),
Provides: nvidia-legacy-driver
Conflicts: nvidia-driver, nvidia-legacy-driver
Replaces: nvidia-legacy-driver
Description: NVIDIA legacy 340.108 driver metapackage (GeForce 8/9/200/300 series (G8x, G9x, GT2xx))
 The 340.108 driver from the NVIDIA 340xx legacy series, repackaged as a
 reproducible build for focal.
 .
 Supported hardware: GeForce 8/9/200/300 series (G8x, G9x, GT2xx).
 .
 UPSTREAM STATUS: Upstream EOL 2019-12. Known unfixable security issues — ship with a loud warning.
 .
 SECURITY WARNING: this driver series receives NO security updates from NVIDIA
 and has publicly known, unpatched vulnerabilities. Install it only on isolated
 or offline systems, or where the hardware leaves no supported alternative.

Package: nvidia-legacy-340xx-driver-bin
Architecture: amd64
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: NVIDIA legacy 340.108 driver — utilities
 nvidia-smi, nvidia-settings, nvidia-xconfig, nvidia-debugdump,
 nvidia-persistenced and the GTK backends for the 340.108 driver.

Package: xserver-xorg-video-nvidia-legacy-340xx
Architecture: amd64
Depends:
 ${misc:Depends}, ${shlibs:Depends},
 nvidia-legacy-340xx-driver-libs (= ${binary:Version}),
 nvidia-legacy-340xx-kernel-support (= ${binary:Version}),
Provides: xorg-driver-video
Description: NVIDIA legacy 340.108 driver — Xorg driver
 The nvidia_drv.so X.Org video driver from the 340.108 release.
 Officially targets X server video driver ABI <= 24.


Package: nvidia-legacy-340xx-driver-libs
Architecture: amd64 i386
Multi-Arch: same
Section: non-free/libs
Depends: ${misc:Depends}, ${shlibs:Depends}
Provides:
 nvidia-legacy-340xx-driver-libs-nonglvnd,
 libgl1-nvidia-glx,
 libgl1-nvidia-legacy-340xx-glx,
 vdpau-driver,
 libglx-nvidia,
# this series ships its own libGL.so.N / libEGL.so.N directly (pre-GLVND;
# no libnvidia-gtk2/gtk3-style dlopen split, no glvnd dispatch layer).
# Those SONAMEs are also owned by the distro's real libgl1/libegl1 (mesa),
# so the payload copies are installed to a private path and registered as
# update-alternatives (debian/*.postinst, *.prerm) instead of conflicting
# outright -- both packages can be installed side by side, with whichever
# was installed/configured last (or has the higher alternatives priority)
# owning the live libGL.so.1/libEGL.so.1 symlink.
Description: NVIDIA legacy 340.108 driver — runtime libraries
 Every shared library from the NVIDIA 340.108 userspace: libGL / libGLX_nvidia
 / libEGL_nvidia, libnvidia-glcore, libnvidia-tls, libnvidia-eglcore,
 libnvidia-ml, libcuda and friends, plus the GLX X extension module. Install the
 :i386 variant alongside for 32-bit applications.

Package: nvidia-legacy-340xx-kernel-support
Architecture: all
Depends: ${misc:Depends}
Description: NVIDIA legacy 340.108 driver — kernel/X integration glue
 Ships the nouveau blacklist, the modprobe alias, the initramfs hook, the udev
 rules and the /etc/X11/xorg.conf.d snippet for the 340.108 driver.

Package: nvidia-legacy-340xx-kernel-dkms
Architecture: all
Section: non-free/kernel
Depends: ${misc:Depends}, dkms (>= 2.8)
Recommends: nvidia-legacy-340xx-driver-libs
Provides: nvidia-legacy-340xx-kernel-modules
Description: NVIDIA legacy 340.108 driver — DKMS kernel module source
 DKMS source for the nvidia, nvidia-modeset, nvidia-drm and nvidia-uvm kernel
 modules from the 340.108 release. Rebuilt automatically for every installed
 kernel. Community patches extend build support to Linux <= 7.2.
