Adding darktable photo editor. Patch by Cillian de Róiste ( goibhniu1 )

svn path=/nixpkgs/trunk/; revision=25462
This commit is contained in:
Michael Raskin 2011-01-08 21:55:33 +00:00
parent a9345a51c5
commit ed3ce17ce1
3 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchurl,
GConf, cairo, curl, dbus_glib, exiv2, gnome_keyring, gphoto2, gtk,
intltool, lcms, lensfun, libexif, libglade, libgphoto2, libjpeg,
libpng, libraw1394, librsvg, libtiff, openexr, pkgconfig, sqlite, }:
stdenv.mkDerivation rec {
version = "0.7.1";
name = "darktable-${version}";
src = fetchurl {
url = "mirror://sourceforge/darktable/darktable-${version}.tar.gz";
sha256 = "080gvf5gp3rb0vlsvdgnzrzky9dfpqw5cwnj6z1k8lvryd9fzahm";
};
patches = [ ./exif.patch ];
buildInputs = [ GConf cairo curl dbus_glib exiv2 gnome_keyring gtk
intltool lcms lensfun libexif libglade
libgphoto2 libjpeg libpng libraw1394 librsvg
libtiff openexr pkgconfig sqlite ];
meta = {
description = "a virtual lighttable and darkroom for photographers";
homepage = http://darktable.sourceforge.net;
license = stdenv.lib.licenses.gpl3Plus;
};
}

View file

@ -0,0 +1,11 @@
--- darktable-0.7.1/src/common/exif.cc 2011-01-01 12:08:36.000000000 +0100
+++ darktable-0.7.1/src/common/exif.cc 2011-01-01 12:09:27.000000000 +0100
@@ -33,7 +33,7 @@
#include <exiv2/error.hpp>
#include <exiv2/image.hpp>
#include <exiv2/exif.hpp>
-#include <exiv2/canonmn.hpp>
+#include <exiv2/exiv2.hpp>
#include <sqlite3.h>
#include <iostream>
#include <fstream>

View file

@ -5662,6 +5662,10 @@ let
darcs = haskellPackages.darcs;
darktable = callPackage ../applications/graphics/darktable {
inherit (gnome) GConf gnome_keyring libglade;
};
dia = callPackage ../applications/graphics/dia { };
digikam = newScope pkgs.kde4 ../applications/graphics/digikam { };