[arch-commits] Commit in foxtrotgps/repos (3 files)

Antonio Rojas arojas at archlinux.org
Tue Oct 9 17:18:35 UTC 2018


    Date: Tuesday, October 9, 2018 @ 17:18:34
  Author: arojas
Revision: 391660

archrelease: copy trunk to community-staging-x86_64

Added:
  foxtrotgps/repos/community-staging-x86_64/
  foxtrotgps/repos/community-staging-x86_64/PKGBUILD
    (from rev 391659, foxtrotgps/trunk/PKGBUILD)
  foxtrotgps/repos/community-staging-x86_64/foxtrotgps-gpsd-3.18.patch
    (from rev 391659, foxtrotgps/trunk/foxtrotgps-gpsd-3.18.patch)

----------------------------+
 PKGBUILD                   |   41 +++++++++++++++++++++++++++++++++++++++++
 foxtrotgps-gpsd-3.18.patch |   11 +++++++++++
 2 files changed, 52 insertions(+)

Copied: foxtrotgps/repos/community-staging-x86_64/PKGBUILD (from rev 391659, foxtrotgps/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-10-09 17:18:34 UTC (rev 391660)
@@ -0,0 +1,41 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Elena ``of Valhalla'' Grandi <elena.valhalla at gmail.com>
+
+pkgname=foxtrotgps
+pkgver=1.2.1
+pkgrel=3
+pkgdesc="Lightweight and fast mapping application"
+arch=('x86_64')
+url="https://www.foxtrotgps.org/"
+license=('GPL')
+depends=('curl' 'dconf' 'gpsd' 'libexif' 'libglade' 'sqlite')
+makedepends=('intltool')
+optdepends=('gpscorrelate: geotag photos'
+            'jhead: add photos to database'
+            'python: gpx2osm and osb2foxtrot tools'
+            'python-beautifulsoup4: georss2foxtrotgps-poi tool'
+            'python-feedparser: georss2foxtrotgps-poi tool'
+            'python-sqlalchemy: poi2osm tool')
+source=(https://www.foxtrotgps.org/releases/$pkgname-$pkgver.tar.gz{,.asc}
+        foxtrotgps-gpsd-3.18.patch)
+validpgpkeys=('F0378BFD8385C9968DCBC56CFF7E9E83954BE38A') # Joshua Judson Rosen
+sha256sums=('3ffbe60dd09890e3228bc71a0337b27e69e26e52225c47bd75968b580b19f489'
+            'SKIP'
+            '4a517255e6fa9eade1c0abddf4eab2e803f1b31ce848472d9bbfb69d6ab97aca')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../foxtrotgps-gpsd-3.18.patch # Fix build with gpsd 3.18
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+              --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: foxtrotgps/repos/community-staging-x86_64/foxtrotgps-gpsd-3.18.patch (from rev 391659, foxtrotgps/trunk/foxtrotgps-gpsd-3.18.patch)
===================================================================
--- community-staging-x86_64/foxtrotgps-gpsd-3.18.patch	                        (rev 0)
+++ community-staging-x86_64/foxtrotgps-gpsd-3.18.patch	2018-10-09 17:18:34 UTC (rev 391660)
@@ -0,0 +1,11 @@
+--- foxtrotgps-1.2.1/src/gps_functions.c.orig	2018-10-09 17:00:10.297646701 +0000
++++ foxtrotgps-1.2.1/src/gps_functions.c	2018-10-09 17:00:43.751114273 +0000
+@@ -738,7 +738,7 @@
+ 	if (!libgps_initialized)
+ 		return FALSE;
+ 
+-	ret = gps_read(&libgps_gpsdata);
++	ret = gps_read(&libgps_gpsdata, NULL, 0);
+ 	/* Note that gps_read() will never actually return 0
+ 	   (zero-length reads are converted internally to a -1 return,
+ 	    since they mean that the connection to the daemon has closed),



More information about the arch-commits mailing list