Merge pull request #199912 from Artturin/xorgsplicing1

xorg: improve splicing situtation

authored by

Artturi and committed by
GitHub
9e1df3a0 f025edb6

+129 -71
+41 -7
pkgs/servers/x11/xorg/default.nix
··· 1 # THIS IS A GENERATED FILE. DO NOT EDIT! 2 - { lib, newScope, pixman }: 3 4 - lib.makeScope newScope (self: with self; { 5 6 inherit pixman; 7 ··· 70 }) {}; 71 72 # THIS IS A GENERATED FILE. DO NOT EDIT! 73 - encodings = callPackage ({ stdenv, pkg-config, fetchurl }: stdenv.mkDerivation { 74 pname = "encodings"; 75 version = "1.0.5"; 76 builder = ./builder.sh; ··· 80 }; 81 hardeningDisable = [ "bindnow" "relro" ]; 82 strictDeps = true; 83 - nativeBuildInputs = [ pkg-config ]; 84 buildInputs = [ ]; 85 meta.platforms = lib.platforms.unix; 86 }) {}; ··· 99 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 100 buildInputs = [ fontutil ]; 101 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 102 meta.platforms = lib.platforms.unix; 103 }) {}; 104 ··· 116 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 117 buildInputs = [ fontutil ]; 118 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 119 meta.platforms = lib.platforms.unix; 120 }) {}; 121 ··· 133 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 134 buildInputs = [ fontutil ]; 135 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 136 meta.platforms = lib.platforms.unix; 137 }) {}; 138 ··· 150 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 151 buildInputs = [ fontutil ]; 152 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 153 meta.platforms = lib.platforms.unix; 154 }) {}; 155 ··· 167 nativeBuildInputs = [ pkg-config mkfontscale ]; 168 buildInputs = [ fontutil ]; 169 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 170 meta.platforms = lib.platforms.unix; 171 }) {}; 172 ··· 200 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 201 buildInputs = [ fontutil ]; 202 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 203 meta.platforms = lib.platforms.unix; 204 }) {}; 205 ··· 217 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 218 buildInputs = [ fontutil ]; 219 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 220 meta.platforms = lib.platforms.unix; 221 }) {}; 222 ··· 234 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 235 buildInputs = [ fontutil ]; 236 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 237 meta.platforms = lib.platforms.unix; 238 }) {}; 239 ··· 251 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 252 buildInputs = [ fontutil ]; 253 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 254 meta.platforms = lib.platforms.unix; 255 }) {}; 256 ··· 268 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 269 buildInputs = [ fontutil ]; 270 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 271 meta.platforms = lib.platforms.unix; 272 }) {}; 273 ··· 285 nativeBuildInputs = [ pkg-config mkfontscale ]; 286 buildInputs = [ fontutil ]; 287 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 288 meta.platforms = lib.platforms.unix; 289 }) {}; 290 ··· 302 nativeBuildInputs = [ pkg-config mkfontscale ]; 303 buildInputs = [ fontutil ]; 304 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 305 meta.platforms = lib.platforms.unix; 306 }) {}; 307 ··· 319 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 320 buildInputs = [ fontutil ]; 321 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 322 meta.platforms = lib.platforms.unix; 323 }) {}; 324 ··· 336 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 337 buildInputs = [ fontutil ]; 338 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 339 meta.platforms = lib.platforms.unix; 340 }) {}; 341 ··· 353 nativeBuildInputs = [ pkg-config mkfontscale ]; 354 buildInputs = [ fontutil ]; 355 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 356 meta.platforms = lib.platforms.unix; 357 }) {}; 358 ··· 370 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 371 buildInputs = [ fontutil ]; 372 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 373 meta.platforms = lib.platforms.unix; 374 }) {}; 375 ··· 387 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 388 buildInputs = [ fontutil ]; 389 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 390 meta.platforms = lib.platforms.unix; 391 }) {}; 392 ··· 404 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 405 buildInputs = [ fontutil ]; 406 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 407 meta.platforms = lib.platforms.unix; 408 }) {}; 409 ··· 421 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 422 buildInputs = [ fontutil ]; 423 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 424 meta.platforms = lib.platforms.unix; 425 }) {}; 426 ··· 438 nativeBuildInputs = [ pkg-config mkfontscale ]; 439 buildInputs = [ fontutil ]; 440 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 441 meta.platforms = lib.platforms.unix; 442 }) {}; 443 ··· 455 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 456 buildInputs = [ fontutil ]; 457 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 458 meta.platforms = lib.platforms.unix; 459 }) {}; 460 ··· 472 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 473 buildInputs = [ fontutil ]; 474 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 475 meta.platforms = lib.platforms.unix; 476 }) {}; 477 ··· 489 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 490 buildInputs = [ fontutil ]; 491 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 492 meta.platforms = lib.platforms.unix; 493 }) {}; 494 ··· 506 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 507 buildInputs = [ fontutil ]; 508 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 509 meta.platforms = lib.platforms.unix; 510 }) {}; 511 ··· 523 nativeBuildInputs = [ pkg-config mkfontscale ]; 524 buildInputs = [ fontutil ]; 525 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 526 meta.platforms = lib.platforms.unix; 527 }) {}; 528 ··· 540 nativeBuildInputs = [ pkg-config mkfontscale ]; 541 buildInputs = [ fontutil ]; 542 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 543 meta.platforms = lib.platforms.unix; 544 }) {}; 545 ··· 557 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 558 buildInputs = [ fontutil ]; 559 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 560 meta.platforms = lib.platforms.unix; 561 }) {}; 562 ··· 574 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 575 buildInputs = [ fontutil ]; 576 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 577 meta.platforms = lib.platforms.unix; 578 }) {}; 579 ··· 591 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 592 buildInputs = [ fontutil ]; 593 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 594 meta.platforms = lib.platforms.unix; 595 }) {}; 596 ··· 608 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 609 buildInputs = [ fontutil ]; 610 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 611 meta.platforms = lib.platforms.unix; 612 }) {}; 613 ··· 625 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 626 buildInputs = [ fontutil ]; 627 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 628 meta.platforms = lib.platforms.unix; 629 }) {}; 630 ··· 642 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 643 buildInputs = [ fontutil ]; 644 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 645 meta.platforms = lib.platforms.unix; 646 }) {}; 647 ··· 691 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 692 buildInputs = [ fontutil ]; 693 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 694 meta.platforms = lib.platforms.unix; 695 }) {}; 696 ··· 708 nativeBuildInputs = [ pkg-config mkfontscale ]; 709 buildInputs = [ fontutil ]; 710 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 711 meta.platforms = lib.platforms.unix; 712 }) {}; 713 ··· 1976 }) {}; 1977 1978 # THIS IS A GENERATED FILE. DO NOT EDIT! 1979 - xdm = callPackage ({ stdenv, pkg-config, fetchurl, libX11, libXau, libXaw, libXdmcp, libXext, libXft, libXinerama, libXmu, libXpm, libxcrypt, xorgproto, libXrender, libXt }: stdenv.mkDerivation { 1980 pname = "xdm"; 1981 version = "1.1.12"; 1982 builder = ./builder.sh; ··· 1987 hardeningDisable = [ "bindnow" "relro" ]; 1988 strictDeps = true; 1989 nativeBuildInputs = [ pkg-config ]; 1990 - buildInputs = [ libX11 libXau libXaw libXdmcp libXext libXft libXinerama libXmu libXpm xorgproto libXrender libXt libxcrypt ]; 1991 meta.platforms = lib.platforms.unix; 1992 }) {}; 1993 ··· 3559 meta.platforms = lib.platforms.unix; 3560 }) {}; 3561 3562 - })
··· 1 # THIS IS A GENERATED FILE. DO NOT EDIT! 2 + { lib, pixman }: 3 4 + self: with self; { 5 6 inherit pixman; 7 ··· 70 }) {}; 71 72 # THIS IS A GENERATED FILE. DO NOT EDIT! 73 + encodings = callPackage ({ stdenv, pkg-config, fetchurl, mkfontscale }: stdenv.mkDerivation { 74 pname = "encodings"; 75 version = "1.0.5"; 76 builder = ./builder.sh; ··· 80 }; 81 hardeningDisable = [ "bindnow" "relro" ]; 82 strictDeps = true; 83 + nativeBuildInputs = [ pkg-config mkfontscale ]; 84 buildInputs = [ ]; 85 meta.platforms = lib.platforms.unix; 86 }) {}; ··· 99 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 100 buildInputs = [ fontutil ]; 101 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 102 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 103 meta.platforms = lib.platforms.unix; 104 }) {}; 105 ··· 117 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 118 buildInputs = [ fontutil ]; 119 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 120 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 121 meta.platforms = lib.platforms.unix; 122 }) {}; 123 ··· 135 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 136 buildInputs = [ fontutil ]; 137 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 138 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 139 meta.platforms = lib.platforms.unix; 140 }) {}; 141 ··· 153 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 154 buildInputs = [ fontutil ]; 155 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 156 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 157 meta.platforms = lib.platforms.unix; 158 }) {}; 159 ··· 171 nativeBuildInputs = [ pkg-config mkfontscale ]; 172 buildInputs = [ fontutil ]; 173 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 174 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 175 meta.platforms = lib.platforms.unix; 176 }) {}; 177 ··· 205 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 206 buildInputs = [ fontutil ]; 207 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 208 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 209 meta.platforms = lib.platforms.unix; 210 }) {}; 211 ··· 223 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 224 buildInputs = [ fontutil ]; 225 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 226 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 227 meta.platforms = lib.platforms.unix; 228 }) {}; 229 ··· 241 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 242 buildInputs = [ fontutil ]; 243 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 244 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 245 meta.platforms = lib.platforms.unix; 246 }) {}; 247 ··· 259 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 260 buildInputs = [ fontutil ]; 261 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 262 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 263 meta.platforms = lib.platforms.unix; 264 }) {}; 265 ··· 277 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 278 buildInputs = [ fontutil ]; 279 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 280 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 281 meta.platforms = lib.platforms.unix; 282 }) {}; 283 ··· 295 nativeBuildInputs = [ pkg-config mkfontscale ]; 296 buildInputs = [ fontutil ]; 297 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 298 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 299 meta.platforms = lib.platforms.unix; 300 }) {}; 301 ··· 313 nativeBuildInputs = [ pkg-config mkfontscale ]; 314 buildInputs = [ fontutil ]; 315 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 316 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 317 meta.platforms = lib.platforms.unix; 318 }) {}; 319 ··· 331 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 332 buildInputs = [ fontutil ]; 333 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 334 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 335 meta.platforms = lib.platforms.unix; 336 }) {}; 337 ··· 349 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 350 buildInputs = [ fontutil ]; 351 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 352 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 353 meta.platforms = lib.platforms.unix; 354 }) {}; 355 ··· 367 nativeBuildInputs = [ pkg-config mkfontscale ]; 368 buildInputs = [ fontutil ]; 369 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 370 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 371 meta.platforms = lib.platforms.unix; 372 }) {}; 373 ··· 385 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 386 buildInputs = [ fontutil ]; 387 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 388 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 389 meta.platforms = lib.platforms.unix; 390 }) {}; 391 ··· 403 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 404 buildInputs = [ fontutil ]; 405 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 406 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 407 meta.platforms = lib.platforms.unix; 408 }) {}; 409 ··· 421 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 422 buildInputs = [ fontutil ]; 423 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 424 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 425 meta.platforms = lib.platforms.unix; 426 }) {}; 427 ··· 439 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 440 buildInputs = [ fontutil ]; 441 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 442 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 443 meta.platforms = lib.platforms.unix; 444 }) {}; 445 ··· 457 nativeBuildInputs = [ pkg-config mkfontscale ]; 458 buildInputs = [ fontutil ]; 459 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 460 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 461 meta.platforms = lib.platforms.unix; 462 }) {}; 463 ··· 475 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 476 buildInputs = [ fontutil ]; 477 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 478 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 479 meta.platforms = lib.platforms.unix; 480 }) {}; 481 ··· 493 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 494 buildInputs = [ fontutil ]; 495 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 496 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 497 meta.platforms = lib.platforms.unix; 498 }) {}; 499 ··· 511 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 512 buildInputs = [ fontutil ]; 513 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 514 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 515 meta.platforms = lib.platforms.unix; 516 }) {}; 517 ··· 529 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 530 buildInputs = [ fontutil ]; 531 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 532 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 533 meta.platforms = lib.platforms.unix; 534 }) {}; 535 ··· 547 nativeBuildInputs = [ pkg-config mkfontscale ]; 548 buildInputs = [ fontutil ]; 549 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 550 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 551 meta.platforms = lib.platforms.unix; 552 }) {}; 553 ··· 565 nativeBuildInputs = [ pkg-config mkfontscale ]; 566 buildInputs = [ fontutil ]; 567 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 568 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 569 meta.platforms = lib.platforms.unix; 570 }) {}; 571 ··· 583 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 584 buildInputs = [ fontutil ]; 585 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 586 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 587 meta.platforms = lib.platforms.unix; 588 }) {}; 589 ··· 601 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 602 buildInputs = [ fontutil ]; 603 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 604 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 605 meta.platforms = lib.platforms.unix; 606 }) {}; 607 ··· 619 nativeBuildInputs = [ pkg-config bdftopcf fontutil mkfontscale ]; 620 buildInputs = [ fontutil ]; 621 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 622 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 623 meta.platforms = lib.platforms.unix; 624 }) {}; 625 ··· 637 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 638 buildInputs = [ fontutil ]; 639 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 640 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 641 meta.platforms = lib.platforms.unix; 642 }) {}; 643 ··· 655 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 656 buildInputs = [ fontutil ]; 657 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 658 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 659 meta.platforms = lib.platforms.unix; 660 }) {}; 661 ··· 673 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 674 buildInputs = [ fontutil ]; 675 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 676 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 677 meta.platforms = lib.platforms.unix; 678 }) {}; 679 ··· 723 nativeBuildInputs = [ pkg-config bdftopcf mkfontscale ]; 724 buildInputs = [ fontutil ]; 725 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 726 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 727 meta.platforms = lib.platforms.unix; 728 }) {}; 729 ··· 741 nativeBuildInputs = [ pkg-config mkfontscale ]; 742 buildInputs = [ fontutil ]; 743 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 744 + postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 745 meta.platforms = lib.platforms.unix; 746 }) {}; 747 ··· 2010 }) {}; 2011 2012 # THIS IS A GENERATED FILE. DO NOT EDIT! 2013 + xdm = callPackage ({ stdenv, pkg-config, fetchurl, libX11, libXau, libXaw, libXdmcp, libXext, libXft, libXinerama, libXmu, libXpm, xorgproto, libXrender, libXt }: stdenv.mkDerivation { 2014 pname = "xdm"; 2015 version = "1.1.12"; 2016 builder = ./builder.sh; ··· 2021 hardeningDisable = [ "bindnow" "relro" ]; 2022 strictDeps = true; 2023 nativeBuildInputs = [ pkg-config ]; 2024 + buildInputs = [ libX11 libXau libXaw libXdmcp libXext libXft libXinerama libXmu libXpm xorgproto libXrender libXt ]; 2025 meta.platforms = lib.platforms.unix; 2026 }) {}; 2027 ··· 3593 meta.platforms = lib.platforms.unix; 3594 }) {}; 3595 3596 + }
+5 -4
pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl
··· 154 push @nativeRequires, "bdftopcf"; 155 } 156 157 - if ($file =~ /AC_PATH_PROG\(MKFONTSCALE/) { 158 push @nativeRequires, "mkfontscale"; 159 } 160 ··· 192 if ($isFont) { 193 push @requires, "fontutil"; 194 push @{$extraAttrs{$pkg}}, "configureFlags = [ \"--with-fontrootdir=\$(out)/lib/X11/fonts\" ];"; 195 } 196 197 sub process { ··· 250 print OUT ""; 251 print OUT <<EOF; 252 # THIS IS A GENERATED FILE. DO NOT EDIT! 253 - { lib, newScope, pixman }: 254 255 - lib.makeScope newScope (self: with self; { 256 257 inherit pixman; 258 ··· 336 EOF 337 } 338 339 - print OUT "})\n"; 340 341 close OUT;
··· 154 push @nativeRequires, "bdftopcf"; 155 } 156 157 + if ($file =~ /AC_PATH_PROG\(MKFONTSCALE/ || $file =~ /XORG_FONT_REQUIRED_PROG\(MKFONTSCALE/) { 158 push @nativeRequires, "mkfontscale"; 159 } 160 ··· 192 if ($isFont) { 193 push @requires, "fontutil"; 194 push @{$extraAttrs{$pkg}}, "configureFlags = [ \"--with-fontrootdir=\$(out)/lib/X11/fonts\" ];"; 195 + push @{$extraAttrs{$pkg}}, "postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`\$PKG_CONFIG' '';"; 196 } 197 198 sub process { ··· 251 print OUT ""; 252 print OUT <<EOF; 253 # THIS IS A GENERATED FILE. DO NOT EDIT! 254 + { lib, pixman }: 255 256 + self: with self; { 257 258 inherit pixman; 259 ··· 337 EOF 338 } 339 340 + print OUT "}\n"; 341 342 close OUT;
+47 -46
pkgs/servers/x11/xorg/overrides.nix
··· 4 freetype, tradcpp, fontconfig, meson, ninja, ed, fontforge, 5 libGL, spice-protocol, zlib, libGLU, dbus, libunwind, libdrm, 6 mesa, udev, bootstrap_cmds, bison, flex, clangStdenv, autoreconfHook, 7 - mcpp, libepoxy, openssl, pkg-config, llvm, libxslt, 8 - ApplicationServices, Carbon, Cocoa, Xplugin 9 }: 10 11 let ··· 23 self: super: 24 { 25 bdftopcf = super.bdftopcf.overrideAttrs (attrs: { 26 - buildInputs = attrs.buildInputs ++ [ self.xorgproto ]; 27 }); 28 29 bitmap = super.bitmap.overrideAttrs (attrs: { ··· 32 paths=( 33 "$out/share/X11/%T/%N" 34 "$out/include/X11/%T/%N" 35 - "${self.xbitmaps}/include/X11/%T/%N" 36 ) 37 wrapProgram "$out/bin/bitmap" \ 38 --suffix XFILESEARCHPATH : $(IFS=:; echo "''${paths[*]}") ··· 41 ''; 42 }); 43 44 - encodings = super.encodings.overrideAttrs (attrs: { 45 - nativeBuildInputs = attrs.nativeBuildInputs ++ [ self.mkfontscale ]; 46 - }); 47 - 48 editres = super.editres.overrideAttrs (attrs: { 49 hardeningDisable = [ "format" ]; 50 }); ··· 52 fontmiscmisc = super.fontmiscmisc.overrideAttrs (attrs: { 53 postInstall = 54 '' 55 - ALIASFILE=${self.fontalias}/share/fonts/X11/misc/fonts.alias 56 test -f $ALIASFILE 57 cp $ALIASFILE $out/lib/X11/fonts/misc/fonts.alias 58 ''; ··· 63 }); 64 65 imake = super.imake.overrideAttrs (attrs: { 66 - inherit (self) xorgcffiles; 67 x11BuildHook = ./imake.sh; 68 patches = [./imake.patch ./imake-cc-wrapper-uberhack.patch]; 69 setupHook = ./imake-setup-hook.sh; ··· 74 inherit tradcpp; 75 }); 76 77 - mkfontdir = self.mkfontscale; 78 79 libxcb = super.libxcb.overrideAttrs (attrs: { 80 configureFlags = [ "--enable-xkb" "--enable-xinput" ] ··· 89 depsBuildBuild = [ 90 buildPackages.stdenv.cc 91 ] ++ lib.optionals stdenv.hostPlatform.isStatic [ 92 - (self.buildPackages.stdenv.cc.libc.static or null) 93 ]; 94 preConfigure = '' 95 sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure ··· 99 rm -rf $out/share/doc 100 ''; 101 CPP = lib.optionalString stdenv.isDarwin "clang -E -"; 102 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.xorgproto ]; 103 }); 104 105 libAppleWM = super.libAppleWM.overrideAttrs (attrs: { ··· 111 112 libXau = super.libXau.overrideAttrs (attrs: { 113 outputs = [ "out" "dev" ]; 114 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.xorgproto ]; 115 }); 116 117 libXdmcp = super.libXdmcp.overrideAttrs (attrs: { ··· 152 ''; 153 }); 154 155 # Propagate some build inputs because of header file dependencies. 156 # Note: most of these are in Requires.private, so maybe builder.sh 157 # should propagate them automatically. ··· 161 ''; 162 configureFlags = attrs.configureFlags or [] 163 ++ malloc0ReturnsNullCrossFlag; 164 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libSM ]; 165 depsBuildBuild = [ buildPackages.stdenv.cc ]; 166 CPP = if stdenv.isDarwin then "clang -E -" else "${stdenv.cc.targetPrefix}cc -E -"; 167 outputs = [ "out" "dev" "devdoc" ]; ··· 181 182 libXcomposite = super.libXcomposite.overrideAttrs (attrs: { 183 outputs = [ "out" "dev" ]; 184 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libXfixes ]; 185 }); 186 187 libXaw = super.libXaw.overrideAttrs (attrs: { 188 outputs = [ "out" "dev" "devdoc" ]; 189 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libXmu ]; 190 }); 191 192 libXcursor = super.libXcursor.overrideAttrs (attrs: { ··· 199 200 libXft = super.libXft.overrideAttrs (attrs: { 201 outputs = [ "out" "dev" ]; 202 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libXrender freetype fontconfig ]; 203 configureFlags = attrs.configureFlags or [] 204 ++ malloc0ReturnsNullCrossFlag; 205 ··· 214 215 libXext = super.libXext.overrideAttrs (attrs: { 216 outputs = [ "out" "dev" "man" "doc" ]; 217 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.xorgproto self.libXau ]; 218 configureFlags = attrs.configureFlags or [] 219 ++ malloc0ReturnsNullCrossFlag; 220 }); ··· 225 226 libXi = super.libXi.overrideAttrs (attrs: { 227 outputs = [ "out" "dev" "man" "doc" ]; 228 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libXfixes self.libXext ]; 229 configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 230 "xorg_cv_malloc0_returns_null=no" 231 ] ++ lib.optional stdenv.hostPlatform.isStatic "--disable-shared"; ··· 246 outputs = [ "out" "dev" ]; 247 configureFlags = attrs.configureFlags or [] 248 ++ malloc0ReturnsNullCrossFlag; 249 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libXrender ]; 250 }); 251 252 libSM = super.libSM.overrideAttrs (attrs: { 253 outputs = [ "out" "dev" "doc" ]; 254 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.libICE ]; 255 }); 256 257 libXrender = super.libXrender.overrideAttrs (attrs: { 258 outputs = [ "out" "dev" "doc" ]; 259 configureFlags = attrs.configureFlags or [] 260 ++ malloc0ReturnsNullCrossFlag; 261 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.xorgproto ]; 262 }); 263 264 libXres = super.libXres.overrideAttrs (attrs: { 265 outputs = [ "out" "dev" "devdoc" ]; 266 - buildInputs = with self; attrs.buildInputs ++ [ utilmacros ]; 267 configureFlags = attrs.configureFlags or [] 268 ++ malloc0ReturnsNullCrossFlag; 269 }); 270 271 libXScrnSaver = super.libXScrnSaver.overrideAttrs (attrs: { 272 - buildInputs = with self; attrs.buildInputs ++ [ utilmacros ]; 273 configureFlags = attrs.configureFlags or [] 274 ++ malloc0ReturnsNullCrossFlag; 275 }); ··· 284 outputs = [ "out" "dev" "doc" ]; 285 configureFlags = attrs.configureFlags or [] 286 ++ malloc0ReturnsNullCrossFlag; 287 - buildInputs = attrs.buildInputs ++ [self.xorgproto]; 288 }); 289 290 libXp = super.libXp.overrideAttrs (attrs: { ··· 297 }); 298 299 libXpresent = super.libXpresent.overrideAttrs (attrs: { 300 - buildInputs = with self; attrs.buildInputs ++ [ libXext libXfixes libXrandr ]; 301 }); 302 303 libxkbfile = super.libxkbfile.overrideAttrs (attrs: { ··· 321 postInstall = 322 '' 323 mkdir -p $out/share/man/man7 324 - ln -sfn ${self.xkeyboardconfig}/etc/X11 $out/share/X11 325 - ln -sfn ${self.xkeyboardconfig}/share/man/man7/xkeyboard-config.7.gz $out/share/man/man7 326 ''; 327 }); 328 ··· 444 445 xf86videoati = super.xf86videoati.overrideAttrs (attrs: { 446 nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook ]; 447 - buildInputs = attrs.buildInputs ++ [ self.utilmacros ]; 448 patches = [ 449 (fetchpatch { 450 url = "https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/commit/e0511968d04b42abf11bc0ffb387f143582bc144.patch"; ··· 455 456 xf86videonouveau = super.xf86videonouveau.overrideAttrs (attrs: { 457 nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook ]; 458 - buildInputs = attrs.buildInputs ++ [ self.utilmacros ]; 459 }); 460 461 xf86videoglint = super.xf86videoglint.overrideAttrs (attrs: { 462 nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook ]; 463 - buildInputs = attrs.buildInputs ++ [ self.utilmacros ]; 464 # https://gitlab.freedesktop.org/xorg/driver/xf86-video-glint/-/issues/1 465 meta = attrs.meta // { broken = true; }; 466 }); ··· 599 }); 600 601 xvinfo = super.xvinfo.overrideAttrs (attrs: { 602 - buildInputs = attrs.buildInputs ++ [self.libXext]; 603 }); 604 605 xkbcomp = super.xkbcomp.overrideAttrs (attrs: { 606 - configureFlags = [ "--with-xkb-config-root=${self.xkeyboardconfig}/share/X11/xkb" ]; 607 }); 608 609 xkeyboardconfig = super.xkeyboardconfig.overrideAttrs (attrs: { ··· 693 EOF 694 ''; 695 in 696 - self.xkeyboardconfig.overrideAttrs (old: { 697 buildInputs = old.buildInputs ++ [ automake ]; 698 postPatch = with lib; concatStrings (mapAttrsToList patchIn layouts); 699 }); ··· 714 mesonFlags = [ "-Dlegacy=true" ]; 715 }); 716 717 - xorgserver = with self; super.xorgserver.overrideAttrs (attrs_passed: 718 # exchange attrs if abiCompat is set 719 let 720 version = lib.getVersion attrs_passed; ··· 821 "--enable-xcsecurity" # enable SECURITY extension 822 "--with-default-font-path=" # there were only paths containing "${prefix}", 823 # and there are no fonts in this package anyway 824 - "--with-xkb-bin-directory=${self.xkbcomp}/bin" 825 - "--with-xkb-path=${self.xkeyboardconfig}/share/X11/xkb" 826 "--with-xkb-output=$out/share/X11/xkb/compiled" 827 "--with-log-dir=/var/log" 828 "--enable-glamor" ··· 842 ''; 843 passthru.version = version; # needed by virtualbox guest additions 844 } else { 845 - nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook self.utilmacros self.fontutil ]; 846 buildInputs = commonBuildInputs ++ [ 847 bootstrap_cmds automake autoconf 848 Xplugin Carbon Cocoa ··· 930 }); 931 932 xcursorthemes = super.xcursorthemes.overrideAttrs (attrs: { 933 - nativeBuildInputs = attrs.nativeBuildInputs ++ [ self.xcursorgen ]; 934 - buildInputs = attrs.buildInputs ++ [ self.xorgproto ]; 935 configureFlags = [ "--with-cursordir=$(out)/share/icons" ]; 936 }); 937 ··· 941 buildInputs = attrs.buildInputs ++ lib.optional isDarwin bootstrap_cmds; 942 depsBuildBuild = [ buildPackages.stdenv.cc ]; 943 configureFlags = [ 944 - "--with-xserver=${self.xorgserver.out}/bin/X" 945 ] ++ lib.optionals isDarwin [ 946 "--with-bundle-id-prefix=org.nixos.xquartz" 947 "--with-launchdaemons-dir=\${out}/LaunchDaemons" ··· 959 # Avoid replacement of word-looking cpp's builtin macros in Nix's cross-compiled paths 960 substituteInPlace Makefile.in --replace "PROGCPPDEFS =" "PROGCPPDEFS = -Dlinux=linux -Dunix=unix" 961 ''; 962 - propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ self.xauth ] 963 - ++ lib.optionals isDarwin [ self.libX11 self.xorgproto ]; 964 postFixup = '' 965 substituteInPlace $out/bin/startx --replace $out/etc/X11/xinit/xserverrc /etc/X11/xinit/xserverrc 966 ''; ··· 977 rev = "31486f40f8e8f8923ca0799aea84b58799754564"; 978 sha256 = "sha256-nqT9VZDb2kAC72ot9UCdwEkM1uuP9NriJePulzrdZlM="; 979 }; 980 - buildInputs = attrs.buildInputs ++ [ self.libXScrnSaver self.libXfixes self.libXv self.pixman self.utilmacros ]; 981 nativeBuildInputs = attrs.nativeBuildInputs ++ [autoreconfHook ]; 982 configureFlags = [ "--with-default-dri=3" "--enable-tools" ]; 983 ··· 987 }); 988 989 xf86videoopenchrome = super.xf86videoopenchrome.overrideAttrs (attrs: { 990 - buildInputs = attrs.buildInputs ++ [ self.libXv ]; 991 patches = [ 992 # Pull upstream fix for -fno-common toolchains. 993 (fetchpatch {
··· 4 freetype, tradcpp, fontconfig, meson, ninja, ed, fontforge, 5 libGL, spice-protocol, zlib, libGLU, dbus, libunwind, libdrm, 6 mesa, udev, bootstrap_cmds, bison, flex, clangStdenv, autoreconfHook, 7 + mcpp, libepoxy, openssl, pkg-config, llvm, libxslt, libxcrypt, 8 + ApplicationServices, Carbon, Cocoa, Xplugin, 9 + xorg 10 }: 11 12 let ··· 24 self: super: 25 { 26 bdftopcf = super.bdftopcf.overrideAttrs (attrs: { 27 + buildInputs = attrs.buildInputs ++ [ xorg.xorgproto ]; 28 }); 29 30 bitmap = super.bitmap.overrideAttrs (attrs: { ··· 33 paths=( 34 "$out/share/X11/%T/%N" 35 "$out/include/X11/%T/%N" 36 + "${xorg.xbitmaps}/include/X11/%T/%N" 37 ) 38 wrapProgram "$out/bin/bitmap" \ 39 --suffix XFILESEARCHPATH : $(IFS=:; echo "''${paths[*]}") ··· 42 ''; 43 }); 44 45 editres = super.editres.overrideAttrs (attrs: { 46 hardeningDisable = [ "format" ]; 47 }); ··· 49 fontmiscmisc = super.fontmiscmisc.overrideAttrs (attrs: { 50 postInstall = 51 '' 52 + ALIASFILE=${xorg.fontalias}/share/fonts/X11/misc/fonts.alias 53 test -f $ALIASFILE 54 cp $ALIASFILE $out/lib/X11/fonts/misc/fonts.alias 55 ''; ··· 60 }); 61 62 imake = super.imake.overrideAttrs (attrs: { 63 + inherit (xorg) xorgcffiles; 64 x11BuildHook = ./imake.sh; 65 patches = [./imake.patch ./imake-cc-wrapper-uberhack.patch]; 66 setupHook = ./imake-setup-hook.sh; ··· 71 inherit tradcpp; 72 }); 73 74 + mkfontdir = xorg.mkfontscale; 75 76 libxcb = super.libxcb.overrideAttrs (attrs: { 77 configureFlags = [ "--enable-xkb" "--enable-xinput" ] ··· 86 depsBuildBuild = [ 87 buildPackages.stdenv.cc 88 ] ++ lib.optionals stdenv.hostPlatform.isStatic [ 89 + (xorg.buildPackages.stdenv.cc.libc.static or null) 90 ]; 91 preConfigure = '' 92 sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure ··· 96 rm -rf $out/share/doc 97 ''; 98 CPP = lib.optionalString stdenv.isDarwin "clang -E -"; 99 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xorgproto ]; 100 }); 101 102 libAppleWM = super.libAppleWM.overrideAttrs (attrs: { ··· 108 109 libXau = super.libXau.overrideAttrs (attrs: { 110 outputs = [ "out" "dev" ]; 111 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xorgproto ]; 112 }); 113 114 libXdmcp = super.libXdmcp.overrideAttrs (attrs: { ··· 149 ''; 150 }); 151 152 + xdm = super.xdm.overrideAttrs (attrs: { 153 + buildInputs = attrs.buildInputs ++ [ libxcrypt ]; 154 + }); 155 + 156 # Propagate some build inputs because of header file dependencies. 157 # Note: most of these are in Requires.private, so maybe builder.sh 158 # should propagate them automatically. ··· 162 ''; 163 configureFlags = attrs.configureFlags or [] 164 ++ malloc0ReturnsNullCrossFlag; 165 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libSM ]; 166 depsBuildBuild = [ buildPackages.stdenv.cc ]; 167 CPP = if stdenv.isDarwin then "clang -E -" else "${stdenv.cc.targetPrefix}cc -E -"; 168 outputs = [ "out" "dev" "devdoc" ]; ··· 182 183 libXcomposite = super.libXcomposite.overrideAttrs (attrs: { 184 outputs = [ "out" "dev" ]; 185 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libXfixes ]; 186 }); 187 188 libXaw = super.libXaw.overrideAttrs (attrs: { 189 outputs = [ "out" "dev" "devdoc" ]; 190 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libXmu ]; 191 }); 192 193 libXcursor = super.libXcursor.overrideAttrs (attrs: { ··· 200 201 libXft = super.libXft.overrideAttrs (attrs: { 202 outputs = [ "out" "dev" ]; 203 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libXrender freetype fontconfig ]; 204 configureFlags = attrs.configureFlags or [] 205 ++ malloc0ReturnsNullCrossFlag; 206 ··· 215 216 libXext = super.libXext.overrideAttrs (attrs: { 217 outputs = [ "out" "dev" "man" "doc" ]; 218 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xorgproto xorg.libXau ]; 219 configureFlags = attrs.configureFlags or [] 220 ++ malloc0ReturnsNullCrossFlag; 221 }); ··· 226 227 libXi = super.libXi.overrideAttrs (attrs: { 228 outputs = [ "out" "dev" "man" "doc" ]; 229 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libXfixes xorg.libXext ]; 230 configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 231 "xorg_cv_malloc0_returns_null=no" 232 ] ++ lib.optional stdenv.hostPlatform.isStatic "--disable-shared"; ··· 247 outputs = [ "out" "dev" ]; 248 configureFlags = attrs.configureFlags or [] 249 ++ malloc0ReturnsNullCrossFlag; 250 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libXrender ]; 251 }); 252 253 libSM = super.libSM.overrideAttrs (attrs: { 254 outputs = [ "out" "dev" "doc" ]; 255 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.libICE ]; 256 }); 257 258 libXrender = super.libXrender.overrideAttrs (attrs: { 259 outputs = [ "out" "dev" "doc" ]; 260 configureFlags = attrs.configureFlags or [] 261 ++ malloc0ReturnsNullCrossFlag; 262 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xorgproto ]; 263 }); 264 265 libXres = super.libXres.overrideAttrs (attrs: { 266 outputs = [ "out" "dev" "devdoc" ]; 267 + buildInputs = with xorg; attrs.buildInputs ++ [ utilmacros ]; 268 configureFlags = attrs.configureFlags or [] 269 ++ malloc0ReturnsNullCrossFlag; 270 }); 271 272 libXScrnSaver = super.libXScrnSaver.overrideAttrs (attrs: { 273 + buildInputs = with xorg; attrs.buildInputs ++ [ utilmacros ]; 274 configureFlags = attrs.configureFlags or [] 275 ++ malloc0ReturnsNullCrossFlag; 276 }); ··· 285 outputs = [ "out" "dev" "doc" ]; 286 configureFlags = attrs.configureFlags or [] 287 ++ malloc0ReturnsNullCrossFlag; 288 + buildInputs = attrs.buildInputs ++ [xorg.xorgproto]; 289 }); 290 291 libXp = super.libXp.overrideAttrs (attrs: { ··· 298 }); 299 300 libXpresent = super.libXpresent.overrideAttrs (attrs: { 301 + buildInputs = with xorg; attrs.buildInputs ++ [ libXext libXfixes libXrandr ]; 302 }); 303 304 libxkbfile = super.libxkbfile.overrideAttrs (attrs: { ··· 322 postInstall = 323 '' 324 mkdir -p $out/share/man/man7 325 + ln -sfn ${xorg.xkeyboardconfig}/etc/X11 $out/share/X11 326 + ln -sfn ${xorg.xkeyboardconfig}/share/man/man7/xkeyboard-config.7.gz $out/share/man/man7 327 ''; 328 }); 329 ··· 445 446 xf86videoati = super.xf86videoati.overrideAttrs (attrs: { 447 nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook ]; 448 + buildInputs = attrs.buildInputs ++ [ xorg.utilmacros ]; 449 patches = [ 450 (fetchpatch { 451 url = "https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/commit/e0511968d04b42abf11bc0ffb387f143582bc144.patch"; ··· 456 457 xf86videonouveau = super.xf86videonouveau.overrideAttrs (attrs: { 458 nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook ]; 459 + buildInputs = attrs.buildInputs ++ [ xorg.utilmacros ]; 460 }); 461 462 xf86videoglint = super.xf86videoglint.overrideAttrs (attrs: { 463 nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook ]; 464 + buildInputs = attrs.buildInputs ++ [ xorg.utilmacros ]; 465 # https://gitlab.freedesktop.org/xorg/driver/xf86-video-glint/-/issues/1 466 meta = attrs.meta // { broken = true; }; 467 }); ··· 600 }); 601 602 xvinfo = super.xvinfo.overrideAttrs (attrs: { 603 + buildInputs = attrs.buildInputs ++ [xorg.libXext]; 604 }); 605 606 xkbcomp = super.xkbcomp.overrideAttrs (attrs: { 607 + configureFlags = [ "--with-xkb-config-root=${xorg.xkeyboardconfig}/share/X11/xkb" ]; 608 }); 609 610 xkeyboardconfig = super.xkeyboardconfig.overrideAttrs (attrs: { ··· 694 EOF 695 ''; 696 in 697 + xorg.xkeyboardconfig.overrideAttrs (old: { 698 buildInputs = old.buildInputs ++ [ automake ]; 699 postPatch = with lib; concatStrings (mapAttrsToList patchIn layouts); 700 }); ··· 715 mesonFlags = [ "-Dlegacy=true" ]; 716 }); 717 718 + xorgserver = with xorg; super.xorgserver.overrideAttrs (attrs_passed: 719 # exchange attrs if abiCompat is set 720 let 721 version = lib.getVersion attrs_passed; ··· 822 "--enable-xcsecurity" # enable SECURITY extension 823 "--with-default-font-path=" # there were only paths containing "${prefix}", 824 # and there are no fonts in this package anyway 825 + "--with-xkb-bin-directory=${xorg.xkbcomp}/bin" 826 + "--with-xkb-path=${xorg.xkeyboardconfig}/share/X11/xkb" 827 "--with-xkb-output=$out/share/X11/xkb/compiled" 828 "--with-log-dir=/var/log" 829 "--enable-glamor" ··· 843 ''; 844 passthru.version = version; # needed by virtualbox guest additions 845 } else { 846 + nativeBuildInputs = attrs.nativeBuildInputs ++ [ autoreconfHook xorg.utilmacros xorg.fontutil ]; 847 buildInputs = commonBuildInputs ++ [ 848 bootstrap_cmds automake autoconf 849 Xplugin Carbon Cocoa ··· 931 }); 932 933 xcursorthemes = super.xcursorthemes.overrideAttrs (attrs: { 934 + nativeBuildInputs = attrs.nativeBuildInputs ++ [ xorg.xcursorgen ]; 935 + buildInputs = attrs.buildInputs ++ [ xorg.xorgproto ]; 936 configureFlags = [ "--with-cursordir=$(out)/share/icons" ]; 937 }); 938 ··· 942 buildInputs = attrs.buildInputs ++ lib.optional isDarwin bootstrap_cmds; 943 depsBuildBuild = [ buildPackages.stdenv.cc ]; 944 configureFlags = [ 945 + "--with-xserver=${xorg.xorgserver.out}/bin/X" 946 ] ++ lib.optionals isDarwin [ 947 "--with-bundle-id-prefix=org.nixos.xquartz" 948 "--with-launchdaemons-dir=\${out}/LaunchDaemons" ··· 960 # Avoid replacement of word-looking cpp's builtin macros in Nix's cross-compiled paths 961 substituteInPlace Makefile.in --replace "PROGCPPDEFS =" "PROGCPPDEFS = -Dlinux=linux -Dunix=unix" 962 ''; 963 + propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xauth ] 964 + ++ lib.optionals isDarwin [ xorg.libX11 xorg.xorgproto ]; 965 postFixup = '' 966 substituteInPlace $out/bin/startx --replace $out/etc/X11/xinit/xserverrc /etc/X11/xinit/xserverrc 967 ''; ··· 978 rev = "31486f40f8e8f8923ca0799aea84b58799754564"; 979 sha256 = "sha256-nqT9VZDb2kAC72ot9UCdwEkM1uuP9NriJePulzrdZlM="; 980 }; 981 + buildInputs = attrs.buildInputs ++ [ xorg.libXScrnSaver xorg.libXfixes xorg.libXv xorg.pixman xorg.utilmacros ]; 982 nativeBuildInputs = attrs.nativeBuildInputs ++ [autoreconfHook ]; 983 configureFlags = [ "--with-default-dri=3" "--enable-tools" ]; 984 ··· 988 }); 989 990 xf86videoopenchrome = super.xf86videoopenchrome.overrideAttrs (attrs: { 991 + buildInputs = attrs.buildInputs ++ [ xorg.libXv ]; 992 patches = [ 993 # Pull upstream fix for -fno-common toolchains. 994 (fetchpatch {
+1 -1
pkgs/servers/x11/xorg/tarballs.list
··· 217 mirror://xorg/individual/util/makedepend-1.0.6.tar.bz2 218 mirror://xorg/individual/util/util-macros-1.19.3.tar.bz2 219 mirror://xorg/individual/util/xorg-cf-files-1.0.7.tar.bz2 220 - mirror://xorg/individual/xserver/xorg-server-1.20.13.tar.xz
··· 217 mirror://xorg/individual/util/makedepend-1.0.6.tar.bz2 218 mirror://xorg/individual/util/util-macros-1.19.3.tar.bz2 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
+35 -13
pkgs/top-level/all-packages.nix
··· 24628 inherit (darwin.apple_sdk.libs) Xplugin; 24629 }; 24630 24631 - # Use `lib.callPackageWith __splicedPackages` rather than plain `callPackage` 24632 - # so as not to have the newly bound xorg items already in scope, which would 24633 - # have created a cycle. 24634 - xorg = recurseIntoAttrs ((lib.callPackageWith __splicedPackages ../servers/x11/xorg { 24635 - }).overrideScope' (lib.callPackageWith __splicedPackages ../servers/x11/xorg/overrides.nix { 24636 - inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa; 24637 - inherit (darwin.apple_sdk.libs) Xplugin; 24638 - inherit (buildPackages.darwin) bootstrap_cmds; 24639 - udev = if stdenv.isLinux then udev else null; 24640 - libdrm = if stdenv.isLinux then libdrm else null; 24641 - abiCompat = config.xorg.abiCompat # `config` because we have no `xorg.override` 24642 - or (if stdenv.isDarwin then "1.18" else null); # 1.19 needs fixing on Darwin 24643 - })); 24644 24645 xorg-autoconf = callPackage ../development/tools/misc/xorg-autoconf { }; 24646
··· 24628 inherit (darwin.apple_sdk.libs) Xplugin; 24629 }; 24630 24631 + xorg = let 24632 + otherSplices = { 24633 + selfBuildBuild = pkgsBuildBuild.xorg; 24634 + selfBuildHost = pkgsBuildHost.xorg; 24635 + selfBuildTarget = pkgsBuildTarget.xorg; 24636 + selfHostHost = pkgsHostHost.xorg; 24637 + selfTargetTarget = pkgsTargetTarget.xorg or { }; 24638 + }; 24639 + keep = _self: { }; 24640 + extra = _spliced0: { }; 24641 + 24642 + # Use `lib.callPackageWith __splicedPackages` rather than plain `callPackage` 24643 + # so as not to have the newly bound xorg items already in scope, which would 24644 + # have created a cycle. 24645 + overrides = lib.callPackageWith __splicedPackages ../servers/x11/xorg/overrides.nix { 24646 + inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon Cocoa; 24647 + inherit (darwin.apple_sdk.libs) Xplugin; 24648 + inherit (buildPackages.darwin) bootstrap_cmds; 24649 + udev = if stdenv.isLinux then udev else null; 24650 + libdrm = if stdenv.isLinux then libdrm else null; 24651 + abiCompat = config.xorg.abiCompat # `config` because we have no `xorg.override` 24652 + or (if stdenv.isDarwin then "1.18" else null); # 1.19 needs fixing on Darwin 24653 + }; 24654 + 24655 + generatedPackages = lib.callPackageWith __splicedPackages ../servers/x11/xorg/default.nix {}; 24656 + 24657 + xorgPackages = lib.makeScopeWithSplicing 24658 + splicePackages 24659 + newScope 24660 + otherSplices 24661 + keep 24662 + extra 24663 + (lib.extends overrides generatedPackages); 24664 + 24665 + in recurseIntoAttrs xorgPackages; 24666 24667 xorg-autoconf = callPackage ../development/tools/misc/xorg-autoconf { }; 24668