From b799e4e6ffe82a0838706b72b54734d1078a3941 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 5 Aug 2011 17:45:49 +0000 Subject: [PATCH] Update Evince - and make it build again svn path=/nixpkgs/trunk/; revision=28171 --- pkgs/applications/misc/evince/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/evince/default.nix b/pkgs/applications/misc/evince/default.nix index 986825426135..cbb266cf2871 100644 --- a/pkgs/applications/misc/evince/default.nix +++ b/pkgs/applications/misc/evince/default.nix @@ -3,16 +3,16 @@ , libgnome, libgnomeui, scrollkeeper, libxslt , libglade, gnome_keyring, dbus, dbus_glib , poppler, libspectre, djvulibre, shared_mime_info -, makeWrapper, which +, makeWrapper, which, ghostscript , recentListSize ? null # 5 is not enough, allow passing a different number }: stdenv.mkDerivation rec { - name = "evince-2.26.0"; + name = "evince-2.32.0"; src = fetchurl { - url = "http://ftp.gnome.org/pub/GNOME/sources/evince/2.26/${name}.tar.bz2"; - sha256 = "1wsl5vdrj0829wq223dryq5p7izgzsz6mfl4igix7b5wga42zff1"; + url = "http://ftp.gnome.org/pub/GNOME/sources/evince/2.32/${name}.tar.bz2"; + sha256 = "2a4c91ae38f8b5028cebb91b9da9ddc50ea8ae3f3d429df89ba351da2d787ff7"; }; buildInputs = [ @@ -21,10 +21,13 @@ stdenv.mkDerivation rec { scrollkeeper gnome_keyring libxslt # for `xsltproc' dbus dbus_glib poppler libspectre djvulibre makeWrapper which + ghostscript ]; configureFlags = "--with-libgnome --enable-dbus --enable-pixbuf " + # Do not use nautilus + + " --disable-nautilus " # Do not update Scrollkeeper's database (GNOME's help system). + "--disable-scrollkeeper"; @@ -53,4 +56,4 @@ stdenv.mkDerivation rec { license = "GPLv2+"; }; -} \ No newline at end of file +}