libreoffice: fix build under strictDeps

This fixes an upcoming issue with KDE builds, where
we end up with a native libpng-apng earlier in the
search paths due to propagation

libreoffice -> extra-cmake-modules -> qttools -> qtbase -> libpng-apng

K900 53ade61b efa8a084

+33 -20
+33 -20
pkgs/applications/office/libreoffice/default.nix
··· 101 101 libetonyek, 102 102 liborcus, 103 103 libpng, 104 + libxcrypt, 104 105 langs ? [ 105 106 "ar" 106 107 "ca" ··· 378 379 substituteInPlace configure.ac --replace-fail distutils.sysconfig sysconfig 379 380 ''; 380 381 381 - nativeBuildInputs = [ 382 - autoconf 383 - automake 384 - bison 385 - fontforge 386 - gdb 387 - jdk21 388 - libtool 389 - pkg-config 390 - ]; 382 + nativeBuildInputs = 383 + [ 384 + ant 385 + autoconf 386 + automake 387 + bison 388 + flex 389 + fontforge 390 + gdb 391 + gettext 392 + gperf 393 + icu 394 + jdk21 395 + libmysqlclient 396 + libtool 397 + libxml2 398 + libxslt 399 + perl 400 + perlPackages.ArchiveZip 401 + perlPackages.IOCompress 402 + pkg-config 403 + python311 404 + unzip 405 + zip 406 + ] 407 + ++ optionals kdeIntegration [ 408 + qtbase 409 + ]; 391 410 392 411 buildInputs = 393 412 finalAttrs.passthru.gst_packages ··· 397 416 # propagated libpng 398 417 # See: https://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg334080.html 399 418 (libpng.override { apngSupport = false; }) 400 - perlPackages.ArchiveZip 401 419 coinmp 402 - perlPackages.IOCompress 403 420 abseil-cpp 404 - ant 405 421 bluez5 406 422 boost 407 423 box2d_2 ··· 414 430 dbus-glib 415 431 expat 416 432 file 417 - flex 418 433 fontconfig 419 434 freetype 420 435 getopt 421 - gettext 422 436 glib 423 437 glm 424 438 adwaita-icon-theme 425 - gperf 426 439 gpgme 427 440 graphite2 428 441 gtk3 ··· 433 446 lcms2 434 447 libGL 435 448 libGLU 449 + libtool 436 450 xorg.libX11 437 451 xorg.libXaw 438 452 xorg.libXdmcp ··· 454 468 liblangtag 455 469 libmspack 456 470 libmwaw 457 - libmysqlclient 458 471 libodfgen 459 472 liborcus 460 473 xorg.libpthreadstubs ··· 466 479 libwpd 467 480 libwpg 468 481 libwps 482 + libxcrypt 469 483 libxml2 470 484 xorg.libxshmfence 471 485 libxslt ··· 481 495 openldap 482 496 openssl 483 497 pam 484 - perl 485 498 poppler 486 499 libpq 487 500 python311 488 501 sane-backends 489 502 unixODBC 490 - unzip 491 503 util-linux 492 504 which 493 505 xmlsec 494 - zip 495 506 zlib 496 507 ] 497 508 ++ optionals kdeIntegration [ ··· 690 701 691 702 # Wrapping is done in ./wrapper.nix 692 703 dontWrapQtApps = true; 704 + 705 + strictDeps = true; 693 706 694 707 passthru = { 695 708 inherit srcs;