274.2. osm-gps-map-1.2.2
GTK 3 widget that shows and caches OpenStreetMap tiles, with tracks, images and markers
1.2.2-1 · GPL-2.0-or-later · 0.6 SBU · 345.1 KiB, 17 files · 43_toolkits, 146 of 344 · ports/core/gis/osm-gps-map
Homepage: https://nzjrs.github.io/osm-gps-map/
Why it is in KDOS. The comment above gdal and osm-gps-map in script/phases/43_toolkits/packages.d/gis.txt:
150+ raster and vector formats behind one API. GDAL_USE_CURL=OFF for proj's reason: /vsicurl/ turns a dataset path into an HTTP client.
osm-gps-map is a GTK 3 widget that draws a slippy map from OpenStreetMap and other tile servers, caches the tiles on disk, and overlays tracks, images, polygons and markers. Its GObject introspection typelib, OsmGpsMap-1.0, is how gramps’s Geography views reach it from Python. Tiles are fetched through libsoup3.
Depends on: glib, gtk3, cairo, libsoup3, gobject-introspection, pkgconf.
Required by (2): darktable, gramps.
Sources: osm-gps-map-1.2.2.tar.gz (529.1 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install osm-gps-map'
build.sh:
./configure \
--prefix=/usr \
--disable-static \
--enable-introspection=yes \
--disable-gtk-doc
make
make DESTDIR=$PKG install
rm -rf "$PKG/usr/share/doc" "$PKG/usr/share/gtk-doc"
test -f "$PKG/usr/lib/girepository-1.0/OsmGpsMap-1.0.typelib"
--enable-introspection=yes— Builds the typelib and fails configure when gobject-introspection is missing; upstream builds it only when it is found.--disable-gtk-doc— No API reference; the port installs no developer documentation.
Libraries: libosmgpsmap-1.0.so.
Directories: /usr/include/osmgpsmap-1.0, /usr/share/licenses/osm-gps-map.
The test line at the end stops the build if the typelib is missing, which would leave Gramps showing its “OsmGpsMap module not loaded” warning on every start.