Author: eelco
Date: Sun Jan 16 16:42:08 2011
New Revision: 25590
URL: https://svn.nixos.org/websvn/nix/?rev=25590&sc=1

Log:
* Allow geeqie to find exiv2 and exiftran, necessary to losslessly
  rotate JPEG images.

Modified:
   nixpkgs/trunk/pkgs/applications/graphics/geeqie/default.nix

Modified: nixpkgs/trunk/pkgs/applications/graphics/geeqie/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/applications/graphics/geeqie/default.nix Sun Jan 16 
16:39:06 2011        (r25589)
+++ nixpkgs/trunk/pkgs/applications/graphics/geeqie/default.nix Sun Jan 16 
16:42:08 2011        (r25590)
@@ -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 @@
       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";
 
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to