summaryrefslogtreecommitdiff
path: root/community-testing/viking
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-27 22:26:40 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-27 22:26:40 +0000
commit8784d3134c1d4b4c02d705259ae2ebd768c778fd (patch)
tree2d5e15ad1adac97b4a07a58b1618dda602cea3a0 /community-testing/viking
parent18d6577d511b9a1ac36eaae50060133a401e42a3 (diff)
Wed Apr 27 22:26:47 UTC 2011
Diffstat (limited to 'community-testing/viking')
-rw-r--r--community-testing/viking/PKGBUILD38
-rw-r--r--community-testing/viking/gpsd-2.96.patch47
-rw-r--r--community-testing/viking/viking.changelog6
-rw-r--r--community-testing/viking/viking.install11
4 files changed, 0 insertions, 102 deletions
diff --git a/community-testing/viking/PKGBUILD b/community-testing/viking/PKGBUILD
deleted file mode 100644
index 6f73fc6ef..000000000
--- a/community-testing/viking/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 45239 2011-04-18 13:40:23Z spupykin $
-# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Contributor: Nick Østergaard <oe.nick@gmail.com>
-# Contributor: Jonny Gerold <jonny@fsk141.com>
-
-pkgname=viking
-pkgver=1.1
-pkgrel=2
-pkgdesc="GTK+2 application to manage GPS data"
-arch=('i686' 'x86_64')
-url="http://viking.sourceforge.net/"
-license=('GPL2')
-depends=('curl' 'gpsd' 'gtk2' 'hicolor-icon-theme')
-makedepends=('intltool' 'gnome-doc-utils')
-optdepends=('gpsbabel: for GPS management')
-options=('!emptydirs')
-install=$pkgname.install
-changelog=$pkgname.changelog
-source=(http://downloads.sourceforge.net/viking/$pkgname-$pkgver.tar.gz
- gpsd-2.96.patch)
-sha256sums=('5c34a76c09b6fda092e8170f7546606814382cf9d13174e87c4ee43fffa36743'
- '7277a6f0bbe7b16440ca92a5975c6f0b38261f13bbbb6f04e4fc684b8965c902')
-
-build() {
- cd ${srcdir}/$pkgname-$pkgver
-
- patch -p1 <$srcdir/gpsd-2.96.patch
- autoreconf
-
- ./configure --prefix=/usr
- make
-}
-
-package(){
- cd ${srcdir}/$pkgname-$pkgver
-
- make DESTDIR=${pkgdir} install
-}
diff --git a/community-testing/viking/gpsd-2.96.patch b/community-testing/viking/gpsd-2.96.patch
deleted file mode 100644
index 01b117312..000000000
--- a/community-testing/viking/gpsd-2.96.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff -wbBur viking-1.1/configure.ac viking-1.1.my/configure.ac
---- viking-1.1/configure.ac 2011-02-08 21:29:01.000000000 +0000
-+++ viking-1.1.my/configure.ac 2011-04-18 13:31:07.000000000 +0000
-@@ -244,7 +244,7 @@
- [ac_cv_enable_realtimegpstracking], [ac_cv_enable_realtimegpstracking=yes])
- case $ac_cv_enable_realtimegpstracking in
- yes)
-- AC_CHECK_LIB(gps,gps_poll,,AC_MSG_ERROR([libgps is needed for Realtime GPS Tracking feature[,] but not found. The feature can be disable with --disable-realtime-gps-tracking]))
-+ AC_CHECK_LIB(gps,gps_read,,AC_MSG_ERROR([libgps is needed for Realtime GPS Tracking feature[,] but not found. The feature can be disable with --disable-realtime-gps-tracking]))
- AC_DEFINE(VIK_CONFIG_REALTIME_GPS_TRACKING, [], [REALTIME GPS TRACKING STUFF])
- ;;
- esac
-diff -wbBur viking-1.1/src/vikgpslayer.c viking-1.1.my/src/vikgpslayer.c
---- viking-1.1/src/vikgpslayer.c 2011-02-08 21:09:00.000000000 +0000
-+++ viking-1.1.my/src/vikgpslayer.c 2011-04-18 13:35:48.000000000 +0000
-@@ -1377,8 +1377,11 @@
- {
- VikGpsLayer *vgl = data;
- if (condition == G_IO_IN) {
-- if (!gps_poll(&vgl->vgpsd->gpsd))
-+ if (!gps_read(&vgl->vgpsd->gpsd))
-+ {
-+ gpsd_raw_hook(&vgl->vgpsd->gpsd, NULL);
- return TRUE;
-+ }
- else {
- g_warning("Disconnected from gpsd. Trying to reconnect");
- rt_gpsd_disconnect(vgl);
-@@ -1408,7 +1411,8 @@
- {
- VikGpsLayer *vgl = (VikGpsLayer *)data;
- #ifndef HAVE_GPS_OPEN_R
-- struct gps_data_t *gpsd = gps_open(vgl->gpsd_host, vgl->gpsd_port);
-+ static struct gps_data_t __gd;
-+ struct gps_data_t *gpsd = gps_open(vgl->gpsd_host, vgl->gpsd_port, &__gd) ? NULL : &__gd;
-
- if (gpsd == NULL) {
- #else
-@@ -1439,7 +1443,7 @@
- vik_trw_layer_add_track(vtl, vgl->realtime_track_name, vgl->realtime_track);
- }
-
-- gps_set_raw_hook(&vgl->vgpsd->gpsd, gpsd_raw_hook);
-+// gps_set_raw_hook(&vgl->vgpsd->gpsd, gpsd_raw_hook);
- vgl->realtime_io_channel = g_io_channel_unix_new(vgl->vgpsd->gpsd.gps_fd);
- vgl->realtime_io_watch_id = g_io_add_watch( vgl->realtime_io_channel,
- G_IO_IN | G_IO_ERR | G_IO_HUP, gpsd_data_available, vgl);
diff --git a/community-testing/viking/viking.changelog b/community-testing/viking/viking.changelog
deleted file mode 100644
index d38e25a9e..000000000
--- a/community-testing/viking/viking.changelog
+++ /dev/null
@@ -1,6 +0,0 @@
-2011-02-23 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * gebabbel 1.1-1
-
-2011-02-06 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
- * gebabbel 1.0.2-2
- * moved to [community] with 62 AUR votes
diff --git a/community-testing/viking/viking.install b/community-testing/viking/viking.install
deleted file mode 100644
index 8de1998bf..000000000
--- a/community-testing/viking/viking.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}