diff --git a/pkgs/development/libraries/xlibs/fontconfig/builder.sh b/pkgs/development/libraries/fontconfig/builder.sh similarity index 100% rename from pkgs/development/libraries/xlibs/fontconfig/builder.sh rename to pkgs/development/libraries/fontconfig/builder.sh diff --git a/pkgs/development/libraries/xlibs/fontconfig/default.nix b/pkgs/development/libraries/fontconfig/default.nix similarity index 100% rename from pkgs/development/libraries/xlibs/fontconfig/default.nix rename to pkgs/development/libraries/fontconfig/default.nix diff --git a/pkgs/development/libraries/xlibs/default.nix b/pkgs/development/libraries/xlibs/default.nix index 6ed41c3c9395..a78d917bbb5f 100644 --- a/pkgs/development/libraries/xlibs/default.nix +++ b/pkgs/development/libraries/xlibs/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, pkgconfig, freetype, expat}: +{stdenv, fetchurl, pkgconfig, freetype, fontconfig}: rec { @@ -46,10 +46,6 @@ rec { inherit fetchurl stdenv pkgconfig libX11 renderext; }; - fontconfig = (import ./fontconfig) { - inherit fetchurl stdenv freetype expat; - }; - libXft = (import ./libXft) { inherit fetchurl stdenv pkgconfig libX11 libXrender freetype fontconfig; }; diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 1cf7ee7ee227..f9d81db53fcc 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -829,8 +829,7 @@ rec { }; cairo = (import ../development/libraries/cairo) { - inherit fetchurl stdenv pkgconfig x11 freetype zlib libpng; - inherit (xlibs) fontconfig; + inherit fetchurl stdenv pkgconfig x11 fontconfig freetype zlib libpng; }; gtkLibs = gtkLibs28; @@ -989,8 +988,12 @@ rec { inherit fetchurl stdenv; }; + fontconfig = import ../development/libraries/fontconfig { + inherit fetchurl stdenv freetype expat; + }; + xlibs = (import ../development/libraries/xlibs) { - inherit fetchurl stdenv pkgconfig freetype expat; + inherit fetchurl stdenv pkgconfig freetype fontconfig; }; # Xaw3d = import ../development/libraries/Xaw3d { @@ -1281,9 +1284,8 @@ rec { }; xorg = import ../servers/x11/xorg { - inherit fetchurl stdenv pkgconfig freetype # fontconfig + inherit fetchurl stdenv pkgconfig freetype fontconfig expat libdrm libpng zlib perl mesa; - inherit (xlibs) fontconfig; }; postgresql = (import ../servers/sql/postgresql) { @@ -1448,8 +1450,12 @@ rec { ### APPLICATIONS openoffice = (import ../applications/office/openoffice) { - inherit fetchurl stdenv pam python tcsh libxslt perl perlArchiveZip perlCompressZlib zlib libjpeg expat pkgconfig freetype libwpd libxml2 db4 sablotron curl libsndfile flex zip unzip libmspack getopt file; - inherit (xlibs) libXaw fontconfig; + inherit fetchurl stdenv pam python tcsh libxslt + perl perlArchiveZip perlCompressZlib zlib libjpeg + expat pkgconfig freetype fontconfig libwpd libxml2 + db4 sablotron curl libsndfile flex zip unzip libmspack + getopt file; + inherit (xlibs) libXaw; inherit (gtkLibs) gtk; bison = (import ../development/tools/parsing/bison/bison-2.1.nix) { @@ -1669,11 +1675,11 @@ rec { }; inkscape = (import ../applications/graphics/inkscape) { - inherit fetchurl stdenv perl perlXMLParser pkgconfig zlib popt libxml2 libxslt libpng boehmgc; - inherit (gtkLibs) gtk; - inherit gtkmm glibmm libsigcxx; - inherit (xlibs) libXft fontconfig; - inherit (gnome) glib; + inherit fetchurl stdenv perl perlXMLParser pkgconfig zlib + popt libxml2 libxslt libpng boehmgc fontconfig gtkmm + glibmm libsigcxx; + inherit (gtkLibs) gtk glib; + inherit (xlibs) libXft; }; fspot = (import ../applications/graphics/f-spot) { @@ -1684,8 +1690,8 @@ rec { }; gimp = (import ../applications/graphics/gimp) { - inherit fetchurl stdenv pkgconfig freetype libtiff libjpeg libpng libexif zlib perl perlXMLParser; - inherit (xlibs) fontconfig; + inherit fetchurl stdenv pkgconfig freetype fontconfig + libtiff libjpeg libpng libexif zlib perl perlXMLParser; inherit (gnome) gtk libgtkhtml glib pango atk libart_lgpl; };