--- 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) -o $@ $(COBJS) gpscorrelate-gui: $(GOBJS) - gcc $(OFLAGS) -o $@ $(GOBJS) + gcc $(PKG_OFLAGS_GUI) -o $@ $(GOBJS) .c.o: - gcc $(CFLAGS) -c -o $*.o $< + gcc $(PKG_CFLAGS) -c -o $*.o $< .cpp.o: - g++ $(CFLAGS) -c -o $*.o $< + g++ $(PKG_CFLAGS) -c -o $*.o $< clean: rm -f *.o gpscorrelate gpscorrelate-gui --- gpscorrelate-1.5.6.orig/debian/gpscorrelate-gui.install +++ gpscorrelate-1.5.6/debian/gpscorrelate-gui.install @@ -0,0 +1 @@ +gpscorrelate-gui /usr/bin/ --- gpscorrelate-1.5.6.orig/debian/gpscorrelate.manpages +++ gpscorrelate-1.5.6/debian/gpscorrelate.manpages @@ -0,0 +1 @@ +debian/gpscorrelate.1 --- gpscorrelate-1.5.6.orig/debian/gpscorrelate.install +++ gpscorrelate-1.5.6/debian/gpscorrelate.install @@ -0,0 +1,2 @@ +gpscorrelate /usr/bin/ +doc/* /usr/share/doc/gpscorrelate/html/ --- gpscorrelate-1.5.6.orig/debian/gpscorrelate-gui.docs +++ gpscorrelate-1.5.6/debian/gpscorrelate-gui.docs @@ -0,0 +1 @@ +README --- gpscorrelate-1.5.6.orig/debian/svn-deblayout +++ gpscorrelate-1.5.6/debian/svn-deblayout @@ -0,0 +1 @@ +tagsUrl=svn+ssh://svn.debian.org/svn/collab-maint/deb-maint/gpscorrelate/tags --- gpscorrelate-1.5.6.orig/debian/gpscorrelate.docs +++ gpscorrelate-1.5.6/debian/gpscorrelate.docs @@ -0,0 +1 @@ +README --- gpscorrelate-1.5.6.orig/debian/gpscorrelate.1 +++ gpscorrelate-1.5.6/debian/gpscorrelate.1 @@ -0,0 +1,115 @@ +.\" Title: GPSCORRELATE +.\" Author: Stefano Zacchiroli +.\" Generator: DocBook XSL Stylesheets v1.70.1 +.\" 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 + +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 +.br + --- gpscorrelate-1.5.6.orig/debian/README.Debian +++ gpscorrelate-1.5.6/debian/README.Debian @@ -0,0 +1,13 @@ +gpscorrelate comes with two user interfaces: a command line interface +(implemented in the 'gpscorrelate' executable), and a GTK+ graphical user +interface (implemented in the 'gpscorrelate-gui' executable). + +The two of them are small and independent one on the other. Nonetheless in +Debian we have one package for each user interface, with gpscorrelate-gui +recommending on gpscorrelate. The rationale for splitting the two is the +larger set of dependencies required by the graphical user interface (GTK +libraries and such). The rationale for the recommendation is that the HTML +documentation is shipped in the gpscorrelate package. + +-- +Fri, 01 Sep 2006 15:17:52 +0200 zack --- gpscorrelate-1.5.6.orig/debian/gpscorrelate-gui.dirs +++ gpscorrelate-1.5.6/debian/gpscorrelate-gui.dirs @@ -0,0 +1 @@ +usr/bin --- gpscorrelate-1.5.6.orig/debian/watch +++ gpscorrelate-1.5.6/debian/watch @@ -0,0 +1,7 @@ +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://freefoote.dview.net/linux/gpscorrelate-(.*)\.tar\.gz + --- gpscorrelate-1.5.6.orig/debian/gpscorrelate-gui.menu +++ gpscorrelate-1.5.6/debian/gpscorrelate-gui.menu @@ -0,0 +1,6 @@ +?package(gpscorrelate-gui): \ + needs="X11" \ + section="Applications/Graphics" \ + title="GPS Correlate" \ + longtitle="Correlate digital photos with GPS data" \ + command="/usr/bin/gpscorrelate-gui" --- gpscorrelate-1.5.6.orig/debian/copyright +++ gpscorrelate-1.5.6/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Stefano Zacchiroli on +Thu, 31 Aug 2006 13:24:16 +0200. + +It was downloaded from http://freefoote.dview.net/linux_gpscorr.html + +Upstream Author: Daniel Foote + +Copyright: 2005-2006 Daniel Foote + +License: + + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public License along with + this program; if not, write to the Free Software Foundation, Inc., 51 Franklin + Street, Fifth Floor, Boston, MA 02110-1301 USA. + + On Debian GNU/Linux systems, the complete text of the GNU General Public + License can be found in `/usr/share/common-licenses/GPL'. + + +The Debian packaging is (C) 2006, Stefano Zacchiroli and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + --- gpscorrelate-1.5.6.orig/debian/manpage.xml +++ gpscorrelate-1.5.6/debian/manpage.xml @@ -0,0 +1,260 @@ + + + + Stefano"> + Zacchiroli"> + 08 Sep 2006"> + 1"> + zack@debian.org"> + + GPSCORRELATE"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; &dhemail; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + correlates digital photos with GPS data filling EXIF fields + + + + &dhpackage; + + option + + + &dhpackage;-gui + + + + DESCRIPTION + + This manual page documents briefly the &dhpackage; + and &dhpackage;-gui commands. + + This manual page was written for the &debian; distribution because the + original programs do not have a manual page. Instead, they have + documentation in HTML format; see below. + + &dhpackage; 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 + correlation. + + 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. + + &dhpackage; is a command line tool implementing + correlation whereas &dhpackage;-gui is the + corresponding GTK+ graphical user interface. + + + + OPTIONS + + 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. + + + + + + , + + + + required, specifies GPX file with GPS data + + + + + + , + + +/-XX[:XX] + + + 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, +8 for Perth + + + + + + , + + + + disable interpolation between points. Interpolation is linear, + points are rounded if disabled + + + + + + , + + + + show what has been selected + + + + + + , + datum + + + specify measurement datum. If not set, WGS-84 used + + + + + + , + + + + do not write the exif data. Useful with + --show + + + + + + , + time + + + max time outside points that photo will be matched. Time is in + seconds + + + + + + , + + + + Just show the GPS data from the given files, if it exists + + + + + + , + + + + Just show the GPS data from the given files, machine readable + output + + + + + + , + + + + Strip GPS tags from the given files, and then quit + + + + + + , + + + + Interpolate between track segments too + + + + + + , + + + + Do not change mtime of modified files + + + + + + , + + + + Show summary of options. + + + + + + + SEE ALSO + + gpsd (1), gpsbabel (1), gpxlogger (1), cgpxlogger (1). + + The documentation of &dhpackage; and &dhpackage;-gui in HTML format + are available on the filesystem at /usr/share/doc/gpscorrelate/html/. + + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for the + &debian; 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. + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + +
+ --- gpscorrelate-1.5.6.orig/debian/TODO.Debian +++ gpscorrelate-1.5.6/debian/TODO.Debian @@ -0,0 +1,7 @@ +- write (XML versions of) manpages, and push them upstream +- advertise the SVN repo to the world; a choice of (even both): + 1) update the static information on the PTS page, see: + * http://wiki.debian.org/AliothPackagingProject (section 1.2) + * http://www.debian.org/doc/manuals/developers-reference/ch-resources.en.html#s-pts-web +-- +Fri, 01 Sep 2006 15:30:19 +0200 zack --- gpscorrelate-1.5.6.orig/debian/gpscorrelate.dirs +++ gpscorrelate-1.5.6/debian/gpscorrelate.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc/gpscorrelate/html --- gpscorrelate-1.5.6.orig/debian/gpscorrelate-gui.links +++ gpscorrelate-1.5.6/debian/gpscorrelate-gui.links @@ -0,0 +1,2 @@ +/usr/share/doc/gpscorrelate/html /usr/share/doc/gpscorrelate-gui/html +/usr/share/man/man1/gpscorrelate.1.gz /usr/share/man/man1/gpscorrelate-gui.1.gz --- gpscorrelate-1.5.6.orig/debian/changelog +++ gpscorrelate-1.5.6/debian/changelog @@ -0,0 +1,68 @@ +gpscorrelate (1.5.6-1build2) jaunty; urgency=low + + * No-change rebuild for exiv2 0.18 (LP: 309684) + + -- Luka Renko Wed, 18 Mar 2009 13:27:13 +0100 + +gpscorrelate (1.5.6-1build1) intrepid; urgency=low + + * No change rebuild for libexiv2-2 -> libexiv2-4 transition (LP: #254661) + + -- Andrea Gasparini Mon, 04 Aug 2008 16:33:36 +0200 + +gpscorrelate (1.5.6-1) unstable; urgency=low + + * new upstream release + - fix negative timezone adjustments (closes: #444113) + * promote Vcs-* fields to real debian/control fields + * update standards-version, no changes needed + + -- Stefano Zacchiroli Fri, 28 Dec 2007 15:29:09 +0100 + +gpscorrelate (1.5.5-1) unstable; urgency=low + + * new upstream release + - make some GPS field availability optional (closes: #429655) + * add Homepage debian/control field + * debian/gpscorrelate-gui.menu + - change menu section to Applications according to the new menu policy + + -- Stefano Zacchiroli Sat, 22 Sep 2007 09:07:43 +0200 + +gpscorrelate (1.5-1) unstable; urgency=low + + * new upstream release + - better input handling from .gpx files (Closes: #404648) + * debian/control + - added XS-Vcs-Browser field + * debian/svn-deblayout + - added, with default URL for the tags dir + + -- Stefano Zacchiroli Sun, 25 Feb 2007 11:01:37 +0000 + +gpscorrelate (1.4-3) unstable; urgency=low + + * debian/control + - synced long descriptions of gpscorrelate and gpscorrelate-gui + - bumped build dependency on libexiv2-dev to ensure gpscorrelate is + rebuild against a package with a non-b0rken .shlibs file + + -- Stefano Zacchiroli Fri, 22 Sep 2006 09:41:25 +0200 + +gpscorrelate (1.4-2) unstable; urgency=low + + * debian/control + - improved long description + * debian/gpscorrelate-gui.menu + - added menu entry for the gpscorrelate GUI + * debian/manpage.xml + - written gpscorrelate manpage (docbook format, generated offline) + + -- Stefano Zacchiroli Fri, 8 Sep 2006 20:37:38 +0200 + +gpscorrelate (1.4-1) experimental; urgency=low + + * Initial release (Closes: #385488) + + -- Stefano Zacchiroli Thu, 31 Aug 2006 13:24:16 +0200 + --- gpscorrelate-1.5.6.orig/debian/README.Debian-source +++ gpscorrelate-1.5.6/debian/README.Debian-source @@ -0,0 +1,17 @@ +Manpage +======= + +The manpage debian/gpscorrelate.1 is generated from the (XML) Docbook file +debian/manpage.xml. Apply there modifications instead of acting on the +generated manpage. + +The manpage is not generated at package build time to avoid the dependency on +xsltproc and docbook-xsl. It should be generated offline before producing the +Debian source package. The debian/rules target 'dist' takes care of that: + + fakeroot debian/rules dist + +is your friend after modifying debian/manpage.xml. + +-- +Fri, 08 Sep 2006 19:10:22 +0200 zack --- gpscorrelate-1.5.6.orig/debian/control +++ gpscorrelate-1.5.6/debian/control @@ -0,0 +1,55 @@ +Source: gpscorrelate +Section: graphics +Priority: optional +Maintainer: Stefano Zacchiroli +Build-Depends: debhelper (>= 5), cdbs, pkg-config, libexiv2-dev (>= 0.10-1.3), libxml2-dev, libgtk2.0-dev +Standards-Version: 3.7.3 +Homepage: http://freefoote.dview.net/linux_gpscorr.html +Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/gpscorrelate/trunk +Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/gpscorrelate/trunk/ + +Package: gpscorrelate +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: correlates digital photos with GPS data filling EXIF fields + gpscorrelate fills EXIF (Exchangeable Image File Format) fields of + digital photos related to GPS (Global Positioning System) information + (e.g.: GPSLatitude, GPSLongitude, GPSAltitude, ...). The act of filling + those fields is referred to as "correlation". + . + Inputs of the correlation process are a set of JPEG images and GPS data + encoded in GPX (GPS Exchange Format) format. + . + 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. + . + Both a command line tool (package gpscorrelate) and a GTK+ graphical + user interface for it (package gpscorrelate-gui) are provided. + . + This package contains the command line tool and the documentation in HTML + format. + +Package: gpscorrelate-gui +Architecture: any +Depends: gpscorrelate, ${shlibs:Depends}, ${misc:Depends} +Description: correlates digital photos with GPS data filling EXIF fields + gpscorrelate fills EXIF (Exchangeable Image File Format) fields of + digital photos related to GPS (Global Positioning System) information + (e.g.: GPSLatitude, GPSLongitude, GPSAltitude, ...). The act of filling + those fields is referred to as "correlation". + . + Inputs of the correlation process are a set of JPEG images and GPS data + encoded in GPX (GPS Exchange Format) format. + . + 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. + . + Both a command line tool (package gpscorrelate) and a GTK+ graphical + user interface for it (package gpscorrelate-gui) are provided. + . + This package contains the GTK+ graphical user interface. + --- gpscorrelate-1.5.6.orig/debian/gpscorrelate.doc-base +++ gpscorrelate-1.5.6/debian/gpscorrelate.doc-base @@ -0,0 +1,12 @@ +Document: gpscorrelate +Title: GPS Correlate Documentation +Author: Daniel Foote +Abstract: This manual describes GPS Correlate, a tool for correlating digital + photos with geographical data originated by a GPS. Both the command line + interface and the graphical user interface are described. +Section: Apps/Graphics + +Format: HTML +Index: /usr/share/doc/gpscorrelate/html/index.html +Files: /usr/share/doc/gpscorrelate/html/* + --- gpscorrelate-1.5.6.orig/debian/rules +++ gpscorrelate-1.5.6/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk + +DEB_MAKE_BUILD_TARGET = all + +# non build-time targets + +DB2MAN_XSL = /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl +dist: debian/gpscorrelate.1 +debian/gpscorrelate.1: debian/manpage.xml + cd debian/ && xsltproc $(DB2MAN_XSL) $(notdir $<) + --- gpscorrelate-1.5.6.orig/debian/compat +++ gpscorrelate-1.5.6/debian/compat @@ -0,0 +1 @@ +5