Imported Upstream version 1.0.2
Ross Gammon
10 years ago
|
0 |
Changes in 1.0.2
|
|
1 |
======================
|
|
2 |
* Fix build with new giscanner
|
|
3 |
* Build fixes guillomovitch <guillomovitch@gmail.com>
|
|
4 |
* Fix open-street-maps Andrew Gee <andrew@andrewgee.org>
|
|
5 |
|
0 | 6 |
Changes in 1.0.1
|
1 | 7 |
======================
|
2 | 8 |
* Build fixes
|
0 | 0 |
AC_PREREQ([2.63])
|
1 | 1 |
AC_INIT([osm-gps-map],
|
2 | |
[1.0.1],
|
|
2 |
[1.0.2],
|
3 | 3 |
[http://github.com/nzjrs/osm-gps-map/issues],
|
4 | 4 |
[osm-gps-map])
|
5 | 5 |
|
28 | 28 |
$(no_undefined)
|
29 | 29 |
|
30 | 30 |
libosmgpsmap_1_0_la_LIBADD = \
|
31 | |
$(OSMGPSMAP_LIBS)
|
|
31 |
$(OSMGPSMAP_LIBS) \
|
|
32 |
-lm
|
32 | 33 |
|
33 | 34 |
sources_private_h = \
|
34 | 35 |
converter.h \
|
|
72 | 73 |
## GObject Introspection Support
|
73 | 74 |
-include $(INTROSPECTION_MAKEFILE)
|
74 | 75 |
INTROSPECTION_GIRS =
|
75 | |
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --add-include-path=$(builddir) --warn-all
|
76 | |
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
|
|
76 |
INTROSPECTION_SCANNER_ARGS = $(INTROSPECTION_FLAGS) --add-include-path=$(srcdir) --add-include-path=$(builddir) --warn-all
|
|
77 |
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) --includedir=$(builddir)
|
77 | 78 |
|
78 | 79 |
if HAVE_INTROSPECTION
|
79 | 80 |
introspection_sources = $(sources_c) $(sources_public_h)
|
80 | 81 |
|
81 | 82 |
OsmGpsMap-1.0.gir: libosmgpsmap-1.0.la
|
82 | 83 |
OsmGpsMap_1_0_gir_INCLUDES = GObject-2.0 Gtk-3.0
|
83 | |
OsmGpsMap_1_0_gir_CFLAGS = $(OSMGPSMAP_CFLAGS)
|
|
84 |
OsmGpsMap_1_0_gir_CFLAGS = $(OSMGPSMAP_CFLAGS) -I$(srcdir) -I$(builddir)
|
84 | 85 |
OsmGpsMap_1_0_gir_LIBS = libosmgpsmap-1.0.la
|
85 | 86 |
OsmGpsMap_1_0_gir_FILES = $(introspection_sources)
|
86 | |
OsmGpsMap_1_0_gir_SCANNERFLAGS = --identifier-prefix=OsmGps
|
|
87 |
OsmGpsMap_1_0_gir_SCANNERFLAGS = --identifier-prefix=OsmGps --c-include "osm-gps-map.h"
|
87 | 88 |
INTROSPECTION_GIRS += OsmGpsMap-1.0.gir
|
88 | 89 |
|
89 | 90 |
girdir = $(datadir)/gir-1.0
|
92 | 92 |
case OSM_GPS_MAP_SOURCE_OSM_PUBLIC_TRANSPORT:
|
93 | 93 |
return "http://tile.xn--pnvkarte-m4a.de/tilegen/#Z/#X/#Y.png";
|
94 | 94 |
case OSM_GPS_MAP_SOURCE_OSMC_TRAILS:
|
95 | |
return "http://topo.geofabrik.de/trails/#Z/#X/#Y.png";
|
|
95 |
// Appears to be shut down
|
|
96 |
return NULL;
|
96 | 97 |
case OSM_GPS_MAP_SOURCE_MAPS_FOR_FREE:
|
97 | 98 |
return "http://maps-for-free.com/layer/relief/z#Z/row#Y/#Z_#X-#Y.jpg";
|
98 | 99 |
case OSM_GPS_MAP_SOURCE_GOOGLE_STREET:
|
144 | 144 |
#define ENABLE_DEBUG (0)
|
145 | 145 |
#define EXTRA_BORDER (0)
|
146 | 146 |
#define OSM_GPS_MAP_SCROLL_STEP (10)
|
147 | |
#define USER_AGENT "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
|
|
147 |
#define USER_AGENT "libosmgpsmap/1.0"
|
148 | 148 |
#define DOWNLOAD_RETRIES 3
|
149 | 149 |
#define MAX_DOWNLOAD_TILES 10000
|
150 | 150 |
|