[arch-commits] Commit in navit/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Wed Aug 5 13:06:09 UTC 2020
Date: Wednesday, August 5, 2020 @ 13:06:09
Author: arojas
Revision: 669452
archrelease: copy trunk to community-staging-x86_64
Added:
navit/repos/community-staging-x86_64/
navit/repos/community-staging-x86_64/PKGBUILD
(from rev 669451, navit/trunk/PKGBUILD)
navit/repos/community-staging-x86_64/navit-gpsd-3.18.patch
(from rev 669451, navit/trunk/navit-gpsd-3.18.patch)
navit/repos/community-staging-x86_64/navit.install
(from rev 669451, navit/trunk/navit.install)
-----------------------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
navit-gpsd-3.18.patch | 11 +++++++++++
navit.install | 8 ++++++++
3 files changed, 60 insertions(+)
Copied: navit/repos/community-staging-x86_64/PKGBUILD (from rev 669451, navit/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-08-05 13:06:09 UTC (rev 669452)
@@ -0,0 +1,41 @@
+# 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.4
+pkgrel=2
+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' 'git')
+install=$pkgname.install
+source=($pkgname-$pkgver.tar.gz::https://github.com/navit-gps/navit/archive/v$pkgver.tar.gz
+ navit-librsvg-2.47.patch::"https://github.com/navit-gps/navit/commit/a66b662f.patch"
+ navit-gpsd-3.21.patch::"https://github.com/navit-gps/navit/commit/06c5969f.patch")
+sha256sums=('728d9dcad00e97769f6cd85bfad5518b0edf62ef75d60543fa4c48c1c3ab1243'
+ '041c6db298d67f40799882498052741807be5540f7e139b318bc9927b90c8ef2'
+ '697a269cbac7ca426bceb53f45885b5db7216fbfb20b20e72f350035fad0c27c')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's/lib64/lib/' CMakeLists.txt
+
+ git apply ../navit-librsvg-2.47.patch # Fix build with librsvg 2.47
+ patch -p1 -i ../navit-gpsd-3.21.patch # Fix build with gpsd 3.21
+}
+
+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 669451, 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 2020-08-05 13:06:09 UTC (rev 669452)
@@ -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 669451, navit/trunk/navit.install)
===================================================================
--- community-staging-x86_64/navit.install (rev 0)
+++ community-staging-x86_64/navit.install 2020-08-05 13:06:09 UTC (rev 669452)
@@ -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