graphics/gpscorrelate: Added to 12.0 repository

This commit is contained in:
David Spencer 2010-05-11 20:00:36 +02:00 committed by Robby Workman
parent 2d4a52f624
commit 90775c62ff
4 changed files with 94 additions and 0 deletions

View File

@ -0,0 +1,13 @@
GPScorrelate writes EXIF GPS tags to JPEG photos using a GPX tracklog.
Both a command line utility (gpscorrelate) and a GTK+ application
(gpscorrelate-gui) are provided.
The date/time of each photo is correlated with a GPS tracklog and the
photos are tagged (or "geocoded") with appropriate EXIF GPS tags. For
more information please see the GPScorrelate homepage.
GPScorrelate requires exiv2, which is also available at SlackBuilds.org.
The tracklog must be in GPX format. One suitable utility for downloading
tracklogs and translating them to GPX format is gpsbabel, which is also
available at SlackBuilds.org.

View File

@ -0,0 +1,54 @@
#!/bin/sh
# Slackware build script for gpscorrelate
# Written by David Spencer <nobbutl@yahoo.co.uk>
# This script is dedicated to the public domain
PRGNAM=gpscorrelate
VERSION=1.5.6
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
make CFLAGS="$SLKCFLAGS $(pkg-config --cflags libxml-2.0 gtk+-2.0) -I/usr/include/exiv2"
mkdir -p $PKG/usr/bin
for i in gpscorrelate gpscorrelate-gui ; do
strip --strip-unneeded $i
cp $i $PKG/usr/bin
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL README RELEASES command-line-options.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
( cd doc ; cp -a command.html concepts.html corr.png gui.html index.html \
$PKG/usr/doc/$PRGNAM-$VERSION )
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View File

@ -0,0 +1,8 @@
PRGNAM="gpscorrelate"
VERSION="1.5.6"
HOMEPAGE="http://freefoote.dview.net/linux_gpscorr.html"
DOWNLOAD="http://freefoote.dview.net/linux/gpscorrelate-1.5.6.tar.gz"
MD5SUM="a76ee92d6f37c7d7d3a3c36dcd07ba62"
MAINTAINER="David Spencer"
EMAIL="nobbutl@yahoo.co.uk"
APPROVED="rworkman"

View File

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
gpscorrelate: gpscorrelate (write EXIF GPS tags to photos using a GPX tracklog)
gpscorrelate:
gpscorrelate: A GTK+ app and command line utility for geocoding JPEG photos.
gpscorrelate: The date/time of each photo is correlated with a GPS tracklog
gpscorrelate: (in GPX format) and the photos are tagged with appropriate EXIF
gpscorrelate: GPS tags.
gpscorrelate:
gpscorrelate: Homepage: http://freefoote.dview.net/linux_gpscorr.html
gpscorrelate:
gpscorrelate:
gpscorrelate: