summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-02-20 21:35:42 +0100
committerVladimír Čunát <vcunat@gmail.com>2014-02-20 21:35:42 +0100
commit2cf1f0b2298edb2831d56c232681239c669258b0 (patch)
tree9e7728cc407dd824735169bf49ba42855b8776e5 /pkgs
parent8534fdf3fe555f1fd392b534da38e87003f05cb8 (diff)
downloadnixlib-2cf1f0b2298edb2831d56c232681239c669258b0.tar
nixlib-2cf1f0b2298edb2831d56c232681239c669258b0.tar.gz
nixlib-2cf1f0b2298edb2831d56c232681239c669258b0.tar.bz2
nixlib-2cf1f0b2298edb2831d56c232681239c669258b0.tar.lz
nixlib-2cf1f0b2298edb2831d56c232681239c669258b0.tar.xz
nixlib-2cf1f0b2298edb2831d56c232681239c669258b0.tar.zst
nixlib-2cf1f0b2298edb2831d56c232681239c669258b0.zip
Revert "pango: major update 1.32.5 -> 1.36.1"
This reverts commit 9c4d6561029aebd8e7ad96f24e256d0de7ae8097 (modified).

We can't have newer pango with fontconfig-2.10.*
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/pango/default.nix27
1 files changed, 12 insertions, 15 deletions
diff --git a/pkgs/development/libraries/pango/default.nix b/pkgs/development/libraries/pango/default.nix
index bd4e63548954..b94a00b1b541 100644
--- a/pkgs/development/libraries/pango/default.nix
+++ b/pkgs/development/libraries/pango/default.nix
@@ -1,28 +1,25 @@
-{ stdenv, fetchurl, pkgconfig, x11, glib, cairo, libpng, harfbuzz
-, fontconfig, freetype, libintlOrEmpty, gobjectIntrospection
-}:
-
-let
-  ver_maj = "1.36";
-  ver_min = "1";
-in
+{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng, harfbuzz, fontconfig
+, libintlOrEmpty, gobjectIntrospection }:
+
 stdenv.mkDerivation rec {
-  name = "pango-${ver_maj}.${ver_min}";
+  name = "pango-1.32.5"; #.6 and higher need fontconfig-2.11.* which is troublesome
 
   src = fetchurl {
-    url = "mirror://gnome/sources/pango/${ver_maj}/${name}.tar.xz";
-    sha256 = "1y2r1v4m8g4afggjd1siz0ri175p64myz9d2ks58grlrvhfbbr22";
+    url = "mirror://gnome/sources/pango/1.32/${name}.tar.xz";
+    sha256 = "08aqis6j8nd1lb4f2h4h9d9kjvp54iwf8zvqzss0qn4v7nfcjyvx";
   };
 
+  buildInputs = [ gobjectIntrospection ]
+    ++ stdenv.lib.optionals stdenv.isDarwin [ gettext fontconfig ];
+
+
   nativeBuildInputs = [ pkgconfig ];
-  buildInputs = [ gobjectIntrospection ];
 
-  propagatedBuildInputs = [ x11 glib cairo libpng fontconfig freetype harfbuzz ] ++ libintlOrEmpty;
+  propagatedBuildInputs = [ x11 glib cairo libpng harfbuzz ] ++ libintlOrEmpty;
 
   enableParallelBuilding = true;
 
-  #doCheck = true; # testiter fails to find fontconfig configuration
-
+  doCheck = true;
   postInstall = "rm -rf $out/share/gtk-doc";
 
   meta = {