summary refs log tree commit diff
path: root/pkgs/applications/graphics/geeqie/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2011-01-16 16:42:08 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2011-01-16 16:42:08 +0000
commit3e3dc422ac438eaeb0626271fad8076fd9010dcb (patch)
treecbe2054d1dfa07524d245398d5458bb2c4eccf87 /pkgs/applications/graphics/geeqie/default.nix
parent56ea89a61e191d7e57b90ebbe7253d0846780168 (diff)
downloadnixpkgs-3e3dc422ac438eaeb0626271fad8076fd9010dcb.tar
nixpkgs-3e3dc422ac438eaeb0626271fad8076fd9010dcb.tar.gz
nixpkgs-3e3dc422ac438eaeb0626271fad8076fd9010dcb.tar.bz2
nixpkgs-3e3dc422ac438eaeb0626271fad8076fd9010dcb.tar.lz
nixpkgs-3e3dc422ac438eaeb0626271fad8076fd9010dcb.tar.xz
nixpkgs-3e3dc422ac438eaeb0626271fad8076fd9010dcb.tar.zst
nixpkgs-3e3dc422ac438eaeb0626271fad8076fd9010dcb.zip
* Allow geeqie to find exiv2 and exiftran, necessary to losslessly
  rotate JPEG images.

svn path=/nixpkgs/trunk/; revision=25590
Diffstat (limited to 'pkgs/applications/graphics/geeqie/default.nix')
-rw-r--r--pkgs/applications/graphics/geeqie/default.nix10
1 files changed, 9 insertions, 1 deletions
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";