Import tangogps 0.99.3, from maintainer Kirill Bychkov, thanks!

tangoGPS is an easy to use, fast and lightweight mapping application for
use with or without GPS.  It runs on any *nix platform from the desktop
over eeePC down to phones like the Openmoko Neo.  By default tangoGPS
uses map data from the Openstreetmap project. Additionally a variety of
other repositories can be easily added.  The maps are automagically
downloaded and cached for offline use while you drag or zoom the map.
Furthermore you can conveniently pre-cache areas with tangoGPS.
This commit is contained in:
landry 2010-04-18 13:30:17 +00:00
parent db9075a8ca
commit 5c13263aaa
7 changed files with 138 additions and 0 deletions

46
geo/tangogps/Makefile Normal file
View File

@ -0,0 +1,46 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/04/18 13:30:17 landry Exp $
COMMENT = lightweight mapping application for use with or without GPS
DISTNAME = tangogps-0.99.3
CATEGORIES = geo
HOMEPAGE = http://www.tangogps.org/
MASTER_SITES = ${HOMEPAGE}/downloads/
MAINTAINER = Kirill Bychkov <yason@linklevel.net>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
Xfixes Xi Xinerama Xrandr Xrender c cairo crypto dbus-1 \
dbus-glib-1 expat fontconfig freetype gdk-x11-2.0 \
gdk_pixbuf-2.0 gio-2.0 glib-2.0 glitz gmodule-2.0 \
gobject-2.0 gthread-2.0 gtk-x11-2.0 iconv idn intl m \
pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 \
png pthread pthread-stubs ssl xcb xcb-render \
xcb-render-util xml2 z
MODULES = devel/gettext
LIB_DEPENDS = atk-1.0::devel/atk \
curl::net/curl \
exif::graphics/libexif \
gconf-2::devel/gconf2 \
sqlite3::databases/sqlite3
RUN_DEPENDS = ::devel/desktop-file-utils
CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS="-L${LOCALBASE}/lib -liconv -lintl"
USE_X11 = Yes
CONFIGURE_STYLE = gnu
NO_REGRESS = Yes
.include <bsd.port.mk>

5
geo/tangogps/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (tangogps-0.99.3.tar.gz) = dLT1hLbtrldsHXfRZqlHbg==
RMD160 (tangogps-0.99.3.tar.gz) = qbw0OBJ4K4/MJvFJylAkWyi6vz0=
SHA1 (tangogps-0.99.3.tar.gz) = wvuaBwwB9QKWtczjRGe6A7VNPzo=
SHA256 (tangogps-0.99.3.tar.gz) = /4v2MCHlTqfNXFI4KzKHclLlIwFUYG9iNWSMrzb1G48=
SIZE (tangogps-0.99.3.tar.gz) = 493873

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2010/04/18 13:30:17 landry Exp $
--- Makefile.in.orig Sun Feb 14 17:48:05 2010
+++ Makefile.in Fri Apr 16 16:25:06 2010
@@ -270,15 +270,9 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = po src pixmaps data
-tangogpsdocdir = ${prefix}/doc/tangogps
+tangogpsdocdir = ${prefix}/share/doc/tangogps
tangogpsdoc_DATA = \
- README\
- COPYING\
- AUTHORS\
- ChangeLog\
- INSTALL\
- NEWS\
- TODO
+ COPYING
EXTRA_DIST = $(tangogpsdoc_DATA)
all: config.h

View File

@ -0,0 +1,34 @@
$OpenBSD: patch-po_Makefile_in_in,v 1.1.1.1 2010/04/18 13:30:17 landry Exp $
--- po/Makefile.in.in.orig Sat Feb 13 17:48:20 2010
+++ po/Makefile.in.in Fri Apr 16 16:19:08 2010
@@ -27,10 +27,10 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
datadir = @datadir@
+datarootdir = @datarootdir@
libdir = @libdir@
-localedir = $(libdir)/locale
+localedir = $(datadir)/locale
gnulocaledir = $(datadir)/locale
-gettextsrcdir = $(datadir)/glib-2.0/gettext/po
subdir = po
INSTALL = @INSTALL@
@@ -168,17 +168,6 @@ install-data-yes: all
fi; \
fi; \
done
- if test "$(PACKAGE)" = "glib"; then \
- if test -r "$(MKINSTALLDIRS)"; then \
- $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
- else \
- $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
- fi; \
- $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
- $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
- else \
- : ; \
- fi
# Define this as empty until I found a useful application.
installcheck:

7
geo/tangogps/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
tangoGPS is an easy to use, fast and lightweight mapping application for
use with or without GPS. It runs on any *nix platform from the desktop
over eeePC down to phones like the Openmoko Neo. By default tangoGPS
uses map data from the Openstreetmap project. Additionally a variety of
other repositories can be easily added. The maps are automagically
downloaded and cached for offline use while you drag or zoom the map.
Furthermore you can conveniently pre-cache areas with tangoGPS.

1
geo/tangogps/pkg/MESSAGE Normal file
View File

@ -0,0 +1 @@
To get data from GPS-reciever you need to run gpsd

24
geo/tangogps/pkg/PLIST Normal file
View File

@ -0,0 +1,24 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/04/18 13:30:17 landry Exp $
@bin bin/tangogps
share/applications/tangogps.desktop
share/doc/tangogps/
share/doc/tangogps/COPYING
share/locale/bg/LC_MESSAGES/tangogps.mo
share/locale/cs/LC_MESSAGES/tangogps.mo
share/locale/de/LC_MESSAGES/tangogps.mo
share/locale/es/LC_MESSAGES/tangogps.mo
share/locale/fi/LC_MESSAGES/tangogps.mo
share/locale/fr/LC_MESSAGES/tangogps.mo
share/locale/hu/LC_MESSAGES/tangogps.mo
share/locale/nl/LC_MESSAGES/tangogps.mo
share/locale/ru/LC_MESSAGES/tangogps.mo
share/locale/sk/LC_MESSAGES/tangogps.mo
share/pixmaps/
share/pixmaps/tangogps-friend.png
share/pixmaps/tangogps-myposition.png
share/pixmaps/tangogps-photo.png
share/pixmaps/tangogps-poi.png
share/pixmaps/tangogps-wp.png
share/pixmaps/tangogps.png
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database