import foxtrotgps-1.1.1
FoxtrotGPS is an offshoot of Marcus Bauer's excellent Free & Open Source tangoGPS application, with a focus on cooperation and fostering community innovation. By default maps tiles are downloaded from the Openstreetmap project. Map tiles are automatically downloaded and cached for offline use. To get real-time positioning from a GPS receiver you need to run gpsd. With some help from jasper@, input and ok@ from dcoppa@
This commit is contained in:
parent
0fcf75bd72
commit
b7148bda52
55
geo/foxtrotgps/Makefile
Normal file
55
geo/foxtrotgps/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/10/12 14:50:45 kirby Exp $
|
||||
|
||||
COMMENT = lightweight mapping application for use with or without GPS
|
||||
|
||||
DISTNAME = foxtrotgps-1.1.1
|
||||
|
||||
CATEGORIES = geo x11
|
||||
|
||||
HOMEPAGE = http://www.foxtrotgps.org/
|
||||
|
||||
MASTER_SITES = ${HOMEPAGE}/releases/
|
||||
|
||||
MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
||||
WANTLIB += Xrandr Xrender atk-1.0 c cairo crypto curl dbus-1 dbus-glib-1
|
||||
WANTLIB += exif expat ffi fontconfig freetype gconf-2 gdk-x11-2.0
|
||||
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glade-2.0 glib-2.0 gmodule-2.0
|
||||
WANTLIB += gobject-2.0 gps gthread-2.0 gtk-x11-2.0 harfbuzz icudata
|
||||
WANTLIB += icule icuuc idn m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
||||
WANTLIB += pcre pixman-1 png pthread pthread-stubs sqlite3 ssl
|
||||
WANTLIB += xcb xcb-render xcb-shm xml2 z
|
||||
|
||||
MODULES = devel/gettext \
|
||||
lang/python \
|
||||
devel/gconf2
|
||||
|
||||
LIB_DEPENDS = devel/libglade2 \
|
||||
graphics/libexif \
|
||||
misc/gpsd \
|
||||
net/curl \
|
||||
x11/gtk+2
|
||||
|
||||
RUN_DEPENDS = devel/desktop-file-utils
|
||||
|
||||
CONFIGURE_ENV += CPPFLAGS=-I${LOCALBASE}/include \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -liconv -lintl" \
|
||||
GCONF_SCHEMA_FILE_DIR=${SCHEMAS_INSTDIR}
|
||||
|
||||
USE_GMAKE = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
NO_REGRESS = Yes
|
||||
|
||||
MODGCONF2_SCHEMAS_DIR = foxtrotgps
|
||||
|
||||
MODPY_ADJ_FILES = contrib/georss2foxtrotgps-poi
|
||||
MODPY_RUNDEP = No
|
||||
|
||||
.include <bsd.port.mk>
|
2
geo/foxtrotgps/distinfo
Normal file
2
geo/foxtrotgps/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (foxtrotgps-1.1.1.tar.gz) = rpcGKFUQVUzAgTrJJSLg0WcrDdsGUwe/rPz/PDKPats=
|
||||
SIZE (foxtrotgps-1.1.1.tar.gz) = 589091
|
11
geo/foxtrotgps/patches/patch-src_geo_photos_c
Normal file
11
geo/foxtrotgps/patches/patch-src_geo_photos_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_geo_photos_c,v 1.1.1.1 2012/10/12 14:50:45 kirby Exp $
|
||||
--- src/geo_photos.c.orig Mon Jan 2 01:18:19 2012
|
||||
+++ src/geo_photos.c Mon Jan 2 01:18:50 2012
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "globals.h"
|
||||
#include "geo_photos.h"
|
||||
#include "converter.h"
|
||||
+#include <sys/select.h>
|
||||
#include "util.h"
|
||||
#include "support.h"
|
||||
#include "interface.h"
|
18
geo/foxtrotgps/patches/patch-src_main_c
Normal file
18
geo/foxtrotgps/patches/patch-src_main_c
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-src_main_c,v 1.1.1.1 2012/10/12 14:50:45 kirby Exp $
|
||||
|
||||
Properly call gdk_threads_enter() and gdk_threads_leave() to prevent
|
||||
abort() on startup due to gtk trying to unlock a uninitialized
|
||||
mutex
|
||||
|
||||
--- src/main.c.orig Thu Jun 14 08:41:11 2012
|
||||
+++ src/main.c Fri Oct 12 17:52:45 2012
|
||||
@@ -200,7 +200,9 @@ main (int argc, char *argv[])
|
||||
|
||||
init();
|
||||
|
||||
+ gdk_threads_enter();
|
||||
gtk_main ();
|
||||
+ gdk_threads_leave();
|
||||
|
||||
|
||||
|
6
geo/foxtrotgps/pkg/DESCR
Normal file
6
geo/foxtrotgps/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
FoxtrotGPS is an offshoot of Marcus Bauer's excellent Free & Open Source
|
||||
tangoGPS application, with a focus on cooperation and fostering
|
||||
community innovation. By default maps tiles are downloaded from the
|
||||
Openstreetmap project. Map tiles are automatically downloaded and cached
|
||||
for offline use. To get real-time positioning from a GPS receiver you
|
||||
need to run gpsd.
|
48
geo/foxtrotgps/pkg/PLIST
Normal file
48
geo/foxtrotgps/pkg/PLIST
Normal file
@ -0,0 +1,48 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/12 14:50:45 kirby Exp $
|
||||
bin/convert2gpx
|
||||
bin/convert2osm
|
||||
@bin bin/foxtrotgps
|
||||
bin/georss2foxtrotgps-poi
|
||||
bin/osb2foxtrot
|
||||
bin/poi2osm
|
||||
@man man/man1/convert2gpx.1
|
||||
@man man/man1/convert2osm.1
|
||||
@man man/man1/foxtrotgps.1
|
||||
share/applications/foxtrotgps.desktop
|
||||
share/doc/foxtrotgps/
|
||||
share/doc/foxtrotgps/AUTHORS
|
||||
share/doc/foxtrotgps/COPYING
|
||||
share/doc/foxtrotgps/ChangeLog
|
||||
share/doc/foxtrotgps/HACKING
|
||||
share/doc/foxtrotgps/INSTALL
|
||||
share/doc/foxtrotgps/NEWS
|
||||
share/doc/foxtrotgps/README
|
||||
share/doc/foxtrotgps/README.osb2foxtrot
|
||||
share/doc/foxtrotgps/TODO
|
||||
share/foxtrotgps/
|
||||
share/foxtrotgps/foxtrotgps.glade
|
||||
share/locale/bg/LC_MESSAGES/foxtrotgps.mo
|
||||
share/locale/cs/LC_MESSAGES/foxtrotgps.mo
|
||||
share/locale/de/LC_MESSAGES/foxtrotgps.mo
|
||||
share/locale/es/LC_MESSAGES/foxtrotgps.mo
|
||||
share/locale/fi/LC_MESSAGES/foxtrotgps.mo
|
||||
share/locale/fr/LC_MESSAGES/foxtrotgps.mo
|
||||
share/locale/hu/LC_MESSAGES/foxtrotgps.mo
|
||||
share/locale/ja/LC_MESSAGES/foxtrotgps.mo
|
||||
share/locale/nl/LC_MESSAGES/foxtrotgps.mo
|
||||
share/locale/ru/LC_MESSAGES/foxtrotgps.mo
|
||||
share/locale/sk/LC_MESSAGES/foxtrotgps.mo
|
||||
share/locale/sr/LC_MESSAGES/foxtrotgps.mo
|
||||
share/pixmaps/
|
||||
share/pixmaps/foxtrotgps-friend.png
|
||||
share/pixmaps/foxtrotgps-myposition.png
|
||||
share/pixmaps/foxtrotgps-photo.png
|
||||
share/pixmaps/foxtrotgps-poi.png
|
||||
share/pixmaps/foxtrotgps-wp.png
|
||||
share/pixmaps/foxtrotgps.png
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
||||
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/${SCHEMAS_INSTDIR}/*.schemas > /dev/null
|
||||
${SCHEMAS_INSTDIR}/
|
||||
${SCHEMAS_INSTDIR}/apps_foxtrotgps.schemas
|
||||
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/${SCHEMAS_INSTDIR}/*.schemas > /dev/null
|
Loading…
Reference in New Issue
Block a user