[arch-commits] Commit in navit/repos (4 files)

Antonio Rojas arojas at archlinux.org
Sat Jul 20 08:36:21 UTC 2019


    Date: Saturday, July 20, 2019 @ 08:36:21
  Author: arojas
Revision: 492251

archrelease: copy trunk to community-staging-x86_64

Added:
  navit/repos/community-staging-x86_64/
  navit/repos/community-staging-x86_64/PKGBUILD
    (from rev 492250, navit/trunk/PKGBUILD)
  navit/repos/community-staging-x86_64/navit-gpsd-3.18.patch
    (from rev 492250, navit/trunk/navit-gpsd-3.18.patch)
  navit/repos/community-staging-x86_64/navit.install
    (from rev 492250, navit/trunk/navit.install)

-----------------------+
 PKGBUILD              |   37 +++++++++++++++++++++++++++++++++++++
 navit-gpsd-3.18.patch |   11 +++++++++++
 navit.install         |    8 ++++++++
 3 files changed, 56 insertions(+)

Copied: navit/repos/community-staging-x86_64/PKGBUILD (from rev 492250, navit/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-07-20 08:36:21 UTC (rev 492251)
@@ -0,0 +1,37 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: TDY <tdy at archlinux.info>
+# Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
+# Contributor: Stefan Lohmaier <noneuss at gmail dot com
+# Contributor: Thermionix <thermionix at gmail dot com>
+
+pkgname=navit
+pkgver=0.5.3
+pkgrel=4
+pkgdesc="Modular turn-by-turn car navigation system"
+arch=('x86_64')
+url="https://www.navit-project.org/"
+license=('GPL')
+depends=('dbus-glib' 'gpsd' 'gtk2' 'imlib2' 'sdl_image')
+makedepends=('cmake' 'libxslt')
+install=$pkgname.install
+source=($pkgname-$pkgver.tar.gz::https://github.com/navit-gps/navit/archive/v$pkgver.tar.gz
+        navit-gpsd-3.18.patch)
+sha256sums=('5dd3c1292cad6d85dfba2d23770bdff70e981937a7c271a54c75395e6dd6019d'
+            '5902fa83324d72210d284750eccf7fd56479ceeb5cfc4aab678cc978a40fafd1')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's/lib64/lib/' CMakeLists.txt 
+  patch -p1 -i ../navit-gpsd-3.18.patch # Fix build with gpsd 3.18
+}
+
+build() {
+  cd $pkgname-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DSAMPLE_MAP=FALSE -DDISABLE_QT=TRUE
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: navit/repos/community-staging-x86_64/navit-gpsd-3.18.patch (from rev 492250, navit/trunk/navit-gpsd-3.18.patch)
===================================================================
--- community-staging-x86_64/navit-gpsd-3.18.patch	                        (rev 0)
+++ community-staging-x86_64/navit-gpsd-3.18.patch	2019-07-20 08:36:21 UTC (rev 492251)
@@ -0,0 +1,11 @@
+--- navit-0.5.3/navit/vehicle/gpsd/vehicle_gpsd.c.orig	2018-10-11 11:15:18.019205542 +0000
++++ navit-0.5.3/navit/vehicle/gpsd/vehicle_gpsd.c	2018-10-11 11:15:36.329237820 +0000
+@@ -325,7 +325,7 @@
+         int read_result;
+         /* Read until EOF, in case we are lagging behind.
+          * No point in processing old GPS reports. */
+-        while((read_result=gps_read(priv->gps))>0);
++        while((read_result=gps_read(priv->gps, NULL, 0))>0);
+         if(read_result==-1) {
+             dbg(lvl_error,"gps_poll failed");
+             vehicle_gpsd_close(priv);

Copied: navit/repos/community-staging-x86_64/navit.install (from rev 492250, navit/trunk/navit.install)
===================================================================
--- community-staging-x86_64/navit.install	                        (rev 0)
+++ community-staging-x86_64/navit.install	2019-07-20 08:36:21 UTC (rev 492251)
@@ -0,0 +1,8 @@
+post_install() {
+  echo "==> Additional setup is required"
+  echo "  -> See http://wiki.navit-project.org/index.php/Configuration"
+  echo
+  echo "==> No maps are bundled with the install"
+  echo "  -> See http://wiki.navit-project.org/index.php/Maps"
+  echo
+}


More information about the arch-commits mailing list