Adding darktable photo editor. Patch by Cillian de Róiste ( goibhniu1 )
svn path=/nixpkgs/trunk/; revision=25462
This commit is contained in:
parent
a9345a51c5
commit
ed3ce17ce1
27
pkgs/applications/graphics/darktable/default.nix
Normal file
27
pkgs/applications/graphics/darktable/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
11
pkgs/applications/graphics/darktable/exif.patch
Normal file
11
pkgs/applications/graphics/darktable/exif.patch
Normal 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>
|
@ -5662,6 +5662,10 @@ let
|
|||||||
|
|
||||||
darcs = haskellPackages.darcs;
|
darcs = haskellPackages.darcs;
|
||||||
|
|
||||||
|
darktable = callPackage ../applications/graphics/darktable {
|
||||||
|
inherit (gnome) GConf gnome_keyring libglade;
|
||||||
|
};
|
||||||
|
|
||||||
dia = callPackage ../applications/graphics/dia { };
|
dia = callPackage ../applications/graphics/dia { };
|
||||||
|
|
||||||
digikam = newScope pkgs.kde4 ../applications/graphics/digikam { };
|
digikam = newScope pkgs.kde4 ../applications/graphics/digikam { };
|
||||||
|
Loading…
Reference in New Issue
Block a user