Import viking-0.9.96:

Viking is a free/open source program to manage GPS data. You can import
and plot tracks and waypoints, show Terraserver/OpenStreetMap maps
under it, add coordinate lines, make new tracks and waypoints, hide
different things, etc. It can also be used as an OpenStreetMap editor.

ok jasper@ ajacoutot@
This commit is contained in:
landry 2010-10-23 15:40:19 +00:00
parent 1b4c6e5748
commit 6cb63a6ab2
5 changed files with 109 additions and 0 deletions

42
geo/viking/Makefile Normal file
View File

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/10/23 15:40:19 landry Exp $
COMMENT = GPS track manager
DISTNAME = viking-0.9.96
CATEGORIES = geo x11
HOMEPAGE = http://viking.sourceforge.net/
MAINTAINER = Landry Breuil <gaston@gcu.info>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=viking/}
MODULES = devel/gettext x11/gnome
CONFIGURE_STYLE = gnu
DESKTOP_FILES = Yes
MODGNOME_HELP_FILES = Yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
LIB_DEPENDS = ::misc/gpsd \
::net/curl \
::devel/libidn \
::x11/gtk+2
WANTLIB = gps curl idn gdk-x11-2.0 gtk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo crypto expat
WANTLIB += fontconfig freetype gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pixman-1 png pthread pthread-stubs ssl
WANTLIB += GL Xxf86vm drm xcb-shm xcb xcb-render z
.include <bsd.port.mk>

5
geo/viking/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (viking-0.9.96.tar.gz) = o/s0bE13csuHtyJlOyNH7w==
RMD160 (viking-0.9.96.tar.gz) = hisiR5x0P7yyBij8Z2uTUhXr/Os=
SHA1 (viking-0.9.96.tar.gz) = SYu1Pg6PIFedBV0VSl3VgYd1sGA=
SHA256 (viking-0.9.96.tar.gz) = gw03VK/57DUIbjKbuc6slC+FbSNbQH127IatrPzWxSo=
SIZE (viking-0.9.96.tar.gz) = 948611

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_gpspoint_c,v 1.1.1.1 2010/10/23 15:40:19 landry Exp $
taken from pkgsrc/geography/viking/patch-aa
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=40695
--- src/gpspoint.c.orig Thu Jan 14 21:19:52 2010
+++ src/gpspoint.c Sat Oct 23 11:27:25 2010
@@ -81,8 +81,8 @@ static gdouble line_altitude = VIK_DEFAULT_ALTITUDE;
static gboolean line_visible = TRUE;
static gboolean line_extended = FALSE;
-static gdouble line_speed = NAN;
-static gdouble line_course = NAN;
+static gdouble line_speed = __builtin_nanf("");
+static gdouble line_course = __builtin_nanf("");
static gint line_sat = 0;
static gint line_fix = 0;
/* other possible properties go here */

4
geo/viking/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
Viking is a free/open source program to manage GPS data. You can import
and plot tracks and waypoints, show Terraserver/OpenStreetMap maps
under it, add coordinate lines, make new tracks and waypoints, hide
different things, etc. It can also be used as an OpenStreetMap editor.

42
geo/viking/pkg/PLIST Normal file
View File

@ -0,0 +1,42 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/10/23 15:40:19 landry Exp $
@bin bin/viking
bin/viking-remote
share/applications/viking.desktop
share/gnome/help/viking/
share/gnome/help/viking/C/
share/gnome/help/viking/C/figures/
share/gnome/help/viking/C/figures/properties_degree.png
share/gnome/help/viking/C/figures/properties_units.png
share/gnome/help/viking/C/legal.xml
share/gnome/help/viking/C/viking.xml
share/icons/hicolor/48x48/
share/icons/hicolor/48x48/apps/
share/icons/hicolor/48x48/apps/viking.png
share/locale/cs/LC_MESSAGES/viking.mo
share/locale/da/LC_MESSAGES/viking.mo
share/locale/de/LC_MESSAGES/viking.mo
share/locale/el/LC_MESSAGES/viking.mo
share/locale/en_GB/LC_MESSAGES/viking.mo
share/locale/es/LC_MESSAGES/viking.mo
share/locale/fr/LC_MESSAGES/viking.mo
share/locale/he/LC_MESSAGES/viking.mo
share/locale/id/LC_MESSAGES/viking.mo
share/locale/it/LC_MESSAGES/viking.mo
share/locale/ja/LC_MESSAGES/viking.mo
share/locale/lt/LC_MESSAGES/viking.mo
share/locale/lv/LC_MESSAGES/viking.mo
share/locale/nb/LC_MESSAGES/viking.mo
share/locale/nl/LC_MESSAGES/viking.mo
share/locale/pl/LC_MESSAGES/viking.mo
share/locale/pt_BR/LC_MESSAGES/viking.mo
share/locale/ru/LC_MESSAGES/viking.mo
share/locale/sl/LC_MESSAGES/viking.mo
share/locale/sv/LC_MESSAGES/viking.mo
share/locale/zh_CN/LC_MESSAGES/viking.mo
share/locale/zh_TW/LC_MESSAGES/viking.mo
share/omf/viking/
share/omf/viking/viking-C.omf
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@unexec-delete %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database