summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-11-04 15:53:20 +0000
committernia <nia@pkgsrc.org>2020-11-04 15:53:20 +0000
commit5b9cdcf46712a312b7351ef77b6f3caa88e52403 (patch)
treec7492b34025663ccb1021a00747de9aec76708f9 /geography
parent815eb31b267e8ad6d7d06833098fe39be90e9ceb (diff)
downloadpkgsrc-5b9cdcf46712a312b7351ef77b6f3caa88e52403.tar.gz
geography: Add geocode-glib. Needed for gnome-calendar
geocode-glib is a convenience library for the geocoding (finding longitude, and latitude from an address) and reverse geocoding (finding an address from coordinates). It uses Nominatim service to achieve that. It also caches (reverse-)geocoding requests for faster results and to avoid unnecessary server load.
Diffstat (limited to 'geography')
-rw-r--r--geography/Makefile3
-rw-r--r--geography/geocode-glib/DESCR5
-rw-r--r--geography/geocode-glib/Makefile28
-rw-r--r--geography/geocode-glib/PLIST71
-rw-r--r--geography/geocode-glib/buildlink3.mk14
-rw-r--r--geography/geocode-glib/distinfo6
6 files changed, 126 insertions, 1 deletions
diff --git a/geography/Makefile b/geography/Makefile
index 4ac9ccaebfc..413b4de9a39 100644
--- a/geography/Makefile
+++ b/geography/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.104 2020/09/07 10:56:44 wiz Exp $
+# $NetBSD: Makefile,v 1.105 2020/11/04 15:53:20 nia Exp $
#
COMMENT= Software for geographical-related uses
@@ -36,6 +36,7 @@ SUBDIR+= garmin-utils
SUBDIR+= garmintools
SUBDIR+= gdal-lib
SUBDIR+= geoclue
+SUBDIR+= geocode-glib
SUBDIR+= geos
SUBDIR+= gipfel
SUBDIR+= gpsbabel
diff --git a/geography/geocode-glib/DESCR b/geography/geocode-glib/DESCR
new file mode 100644
index 00000000000..c507f769471
--- /dev/null
+++ b/geography/geocode-glib/DESCR
@@ -0,0 +1,5 @@
+geocode-glib is a convenience library for the geocoding (finding longitude,
+and latitude from an address) and reverse geocoding (finding an address from
+coordinates). It uses Nominatim service to achieve that. It also caches
+(reverse-)geocoding requests for faster results and to avoid unnecessary server
+load.
diff --git a/geography/geocode-glib/Makefile b/geography/geocode-glib/Makefile
new file mode 100644
index 00000000000..617f34bb47a
--- /dev/null
+++ b/geography/geocode-glib/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/11/04 15:53:21 nia Exp $
+
+DISTNAME= geocode-glib-3.26.2
+MASTER_SITES= ${MASTER_SITE_GNOME:=/sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
+CATEGORIES= geography gnome
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://developer.gnome.org/geocode-glib/
+COMMENT= GNOME convenience library for geocoding
+LICENSE= gnu-lgpl-v2
+
+TOOL_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc
+
+USE_TOOLS+= pkg-config xgettext
+
+PYTHON_FOR_BUILD_ONLY= tool
+
+PKGCONFIG_OVERRIDE_STAGE= pre-install
+PKGCONFIG_OVERRIDE+= output/meson-private/geocode-glib-1.0.pc
+
+.include "../../devel/meson/build.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../graphics/gnome-icon-theme/buildlink3.mk"
+.include "../../net/libsoup/buildlink3.mk"
+.include "../../textproc/json-glib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/geocode-glib/PLIST b/geography/geocode-glib/PLIST
new file mode 100644
index 00000000000..ad1c6c5c94b
--- /dev/null
+++ b/geography/geocode-glib/PLIST
@@ -0,0 +1,71 @@
+@comment $NetBSD: PLIST,v 1.1 2020/11/04 15:53:21 nia Exp $
+include/geocode-glib-1.0/geocode-glib/geocode-backend.h
+include/geocode-glib-1.0/geocode-glib/geocode-bounding-box.h
+include/geocode-glib-1.0/geocode-glib/geocode-enum-types.h
+include/geocode-glib-1.0/geocode-glib/geocode-error.h
+include/geocode-glib-1.0/geocode-glib/geocode-forward.h
+include/geocode-glib-1.0/geocode-glib/geocode-glib.h
+include/geocode-glib-1.0/geocode-glib/geocode-location.h
+include/geocode-glib-1.0/geocode-glib/geocode-mock-backend.h
+include/geocode-glib-1.0/geocode-glib/geocode-nominatim.h
+include/geocode-glib-1.0/geocode-glib/geocode-place.h
+include/geocode-glib-1.0/geocode-glib/geocode-reverse.h
+lib/girepository-1.0/GeocodeGlib-1.0.typelib
+lib/libgeocode-glib.so
+lib/libgeocode-glib.so.0
+lib/libgeocode-glib.so.0.0.0
+lib/pkgconfig/geocode-glib-1.0.pc
+libexec/installed-tests/geocode-glib/geo-uri
+libexec/installed-tests/geocode-glib/geocode-glib
+libexec/installed-tests/geocode-glib/locale_format.json
+libexec/installed-tests/geocode-glib/locale_name.json
+libexec/installed-tests/geocode-glib/mock-backend
+libexec/installed-tests/geocode-glib/nominatim-area.json
+libexec/installed-tests/geocode-glib/nominatim-data-type-change.json
+libexec/installed-tests/geocode-glib/nominatim-no-results.json
+libexec/installed-tests/geocode-glib/nominatim-place_rank.json
+libexec/installed-tests/geocode-glib/nominatim-rio.json
+libexec/installed-tests/geocode-glib/osm_type0.json
+libexec/installed-tests/geocode-glib/osm_type1.json
+libexec/installed-tests/geocode-glib/osm_type2.json
+libexec/installed-tests/geocode-glib/pub.json
+libexec/installed-tests/geocode-glib/rev.json
+libexec/installed-tests/geocode-glib/rev_fail.json
+libexec/installed-tests/geocode-glib/search.json
+libexec/installed-tests/geocode-glib/search_lat_long.json
+libexec/installed-tests/geocode-glib/xep.json
+share/gir-1.0/GeocodeGlib-1.0.gir
+share/gtk-doc/html/geocode-glib/GeocodeBackend.html
+share/gtk-doc/html/geocode-glib/GeocodeBoundingBox.html
+share/gtk-doc/html/geocode-glib/GeocodeForward.html
+share/gtk-doc/html/geocode-glib/GeocodeLocation.html
+share/gtk-doc/html/geocode-glib/GeocodeNominatim.html
+share/gtk-doc/html/geocode-glib/GeocodePlace.html
+share/gtk-doc/html/geocode-glib/GeocodeReverse.html
+share/gtk-doc/html/geocode-glib/annotation-glossary.html
+share/gtk-doc/html/geocode-glib/api-index-full.html
+share/gtk-doc/html/geocode-glib/ch01.html
+share/gtk-doc/html/geocode-glib/geocode-glib-geocode-error.html
+share/gtk-doc/html/geocode-glib/geocode-glib-geocode-mock-backend.html
+share/gtk-doc/html/geocode-glib/geocode-glib.devhelp2
+share/gtk-doc/html/geocode-glib/home.png
+share/gtk-doc/html/geocode-glib/index.html
+share/gtk-doc/html/geocode-glib/left-insensitive.png
+share/gtk-doc/html/geocode-glib/left.png
+share/gtk-doc/html/geocode-glib/right-insensitive.png
+share/gtk-doc/html/geocode-glib/right.png
+share/gtk-doc/html/geocode-glib/style.css
+share/gtk-doc/html/geocode-glib/up-insensitive.png
+share/gtk-doc/html/geocode-glib/up.png
+share/icons/gnome/scalable/places/poi-airport.svg
+share/icons/gnome/scalable/places/poi-bar.svg
+share/icons/gnome/scalable/places/poi-building.svg
+share/icons/gnome/scalable/places/poi-bus-stop.svg
+share/icons/gnome/scalable/places/poi-car.svg
+share/icons/gnome/scalable/places/poi-light-rail-station.svg
+share/icons/gnome/scalable/places/poi-marker.svg
+share/icons/gnome/scalable/places/poi-place-of-worship.svg
+share/icons/gnome/scalable/places/poi-railway-station.svg
+share/icons/gnome/scalable/places/poi-restaurant.svg
+share/icons/gnome/scalable/places/poi-school.svg
+share/icons/gnome/scalable/places/poi-town.svg
diff --git a/geography/geocode-glib/buildlink3.mk b/geography/geocode-glib/buildlink3.mk
new file mode 100644
index 00000000000..0874c5eb202
--- /dev/null
+++ b/geography/geocode-glib/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/11/04 15:53:21 nia Exp $
+
+BUILDLINK_TREE+= geocode-glib
+
+.if !defined(GEOCODE_GLIB_BUILDLINK3_MK)
+GEOCODE_GLIB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.geocode-glib+= geocode-glib>=3.26.2
+BUILDLINK_PKGSRCDIR.geocode-glib?= ../../geography/geocode-glib
+
+.include "../../devel/glib2/buildlink3.mk"
+.endif # GEOCODE_GLIB_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -geocode-glib
diff --git a/geography/geocode-glib/distinfo b/geography/geocode-glib/distinfo
new file mode 100644
index 00000000000..316862e531d
--- /dev/null
+++ b/geography/geocode-glib/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/11/04 15:53:21 nia Exp $
+
+SHA1 (geocode-glib-3.26.2.tar.xz) = b8fb9aed83f33685fafc2952383dbc5b46a78d31
+RMD160 (geocode-glib-3.26.2.tar.xz) = 137e493d87627b67bb6caac7cd4f9c73da003123
+SHA512 (geocode-glib-3.26.2.tar.xz) = b3ef81fac6959f6c4725ca721125cdafbbec69233f321872e17f9035266ed7616018ef54a9082fbd0a83395d18c664144cfe3b431d63744be433f058071cd435
+Size (geocode-glib-3.26.2.tar.xz) = 72956 bytes