From nobody Thu Jun 01 22:30:05 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 4QXLRd2tjyz4YWJn; Thu, 1 Jun 2023 22:30:05 +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 4QXLRd2Rc4z4Nrl; Thu, 1 Jun 2023 22:30:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685658605; 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=W8z/BazOt9nMAtwPl10y6baYuq98m8dbElSfCPTSRAI=; b=lsaKgOxTvO9cz/oqXzjjMzDhmJBNTJjXHEpY0j2lilp0rj2pbfBks7q7denl921O07XWrD 5R4ktsIkveelq7p3WzhybwlWRMSEhe0jcgDcS0IVArBxcNad4zDUHFGf7bC8MEU4wMSlP9 L9H5A6QEtWJTIS6c9Tev4RQk+/cqAzTdEH+pnUzMoxpvtN1dkRMXdy2F4KKkf7Bxxbxa/b IQI0JFBKeRNzW2i2YupDk7R/A4dF2kmIOtDG2TFYAORh1HnCJpAT9BL+pmCGij0eK1eBRa C0GqYB/61NRgTqnwWD+ysdNaTEI2UDmUwqzlM6wfAaLE1CrDa8udppqXzS+yCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685658605; 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=W8z/BazOt9nMAtwPl10y6baYuq98m8dbElSfCPTSRAI=; b=tyu6JpPiFYN7tRFZCUxEVQm8vlQy8STViifdOyb8SUhcVQD1vGkRJ2xHd2j6Mtw0biVxnG DaJTdd0fz2S+D9ZEx2CDGVK2/+38OdLsThAp5WaWUvMettr12ebjt/uCf9TtdrKt6kw9gD Fzgimkn4xS15rZgtjBQh+u8xetSIK1Cd5x3cput4LUQ754RE4EuaEyE7OdUcVut/qot4WA ZY0Acg0wCDDWm6Jh310Ctzf+pbNGGFpFH5D0mj9riuZEZI5AKrcFthHJh/5v1BTMjDGqjt Z26yokZ5mXD31sJe2FYjBPPw1zWRcXzUWjB9I8C0ZIUL7Qg7gsyoD5B5uuF9Zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685658605; a=rsa-sha256; cv=none; b=r8mfeRcyP5ufmcgHKCJElELNosg+wr85ZwX1U1GWCCTpEwmAgrrEamtUn1MjYbRfa0qMAf S/Dt2Z/fAghLvE7Coay9Fehz1p4snNNbvTWkJOgpGb8m/VAjnL/PMdszvTJAcIS1DQ+q6E 2x4f0ZoBCaIXHiyA0T4637/ZuBZAXPtMvTj3Fb5+IcVEBfT7gJP/aUJi3raBr9jq4U7Fc3 n7O6Ol0URvEYby9gZlQWrI6CBOem39sMbKJkJcCWlaP5xpbtFgYPpqchgNuPtJB1NuKnlr MTx2vBvmUiHkOzZ748EnXS2Gk3xdz1KaPnoYTBUN7MmK+USDVDAmeNdO+YTkaA== 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 4QXLRd1DRyzZGl; Thu, 1 Jun 2023 22:30:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 351MU5As097930; Thu, 1 Jun 2023 22:30:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 351MU5X7097928; Thu, 1 Jun 2023 22:30:05 GMT (envelope-from git) Date: Thu, 1 Jun 2023 22:30:05 GMT Message-Id: <202306012230.351MU5X7097928@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: 9daea3fb8bda - main - graphics/tippecanoe: new port 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: 9daea3fb8bda44b197d58a97ba9ee77c7f7e5bf6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=9daea3fb8bda44b197d58a97ba9ee77c7f7e5bf6 commit 9daea3fb8bda44b197d58a97ba9ee77c7f7e5bf6 Author: Darcy AuthorDate: 2023-05-31 08:23:55 +0000 Commit: Robert Clausecker CommitDate: 2023-06-01 22:29:20 +0000 graphics/tippecanoe: new port Tippecanoe Builds vector tilesets from large (or small) collections of GeoJSON, FlatGeobuf, or CSV features. The goal of Tippecanoe is to enable making a scale-independent view of your data, so that at any level from the entire world to a single building, you can see the density and texture of the data rather than a simplification from dropping supposedly unimportant features or clustering or aggregating them. If you give it all of OpenStreetMap and zoom out, it should give you back something that looks like "All Streets" rather than something that looks like an Interstate road atlas. If you give it all the building footprints in Los Angeles and zoom out far enough that most individual buildings are no longer discernable, you should still be able to see the extent and variety of development in every neighborhood, not just the largest downtown buildings. If you give it a collection of years of tweet locations, you should be able to see the shape and relative popularity of every point of interest and every significant travel corridor. WWW: https://github.com/felt/tippecanoe PR: 266761 --- graphics/Makefile | 1 + graphics/tippecanoe/Makefile | 29 +++++++++++++++++++++++++++++ graphics/tippecanoe/distinfo | 3 +++ graphics/tippecanoe/files/patch-Makefile | 11 +++++++++++ graphics/tippecanoe/files/patch-main.cpp | 11 +++++++++++ graphics/tippecanoe/pkg-descr | 21 +++++++++++++++++++++ 6 files changed, 76 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 557f61af875f..bddd89c9fb6d 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1134,6 +1134,7 @@ SUBDIR += timg SUBDIR += tintfu SUBDIR += tinyows + SUBDIR += tippecanoe SUBDIR += tkpng SUBDIR += togl SUBDIR += tslib diff --git a/graphics/tippecanoe/Makefile b/graphics/tippecanoe/Makefile new file mode 100644 index 000000000000..b9769100e6e9 --- /dev/null +++ b/graphics/tippecanoe/Makefile @@ -0,0 +1,29 @@ +PORTNAME= tippecanoe +DISTVERSION= 2.6.3 +CATEGORIES= graphics + +MAINTAINER= darcy@dbitech.ca +COMMENT= Builds vector tilesets from large (or small) collections GEO features +WWW= https://github.com/felt/tippecanoe + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +LIB_DEPENDS= libsqlite3.so:databases/sqlite3 + +USES= gmake +USE_GITHUB= yes + +GH_ACCOUNT= felt + +PLIST_FILES= bin/tile-join bin/tippecanoe bin/tippecanoe-decode \ + bin/tippecanoe-enumerate bin/tippecanoe-json-tool \ + man/man1/tippecanoe.1.gz + +do-install: +.for file in tile-join tippecanoe tippecanoe-decode tippecanoe-enumerate tippecanoe-json-tool + ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR$}${PREFIX}/bin +.endfor + ${INSTALL_MAN} ${WRKSRC}/man/tippecanoe.1 ${STAGEDIR}${PREFIX}/man/man1/tippecanoe.1 + +.include diff --git a/graphics/tippecanoe/distinfo b/graphics/tippecanoe/distinfo new file mode 100644 index 000000000000..267f0163d958 --- /dev/null +++ b/graphics/tippecanoe/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1664625361 +SHA256 (felt-tippecanoe-2.6.3_GH0.tar.gz) = 83389045ba5bd1b1e9ec71276331ae394bd9ac70626e78c2a4c73563b79e4300 +SIZE (felt-tippecanoe-2.6.3_GH0.tar.gz) = 17326509 diff --git a/graphics/tippecanoe/files/patch-Makefile b/graphics/tippecanoe/files/patch-Makefile new file mode 100644 index 000000000000..1ffd57cee0f8 --- /dev/null +++ b/graphics/tippecanoe/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2022-09-27 16:15:54 UTC ++++ Makefile +@@ -1,7 +1,7 @@ + PREFIX ?= /usr/local + MANDIR ?= $(PREFIX)/share/man/man1/ + BUILDTYPE ?= Release +-SHELL = /bin/bash ++SHELL = /bin/sh + + # inherit from env if set + CC := $(CC) diff --git a/graphics/tippecanoe/files/patch-main.cpp b/graphics/tippecanoe/files/patch-main.cpp new file mode 100644 index 000000000000..6000fc22a4dc --- /dev/null +++ b/graphics/tippecanoe/files/patch-main.cpp @@ -0,0 +1,11 @@ +--- main.cpp.orig 2022-09-27 16:15:54 UTC ++++ main.cpp +@@ -34,7 +34,7 @@ + #include + #include + +-#ifdef __APPLE__ ++#if defined(__APPLE__) || defined(__FreeBSD__) + #include + #include + #include diff --git a/graphics/tippecanoe/pkg-descr b/graphics/tippecanoe/pkg-descr new file mode 100644 index 000000000000..1af213c8c0aa --- /dev/null +++ b/graphics/tippecanoe/pkg-descr @@ -0,0 +1,21 @@ +Tippecanoe Builds vector tilesets from large (or small) collections of +GeoJSON, FlatGeobuf, or CSV features. + +The goal of Tippecanoe is to enable making a scale-independent view of +your data, so that at any level from the entire world to a single +building, you can see the density and texture of the data rather than a +simplification from dropping supposedly unimportant features or +clustering or aggregating them. + +If you give it all of OpenStreetMap and zoom out, it should give you +back something that looks like "All Streets" rather than something that +looks like an Interstate road atlas. + +If you give it all the building footprints in Los Angeles and zoom out +far enough that most individual buildings are no longer discernable, you +should still be able to see the extent and variety of development in +every neighborhood, not just the largest downtown buildings. + +If you give it a collection of years of tweet locations, you should be +able to see the shape and relative popularity of every point of interest +and every significant travel corridor.