From nobody Sun Aug 13 09:41:33 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RNsxB0KYkz4qJJQ; Sun, 13 Aug 2023 09:41:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RNsx96jTsz4bnF; Sun, 13 Aug 2023 09:41:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691919693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yB4zncuSYB4s1xIOlfD2vv14uraOuqpcLE9QKeyIlAU=; b=ER033rRSuHFMMAgy8Thgp/H0ECSGEQme2vgCdO4ydyKaoiBZA1VWkrmugT1WHeLHOnBvNV RMezWFb2TEmnFPNBZPmUhb2+r97jM02bQ/zlr41j0ovYWGFzg0OSzzG9BJWyqWbfV+WkcJ kC17Lnm0vfAAFUXZca3ly/uAnIm+mubHbIL1LhQDZADbB0Ml6j0HtAv7cZPpizpwoi+MQC ej0qL95uBRR3P0NQ8bsF3LaaPz6+f2rx9r8yQPFU1SxXarO3F/ehjHJApnw88rWXlSzNvX 6nlAfKubmTr/a6ZydzAQ6N7oVv0CYIdilcSGUDHJamGpUet/p/7g0HvcnPVotw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691919693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yB4zncuSYB4s1xIOlfD2vv14uraOuqpcLE9QKeyIlAU=; b=tAm5Ru6BudPziEiTSQydaD+1Ml2Kt8BNJQHJavH1RTla3ncNsYAVNfSBcUSIEsvRBal/Lf j4+YnnxK0ZERBa4GmRXdGTpgBCZddp1vkjlhF/mBxXfiR31VV43kH5LGsObr7Ywjq5Kybh ApjCuv/7lmQYX3uP06kvYM15m6Kp47BPG5dcTNpEGiyXCOV7y3ZHeiL97btE5x2+TKUfcb GT6K/DjsZtqqojKm91MnmVex0lJmgdar9sD3cMKnw4tLurOU/JrwR33ejYZb97rBP+iMfY /JcYIXo9WTOho/HyxAawc5rxSLmiGx7FgVITT4iBBhpV7Ai/mhew5lCiLrzecg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691919693; a=rsa-sha256; cv=none; b=kyNpkeuLINhQfW3BlREWWn0oCMJc9zMfrquHGXavItbIQjFB1okIxBxot3Qpx4i6S997eo vV2Xv9as2XFPE8U9sFuevwD7SAsZ42G67wKpNZUkeYnetzQxJ/K3C+b4Iq79BDErUUL99K L3G11paOeVF/gQpldMHO6S+JcJkRuXi8Z++ZIbCRFvu4rtuCVBaqJVKgPKHi+XqBnSHzqk jfyIIkRaJlJQIyPq+L9kTq4GsBzZa7QlSXYzj4QbsLX4jkRS2nMsmCopvYsb0EI8X9vCFw HlEmKH+HUfHTn3zarClTodjTn5Sl5OBct3IsvWApqPYTSH7g1ZtclYyFqKuYQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RNsx95pRRzxfT; Sun, 13 Aug 2023 09:41:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37D9fXwr046031; Sun, 13 Aug 2023 09:41:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37D9fXbc046029; Sun, 13 Aug 2023 09:41:33 GMT (envelope-from git) Date: Sun, 13 Aug 2023 09:41:33 GMT Message-Id: <202308130941.37D9fXbc046029@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 46ce1c479143 - main - astro/osmium-tool: Command line tool for working with OpenStreetMap data using libosmium List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 46ce1c4791435ffd562202ff5dc10ca4b04b612c Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=46ce1c4791435ffd562202ff5dc10ca4b04b612c commit 46ce1c4791435ffd562202ff5dc10ca4b04b612c Author: Ian Wagner AuthorDate: 2023-02-17 08:51:41 +0000 Commit: Robert Clausecker CommitDate: 2023-08-13 09:32:56 +0000 astro/osmium-tool: Command line tool for working with OpenStreetMap data using libosmium Osmium Tool is a multipurpose command line tool for working with OpenStreetMap data based on the Osmium library. With the Osmium Tool you can: * Get information about an OSM file * Show the differences between OSM files * Convert OSM files from one format into another (supports XML, PBF, and more) * Merge and apply change files to an OSM file (with or without history) * Create OSM change files from OSM data files * Extract data from OSM history files for a given point in time or a time range * Sort OSM files * Create geographical extracts from OSM files * Filter OSM files by tags * Filter changesets by many different criteria * And much more... WWW: https://osmcode.org/osmium-tool/ PR: 244012 --- astro/Makefile | 1 + astro/osmium-tool/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ astro/osmium-tool/distinfo | 3 +++ astro/osmium-tool/pkg-descr | 16 ++++++++++++++++ astro/osmium-tool/pkg-plist | 28 ++++++++++++++++++++++++++++ 5 files changed, 87 insertions(+) diff --git a/astro/Makefile b/astro/Makefile index 8cc9e700b354..7a988ebb3946 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -43,6 +43,7 @@ SUBDIR += opencpn SUBDIR += openuniverse SUBDIR += oskar + SUBDIR += osmium-tool SUBDIR += osmosis SUBDIR += p5-Astro SUBDIR += p5-Astro-ADS diff --git a/astro/osmium-tool/Makefile b/astro/osmium-tool/Makefile new file mode 100644 index 000000000000..13ee118bfe11 --- /dev/null +++ b/astro/osmium-tool/Makefile @@ -0,0 +1,39 @@ +PORTNAME= osmium-tool +DISTVERSIONPREFIX= v +DISTVERSION= 1.15.0 +CATEGORIES= astro geography + +MAINTAINER= ianthetechie@gmail.com +COMMENT= Command line tool for working with OpenStreetMap data using libosmium +WWW= https://osmcode.org/osmium-tool/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${LOCALBASE}/include/osmium/version.hpp:astro/libosmium \ + ${LOCALBASE}/include/protozero/version.hpp:devel/protozero \ + ${LOCALBASE}/include/rapidjson/stringbuffer.h:devel/rapidjson \ + hs-pandoc>0:textproc/hs-pandoc +LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \ + libbz2.so:archivers/bzip2 \ + libexpat.so:textproc/expat2 + +USES= cmake:testing +USE_GITHUB= yes +GH_ACCOUNT= osmcode + +PORTEXAMPLES= extract-example-config/* +OPTIONS_DEFINE= EXAMPLES LZ4 +OPTIONS_DEFAULT= EXAMPLES LZ4 + +LZ4_CMAKE_ON= -DWITH_LZ4=ON +LZ4_CMAKE_OFF= -DWITH_LZ4=OFF + +LZ4_DESC= Build with support for LZ4 compression of PBF files +LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR}) + +.include diff --git a/astro/osmium-tool/distinfo b/astro/osmium-tool/distinfo new file mode 100644 index 000000000000..ee3391e41923 --- /dev/null +++ b/astro/osmium-tool/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1674959777 +SHA256 (osmcode-osmium-tool-v1.15.0_GH0.tar.gz) = 0b3be2f07d60dfb93f65d6a9f1af1fc9cf6ef68e5a460997d841c93079c3377b +SIZE (osmcode-osmium-tool-v1.15.0_GH0.tar.gz) = 490366 diff --git a/astro/osmium-tool/pkg-descr b/astro/osmium-tool/pkg-descr new file mode 100644 index 000000000000..f5c1888cadce --- /dev/null +++ b/astro/osmium-tool/pkg-descr @@ -0,0 +1,16 @@ +Osmium Tool is a multipurpose command line tool for working with OpenStreetMap +data based on the Osmium library. + +With the Osmium Tool you can: + +* Get information about an OSM file +* Show the differences between OSM files +* Convert OSM files from one format into another (supports XML, PBF, and more) +* Merge and apply change files to an OSM file (with or without history) +* Create OSM change files from OSM data files +* Extract data from OSM history files for a given point in time or a time range +* Sort OSM files +* Create geographical extracts from OSM files +* Filter OSM files by tags +* Filter changesets by many different criteria +* And much more... diff --git a/astro/osmium-tool/pkg-plist b/astro/osmium-tool/pkg-plist new file mode 100644 index 000000000000..d86c9ce73078 --- /dev/null +++ b/astro/osmium-tool/pkg-plist @@ -0,0 +1,28 @@ +bin/osmium +share/man/man1/osmium-add-locations-to-ways.1.gz +share/man/man1/osmium-apply-changes.1.gz +share/man/man1/osmium-cat.1.gz +share/man/man1/osmium-changeset-filter.1.gz +share/man/man1/osmium-check-refs.1.gz +share/man/man1/osmium-create-locations-index.1.gz +share/man/man1/osmium-derive-changes.1.gz +share/man/man1/osmium-diff.1.gz +share/man/man1/osmium-export.1.gz +share/man/man1/osmium-extract.1.gz +share/man/man1/osmium-fileinfo.1.gz +share/man/man1/osmium-getid.1.gz +share/man/man1/osmium-getparents.1.gz +share/man/man1/osmium-merge-changes.1.gz +share/man/man1/osmium-merge.1.gz +share/man/man1/osmium-query-locations-index.1.gz +share/man/man1/osmium-removeid.1.gz +share/man/man1/osmium-renumber.1.gz +share/man/man1/osmium-show.1.gz +share/man/man1/osmium-sort.1.gz +share/man/man1/osmium-tags-count.1.gz +share/man/man1/osmium-tags-filter.1.gz +share/man/man1/osmium-time-filter.1.gz +share/man/man1/osmium.1.gz +share/man/man5/osmium-file-formats.5.gz +share/man/man5/osmium-index-types.5.gz +share/man/man5/osmium-output-headers.5.gz