anchor.diff:    buildInputs = [
       pkgconfig perl perlXMLParser gtk libXft libpng zlib popt boehmgc
       libxml2 libxslt glib gtkmm glibmm libsigcxx lcms boost gettext
  -    makeWrapper intltool gsl poppler imagemagick libwpg
  +    makeWrapper intltool gsl poppler imagemagick libwpg librevenge
  +    libvisio libcdr libexif
     ];
  -
  -  configureFlags = "--with-python";
   
     enableParallelBuilding = true;
     doCheck = true;
  -  checkFlags = "-j1";
   
     postInstall = ''
       # Make sure PyXML modules can be found at run-time.
  
positive.code: { stdenv, fetchurl, pkgconfig, perl, perlXMLParser, gtk, libXft
  , libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm
  , glibmm, libsigcxx, lcms, boost, gettext, makeWrapper, intltool
  , gsl, python, pyxml, lxml, poppler, imagemagick, libwpg }:
  
  stdenv.mkDerivation rec {
    name = "inkscape-0.48.5";
  
    src = fetchurl {
      url = "mirror://sourceforge/inkscape/${name}.tar.bz2";
      sha256 = "0sfr7a1vr1066rrkkqbqvcqs3gawalj68ralnhd6k87jz62fcv1b";
    };
  
    patches = [ ./configure-python-libs.patch ];
  
    postPatch = stdenv.lib.optionalString doCheck
      ''sed -i 's:#include "../../src:#include "src:' src/cxxtests.cpp'';
  
    propagatedBuildInputs = [
      # Python is used at run-time to execute scripts, e.g., those from
  
negative.code:        --prefix PATH : ${python}/bin ||  \
          exit 2
      done
      rm "$out/share/icons/hicolor/icon-theme.cache"
    '';
  
    meta = with stdenv.lib; {
      license = "GPL";
  