From 3e3dc422ac438eaeb0626271fad8076fd9010dcb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 16 Jan 2011 16:42:08 +0000 Subject: [PATCH] * Allow geeqie to find exiv2 and exiftran, necessary to losslessly rotate JPEG images. svn path=/nixpkgs/trunk/; revision=25590 --- pkgs/applications/graphics/geeqie/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/geeqie/default.nix b/pkgs/applications/graphics/geeqie/default.nix index 076c0360a08..3e15eb8f867 100644 --- a/pkgs/applications/graphics/geeqie/default.nix +++ b/pkgs/applications/graphics/geeqie/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, pkgconfig, gtk, libpng, exiv2, lcms -, intltool, gettext, libchamplain }: +, intltool, gettext, libchamplain, fbida }: stdenv.mkDerivation rec { name = "geeqie-1.0"; @@ -23,6 +23,14 @@ stdenv.mkDerivation rec { libchamplain ]; + postInstall = + '' + # Allow geeqie to find exiv2 and exiftran, necessary to + # losslessly rotate JPEG images. + sed -i $out/lib/geeqie/geeqie-rotate \ + -e '1 a export PATH=${exiv2}/bin:${fbida}/bin:$PATH' + ''; + meta = { description = "Geeqie, a lightweight GTK+ based image viewer";