From 5c13263aaacacceea208fae79d7fd4fc00c95c0e Mon Sep 17 00:00:00 2001 From: landry Date: Sun, 18 Apr 2010 13:30:17 +0000 Subject: [PATCH] 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. --- geo/tangogps/Makefile | 46 ++++++++++++++++++++ geo/tangogps/distinfo | 5 +++ geo/tangogps/patches/patch-Makefile_in | 21 +++++++++ geo/tangogps/patches/patch-po_Makefile_in_in | 34 +++++++++++++++ geo/tangogps/pkg/DESCR | 7 +++ geo/tangogps/pkg/MESSAGE | 1 + geo/tangogps/pkg/PLIST | 24 ++++++++++ 7 files changed, 138 insertions(+) create mode 100644 geo/tangogps/Makefile create mode 100644 geo/tangogps/distinfo create mode 100644 geo/tangogps/patches/patch-Makefile_in create mode 100644 geo/tangogps/patches/patch-po_Makefile_in_in create mode 100644 geo/tangogps/pkg/DESCR create mode 100644 geo/tangogps/pkg/MESSAGE create mode 100644 geo/tangogps/pkg/PLIST diff --git a/geo/tangogps/Makefile b/geo/tangogps/Makefile new file mode 100644 index 00000000000..56c9301f635 --- /dev/null +++ b/geo/tangogps/Makefile @@ -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 + +# 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 diff --git a/geo/tangogps/distinfo b/geo/tangogps/distinfo new file mode 100644 index 00000000000..f9dd533e475 --- /dev/null +++ b/geo/tangogps/distinfo @@ -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 diff --git a/geo/tangogps/patches/patch-Makefile_in b/geo/tangogps/patches/patch-Makefile_in new file mode 100644 index 00000000000..7809e787b8e --- /dev/null +++ b/geo/tangogps/patches/patch-Makefile_in @@ -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 diff --git a/geo/tangogps/patches/patch-po_Makefile_in_in b/geo/tangogps/patches/patch-po_Makefile_in_in new file mode 100644 index 00000000000..3cb04dced63 --- /dev/null +++ b/geo/tangogps/patches/patch-po_Makefile_in_in @@ -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: diff --git a/geo/tangogps/pkg/DESCR b/geo/tangogps/pkg/DESCR new file mode 100644 index 00000000000..7b7353f8122 --- /dev/null +++ b/geo/tangogps/pkg/DESCR @@ -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. diff --git a/geo/tangogps/pkg/MESSAGE b/geo/tangogps/pkg/MESSAGE new file mode 100644 index 00000000000..56b6189a4a9 --- /dev/null +++ b/geo/tangogps/pkg/MESSAGE @@ -0,0 +1 @@ +To get data from GPS-reciever you need to run gpsd diff --git a/geo/tangogps/pkg/PLIST b/geo/tangogps/pkg/PLIST new file mode 100644 index 00000000000..49330ac81ba --- /dev/null +++ b/geo/tangogps/pkg/PLIST @@ -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