anchor.diff: -{ stdenv, fetchurl, pkgconfig, gtk, libpng, exiv2, lcms
  -, intltool, gettext, libchamplain_0_6, fbida }:
  +{ stdenv, fetchurl, pkgconfig, autoconf, automake, gtk, libpng, exiv2, lcms
  +, intltool, gettext, libchamplain, fbida }:
   
   stdenv.mkDerivation rec {
  -  name = "geeqie-1.1";
  +  name = "geeqie-${version}";
  +  version = "1.2";
   
     src = fetchurl {
  -    url = "mirror://sourceforge/geeqie/${name}.tar.gz";
  -    sha256 = "1kzy39z9505xkayyx7rjj2wda76xy3ch1s5z35zn8yli54ffhi2m";
  +    url = "https://gitorious.org/geeqie/geeqie/archive/v${version}.tar.gz";
  +    sha256 = "13sgf20h0z8dz1075vmyh8vbxgchq30cqrl15zfv9h8hp271vpfj";
     };
   
  -  preConfigure =
  -    # XXX: Trick to have Geeqie use the version we have.
  -    '' sed -i "configure" \
  -           -e 's/champlain-0.4/champlain-0.6/g ;
  -               s/champlain-gtk-0.4/champlain-gtk-0.6/g'
  -    '';
  +  preConfigure = "./autogen.sh";
   
     configureFlags = [ "--enable-gps" ];
   
     buildInputs =
  -    [ pkgconfig gtk libpng exiv2 lcms intltool gettext
  -      libchamplain_0_6
  +    [ pkgconfig autoconf automake gtk libpng exiv2 lcms intltool gettext
  +      libchamplain
       ];
   
     postInstall =
  
positive.code:         initially based on GQview.
        '';
  
      license = stdenv.lib.licenses.gpl2Plus;
  
      homepage = http://geeqie.sourceforge.net;
  
      maintainers = [ ];
      platforms = stdenv.lib.platforms.gnu;
    };
  }
  
negative.code:           -e '1 a export PATH=${exiv2}/bin:${fbida}/bin:$PATH'
      '';
  
    meta = with stdenv.lib; {
      description = "Lightweight GTK+ based image viewer";
  
      longDescription =
  