summary refs log tree commit diff
path: root/pkgs/applications/misc/gpscorrelate
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-06-01 22:43:36 +0000
committerLudovic Courtès <ludo@gnu.org>2009-06-01 22:43:36 +0000
commit08d25bd326a9ce29e8958c09f84572a8064b1ffe (patch)
tree2ff7e7a47a697042929530458546193fa8bd3249 /pkgs/applications/misc/gpscorrelate
parent61f2653783811654132d43999e55af6a2cb4bdc2 (diff)
downloadnixpkgs-08d25bd326a9ce29e8958c09f84572a8064b1ffe.tar
nixpkgs-08d25bd326a9ce29e8958c09f84572a8064b1ffe.tar.gz
nixpkgs-08d25bd326a9ce29e8958c09f84572a8064b1ffe.tar.bz2
nixpkgs-08d25bd326a9ce29e8958c09f84572a8064b1ffe.tar.lz
nixpkgs-08d25bd326a9ce29e8958c09f84572a8064b1ffe.tar.xz
nixpkgs-08d25bd326a9ce29e8958c09f84572a8064b1ffe.tar.zst
nixpkgs-08d25bd326a9ce29e8958c09f84572a8064b1ffe.zip
Add `gpscorrelate', a GPS photo correlation tool.
svn path=/nixpkgs/trunk/; revision=15814
Diffstat (limited to 'pkgs/applications/misc/gpscorrelate')
-rw-r--r--pkgs/applications/misc/gpscorrelate/default.nix45
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/applications/misc/gpscorrelate/default.nix b/pkgs/applications/misc/gpscorrelate/default.nix
new file mode 100644
index 00000000000..141476a6b40
--- /dev/null
+++ b/pkgs/applications/misc/gpscorrelate/default.nix
@@ -0,0 +1,45 @@
+{ fetchurl, stdenv, pkgconfig, exiv2, libxml2, gtk
+, libxslt, docbook_xsl, docbook_xml_dtd_42 }:
+
+stdenv.mkDerivation rec {
+  name = "gpscorrelate-1.6.0";
+
+  src = fetchurl {
+    url = "http://freefoote.dview.net/linux/${name}.tar.gz";
+    sha256 = "1j0b244xkvvf0i4iivp4dw9k4xgyasx4sapd91mnwki35fy49sp0";
+  };
+
+  buildInputs = [
+    pkgconfig exiv2 libxml2 gtk
+    libxslt docbook_xsl docbook_xml_dtd_42
+  ];
+
+  patchPhase = ''
+    sed -i "Makefile" \
+        -es",^[[:blank:]]*prefix[[:blank:]]*=.*$,prefix = $out,g"
+  '';
+
+  meta = {
+    description = "A GPS photo correlation tool, to add EXIF geotags";
+
+    longDescription = ''
+      Digital cameras are cool.  So is GPS.  And, EXIF tags are really
+      cool too.
+
+      What happens when you merge the three?  You end up with a set of
+      photos taken with a digital camera that are "stamped" with the
+      location at which they were taken.
+
+      The EXIF standard defines a number of tags that are for use with GPS.
+
+      A variety of programs exist around the place to match GPS data
+      with digital camera photos, but most of them are Windows or
+      MacOS only.  Which doesn't really suit me that much. Also, each
+      one takes the GPS data in a different format.
+    '';
+
+    license = "GPLv2+";
+
+    homepage = http://freefoote.dview.net/linux_gpscorr.html;
+  };
+}