diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-06-07 09:14:33 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-06-07 09:14:33 +0000 |
commit | 41c681f4e7877ad8574b2191dd91e84bed7e79b3 (patch) | |
tree | 23242f48990ac680125e113eff3107631e26014f /sci-geosciences | |
parent | Fix udev dependency (bug #370395) (diff) | |
download | gentoo-2-41c681f4e7877ad8574b2191dd91e84bed7e79b3.tar.gz gentoo-2-41c681f4e7877ad8574b2191dd91e84bed7e79b3.tar.bz2 gentoo-2-41c681f4e7877ad8574b2191dd91e84bed7e79b3.zip |
Version bump to latest. Punt older. This thing was by some magic accident stable on amd64 so un-stable it.
(Portage version: 2.2.0_alpha38/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/gpscorrelate/ChangeLog | 12 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/files/gpscorrelate-1.5.6-cflags.patch | 32 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/files/gpscorrelate-1.5.8-makefile.diff | 35 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-makefile.patch | 40 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/files/gpscorrelate.1 | 115 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/gpscorrelate-1.5.8.ebuild | 45 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/gpscorrelate-1.6.0.ebuild | 46 | ||||
-rw-r--r-- | sci-geosciences/gpscorrelate/gpscorrelate-1.6.1.ebuild (renamed from sci-geosciences/gpscorrelate/gpscorrelate-1.5.6.ebuild) | 38 |
8 files changed, 71 insertions, 292 deletions
diff --git a/sci-geosciences/gpscorrelate/ChangeLog b/sci-geosciences/gpscorrelate/ChangeLog index ad94ea87f761..73d24832ecaa 100644 --- a/sci-geosciences/gpscorrelate/ChangeLog +++ b/sci-geosciences/gpscorrelate/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for sci-geosciences/gpscorrelate # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpscorrelate/ChangeLog,v 1.8 2011/03/02 20:33:35 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpscorrelate/ChangeLog,v 1.9 2011/06/07 09:14:32 scarabeus Exp $ + +*gpscorrelate-1.6.1 (07 Jun 2011) + + 07 Jun 2011; Tomáš Chvátal <scarabeus@gentoo.org> + -gpscorrelate-1.5.6.ebuild, -files/gpscorrelate-1.5.6-cflags.patch, + -gpscorrelate-1.5.8.ebuild, -files/gpscorrelate-1.5.8-makefile.diff, + -gpscorrelate-1.6.0.ebuild, +gpscorrelate-1.6.1.ebuild, + +files/gpscorrelate-1.6.1-makefile.patch, -files/gpscorrelate.1: + Version bump to latest. Punt older. This thing was by some magic accident + stable on amd64 so un-stable it. 02 Mar 2011; Justin Lecher <jlec@gentoo.org> gpscorrelate-1.5.6.ebuild, gpscorrelate-1.5.8.ebuild, gpscorrelate-1.6.0.ebuild: diff --git a/sci-geosciences/gpscorrelate/files/gpscorrelate-1.5.6-cflags.patch b/sci-geosciences/gpscorrelate/files/gpscorrelate-1.5.6-cflags.patch deleted file mode 100644 index f014bbff1f52..000000000000 --- a/sci-geosciences/gpscorrelate/files/gpscorrelate-1.5.6-cflags.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- 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.5.8-makefile.diff b/sci-geosciences/gpscorrelate/files/gpscorrelate-1.5.8-makefile.diff deleted file mode 100644 index a3952bd348d6..000000000000 --- a/sci-geosciences/gpscorrelate/files/gpscorrelate-1.5.8-makefile.diff +++ /dev/null @@ -1,35 +0,0 @@ ---- gpscorrelate-1.5.8/Makefile 2008-10-31 12:50:39.000000000 +0100 -+++ gpscorrelate-1.5.8-1/Makefile 2008-12-01 19:19:12.000000000 +0100 -@@ -5,9 +5,10 @@ - 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 --override CFLAGS += $(shell pkg-config --cflags libxml-2.0 gtk+-2.0) -I/usr/include/exiv2 -+override CFLAGS += $(shell pkg-config --cflags libxml-2.0) $(shell pkg-config --cflags gtk+-2.0) -I/usr/include/exiv2 - OFLAGS = -Wall - override OFLAGS += $(shell pkg-config --libs libxml-2.0 gtk+-2.0) -lm -lexiv2 -+OFLAGS_GUI = $(shell pkg-config --libs gtk+-2.0) - prefix = /usr/local - bindir = $(prefix)/bin - mandir = $(prefix)/share/man -@@ -17,16 +18,16 @@ - all: gpscorrelate gpscorrelate-gui gpscorrelate.1 - - gpscorrelate: $(COBJS) -- gcc $(OFLAGS) -o $@ $(COBJS) -+ $(CC) -o $@ $(COBJS) $(OFLAGS) $(LDFLAGS) - - gpscorrelate-gui: $(GOBJS) -- gcc $(OFLAGS) -o $@ $(GOBJS) -+ $(CC) -o $@ $(GOBJS) $(OFLAGS) $(OFLAGS_GUI) $(LDFLAGS) - - .c.o: -- gcc $(CFLAGS) -c -o $*.o $< -+ $(CC) $(CFLAGS) -c -o $*.o $< - - .cpp.o: -- g++ $(CFLAGS) -c -o $*.o $< -+ $(CXX) $(CFLAGS) -c -o $*.o $< - - clean: - rm -f *.o gpscorrelate{,.exe} gpscorrelate-gui{,.exe} diff --git a/sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-makefile.patch b/sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-makefile.patch new file mode 100644 index 000000000000..653d7dac6087 --- /dev/null +++ b/sci-geosciences/gpscorrelate/files/gpscorrelate-1.6.1-makefile.patch @@ -0,0 +1,40 @@ +diff -urN gpscorrelate-1.6.1.old/Makefile gpscorrelate-1.6.1/Makefile +--- gpscorrelate-1.6.1.old/Makefile 2011-06-07 11:01:35.671339619 +0200 ++++ gpscorrelate-1.6.1/Makefile 2011-06-07 11:09:31.705388371 +0200 +@@ -4,11 +4,10 @@ + + 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 +-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 +-prefix = /usr/local ++CFLAGS += $(shell pkg-config --cflags libxml-2.0 gtk+-2.0) -I/usr/include/exiv2 ++CXXFLAGS += $(shell pkg-config --cflags libxml-2.0 gtk+-2.0) -I/usr/include/exiv2 ++CLIBS += $(shell pkg-config --libs libxml-2.0 gtk+-2.0) -lm -lexiv2 ++prefix ?= /usr/local + bindir = $(prefix)/bin + datadir = $(prefix)/share + mandir = $(datadir)/man +@@ -18,16 +17,16 @@ + all: gpscorrelate gpscorrelate-gui gpscorrelate.1 + + gpscorrelate: $(COBJS) +- g++ $(OFLAGS) -o $@ $(COBJS) ++ $(CXX) $(LDFLAGS) -o $@ $(COBJS) $(CLIBS) + + gpscorrelate-gui: $(GOBJS) +- g++ $(OFLAGS) -o $@ $(GOBJS) ++ $(CXX) $(LDFLAGS) -o $@ $(GOBJS) $(CLIBS) + + .c.o: +- gcc $(CFLAGS) -c -o $*.o $< ++ $(CC) $(CFLAGS) -c -o $*.o $< + + .cpp.o: +- g++ $(CFLAGS) -c -o $*.o $< ++ $(CXX) $(CXXFLAGS) -c -o $*.o $< + + clean: + rm -f *.o gpscorrelate{,.exe} gpscorrelate-gui{,.exe} diff --git a/sci-geosciences/gpscorrelate/files/gpscorrelate.1 b/sci-geosciences/gpscorrelate/files/gpscorrelate.1 deleted file mode 100644 index ac7f2b29963d..000000000000 --- a/sci-geosciences/gpscorrelate/files/gpscorrelate.1 +++ /dev/null @@ -1,115 +0,0 @@ -.\" 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.8.ebuild b/sci-geosciences/gpscorrelate/gpscorrelate-1.5.8.ebuild deleted file mode 100644 index 346a1934b39d..000000000000 --- a/sci-geosciences/gpscorrelate/gpscorrelate-1.5.8.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpscorrelate/gpscorrelate-1.5.8.ebuild,v 1.4 2011/03/02 20:33:35 jlec Exp $ - -EAPI="1" - -inherit eutils toolchain-funcs - -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="amd64 ~hppa ~x86" -IUSE="doc gtk" -DEPEND="dev-libs/libxml2:2 - media-gfx/exiv2 - gtk? ( x11-libs/gtk+:2 )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-makefile.diff" -} - -src_compile() { - tc-export CC - emake gpscorrelate gpscorrelate.1 || die - if use gtk; then - emake gpscorrelate-gui || die - fi -} - -src_install() { - dobin gpscorrelate - if use gtk; then - dobin gpscorrelate-gui - make_desktop_entry gpscorrelate-gui GPSCorrelate "" "Photography;Graphics;Geography;" - fi - if use doc; then - dohtml doc/* || die - fi - doman gpscorrelate.1 || die -} diff --git a/sci-geosciences/gpscorrelate/gpscorrelate-1.6.0.ebuild b/sci-geosciences/gpscorrelate/gpscorrelate-1.6.0.ebuild deleted file mode 100644 index 145013054644..000000000000 --- a/sci-geosciences/gpscorrelate/gpscorrelate-1.6.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpscorrelate/gpscorrelate-1.6.0.ebuild,v 1.3 2011/03/02 20:33:35 jlec Exp $ - -EAPI="1" - -inherit eutils toolchain-funcs - -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="~amd64 ~hppa ~x86" -IUSE="doc gtk" -DEPEND="dev-libs/libxml2:2 - media-gfx/exiv2 - gtk? ( x11-libs/gtk+:2 )" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PN}-1.5.8-makefile.diff" -} - -src_compile() { - tc-export CC - emake gpscorrelate gpscorrelate.1 || die - if use gtk; then - emake gpscorrelate-gui || die - fi -} - -src_install() { - dobin gpscorrelate - if use gtk; then - dobin gpscorrelate-gui - make_desktop_entry gpscorrelate-gui GPSCorrelate "" "Photography;Graphics;Geography;" - fi - if use doc; then - dohtml doc/* || die - fi - doman gpscorrelate.1 || die -} diff --git a/sci-geosciences/gpscorrelate/gpscorrelate-1.5.6.ebuild b/sci-geosciences/gpscorrelate/gpscorrelate-1.6.1.ebuild index a4904cdf7a2f..bb426c600f23 100644 --- a/sci-geosciences/gpscorrelate/gpscorrelate-1.5.6.ebuild +++ b/sci-geosciences/gpscorrelate/gpscorrelate-1.6.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2011 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.5 2011/03/02 20:33:35 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpscorrelate/gpscorrelate-1.6.1.ebuild,v 1.1 2011/06/07 09:14:32 scarabeus Exp $ -EAPI="1" +EAPI=4 inherit eutils toolchain-funcs @@ -14,32 +14,34 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~hppa ~x86" IUSE="doc gtk" -DEPEND="dev-libs/libxml2:2 + +RDEPEND="dev-libs/libxml2:2 media-gfx/exiv2 - gtk? ( x11-libs/gtk+:2 )" + gtk? ( x11-libs/gtk+:2 ) +" +DEPEND="${RDEPEND} + dev-libs/libxslt" -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-cflags.patch +src_prepare() { + epatch "${FILESDIR}/${PN}-1.6.1-makefile.patch" } src_compile() { - tc-export CC - emake gpscorrelate || die - if use gtk; then - emake gpscorrelate-gui || die - fi + tc-export CC CXX + local opts="gpscorrelate gpscorrelate.1" + use gtk && opts+=" gpscorrelate-gui" + emake ${opts} } src_install() { - dobin gpscorrelate + dobin ${PN} if use gtk; then - dobin gpscorrelate-gui + dobin ${PN}-gui + doicon ${PN}-gui.svg + domenu ${PN}.desktop fi if use doc; then - dohtml doc/* || die + dohtml doc/* fi - doman "${FILESDIR}"/${PN}.1 || die - make_desktop_entry gpscorrelate-gui GPSCorrelate "" "Photography;Graphics;Geography;" + doman ${PN}.1 } |