about summary refs log tree commit diff
path: root/pkgs/applications/graphics/gimp
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2009-06-30 16:14:34 +0000
committerMarc Weber <marco-oweber@gmx.de>2009-06-30 16:14:34 +0000
commitb241732d8cd5c6b22bfd8f2a256d33790929f5c5 (patch)
tree14536c733e7f73690d5e121ebdaa7e28e247fd96 /pkgs/applications/graphics/gimp
parent349de9bafe2cc3f28b89fe063deedcfd30042266 (diff)
downloadnixlib-b241732d8cd5c6b22bfd8f2a256d33790929f5c5.tar
nixlib-b241732d8cd5c6b22bfd8f2a256d33790929f5c5.tar.gz
nixlib-b241732d8cd5c6b22bfd8f2a256d33790929f5c5.tar.bz2
nixlib-b241732d8cd5c6b22bfd8f2a256d33790929f5c5.tar.lz
nixlib-b241732d8cd5c6b22bfd8f2a256d33790929f5c5.tar.xz
nixlib-b241732d8cd5c6b22bfd8f2a256d33790929f5c5.tar.zst
nixlib-b241732d8cd5c6b22bfd8f2a256d33790929f5c5.zip
adding ufraw (a standalone tool and gimp plugin to read raw data images)
adding exposureBlend (gimp plugin)
enabling gimpPlugins again. nix-env -qa \* --out-path suceeds

svn path=/nixpkgs/trunk/; revision=16108
Diffstat (limited to 'pkgs/applications/graphics/gimp')
-rw-r--r--pkgs/applications/graphics/gimp/plugins/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index afbab962cf9b..396b1b78e6d6 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -145,8 +145,44 @@ rec {
       };
   };
 
+  # this is more than a gimp plugin !
+  # either load the raw image with gimp (and the import dialog will popup)
+  # or use the binary
+  ufraw = pluginDerivation {
+    name = "ufraw-0.15";
+    buildInputs = [pkgs.lcms gimp] ++ gimp.buildInputs;
+      # --enable-mime - install mime files, see README for more information
+      # --enable-extras - build extra (dcraw, nikon-curve) executables
+      # --enable-dst-correction - enable DST correction for file timestamps.
+      # --enable-contrast - enable the contrast setting option.
+      # --enable-interp-none: enable 'None' interpolation (mostly for debugging).
+      # --with-lensfun: use the lensfun library - experimental feature, read this before using it. 
+      # --with-prefix=PREFIX - use also PREFIX as an input prefix for the build
+      # --with-dosprefix=PREFIX - PREFIX in the the prefix in dos format (needed only for ms-window
+    configureFlags = "--enable-extras --enable-dst-correction --enable-contrast";
+
+    src = fetchurl {
+      url = mirror://sourceforge/ufraw/ufraw-0.15.tar.gz;
+      sha256 = "0cf3csksjkyl91zxhjnn74vc31l14nm6n1i02s76xdvvkk9ics8k";
+    };
+    installPhase = "
+      installPlugins ufraw-gimp
+      ensureDir $out/bin
+      cp ufraw $out/bin
+    ";
+  };
+
   /* =============== simple script files ==================== */
 
+  # also have a look at enblendenfuse in all-packages.nix
+  exposureBlend = scriptDerivation {
+    name = "exposure-blend";
+    src = fetchurl {
+      url = http://tir.astro.utoledo.edu/jdsmith/code/eb/exposure-blend.scm;
+      sha256 = "1b6c9wzpklqras4wwsyw3y3jp6fjmhnnskqiwm5sabs8djknfxla";
+    };
+  };
+
   lightning = scriptDerivation {
     name = "Lightning";
     src = fetchurl {