New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gdk-pixbuf: move xlib into separate package #88086
Conversation
* format with nixpkgs-fmt * reorder the attributes * replace aliases * inline pname & version * add GNOME maintainers * update homepage from devdocs to repo
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.
I suggest we merge this and look for breakage in the next staging cycle. There should not be too many packages depending on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me.
@GrahamcOfBorg eval |
Uh, --- a/pkgs/applications/window-managers/icewm/default.nix
+++ b/pkgs/applications/window-managers/icewm/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, cmake, gettext, perl, asciidoc
, libjpeg, libtiff, libungif, libpng, imlib, expat
-, freetype, fontconfig, pkgconfig, gdk-pixbuf
+, freetype, fontconfig, pkgconfig, gdk-pixbuf, gdk-pixbuf-xlib, glib
, mkfontdir, libX11, libXft, libXext, libXinerama
, libXrandr, libICE, libSM, libXpm, libXdmcp, libxcb
, libpthreadstubs, pcre, libXdamage, libXcomposite, libXfixes
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs = [
gettext libjpeg libtiff libungif libpng imlib expat
- freetype fontconfig gdk-pixbuf mkfontdir libX11
+ freetype fontconfig gdk-pixbuf gdk-pixbuf-xlib glib mkfontdir libX11
libXft libXext libXinerama libXrandr libICE libSM libXpm
libXdmcp libxcb libpthreadstubs pcre libsndfile fribidi
libXdamage libXcomposite libXfixes
@@ -30,6 +30,12 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DPREFIX=$out" "-DCFGDIR=/etc/icewm" ];
+ NIX_CFLAGS_COMPILE = [
+ "-I${stdenv.lib.getDev gdk-pixbuf-xlib}/include/gdk-pixbuf-2.0"
+ "-I${stdenv.lib.getDev gdk-pixbuf }/include/gdk-pixbuf-2.0"
+ "-I${stdenv.lib.getDev glib }/include/glib-2.0"
+ ];
+
# install legacy themes
postInstall = ''
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} $out/share/icewm/themes/ |
It was an issue with the split-out library. Fixed in 4bb1995. |
Thanks! I was surprised at first, then I noticed the parent commit :-) |
The build has been broken since gdk-pixbuf-xlib was broken out into a separate package in NixOS#88086. For some reason if I just add gdk-pixbuf-xlib.dev the headers don't make it into CFLAGS.
The build has been broken since gdk-pixbuf-xlib was broken out into a separate package in NixOS#88086. For some reason if I just add gdk-pixbuf-xlib.dev the headers don't make it into CFLAGS. (cherry picked from commit 5b49a74)
Motivation for this change
gdk-pixbuf-xlib library is deprecated and will be removed:
https://mail.gnome.org/archives/desktop-devel-list/2019-November/msg00009.html
#74272
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)