debian/0000755000000000000000000000000011755667264007211 5ustar debian/gpscorrelate.install0000644000000000000000000000016511634046041013251 0ustar usr/bin/gpscorrelate usr/share/man/man1/gpscorrelate.1 usr/share/doc/gpscorrelate/* usr/share/doc/gpscorrelate/html/ debian/changelog0000644000000000000000000001450011751575372011055 0ustar gpscorrelate (1.6.1-4) unstable; urgency=low * Update Maintainer field with Debian email. * Override dh_auto_clean to remove some remaining files. * Update compatibility level to 9. * Enable security hardening build flags. * Update debian/copyright. * Bump to Standards-Version 3.9.3. No changes required. -- Mònica Ramírez Arceda Mon, 07 May 2012 00:18:07 +0200 gpscorrelate (1.6.1-3) unstable; urgency=low * Adopt the package: update debian/control and debian/changelog. (Closes: #640798) * debian/source/format: fix format number. * Simplify debian/rules with % target. * Rename patches and add headers to them. * 40-fix-typos.patch: fix typos in upstream code. * Bump to Standards-Version 3.9.2. No changes required. * Update debian/copyright to DEP-5. -- Mònica Ramírez Arceda Wed, 14 Sep 2011 08:41:36 +0200 gpscorrelate (1.6.1-2) unstable; urgency=low * New patches: - check-gps-tags.diff - check if GPSLatitude tag is present instead of GPSVersionID when desiding whether photos already contain GPS tags, some cameras create GPSVersionID tags but do not include coordinates (closes: 575611) * Update debian/copyright -- Євгеній Мещеряков Sun, 04 Apr 2010 23:04:05 +0200 gpscorrelate (1.6.1-1) unstable; urgency=low * New upstream release * Updated patches: - build-fixes.diff * Install the provided svg icon * Standards-version 3.8.4 — no changes required -- Євгеній Мещеряков Mon, 22 Feb 2010 16:52:29 +0100 gpscorrelate (1.6.0-3) unstable; urgency=low * Convert source to format 3 (quilt) * Standards-Version 3.8.3 - no changes needed * Use g++ for linking, fixes FTBFS with gold (closes: #554738) * Make short descriptions for command line and GUI package different * Use © in debian/copyright -- Євгеній Мещеряков Sat, 07 Nov 2009 17:29:57 +0100 gpscorrelate (1.6.0-2) unstable; urgency=low * Correct author's e-mail in debian/copyright (closes: #529293) * Fix incorrect GPSDateStamp format. Thanks to Håkon Stordahl (closes: #529202) -- Євгеній Мещеряков Thu, 21 May 2009 21:43:05 +0200 gpscorrelate (1.6.0-1) unstable; urgency=low * New upstream release - Almost no code changes -- Євгеній Мещеряков Sun, 05 Apr 2009 19:08:58 +0200 gpscorrelate (1.5.9-1) unstable; urgency=low * New upstream release * Install .desktop file * Standards-Version 3.8.1 - no changes required -- Євгеній Мещеряков Sat, 04 Apr 2009 22:35:37 +0200 gpscorrelate (1.5.8-4) unstable; urgency=low * Fix crash with incomplete GPS tags and --show (closes: #487873, again) -- Євгеній Мещеряков Sat, 07 Mar 2009 23:01:45 +0100 gpscorrelate (1.5.8-3) unstable; urgency=low * Fix crash on incomplete (?) gps tags. Thanks Giovanni Mascellani (closes: #487873, and most likely closes: #515654) -- Євгеній Мещеряков Thu, 05 Mar 2009 01:43:58 +0100 gpscorrelate (1.5.8-2) unstable; urgency=low * Simplify debian/rules using debhelper 7.0.50 features * Fix crash when input gpx file contains empty tags (closes: #502073) * Use Vcs-Git instead of Vcs-Svn in debian/control * Fix reading and writing of negative altitudes, also fix crash when reading invalid Exif tags (closes: #492390, #493757) -- Євгеній Мещеряков Sun, 01 Mar 2009 03:21:21 +0100 gpscorrelate (1.5.8-1) unstable; urgency=low * New upstream release * New maintainer (closes: 515330) * Standards-Version 3.8.0 - add support for parallel=n in DEB_BUILD_OPTIONS * Use -Wl,--as-needed for linking to avoid some dependencies * Remove debian/TODO.Debian * Remove manpage from debian/, there is one in the upstream source * Remove "Apps/" from doc-base section, thanks lintian * Add links to new git repository into debian/control * Use debhelper 7 instead of cdbs * Install file RELEASES as upstream changelog * Build-depend on xstproc, docbook-xsl and docbook-xml to build manpage -- Євгеній Мещеряков Thu, 26 Feb 2009 21:45:49 +0100 gpscorrelate (1.5.6-2) unstable; urgency=low * Orphaning, as nobody volunteered for maintenance (see: #515330) * debian/control: set Maintainer to QA group -- Stefano Zacchiroli Tue, 24 Feb 2009 08:22:13 +0100 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 debian/gpscorrelate-gui.dirs0000644000000000000000000000007511634046041013326 0ustar usr/share/applications usr/share/icons/hicolor/scalable/apps debian/source/0000755000000000000000000000000011640312014010456 5ustar debian/source/format0000644000000000000000000000001411634046714011702 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211751567550010400 0ustar 9 debian/watch0000644000000000000000000000021711634046041010216 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 http://freefoote.dview.net/linux/gpscorrelate-(.*)\.tar\.gz debian/gpscorrelate-gui.install0000644000000000000000000000020011634046041014021 0ustar usr/bin/gpscorrelate-gui gpscorrelate.desktop usr/share/applications gpscorrelate-gui.svg usr/share/icons/hicolor/scalable/apps debian/rules0000755000000000000000000000137211751567550010265 0ustar #!/usr/bin/make -f # Use hardening options to build the package export DEB_BUILD_MAINT_OPTIONS = hardening=+all CFLAGS = -Wall -g ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(NUMJOBS) endif %: dh $@ override_dh_auto_build: $(MAKE) prefix=/usr CFLAGS="$(CFLAGS) $(CPPFLAGS) $(CXXFLAGS)" OFLAGS="$(LDFLAGS)" override_dh_auto_install: $(MAKE) DESTDIR=debian/tmp prefix=/usr install override_dh_installchangelogs: dh_installchangelogs RELEASES override_dh_auto_clean: dh_auto_clean rm -f doc/gpscorrelate-manpage.xml gpscorrelate gpscorrelate-gui gpscorrelate.1 debian/control0000644000000000000000000000477111751575404010613 0ustar Source: gpscorrelate Section: graphics Priority: optional Maintainer: Mònica Ramírez Arceda Build-Depends: debhelper (>= 9), pkg-config, libexiv2-dev (>= 0.10-1.3), libxml2-dev, libgtk2.0-dev, xsltproc, docbook-xml, docbook-xsl Standards-Version: 3.9.3 Homepage: http://freefoote.dview.net/linux_gpscorr.html Vcs-Git: git://git.debian.org/collab-maint/gpscorrelate.git Vcs-Browser: http://git.debian.org/?p=collab-maint/gpscorrelate.git Package: gpscorrelate Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: correlates digital photos with GPS data filling EXIF fields (command line) 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 (GUI) 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. debian/copyright0000644000000000000000000000247511751574230011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: GPS Photo Correlation Source: http://freefoote.dview.net/linux_gpscorr.html Files: * Copyright: Copyright 2005-2010 Daniel Foote License: GPL-2+ Files: debian/* Copyright: 2006 Stefano Zacchiroli 2009-2010 Євгеній Мещеряков 2011-2012 Mònica Ramírez Arceda License: GPL-2+ License: GPL-2+ 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 systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/patches/0000755000000000000000000000000011640304731010614 5ustar debian/patches/20-timestap-fixes.patch0000644000000000000000000000146611640304244015024 0ustar Description: Fix incorrect GPSDateStamp format. Author: Håkon Stordahl Last-Update: 2009-05-21 --- gpscorrelate-1.6.0.orig/exif-gps.cpp +++ gpscorrelate-1.6.0/exif-gps.cpp @@ -628,13 +628,11 @@ int WriteGPSData(char* File, struct GPSP ExifToWrite.add(Exiv2::ExifKey("Exif.GPSInfo.GPSTimeStamp"), Value.get()); // And we should also do a datestamp. - Value = Exiv2::Value::create(Exiv2::signedRational); - snprintf(ScratchBuf, 100, "%d/1 %d/1 %d/1", + snprintf(ScratchBuf, 100, "%04d:%02d:%02d", TimeStamp.tm_year + 1900, TimeStamp.tm_mon + 1, TimeStamp.tm_mday); - Value->read(ScratchBuf); - ExifToWrite.add(Exiv2::ExifKey("Exif.GPSInfo.GPSDateStamp"), Value.get()); + ExifToWrite["Exif.GPSInfo.GPSDateStamp"] = ScratchBuf; // Write the data to file. Image->writeMetadata(); debian/patches/40-fix-typos.patch0000644000000000000000000000545111640304220014016 0ustar Description: Fix some typos. Author: Mònica Ramírez Arceda Last-Update: 2011-09-27 --- a/doc/concepts.html +++ b/doc/concepts.html @@ -36,7 +36,7 @@

The GPS correlate program accepts GPS data in the GPX format: an open XML format. The format is quite arbitrary, and, naturally, everyone has their own GPS file format. So, in that way, this program is no exception.

-

Exactly how you will get the GPS data from a discrete device is very much device dependant. Many devices have serial cables or USB cables to download the data (although the USB cables are often glorified USB-to-serial convertors). What format it will turn out as is also the big question. I personally recommend GPSBabel, which can convert between many formats (thus translating from whatever strange one your downloading method/program produces) and can also download from Garmin and Magellen GPS devices directly (so you can download straight to GPX and retain lots of useful metadata, like track segments).

+

Exactly how you will get the GPS data from a discrete device is very much device dependant. Many devices have serial cables or USB cables to download the data (although the USB cables are often glorified USB-to-serial converters). What format it will turn out as is also the big question. I personally recommend GPSBabel, which can convert between many formats (thus translating from whatever strange one your downloading method/program produces) and can also download from Garmin and Magellen GPS devices directly (so you can download straight to GPX and retain lots of useful metadata, like track segments).

If you logged the GPS data with a computer... well, it could be any format, depending on how it is logged. One trick would be to log the NMEA sentences as they came from the GPS directly into a file. Once the logging is done, GPSBabel can convert these NMEA sentences directly into GPX format. Usually these are one second fixes, so this would yeild very good results - however, lugging around a laptop to log the data might not be convenient. A PDA might be convenient, though...

--- a/gui.c +++ b/gui.c @@ -289,7 +289,7 @@ SelectGPSButton = gtk_button_new_with_mnemonic ("Choose..."); gtk_widget_show (SelectGPSButton); gtk_box_pack_start (GTK_BOX (GPSDataVBox), SelectGPSButton, FALSE, FALSE, 0); - gtk_tooltips_set_tip (tooltips, SelectGPSButton, "Choose GPX file to read GPS data from. If the GPS data is not in the GPX format, use a convertor like GPSBabel to convert it to GPX.", NULL); + gtk_tooltips_set_tip (tooltips, SelectGPSButton, "Choose GPX file to read GPS data from. If the GPS data is not in the GPX format, use a converter like GPSBabel to convert it to GPX.", NULL); g_signal_connect (G_OBJECT (SelectGPSButton), "clicked", G_CALLBACK (SelectGPSButtonPress), NULL); debian/patches/series0000644000000000000000000000013011640304731012023 0ustar 10-build-fixes.patch 20-timestap-fixes.patch 30-check-gps-tags.patch 40-fix-typos.patch debian/patches/10-build-fixes.patch0000644000000000000000000000321611640304253014267 0ustar Description: Adapt Makefile to Debian package. Author: Євгеній Мещеряков Last-Update: 2010-02-22 Index: gpscorrelate/Makefile =================================================================== --- gpscorrelate.orig/Makefile 2010-02-22 12:56:50.000000000 +0100 +++ gpscorrelate/Makefile 2010-02-22 16:29:37.631626442 +0100 @@ -7,7 +7,8 @@ CFLAGS = -Wall override CFLAGS += $(shell pkg-config --cflags libxml-2.0 gtk+-2.0) -I/usr/include/exiv2 OFLAGS = -Wall -override OFLAGS += $(shell pkg-config --libs libxml-2.0 gtk+-2.0) -lm -lexiv2 +OFLAGS_CON = $(OFLAGS) -Wl,--as-needed $(shell pkg-config --libs libxml-2.0) -lm -lexiv2 +OFLAGS_GTK = $(OFLAGS) -Wl,--as-needed $(shell pkg-config --libs libxml-2.0 gtk+-2.0) -lm -lexiv2 prefix = /usr/local bindir = $(prefix)/bin datadir = $(prefix)/share @@ -18,10 +19,10 @@ all: gpscorrelate gpscorrelate-gui gpscorrelate.1 gpscorrelate: $(COBJS) - g++ $(OFLAGS) -o $@ $(COBJS) + g++ -o $@ $(COBJS) $(OFLAGS_CON) gpscorrelate-gui: $(GOBJS) - g++ $(OFLAGS) -o $@ $(GOBJS) + g++ -o $@ $(GOBJS) $(OFLAGS_GTK) .c.o: gcc $(CFLAGS) -c -o $*.o $< @@ -30,7 +31,7 @@ g++ $(CFLAGS) -c -o $*.o $< clean: - rm -f *.o gpscorrelate{,.exe} gpscorrelate-gui{,.exe} + rm -f *.o gpscorrelate gpscorrelate-gui doc/gpscorrelate-manpage.xml gpscorrelate.1 install: all install -d $(DESTDIR)$(bindir) @@ -48,4 +49,4 @@ sed 's,@DOCDIR@,$(docdir),' $< > $@ gpscorrelate.1: doc/gpscorrelate-manpage.xml - xsltproc http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + xsltproc --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< debian/patches/30-check-gps-tags.patch0000644000000000000000000000172011640304231014650 0ustar Description: Check if GPSLatitude tag is present instead of GPSVersionID when deciding whether photos already contain GPS tags, some cameras create GPSVersionID tags but do not include coordinates Author: Євгеній Мещеряков Last-Update: 2010-04-04 Index: gpscorrelate/exif-gps.cpp =================================================================== --- gpscorrelate.orig/exif-gps.cpp 2010-04-04 22:48:24.646160524 +0200 +++ gpscorrelate/exif-gps.cpp 2010-04-04 22:50:10.149478790 +0200 @@ -126,13 +126,11 @@ strcpy(Copy, Value.c_str()); // Check if we have GPS tags. - Exiv2::Exifdatum& GPSData = ExifRead["Exif.GPSInfo.GPSVersionID"]; + Exiv2::Exifdatum& GPSData = ExifRead["Exif.GPSInfo.GPSLatitude"]; - Value = GPSData.toString(); - - if (Value.length() == 0) + if (GPSData.count() < 3) { - // No GPS data. + // No valid GPS data. *IncludesGPS = 0; } else { // Seems to include GPS data... debian/gpscorrelate.docs0000644000000000000000000000000711634046041012526 0ustar README debian/gpscorrelate.doc-base0000644000000000000000000000064011634046041013256 0ustar 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: Graphics Format: HTML Index: /usr/share/doc/gpscorrelate/html/index.html Files: /usr/share/doc/gpscorrelate/html/* debian/gpscorrelate-gui.menu0000644000000000000000000000031111634046041013322 0ustar ?package(gpscorrelate-gui): \ needs="X11" \ section="Applications/Graphics" \ title="GPS Correlate" \ longtitle="Correlate digital photos with GPS data" \ command="/usr/bin/gpscorrelate-gui" debian/README.Debian0000644000000000000000000000124211634046041011225 0ustar 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 debian/gpscorrelate-gui.links0000644000000000000000000000022611634046041013503 0ustar /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 debian/gpscorrelate-gui.docs0000644000000000000000000000000711634046041013310 0ustar README