Merge pull request #206805 from LibreCybernetics/update-xorg

xorg.xorgserver: 1.20.14 → 21.1.7

authored by K900 and committed by GitHub be54beb7 7de53c96

+13 -76
+3 -1
pkgs/desktops/gnome/core/mutter/42/default.nix
··· 17 17 , ninja 18 18 , xvfb-run 19 19 , xkeyboard_config 20 + , libxcvt 20 21 , libxkbfile 21 22 , libXdamage 22 23 , libxkbcommon ··· 93 94 nativeBuildInputs = [ 94 95 desktop-file-utils 95 96 gettext 97 + libxcvt 96 98 mesa # needed for gbm 97 99 meson 98 100 ninja ··· 100 102 pkg-config 101 103 python3 102 104 wrapGAppsHook 103 - xorgserver # for cvt command 105 + xorgserver 104 106 ]; 105 107 106 108 buildInputs = [
+3 -1
pkgs/desktops/gnome/core/mutter/default.nix
··· 17 17 , ninja 18 18 , xvfb-run 19 19 , xkeyboard_config 20 + , libxcvt 20 21 , libxkbfile 21 22 , libXdamage 22 23 , libxkbcommon ··· 97 98 nativeBuildInputs = [ 98 99 desktop-file-utils 99 100 gettext 101 + libxcvt 100 102 mesa # needed for gbm 101 103 meson 102 104 ninja ··· 105 107 python3 106 108 wrapGAppsHook 107 109 gi-docgen 108 - xorgserver # for cvt command 110 + xorgserver 109 111 ]; 110 112 111 113 buildInputs = [
+5 -5
pkgs/servers/x11/xorg/default.nix
··· 3322 3322 }) {}; 3323 3323 3324 3324 # THIS IS A GENERATED FILE. DO NOT EDIT! 3325 - xorgserver = callPackage ({ stdenv, pkg-config, fetchurl, xorgproto, openssl, libX11, libXau, libXaw, libxcb, xcbutil, xcbutilwm, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil, libXdmcp, libXfixes, libxkbfile, libXmu, libXpm, libXrender, libXres, libXt }: stdenv.mkDerivation { 3325 + xorgserver = callPackage ({ stdenv, pkg-config, fetchurl, xorgproto, openssl, libX11, libXau, libxcb, xcbutil, xcbutilwm, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil, libXdmcp, libXfixes, libxkbfile }: stdenv.mkDerivation { 3326 3326 pname = "xorg-server"; 3327 - version = "1.20.14"; 3327 + version = "21.1.7"; 3328 3328 builder = ./builder.sh; 3329 3329 src = fetchurl { 3330 - url = "mirror://xorg/individual/xserver/xorg-server-1.20.14.tar.xz"; 3331 - sha256 = "0sx18vsxr0dg9z7b9ph1gz6q4pmxc1n6b4sbb7i47578kc5vgiaw"; 3330 + url = "mirror://xorg/individual/xserver/xorg-server-21.1.7.tar.xz"; 3331 + sha256 = "sha256-2cYLLdDsUjJspqsg2w5JCx/09Wb1nKdC1lMuknlYd7s="; 3332 3332 }; 3333 3333 hardeningDisable = [ "bindnow" "relro" ]; 3334 3334 strictDeps = true; 3335 3335 nativeBuildInputs = [ pkg-config ]; 3336 - buildInputs = [ xorgproto openssl libX11 libXau libXaw libxcb xcbutil xcbutilwm xcbutilimage xcbutilkeysyms xcbutilrenderutil libXdmcp libXfixes libxkbfile libXmu libXpm libXrender libXres libXt ]; 3336 + buildInputs = [ xorgproto openssl libX11 libXau libxcb xcbutil xcbutilwm xcbutilimage xcbutilkeysyms xcbutilrenderutil libXdmcp libXfixes libxkbfile ]; 3337 3337 meta.platforms = lib.platforms.unix; 3338 3338 }) {}; 3339 3339
+1 -68
pkgs/servers/x11/xorg/overrides.nix
··· 790 790 # 791 791 # We set it to /var/log which can't be touched from inside the sandbox causing the build to hard-fail 792 792 ./dont-create-logdir-during-build.patch 793 - 794 - # Fix e.g. xorg.xf86videovmware with libdrm 2.4.108 795 - # TODO: remove with xorgserver >= 1.21 796 - (fetchpatch { 797 - name = "stdbool.patch"; 798 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/454b3a826edb5fc6d0fea3a9cfd1a5e8fc568747.diff"; 799 - sha256 = "1l9qg905jvlw3r0kx4xfw5m12pbs0782v2g3267d1m6q4m6fj1zy"; 800 - }) 801 - ] 802 - # TODO: remove with xorgserver >= 21.1.4; https://lists.x.org/archives/xorg/2022-July/061035.html 803 - ++ [ 804 - (fetchpatch { 805 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/f1070c01d616c5f21f939d5ebc533738779451ac.diff"; 806 - sha256 = "5hcreV3ND8Lklvo7QMpB0VWQ2tifIamRlCr6J82qXt8="; 807 - }) 808 - (fetchpatch { 809 - name = "CVE-2022-2319.diff"; 810 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/6907b6ea2b4ce949cb07271f5b678d5966d9df42.diff"; 811 - sha256 = "gWXCalWj2SF4U7wSFGIgK396B0Fs3EtA/EL+34m3FWY="; 812 - }) 813 - (fetchpatch { 814 - name = "CVE-2022-2320.diff"; 815 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/dd8caf39e9e15d8f302e54045dd08d8ebf1025dc.diff"; 816 - sha256 = "rBiiXQRreMvexW9vOKblcfCYzul+9La01EAhir4FND8="; 817 - }) 818 - ] 819 - # TODO: remove with xorgserver >= 21.1.5; https://www.mail-archive.com/xorg-announce@lists.x.org/msg01511.html 820 - ++ [ 821 - (fetchpatch { 822 - name = "CVE-2022-46340.diff"; 823 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/b320ca0ffe4c0c872eeb3a93d9bde21f765c7c63.diff"; 824 - sha256 = "sha256-XPjLwZcJPLVv1ufgqnUxl73HKcJWWTDy2J/oxFiFnAU="; 825 - }) 826 - (fetchpatch { 827 - name = "CVE-2022-46341.diff"; 828 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/51eb63b0ee1509c6c6b8922b0e4aa037faa6f78b.diff"; 829 - sha256 = "sha256-w+tzzoI1TfjjiFw5GNxVBgPc7M2lRY60zl+ySsyV59o="; 830 - }) 831 - (fetchpatch { 832 - name = "CVE-2022-46342.diff"; 833 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/b79f32b57cc0c1186b2899bce7cf89f7b325161b.diff"; 834 - sha256 = "sha256-NytCsqRlqhs8xpOL8PGgluU0nKd7VIY26BXgpzN6WqE="; 835 - }) 836 - (fetchpatch { 837 - name = "CVE-2022-46343.diff"; 838 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/842ca3ccef100ce010d1d8f5f6d6cc1915055900.diff"; 839 - sha256 = "sha256-oUwKwfN6lAvZ60dylm53+/yDeFnYTVdCINpBAfM6LoY="; 840 - }) 841 - (fetchpatch { 842 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/b8a84cb0f2807b07ab70ca9915fcdee21301b8ca.diff"; 843 - sha256 = "sha256-Y2x9/P0SgwUAJRjIXivA32NnMso7gQAid+VjcwNUsa8="; 844 - }) 845 - (fetchpatch { 846 - name = "CVE-2022-46344.diff"; 847 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/8f454b793e1f13c99872c15f0eed1d7f3b823fe8.diff"; 848 - sha256 = "sha256-Cr760UPwmm8Qr0o/R8/IlgggXQ6ENTHRz3bP/nsIwbU="; 849 - }) 850 - (fetchpatch { 851 - name = "CVE-2022-4283.diff"; 852 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/ccdd431cd8f1cabae9d744f0514b6533c438908c.diff"; 853 - sha256 = "sha256-IGPsjS7KgRPLrs1ImBXvIFCa8Iu5ZiAHRZvHlBYP8KQ="; 854 - }) 855 - (fetchpatch { 856 - name = "CVE-2023-0494.diff"; 857 - url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/0ba6d8c37071131a49790243cdac55392ecf71ec.diff"; 858 - sha256 = "sha256-/+IuGk09OYVEIB/Y+DTKf7kfHyukEFX/6u1FDIGJieY="; 859 - }) 860 793 ]; 861 - buildInputs = commonBuildInputs ++ [ libdrm mesa ]; 794 + buildInputs = commonBuildInputs ++ [ libdrm libxcvt mesa ]; 862 795 propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ libpciaccess ] ++ commonPropagatedBuildInputs ++ lib.optionals stdenv.isLinux [ 863 796 udev 864 797 ];
+1 -1
pkgs/servers/x11/xorg/tarballs.list
··· 217 217 mirror://xorg/individual/util/makedepend-1.0.6.tar.bz2 218 218 mirror://xorg/individual/util/util-macros-1.19.3.tar.bz2 219 219 mirror://xorg/individual/util/xorg-cf-files-1.0.7.tar.bz2 220 - mirror://xorg/individual/xserver/xorg-server-1.20.14.tar.xz 220 + mirror://xorg/individual/xserver/xorg-server-21.1.7.tar.xz