viking: update to 1.9.
This commit is contained in:
parent
348fc9ef03
commit
5fac16e7f9
3 changed files with 8 additions and 56 deletions
|
@ -1,25 +0,0 @@
|
|||
upstream: yes
|
||||
|
||||
From 7ff014f554825b1350a0ad349ffc0b7920a528c6 Mon Sep 17 00:00:00 2001
|
||||
From: Nikolay Korotkiy <sikmir@gmail.com>
|
||||
Date: Tue, 4 Feb 2020 21:12:47 +0000
|
||||
Subject: [PATCH] Fix build without mapnik
|
||||
|
||||
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
|
||||
---
|
||||
src/viklayer.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/viklayer.c b/src/viklayer.c
|
||||
index dc0ab1ff..3070157f 100644
|
||||
--- a/src/viklayer.c
|
||||
+++ b/src/viklayer.c
|
||||
@@ -36,7 +36,7 @@ extern VikLayerInterface vik_dem_layer_interface;
|
||||
#ifdef HAVE_LIBMAPNIK
|
||||
extern VikLayerInterface vik_mapnik_layer_interface;
|
||||
#endif
|
||||
-#ifdef HAVE_LIBMAPNIK
|
||||
+#ifdef HAVE_LIBGEOCLUE_2
|
||||
extern VikLayerInterface vik_geoclue_layer_interface;
|
||||
#endif
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
upstream: yes
|
||||
|
||||
From da4e97b0766243f937d11a4a4cbd6ab5aaac4e0f Mon Sep 17 00:00:00 2001
|
||||
From: Rob Norris <rw_norris@hotmail.com>
|
||||
Date: Sun, 9 Feb 2020 11:28:30 +0000
|
||||
Subject: [PATCH] Github #80: Fix build with '--with-libexif'
|
||||
|
||||
---
|
||||
src/geotag_exif.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/geotag_exif.c b/src/geotag_exif.c
|
||||
index 0e879a39..6e9514a7 100644
|
||||
--- a/src/geotag_exif.c
|
||||
+++ b/src/geotag_exif.c
|
||||
@@ -362,7 +362,7 @@ VikWaypoint* a_geotag_create_waypoint_from_file ( const gchar *filename, VikCoor
|
||||
// Not worried if none of the other fields exist, as can default the values to something
|
||||
//
|
||||
|
||||
- gdouble alt = VIK_DEFAULT_ALTITUDE;
|
||||
+ gdouble alt = NAN;
|
||||
ee = exif_content_get_entry (ed->ifd[EXIF_IFD_GPS], EXIF_TAG_GPS_ALTITUDE);
|
||||
if ( ee && ee->components == 1 && ee->format == EXIF_FORMAT_RATIONAL ) {
|
||||
alt = Rational2Double ( ee->data,
|
|
@ -1,22 +1,23 @@
|
|||
# Template file for 'viking'
|
||||
pkgname=viking
|
||||
version=1.8
|
||||
revision=2
|
||||
version=1.9
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-realtime-gps-tracking --disable-bluemarble
|
||||
--disable-bing --disable-terraserver --disable-spotmaps
|
||||
--disable-expedia --disable-mapnik --enable-magic --enable-bzip2
|
||||
--enable-mbtiles --with-libexif"
|
||||
hostmakedepends="gdk-pixbuf-devel intltool pkg-config"
|
||||
makedepends="file-devel gnome-doc-utils gtk+-devel libcurl-devel libexif-devel
|
||||
libgexiv2-devel sqlite-devel bzip2-devel geoclue2-devel liboauth-devel
|
||||
nettle-devel"
|
||||
hostmakedepends="docbook-xsl gdk-pixbuf-devel glib-devel itstool intltool libxslt pkg-config"
|
||||
makedepends="file-devel glib-devel gnome-doc-utils gtk+-devel
|
||||
libcurl-devel libexif-devel libgexiv2-devel sqlite-devel bzip2-devel
|
||||
geoclue2-devel liboauth-devel nettle-devel"
|
||||
checkdepends="python3-lxml yelp-tools"
|
||||
short_desc="Open/source GPS data editor and analyzer"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://sourceforge.net/projects/viking"
|
||||
distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
|
||||
checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
|
||||
checksum=fe4acf3d24121d6f3097d17ea704b42c0336a8f693151886b8b26e308dbfcb3b
|
||||
|
||||
CFLAGS="-fcommon"
|
||||
|
||||
|
|
Loading…
Reference in a new issue