Merge #257301: cairo: 1.16.0 -> 1.18.0

...into staging

+111 -130
+2
pkgs/applications/audio/industrializer/default.nix
··· 6 6 , automake 7 7 , gnome2 8 8 , gtk2 9 + , libGL 9 10 , libjack2 10 11 , libtool 11 12 , libxml2 ··· 27 28 audiofile 28 29 gnome2.gtkglext 29 30 gtk2 31 + libGL 30 32 libjack2 31 33 libtool 32 34 libxml2
+2 -1
pkgs/applications/audio/kapitonov-plugins-pack/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, faust, meson, ninja, pkg-config 2 - , boost, cairo, fftw, ladspa-sdk, libxcb, lv2, xcbutilwm 2 + , boost, cairo, fftw, ladspa-sdk, libxcb, lv2, xcbutilwm, xorg 3 3 , zita-convolver, zita-resampler 4 4 }: 5 5 ··· 29 29 libxcb 30 30 lv2 31 31 xcbutilwm 32 + xorg.xcbutil 32 33 zita-convolver 33 34 zita-resampler 34 35 ];
+2 -2
pkgs/applications/audio/stone-phaser/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, xorg, cairo, lv2, libjack2, mesa, pkg-config }: 1 + { lib, stdenv, fetchFromGitHub, xorg, cairo, libGL, lv2, libjack2, mesa, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "stone-phaser"; ··· 14 14 15 15 nativeBuildInputs = [ pkg-config ]; 16 16 buildInputs = [ 17 - xorg.libX11 cairo lv2 libjack2 mesa 17 + xorg.libX11 cairo libGL lv2 libjack2 mesa 18 18 ]; 19 19 20 20 postPatch = ''
+2 -2
pkgs/applications/audio/string-machine/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, boost, cairo, lv2, pkg-config }: 1 + { lib, stdenv, fetchFromGitHub, boost, cairo, libGL, lv2, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "string-machine"; ··· 19 19 nativeBuildInputs = [ pkg-config ]; 20 20 21 21 buildInputs = [ 22 - boost cairo lv2 22 + boost cairo libGL lv2 23 23 ]; 24 24 25 25 makeFlags = [
+4
pkgs/applications/graphics/fbida/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchurl 4 + , libGL 4 5 , libjpeg 5 6 , libexif 6 7 , giflib ··· 17 18 , sane-backends 18 19 , libXpm 19 20 , libepoxy 21 + , pixman 20 22 , poppler 21 23 , mesa 22 24 , lirc ··· 42 44 43 45 nativeBuildInputs = [ pkg-config which ]; 44 46 buildInputs = [ 47 + libGL 45 48 libexif 46 49 libjpeg 47 50 libpng ··· 56 59 libdrm 57 60 libXpm 58 61 libepoxy 62 + pixman 59 63 poppler 60 64 lirc 61 65 mesa
+2
pkgs/applications/misc/mission-center/default.nix
··· 23 23 , glib 24 24 , graphene 25 25 , gtk4 26 + , libGL 26 27 , libadwaita 27 28 , libdrm 28 29 , mesa ··· 92 93 glib 93 94 graphene 94 95 gtk4 96 + libGL 95 97 libadwaita 96 98 libdrm 97 99 mesa
+2 -2
pkgs/applications/science/chemistry/gwyddion/default.nix
··· 12 12 zlibSupport ? true, zlib, 13 13 libuniqueSupport ? true, libunique, 14 14 libpngSupport ? true, libpng, 15 - openglSupport ? !stdenv.isDarwin 15 + openglSupport ? !stdenv.isDarwin, libGL 16 16 }: 17 17 18 18 let ··· 31 31 32 32 buildInputs = with lib; 33 33 [ gtk2 fftw ] ++ 34 - optional openglSupport gnome2.gtkglext ++ 34 + optionals openglSupport [ gnome2.gtkglext libGL ] ++ 35 35 optional openexrSupport openexr ++ 36 36 optional libXmuSupport xorg.libXmu ++ 37 37 optional fitsSupport cfitsio ++
+2
pkgs/applications/video/clapper/default.nix
··· 17 17 , gjs 18 18 , gtk4 19 19 , gst_all_1 20 + , libGL 20 21 , libadwaita 21 22 , appstream-glib 22 23 , libsoup ··· 55 56 gst_all_1.gst-plugins-bad 56 57 gst_all_1.gst-plugins-ugly 57 58 gtk4 59 + libGL 58 60 libadwaita 59 61 libsoup 60 62 wayland
+2
pkgs/applications/window-managers/hyprwm/hyprland/default.nix
··· 10 10 , git 11 11 , hyprland-protocols 12 12 , jq 13 + , libGL 13 14 , libdrm 14 15 , libexecinfo 15 16 , libinput ··· 82 83 cairo 83 84 git 84 85 hyprland-protocols 86 + libGL 85 87 libdrm 86 88 libinput 87 89 libxkbcommon
+2
pkgs/applications/window-managers/hyprwm/hyprpaper/default.nix
··· 3 3 , fetchFromGitHub 4 4 , cmake 5 5 , file 6 + , libGL 6 7 , libjpeg 7 8 , mesa 8 9 , pango ··· 31 32 32 33 buildInputs = [ 33 34 file 35 + libGL 34 36 libjpeg 35 37 mesa 36 38 pango
+2
pkgs/applications/window-managers/hyprwm/hyprpicker/default.nix
··· 6 6 , ninja 7 7 , cairo 8 8 , fribidi 9 + , libGL 9 10 , libdatrie 10 11 , libjpeg 11 12 , libselinux ··· 43 44 buildInputs = [ 44 45 cairo 45 46 fribidi 47 + libGL 46 48 libdatrie 47 49 libjpeg 48 50 libselinux
+3 -1
pkgs/applications/window-managers/i3/lock-blur.nix
··· 1 - { i3lock-color, lib, stdenv, fetchFromGitHub, fetchpatch }: 1 + { i3lock-color, lib, stdenv, fetchFromGitHub, fetchpatch, libGL }: 2 2 3 3 i3lock-color.overrideAttrs (oldAttrs : rec { 4 4 pname = "i3lock-blur"; ··· 20 20 sha256 = "sha256-0hXUr+ZEB1tpI3xw80/hGzKyeGuna4CQmEvK6t0VBqU="; 21 21 }) 22 22 ]; 23 + 24 + buildInputs = oldAttrs.buildInputs ++ [ libGL ]; 23 25 24 26 meta = with lib; { 25 27 description = "An improved screenlocker based upon XCB and PAM with background blurring filter";
+2 -2
pkgs/applications/window-managers/i3/lock-color.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libxcb, 2 2 xcbutilkeysyms , xcbutilimage, pam, libX11, libev, cairo, libxkbcommon, 3 - libxkbfile, libjpeg_turbo, xcbutilxrm 3 + libxkbfile, libjpeg_turbo, xcbutilxrm, xorg 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { ··· 16 16 17 17 nativeBuildInputs = [ autoreconfHook pkg-config ]; 18 18 buildInputs = [ libxcb xcbutilkeysyms xcbutilimage pam libX11 19 - libev cairo libxkbcommon libxkbfile libjpeg_turbo xcbutilxrm ]; 19 + libev cairo libxkbcommon libxkbfile libjpeg_turbo xcbutilxrm xorg.xcbutil ]; 20 20 21 21 makeFlags = [ "all" ]; 22 22 preInstall = ''
+2 -2
pkgs/applications/window-managers/i3/lock.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, libxcb, xcbutilkeysyms, xcbutilimage, 2 - xcbutilxrm, pam, libX11, libev, cairo, libxkbcommon, libxkbfile }: 2 + xcbutilxrm, pam, libX11, libev, cairo, libxkbcommon, libxkbfile, xorg }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "i3lock"; ··· 14 14 15 15 nativeBuildInputs = [ meson ninja pkg-config ]; 16 16 buildInputs = [ libxcb xcbutilkeysyms xcbutilimage xcbutilxrm 17 - pam libX11 libev cairo libxkbcommon libxkbfile ]; 17 + pam libX11 libev cairo libxkbcommon libxkbfile xorg.xcbutil ]; 18 18 19 19 meta = with lib; { 20 20 description = "A simple screen locker like slock";
+2 -2
pkgs/applications/window-managers/i3/wmfocus.nix
··· 1 1 { lib, fetchFromGitHub, rustPlatform 2 - , xorg, python3, pkg-config, cairo, libxkbcommon }: 2 + , xorg, python3, pkg-config, cairo, expat, libxkbcommon }: 3 3 4 4 rustPlatform.buildRustPackage rec { 5 5 pname = "wmfocus"; ··· 15 15 cargoHash = "sha256-4eoV/viI7Q7I7mIqcHVAyPf/y2RWaWX0B+mLZWMEbcI="; 16 16 17 17 nativeBuildInputs = [ python3 pkg-config ]; 18 - buildInputs = [ cairo libxkbcommon xorg.xcbutilkeysyms ]; 18 + buildInputs = [ cairo expat libxkbcommon xorg.xcbutilkeysyms ]; 19 19 20 20 # For now, this is the only available featureset. This is also why the file is 21 21 # in the i3 folder, even though it might be useful for more than just i3
+2
pkgs/applications/window-managers/jay/default.nix
··· 1 1 { lib 2 2 , rustPlatform 3 3 , fetchFromGitHub 4 + , libGL 4 5 , libinput 5 6 , libxkbcommon 6 7 , mesa ··· 22 23 cargoSha256 = "sha256-zSq6YBlm6gJXGlF9xZ8gWSTMewdNqrJzwP58a0x8QIU="; 23 24 24 25 buildInputs = [ 26 + libGL 25 27 libxkbcommon 26 28 mesa 27 29 pango
+2 -2
pkgs/applications/window-managers/sway/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, fetchpatch, substituteAll, swaybg 2 2 , meson, ninja, pkg-config, wayland-scanner, scdoc 3 - , wayland, libxkbcommon, pcre2, json_c, libevdev 3 + , libGL, wayland, libxkbcommon, pcre2, json_c, libevdev 4 4 , pango, cairo, libinput, gdk-pixbuf, librsvg 5 5 , wlroots, wayland-protocols, libdrm 6 6 , nixosTests ··· 58 58 ]; 59 59 60 60 buildInputs = [ 61 - wayland libxkbcommon pcre2 json_c libevdev 61 + libGL wayland libxkbcommon pcre2 json_c libevdev 62 62 pango cairo libinput gdk-pixbuf librsvg 63 63 wayland-protocols libdrm 64 64 (wlroots.override { inherit (finalAttrs) enableXWayland; })
+2
pkgs/applications/window-managers/wayfire/default.nix
··· 8 8 , wf-config 9 9 , cairo 10 10 , doctest 11 + , libGL 11 12 , libdrm 12 13 , libexecinfo 13 14 , libevdev ··· 44 45 45 46 buildInputs = [ 46 47 wf-config 48 + libGL 47 49 libdrm 48 50 libexecinfo 49 51 libevdev
+2 -2
pkgs/applications/window-managers/weston/default.nix
··· 1 1 { lib, stdenv, fetchurl, fetchpatch2 2 2 , meson, ninja, pkg-config, python3, wayland-scanner 3 - , cairo, libdrm, libevdev, libinput, libxkbcommon, mesa, seatd, wayland 3 + , cairo, libGL, libdrm, libevdev, libinput, libxkbcommon, mesa, seatd, wayland 4 4 , wayland-protocols, xcbutilcursor 5 5 6 6 , demoSupport ? true ··· 39 39 depsBuildBuild = [ pkg-config ]; 40 40 nativeBuildInputs = [ meson ninja pkg-config python3 wayland-scanner ]; 41 41 buildInputs = [ 42 - cairo libdrm libevdev libinput libxkbcommon mesa seatd wayland 42 + cairo libGL libdrm libevdev libinput libxkbcommon mesa seatd wayland 43 43 wayland-protocols 44 44 ] ++ lib.optional hdrSupport libdisplay-info 45 45 ++ lib.optional jpegSupport libjpeg
+2
pkgs/by-name/ce/celluloid/package.nix
··· 5 5 , desktop-file-utils 6 6 , glib 7 7 , gtk4 8 + , libGL 8 9 , libepoxy 9 10 , libadwaita 10 11 , meson ··· 40 41 buildInputs = [ 41 42 glib 42 43 gtk4 44 + libGL 43 45 libadwaita 44 46 libepoxy 45 47 mpv
+3 -2
pkgs/development/compilers/squeak/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, fetchurl, fetchzip 2 2 , autoconf, automake, autoreconfHook, clang, dos2unix, file, perl 3 3 , pkg-config 4 - , alsa-lib, coreutils, freetype, glib, glibc, gnugrep, libpulseaudio, libtool 5 - , libuuid, openssl, pango, xorg 4 + , alsa-lib, coreutils, freetype, glib, glibc, gnugrep, libGL, libpulseaudio 5 + , libtool, libuuid, openssl, pango, xorg 6 6 , squeakImageHash ? null, squeakSourcesHash ? null, squeakSourcesVersion ? null 7 7 , squeakVersion ? null, squeakVmCommitHash ? null, squeakVmCommitHashHash ? null 8 8 , squeakVmVersion ? null ··· 88 88 glib 89 89 glibc 90 90 gnugrep 91 + libGL 91 92 libpulseaudio 92 93 libtool 93 94 libuuid
+52 -108
pkgs/development/libraries/cairo/default.nix
··· 1 - { config, lib, stdenv, fetchurl, fetchpatch, pkg-config, libiconv 2 - , libintl, expat, zlib, libpng, pixman, fontconfig, freetype 3 - , x11Support? !stdenv.isDarwin, libXext, libXrender 1 + { lib, stdenv, fetchurl, fetchpatch, gtk-doc, meson, ninja, pkg-config, python3 2 + , docbook_xsl, fontconfig, freetype, libpng, pixman, zlib 3 + , x11Support? !stdenv.isDarwin || true, libXext, libXrender 4 4 , gobjectSupport ? true, glib 5 - , xcbSupport ? x11Support, libxcb, xcbutil # no longer experimental since 1.12 6 - , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 7 - , glSupport ? x11Support && config.cairo.gl or (libGLSupported && stdenv.isLinux) 8 - , libGL # libGLU libGL is no longer a big dependency 9 - , pdfSupport ? true 5 + , xcbSupport ? x11Support, libxcb 10 6 , darwin 11 7 , testers 12 8 }: ··· 17 13 inherit (finalAttrs) pname version; 18 14 in { 19 15 pname = "cairo"; 20 - version = "1.16.0"; 16 + version = "1.18.0"; 21 17 22 18 src = fetchurl { 23 19 url = "https://cairographics.org/${if lib.mod (builtins.fromJSON (lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${pname}-${version}.tar.xz"; 24 - sha256 = "0c930mk5xr2bshbdljv005j3j8zr47gqmkry3q6qgvqky6rjjysy"; 20 + hash = "sha256-JDoHNrl4oz3uKfnMp1IXM7eKZbVBggb+970cPUzxC2Q="; 25 21 }; 26 22 27 - patches = [ 28 - # Fixes CVE-2018-19876; see Nixpkgs issue #55384 29 - # CVE information: https://nvd.nist.gov/vuln/detail/CVE-2018-19876 30 - # Upstream PR: https://gitlab.freedesktop.org/cairo/cairo/merge_requests/5 31 - # 32 - # This patch is the merged commit from the above PR. 33 - (fetchpatch { 34 - name = "CVE-2018-19876.patch"; 35 - url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/6edf572ebb27b00d3c371ba5ae267e39d27d5b6d.patch"; 36 - hash = "sha256-wZ51BZWlXByFY3/CTn7el2A9aYkwL1FygJ2zqnN+UIQ="; 37 - }) 38 - 39 - # Fix PDF output. 40 - # https://gitlab.freedesktop.org/cairo/cairo/issues/342 41 - (fetchpatch { 42 - url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/5e34c5a9640e49dcc29e6b954c4187cfc838dbd1.patch"; 43 - hash = "sha256-yCwsDUY7efVvOZkA6a0bPS+RrVc8Yk9bfPwWHeOjq5o="; 44 - }) 45 - 46 - # Fixes CVE-2020-35492; see https://github.com/NixOS/nixpkgs/issues/120364. 47 - # CVE information: https://nvd.nist.gov/vuln/detail/CVE-2020-35492 48 - # Upstream PR: https://gitlab.freedesktop.org/cairo/cairo/merge_requests/85 49 - (fetchpatch { 50 - name = "CVE-2020-35492.patch"; 51 - includes = [ "src/cairo-image-compositor.c" ]; 52 - url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/78266cc8c0f7a595cfe8f3b694bfb9bcc3700b38.patch"; 53 - hash = "sha256-cXKzLMENx4/BHXLZg3Kfkx3esCnaNaB7WvjNfL77FhE="; 54 - }) 55 - 56 - # Workaround https://gitlab.freedesktop.org/cairo/cairo/-/issues/121 57 - ./skip-configure-stderr-check.patch 58 - 59 - # Fixes cairo crash on macOS Big Sur 60 - # Upstream PR: https://gitlab.freedesktop.org/cairo/cairo/-/issues/420 61 - (fetchpatch { 62 - url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/e22d7212acb454daccc088619ee147af03883974.diff"; 63 - hash = "sha256-8G98nsPz3MLEWPDX9F0jKgXC4hC4NNdFQLSpmW3ay2s="; 64 - }) 65 - 66 - # Fix clang build failures on newer LLVM versions 67 - # Upstream PR: https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/119 68 - (fetchpatch { 69 - name = "fix-types.patch"; 70 - url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/38e486b34d435130f2fb38c429e6016c3c82cd53.patch"; 71 - hash = "sha256-vmluOJSuTRiQHmbBBVCxOIkZ0O0ZEo0J4mgrUPn0SIo="; 72 - }) 73 - 74 - # Fix unexpected color addition on grayscale images (usually text). 75 - # Upstream fix: https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/114 76 - # Can be removed after 1.18 release 77 - (fetchpatch { 78 - name = "fix-grayscale-anialias.patch"; 79 - url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/4f4d89506f58a64b4829b1bb239bab9e46d63727.diff"; 80 - hash = "sha256-mbTg67e7APfdELsuMAgXdY3xokWbGtHF7VDD5UyYqKM="; 81 - }) 82 - 83 - ]; 84 - 85 23 outputs = [ "out" "dev" "devdoc" ]; 86 24 outputBin = "dev"; # very small 87 25 separateDebugInfo = true; 88 26 89 27 nativeBuildInputs = [ 28 + gtk-doc 29 + meson 30 + ninja 90 31 pkg-config 32 + python3 91 33 ]; 92 34 93 35 buildInputs = [ 94 - libiconv 95 - libintl 36 + docbook_xsl 96 37 ] ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 97 38 CoreGraphics 98 39 CoreText ··· 100 41 Carbon 101 42 ]); 102 43 103 - propagatedBuildInputs = [ fontconfig expat freetype pixman zlib libpng ] 44 + propagatedBuildInputs = [ fontconfig freetype pixman libpng zlib ] 104 45 ++ optionals x11Support [ libXext libXrender ] 105 - ++ optionals xcbSupport [ libxcb xcbutil ] 46 + ++ optionals xcbSupport [ libxcb ] 106 47 ++ optional gobjectSupport glib 107 - ++ optional glSupport libGL 108 48 ; # TODO: maybe liblzo but what would it be for here? 109 49 110 - configureFlags = [ 111 - "--enable-tee" 112 - ] ++ (if stdenv.isDarwin then [ 113 - "--disable-dependency-tracking" 114 - "--enable-quartz" 115 - "--enable-quartz-font" 116 - "--enable-quartz-image" 117 - "--enable-ft" 118 - ] else (optional xcbSupport "--enable-xcb" 119 - ++ optional glSupport "--enable-gl" 120 - ++ optional pdfSupport "--enable-pdf" 121 - )) ++ optional (!x11Support) "--disable-xlib"; 50 + mesonFlags = [ 51 + "-Dgtk_doc=true" 122 52 123 - preConfigure = 124 - # On FreeBSD, `-ldl' doesn't exist. 125 - lib.optionalString stdenv.isFreeBSD 126 - '' for i in "util/"*"/Makefile.in" boilerplate/Makefile.in 127 - do 128 - cat "$i" | sed -es/-ldl//g > t 129 - mv t "$i" 130 - done 131 - '' 132 - + 133 - '' 134 - # Work around broken `Requires.private' that prevents Freetype 135 - # `-I' flags to be propagated. 136 - sed -i "src/cairo.pc.in" \ 137 - -es'|^Cflags:\(.*\)$|Cflags: \1 -I${freetype.dev}/include/freetype2 -I${freetype.dev}/include|g' 138 - substituteInPlace configure --replace strings $STRINGS 139 - ''; 53 + # error: #error config.h must be included before this header 54 + "-Dsymbol-lookup=disabled" 55 + 56 + # Only used in tests, causes a dependency cycle 57 + "-Dspectre=disabled" 58 + 59 + (lib.mesonEnable "glib" gobjectSupport) 60 + (lib.mesonEnable "tests" finalAttrs.doCheck) 61 + (lib.mesonEnable "xlib" x11Support) 62 + (lib.mesonEnable "xcb" xcbSupport) 63 + # ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 64 + # "--cross-file=${builtins.toFile "cross-file.conf" '' 65 + # [properties] 66 + # ipc_rmid_deferred_release = ${ 67 + # { 68 + # linux = "true"; 69 + # freebsd = "true"; 70 + # netbsd = "false"; 71 + # }.${stdenv.hostPlatform.parsed.kernel.name} or 72 + # throw "Unknown value for ipc_rmid_deferred_release" 73 + # } 74 + # ''}" 75 + ]; 76 + 77 + preConfigure = '' 78 + patchShebangs version.py 79 + ''; 140 80 141 81 enableParallelBuilding = true; 142 82 143 83 doCheck = false; # fails 144 84 145 - postInstall = lib.optionalString stdenv.isDarwin glib.flattenInclude; 85 + postInstall = '' 86 + # Work around broken `Requires.private' that prevents Freetype 87 + # `-I' flags to be propagated. 88 + sed -i "$out/lib/pkgconfig/cairo.pc" \ 89 + -es'|^Cflags:\(.*\)$|Cflags: \1 -I${freetype.dev}/include/freetype2 -I${freetype.dev}/include|g' 90 + '' + lib.optionalString stdenv.isDarwin glib.flattenInclude; 146 91 147 92 passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 148 93 ··· 151 96 longDescription = '' 152 97 Cairo is a 2D graphics library with support for multiple output 153 98 devices. Currently supported output targets include the X 154 - Window System, Quartz, Win32, image buffers, PostScript, PDF, 155 - and SVG file output. Experimental backends include OpenGL 156 - (through glitz), XCB, BeOS, OS/2, and DirectFB. 99 + Window System, XCB, Quartz, Win32, image buffers, PostScript, 100 + PDF, and SVG file output. 157 101 158 102 Cairo is designed to produce consistent output on all output 159 103 media while taking advantage of display hardware acceleration ··· 162 106 homepage = "http://cairographics.org/"; 163 107 license = with licenses; [ lgpl2Plus mpl10 ]; 164 108 pkgConfigModules = [ 109 + "cairo-pdf" 165 110 "cairo-ps" 166 111 "cairo-svg" 167 - ] ++ lib.optional gobjectSupport "cairo-gobject" 168 - ++ lib.optional pdfSupport "cairo-pdf"; 112 + ] ++ lib.optional gobjectSupport "cairo-gobject"; 169 113 platforms = platforms.all; 170 114 }; 171 115 })
+3
pkgs/development/libraries/cogl/default.nix
··· 53 53 "--enable-wayland-egl-server" 54 54 "--enable-gles1" 55 55 "--enable-gles2" 56 + # Force linking against libGL. 57 + # Otherwise, it tries to load it from the runtime library path. 58 + "LIBS=-lGL" 56 59 ] ++ lib.optionals stdenv.isDarwin [ 57 60 "--disable-glx" 58 61 "--without-x"
+2
pkgs/development/libraries/gstreamer/good/default.nix
··· 10 10 , orc 11 11 , bzip2 12 12 , gettext 13 + , libGL 13 14 , libv4l 14 15 , libdv 15 16 , libavc1394 ··· 129 130 ]) ++ lib.optionals stdenv.isDarwin [ 130 131 Cocoa 131 132 ] ++ lib.optionals stdenv.isLinux [ 133 + libGL 132 134 libv4l 133 135 libpulseaudio 134 136 libavc1394
+2
pkgs/development/libraries/wxSVG/default.nix
··· 2 2 , stdenv 3 3 , fetchurl 4 4 , cairo 5 + , expat 5 6 , ffmpeg 6 7 , libexif 7 8 , pango ··· 28 29 29 30 buildInputs = [ 30 31 cairo 32 + expat 31 33 ffmpeg 32 34 libexif 33 35 pango
+2 -2
pkgs/development/ruby-modules/gem-config/default.nix
··· 22 22 , pkg-config , ncurses, xapian, gpgme, util-linux, tzdata, icu, libffi 23 23 , cmake, libssh2, openssl, openssl_1_1, libmysqlclient, git, perl, pcre, pcre2, gecode_3, curl 24 24 , msgpack, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem 25 - , cairo, re2, rake, gobject-introspection, gdk-pixbuf, zeromq, czmq, graphicsmagick, libcxx 25 + , cairo, expat, re2, rake, gobject-introspection, gdk-pixbuf, zeromq, czmq, graphicsmagick, libcxx 26 26 , file, libvirt, glib, vips, taglib, libopus, linux-pam, libidn, protobuf, fribidi, harfbuzz 27 27 , bison, flex, pango, python3, patchelf, binutils, freetds, wrapGAppsHook, atk 28 28 , bundler, libsass, dart-sass, libexif, libselinux, libsepol, shared-mime-info, libthai, libdatrie ··· 76 76 cairo-gobject = attrs: { 77 77 nativeBuildInputs = [ pkg-config ] 78 78 ++ lib.optionals stdenv.isDarwin [ DarwinTools ]; 79 - buildInputs = [ cairo pcre2 xorg.libpthreadstubs xorg.libXdmcp ]; 79 + buildInputs = [ cairo expat pcre2 xorg.libpthreadstubs xorg.libXdmcp ]; 80 80 }; 81 81 82 82 charlock_holmes = attrs: {
+4
pkgs/tools/inputmethods/fcitx5/default.nix
··· 8 8 , extra-cmake-modules 9 9 , cairo 10 10 , pango 11 + , expat 11 12 , fribidi 12 13 , fmt 13 14 , wayland ··· 29 30 , libdatrie 30 31 , xcbutilkeysyms 31 32 , pcre 33 + , xcbutil 32 34 , xcbutilwm 33 35 , xcb-imdkit 34 36 , libxkbfile ··· 63 65 ]; 64 66 65 67 buildInputs = [ 68 + expat 66 69 fmt 67 70 isocodes 68 71 cairo ··· 84 87 libXdmcp 85 88 libxkbcommon 86 89 pcre 90 + xcbutil 87 91 xcbutilwm 88 92 xcbutilkeysyms 89 93 xcb-imdkit