about summary refs log tree commit diff
path: root/pkgs/development/libraries/gdk-pixbuf
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-05-18 21:03:59 +0200
committerJan Tojnar <jtojnar@gmail.com>2020-05-18 21:03:59 +0200
commit80a89002f1ad1d89f8fe926b6ac6aefae169d5b4 (patch)
treeb022b7ee075b62c3707ba71be7e499f91582ceea /pkgs/development/libraries/gdk-pixbuf
parent6323002aac02cb9e0c2da30873195b3e2e110334 (diff)
gdk-pixbuf: do not build deprecated xlib library
It is deprecated and will be removed:

https://mail.gnome.org/archives/desktop-devel-list/2019-November/msg00009.html

Until then, you can use gdk-pixbuf-xlib package.
Diffstat (limited to 'pkgs/development/libraries/gdk-pixbuf')
-rw-r--r--pkgs/development/libraries/gdk-pixbuf/default.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/development/libraries/gdk-pixbuf/default.nix b/pkgs/development/libraries/gdk-pixbuf/default.nix
index 64a1adef0c4ae..08b8f70b2d9ae 100644
--- a/pkgs/development/libraries/gdk-pixbuf/default.nix
+++ b/pkgs/development/libraries/gdk-pixbuf/default.nix
@@ -16,7 +16,6 @@
 , libtiff
 , libjpeg
 , libpng
-, libX11
 , gnome3
 , gobject-introspection
 , doCheck ? false
@@ -65,11 +64,6 @@ stdenv.mkDerivation rec {
     fixDarwinDylibNames
   ];
 
-  # !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
-  buildInputs = [
-    libX11
-  ];
-
   propagatedBuildInputs = [
     glib
     libtiff
@@ -79,7 +73,7 @@ stdenv.mkDerivation rec {
 
   mesonFlags = [
     "-Ddocs=true"
-    "-Dx11=true"
+    "-Dx11=false" # use gdk-pixbuf-xlib
     "-Dgir=${if gobject-introspection != null then "true" else "false"}"
     "-Dgio_sniffing=false"
   ];