forked from mirrors/nixpkgs
Add `gpscorrelate', a GPS photo correlation tool.
svn path=/nixpkgs/trunk/; revision=15814
This commit is contained in:
parent
61f2653783
commit
08d25bd326
45
pkgs/applications/misc/gpscorrelate/default.nix
Normal file
45
pkgs/applications/misc/gpscorrelate/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -762,10 +762,6 @@ let
|
|||
inherit fetchurl stdenv;
|
||||
});
|
||||
|
||||
gpsbabel = import ../applications/misc/gpsbabel {
|
||||
inherit fetchurl stdenv zlib expat;
|
||||
};
|
||||
|
||||
graphviz = import ../tools/graphics/graphviz {
|
||||
inherit fetchurl stdenv pkgconfig libpng libjpeg expat x11 yacc
|
||||
libtool fontconfig gd;
|
||||
|
@ -6328,6 +6324,16 @@ let
|
|||
libXcursor libXinerama libXext libX11 ;
|
||||
};
|
||||
|
||||
gpsbabel = import ../applications/misc/gpsbabel {
|
||||
inherit fetchurl stdenv zlib expat;
|
||||
};
|
||||
|
||||
gpscorrelate = import ../applications/misc/gpscorrelate {
|
||||
inherit fetchurl stdenv pkgconfig exiv2 libxml2
|
||||
libxslt docbook_xsl docbook_xml_dtd_42;
|
||||
inherit (gtkLibs) gtk;
|
||||
};
|
||||
|
||||
gpsd = import ../servers/gpsd {
|
||||
inherit fetchurl stdenv pkgconfig dbus dbus_glib
|
||||
ncurses makeWrapper libxslt xmlto;
|
||||
|
|
Loading…
Reference in a new issue