diff options
author | Hanno Böck <hanno@gentoo.org> | 2008-05-18 22:17:27 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2008-05-18 22:17:27 +0000 |
commit | 85356f593bd2782aad3f2d4c389747189c419d4d (patch) | |
tree | 82ef54ba9f2d5e9f1808b5620078dea3c41fb7eb /sci-geosciences | |
parent | amd64/x86 stable, bug #221063 (diff) | |
download | gentoo-2-85356f593bd2782aad3f2d4c389747189c419d4d.tar.gz gentoo-2-85356f593bd2782aad3f2d4c389747189c419d4d.tar.bz2 gentoo-2-85356f593bd2782aad3f2d4c389747189c419d4d.zip |
add gpscorrelate ebuild
(Portage version: 2.1.5)
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/gpscorrelate/ChangeLog | 12 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/Manifest | 6 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/files/gpscorrelate-1.5.6-cflags.patch | 32 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/files/gpscorrelate.1 | 115 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/gpscorrelate-1.5.6.ebuild | 42 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/metadata.xml | 8 |
6 files changed, 215 insertions, 0 deletions
diff --git a/sci-geosciences/gpscorrelate/ChangeLog b/sci-geosciences/gpscorrelate/ChangeLog new file mode 100644 index 000000000000..eee335fb3f23 --- /dev/null +++ b/sci-geosciences/gpscorrelate/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for sci-geosciences/gpscorrelate +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpscorrelate/ChangeLog,v 1.1 2008/05/18 22:17:26 hanno Exp $ + +*gpscorrelate-1.5.6 (18 May 2008) + + 18 May 2008; Hanno Boeck <hanno@gentoo.org> + +files/gpscorrelate-1.5.6-cflags.patch, +files/gpscorrelate.1, + +gpscorrelate-1.5.6.ebuild: + Initial commit, tool for correlating gps data with jpeg images, + ebuild submitted by jkt in bugzilla. + diff --git a/sci-geosciences/gpscorrelate/Manifest b/sci-geosciences/gpscorrelate/Manifest new file mode 100644 index 000000000000..4781bb051086 --- /dev/null +++ b/sci-geosciences/gpscorrelate/Manifest @@ -0,0 +1,6 @@ +AUX gpscorrelate-1.5.6-cflags.patch 1084 RMD160 846ab3d69671b34e002d32b39f8e7fe661283ade SHA1 6b669d68312aad8c0b71b05348d1d8b753a12a71 SHA256 b85d45a5050e42ffb5ab1b8797c0299d588d74372a5558f2f0841a68e9e557f4 +AUX gpscorrelate.1 4025 RMD160 6dd52bf49a3c9919c83ea31cfcf47334faf84124 SHA1 ab94681d33b039df2ca42f96e2cfe9bb25392096 SHA256 a5e9128f7a415fcf0f73b0fe1f3763c77cfba5dcc0446cee5722abe0578e4128 +DIST gpscorrelate-1.5.6.tar.gz 130623 RMD160 82df0bd18e4cd391a2c74088044f4e95c8f85e46 SHA1 cf80ff0b54c3de8f58f6bda522b113ef5752a1c3 SHA256 cbd75278f8707b63c135af5ec83b4323b17313b23cdd0b29fcb1d786c50e1a2e +EBUILD gpscorrelate-1.5.6.ebuild 896 RMD160 60689d0572d00406625d6b5b6ac1b4de6c419921 SHA1 111fb57ce8b672640e0ad75e2a0ed4404a3a693c SHA256 542c3ba532a23cd646b687bed80fbcc029069dd1a40471f5ac051047c94ce04e +MISC ChangeLog 411 RMD160 0e1a4fd70a8300f57dad36287598eea688621c14 SHA1 d7b30c5afb618d7f32e6f70ef7f98cb82cf697fc SHA256 63fd0066710ed098be93b065ebca8c534641ceaa3175e25cfccdffd432fd5905 +MISC metadata.xml 237 RMD160 20944f06e761a57587043f3ec7ec969a5ab9bdcc SHA1 33b0366a9efeb0caad5712fb7e628147dff924be SHA256 29eb01e164be9510d6a51d6477c169df641127a2a2df064c9d99c90c067ac3d7 diff --git a/sci-geosciences/gpscorrelate/files/gpscorrelate-1.5.6-cflags.patch b/sci-geosciences/gpscorrelate/files/gpscorrelate-1.5.6-cflags.patch new file mode 100644 index 000000000000..f014bbff1f52 --- /dev/null +++ b/sci-geosciences/gpscorrelate/files/gpscorrelate-1.5.6-cflags.patch @@ -0,0 +1,32 @@ +--- gpscorrelate-1.5.6.orig/Makefile ++++ gpscorrelate-1.5.6/Makefile +@@ -4,22 +4,23 @@ + + COBJS = main-command.o unixtime.o gpx-read.o correlate.o exif-gps.o + GOBJS = main-gui.o gui.o unixtime.o gpx-read.o correlate.o exif-gps.o +-CFLAGS = -Wall `pkg-config --cflags libxml-2.0 gtk+-2.0` -I/usr/include/exiv2 +-OFLAGS = -Wall `pkg-config --libs libxml-2.0 gtk+-2.0` -lm -lexiv2 ++PKG_CFLAGS = -Wall `pkg-config --cflags libxml-2.0 gtk+-2.0` -I/usr/include/exiv2 ++PKG_OFLAGS = -Wall `pkg-config --libs libxml-2.0` -lm -lexiv2 ++PKG_OFLAGS_GUI = -Wall `pkg-config --libs libxml-2.0 gtk+-2.0` -lm -lexiv2 + + all: gpscorrelate gpscorrelate-gui + + gpscorrelate: $(COBJS) +- gcc $(OFLAGS) -o $@ $(COBJS) ++ gcc $(PKG_OFLAGS) ${CFLAGS} -o $@ $(COBJS) + + gpscorrelate-gui: $(GOBJS) +- gcc $(OFLAGS) -o $@ $(GOBJS) ++ gcc $(PKG_OFLAGS_GUI) ${CFLAGS} -o $@ $(GOBJS) + + .c.o: +- gcc $(CFLAGS) -c -o $*.o $< ++ gcc $(PKG_CFLAGS) ${CFLAGS} -c -o $*.o $< + + .cpp.o: +- g++ $(CFLAGS) -c -o $*.o $< ++ g++ $(PKG_CFLAGS) ${CFLAGS} -c -o $*.o $< + + clean: + rm -f *.o gpscorrelate gpscorrelate-gui diff --git a/sci-geosciences/gpscorrelate/files/gpscorrelate.1 b/sci-geosciences/gpscorrelate/files/gpscorrelate.1 new file mode 100644 index 000000000000..ac7f2b29963d --- /dev/null +++ b/sci-geosciences/gpscorrelate/files/gpscorrelate.1 @@ -0,0 +1,115 @@ +.\" Title: GPSCORRELATE +.\" Author: Stefano Zacchiroli +.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/> +.\" Date: 08 Sep 2006 +.\" Manual: +.\" Source: +.\" +.TH "GPSCORRELATE" "1" "08 Sep 2006" "" "" +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +gpscorrelate \- correlates digital photos with GPS data filling EXIF fields +.SH "SYNOPSIS" +.HP 13 +\fBgpscorrelate\fR [\fB\-g\ \fR\fB\fIfile.gpx\fR\fR] [\fIoption\fR...] +.HP 17 +\fBgpscorrelate\-gui\fR +.SH "DESCRIPTION" +.PP +This manual page documents briefly the +\fBgpscorrelate\fR +and +\fBgpscorrelate\-gui\fR +commands. +.PP +This manual page was written for the +Debian(TM) +distribution because the original programs do not have a manual page. Instead, they have documentation in HTML format; see below. +.PP +\fBgpscorrelate\fR +is a program that acts on digital photo in JPEG format filling EXIF (Exchangeable Image File Format) fields related to GPS (Global Positioning System) information. Source for the GPS data is a record of GPS information encoded in GPX (GPS Exchange Format) Format. The act of filling those fields is referred to as +\fIcorrelation\fR. +.PP +If GPS data are available at the precise moment the photo was taken (with a 1\-second granularity) the GPS data are stored unmodified in EXIF fields. If they are not linear interpolation of GPS data available at moments before and after the photo was taken can be used. +.PP +\fBgpscorrelate\fR +is a command line tool implementing correlation whereas +\fBgpscorrelate\-gui\fR +is the corresponding GTK+ graphical user interface. +.SH "OPTIONS" +.PP +These programs follow the usual +GNU +command line syntax, with long options starting with two dashes (`\-'). A summary of options is included below. For a complete description, see the HTML documentation. +.TP 3n +\fB\-g\fR, \fB\-\-gps\fR +required, specifies GPX file with GPS data +.TP 3n +\fB\-z\fR, \fB\-\-timeadd\fR \fB+/\-\fR\fIXX\fR[\fB:\fR\fIXX\fR] +time to add to GPS data to make it match photos. GPS data is in UTC; photos are not likely to be in UTC. Enter the timezone used when taking the photos: eg, +\fB+8\fR +for Perth +.TP 3n +\fB\-i\fR, \fB\-\-no\-interpolation\fR +disable interpolation between points. Interpolation is linear, points are rounded if disabled +.TP 3n +\fB\-v\fR, \fB\-\-verbose\fR +show what has been selected +.TP 3n +\fB\-d\fR, \fB\-\-datum\fR \fIdatum\fR +specify measurement datum. If not set, WGS\-84 used +.TP 3n +\fB\-n\fR, \fB\-\-no\-write\fR +do not write the exif data. Useful with +\fB\-\-show\fR +.TP 3n +\fB\-m\fR, \fB\-\-max\-dist\fR \fItime\fR +max time outside points that photo will be matched. Time is in seconds +.TP 3n +\fB\-s\fR, \fB\-\-show\fR +Just show the GPS data from the given files, if it exists +.TP 3n +\fB\-o\fR, \fB\-\-machine\fR +Just show the GPS data from the given files, machine readable output +.TP 3n +\fB\-r\fR, \fB\-\-remove\fR +Strip GPS tags from the given files, and then quit +.TP 3n +\fB\-t\fR, \fB\-\-ignore\-tracksegs\fR +Interpolate between track segments too +.TP 3n +\fB\-M\fR, \fB\-\-no\-mtime\fR +Do not change mtime of modified files +.TP 3n +\fB\-h\fR, \fB\-\-help\fR +Show summary of options. +.SH "SEE ALSO" +.PP +gpsd (1), gpsbabel (1), gpxlogger (1), cgpxlogger (1). +.PP +The documentation of gpscorrelate and gpscorrelate\-gui in HTML format are available on the filesystem at +\fI/usr/share/doc/gpscorrelate/html/\fR. +.SH "AUTHOR" +.PP +This manual page was written by Stefano Zacchiroli +<zack@debian.org> +for the +Debian(TM) +system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the +GNU +General Public License, Version 2 any later version published by the Free Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL. +.SH "AUTHOR" +.PP +\fBStefano\fR \fBZacchiroli\fR +.sp -1n +.IP "" 3n +Author. +.SH "COPYRIGHT" +Copyright \(co 2006 Stefano Zacchiroli <zack@debian.org> +.br + diff --git a/sci-geosciences/gpscorrelate/gpscorrelate-1.5.6.ebuild b/sci-geosciences/gpscorrelate/gpscorrelate-1.5.6.ebuild new file mode 100644 index 000000000000..0f7b34964d0c --- /dev/null +++ b/sci-geosciences/gpscorrelate/gpscorrelate-1.5.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpscorrelate/gpscorrelate-1.5.6.ebuild,v 1.1 2008/05/18 22:17:26 hanno Exp $ + +inherit eutils + +DESCRIPTION="Tool for adjusting EXIF tags of your photos with a recorded GPS trace" +HOMEPAGE="http://freefoote.dview.net/linux_gpscorr.html" +SRC_URI="http://freefoote.dview.net/linux/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc gtk" +DEPEND="dev-libs/libxml2 + media-gfx/exiv2 + gtk? ( >=x11-libs/gtk+-2 )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-cflags.patch +} + +src_compile() { + emake gpscorrelate || die + if use gtk; then + emake gpscorrelate-gui || die + fi +} + +src_install() { + dobin gpscorrelate + if use gtk; then + dobin gpscorrelate-gui + fi + if use doc; then + dohtml doc/* || die + fi + doman "${FILESDIR}"/${PN}.1 || die + make_desktop_entry gpscorrelate-gui GPSCorrelate "" "Photography;Graphics;Geography;" +} diff --git a/sci-geosciences/gpscorrelate/metadata.xml b/sci-geosciences/gpscorrelate/metadata.xml new file mode 100644 index 000000000000..3beda91ba209 --- /dev/null +++ b/sci-geosciences/gpscorrelate/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-geosciences</herd> + <maintainer> + <email>hanno@gentoo.org</email> + </maintainer> +</pkgmetadata> |