From nobody Fri Sep 23 18:41:43 2022 X-Original-To: dev-commits-ports-all@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 4MZ1Fz2HnJz4cdYj; Fri, 23 Sep 2022 18:41:43 +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 4MZ1Fz1sSHz3Mh0; Fri, 23 Sep 2022 18:41:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663958503; 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=FkaG4kjsDBM47VPnAoxx8YxtnJvLblyXPa6P67VgwWc=; b=KvZnJfjrqylb5rzcj8WRl6ebGQ224KqcWWcJOcOj0zUm8tM7DNlUbRKMAnzFtaNtHUTloS EL4SEzX8fA8OWt1G/F81we/dl8+LBr7CSwKKxQQl1eGCEPMzZRASo6mCbNPDy9HeEEDm4K p0BuZ7/kL9f/h50o/SeeNSEaKNpeILg1v4iU/u9xTghJyKZlzNHiCVqYiN15ErcJQoq750 GyGqLKlO9bRA/CfSmOMBV9Dt+pyOzi80rz7WDexTbTDBZNrNzLR6o/hDA9kJxLbT12acPE 3jZ12a6R3NbOg5kOZ3kZJZzHylj6YIEN3FdwshLSqPQBRWyCmdjgo+GaGC4vDg== 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 4MZ1Fz0zCfzqGJ; Fri, 23 Sep 2022 18:41:43 +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 28NIfhUx019968; Fri, 23 Sep 2022 18:41:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28NIfhA2019967; Fri, 23 Sep 2022 18:41:43 GMT (envelope-from git) Date: Fri, 23 Sep 2022 18:41:43 GMT Message-Id: <202209231841.28NIfhA2019967@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 8fe61f2101af - main - astro/mepo: add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8fe61f2101afb2e8f259a9a6ee4b4de557e925c7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663958503; 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=FkaG4kjsDBM47VPnAoxx8YxtnJvLblyXPa6P67VgwWc=; b=CwYcu5b3ShjJujPyZiw7O0BnTemeULeQ4YluyNquBWQ50emGW/3TYkghULGq3/sZTR67ZT A0CWuTe14dZB+be5RlHlUkHZ+N5aPbLHm4OthRtHgjkkvhlug+EWHjx6mEHBvjgYF2ihOh dqOaqrkPDyl0hwYSpobMrPa7d8X56Mf5tOo8lZykdVL8b/j2h34hsY7SjRd3RPeNhMNqUW pYoM8Kn0sTo9KaeOlW7C5rY7Jn4uMBBZjFwdvHCstN5PsIoSkQA1C828j62o5gYir5PEZ4 HUP0o8kW+mg/yMumfEc4f7LrvqOk2hyTeNmQlGDTN/MxmmTWbKCdLj+wqOuanA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663958503; a=rsa-sha256; cv=none; b=ElyjhqatiwgOktQQ7k0eKkicaKK1jwYvW49Uh1Rpwyiwn5/8fnrepTKI9kNU0EgbRvtjGB u8JSDxPgu0T4WZS2OXUk1N+TqQ/7VamqUrKuSPq4JRbjX5Do0Spj+LbEz+dYtqrW5A+nrq gelwE9bZdYbKe5TAIQplik8Z+lO6fndzqnS2i3rW7AutSNrPdi9Whc04vnVUStMm0Vbzwi aLNtsUi4Hb0adcOlYLOC3e/6GZ0/zGfj5MuMhOU9Y7cOgYjo7EPOpHUOLlyR6Bv1nlRMHa DSbcRisZFc7oMAFItx3Ulpze8HsRnosBrhywLBL46TF89c5cuHop3USKwVEe5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=8fe61f2101afb2e8f259a9a6ee4b4de557e925c7 commit 8fe61f2101afb2e8f259a9a6ee4b4de557e925c7 Author: Jan Beich AuthorDate: 2022-09-20 21:38:11 +0000 Commit: Jan Beich CommitDate: 2022-09-23 18:40:05 +0000 astro/mepo: add new port Mepo is a fast, simple, and hackable OSM map viewer for desktop & mobile Linux devices (like the PinePhone, Librem 5, pmOS devices etc.) and both environment's various user interfaces (Wayland & X inclusive). Mepo works both offline and online, features a minimalist both touch/mouse and keyboard compatible interface, and offers a UNIX-philosophy inspired underlying design, exposing a powerful command language called Mepolang capable of being scripted to provide things like custom bounding-box search scripts, bookmarks, and more. https://sr.ht/~mil/Mepo/ --- astro/Makefile | 1 + astro/mepo/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ astro/mepo/distinfo | 3 +++ astro/mepo/pkg-descr | 8 ++++++++ astro/mepo/pkg-plist | 24 ++++++++++++++++++++++++ 5 files changed, 79 insertions(+) diff --git a/astro/Makefile b/astro/Makefile index 74793fabccd0..7ba76e4f4356 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -33,6 +33,7 @@ SUBDIR += luna SUBDIR += marble SUBDIR += match + SUBDIR += mepo SUBDIR += merkaartor SUBDIR += mkgmap SUBDIR += mkgmap-splitter diff --git a/astro/mepo/Makefile b/astro/mepo/Makefile new file mode 100644 index 000000000000..da0f836e5f15 --- /dev/null +++ b/astro/mepo/Makefile @@ -0,0 +1,43 @@ +PORTNAME= mepo +DISTVERSION= 1.0_rc1 +CATEGORIES= astro geography wayland +MASTER_SITES= https://git.sr.ht/~mil/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Fast, simple, and hackable OSM map viewer +WWW= https://sr.ht/~mil/Mepo/ + +LICENSE= GPLv3+ OFL11 +LICENSE_COMB= multi +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= zig>=0.9.0:lang/zig +LIB_DEPENDS= libcurl.so:ftp/curl +RUN_DEPENDS= jq:textproc/jq + +USES= pkgconfig sdl shebangfix +USE_SDL= gfx2 image2 ttf2 +SHEBANG_FILES= scripts/* +SHEBANG_LANG= sh +sh_CMD= /bin/sh +MAKE_ENV= DESTDIR="${STAGEDIR}" +CONFIGURE_ARGS= --prefix "${PREFIX}" \ + ${WITH_DEBUG:D:U-Drelease-fast} \ + -Dcpu=${CPUTYPE:Ubaseline} \ + --verbose +NO_INSTALL= yes # strip(1) breaks runtime + +post-patch: + @${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},' \ + ${WRKSRC}/scripts/mepo_ui_menu_user_pin_updater.sh + @${REINPLACE_CMD} -e 's/pidof/pgrep/' \ + -e 's/busctl/basuctl/' \ + ${WRKSRC}/scripts/mepo_ui_helper_menu.sh + +do-build: + @(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS}) + +do-test: + @(cd ${WRKSRC} && ${TEST_ENV} zig build test ${CONFIGURE_ARGS}) + +.include diff --git a/astro/mepo/distinfo b/astro/mepo/distinfo new file mode 100644 index 000000000000..af91391d495b --- /dev/null +++ b/astro/mepo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1663709891 +SHA256 (mepo-1.0_rc1.tar.gz) = 6ed729463a0244d7425c05e92cbef69fc456a39975d93912678b82c140e2afb0 +SIZE (mepo-1.0_rc1.tar.gz) = 5426562 diff --git a/astro/mepo/pkg-descr b/astro/mepo/pkg-descr new file mode 100644 index 000000000000..9e82c97f6178 --- /dev/null +++ b/astro/mepo/pkg-descr @@ -0,0 +1,8 @@ +Mepo is a fast, simple, and hackable OSM map viewer for desktop & mobile +Linux devices (like the PinePhone, Librem 5, pmOS devices etc.) and both +environment's various user interfaces (Wayland & X inclusive). Mepo +works both offline and online, features a minimalist both touch/mouse +and keyboard compatible interface, and offers a UNIX-philosophy +inspired underlying design, exposing a powerful command language called +Mepolang capable of being scripted to provide things like custom +bounding-box search scripts, bookmarks, and more. diff --git a/astro/mepo/pkg-plist b/astro/mepo/pkg-plist new file mode 100644 index 000000000000..e3a75f57e892 --- /dev/null +++ b/astro/mepo/pkg-plist @@ -0,0 +1,24 @@ +bin/mepo +bin/mepo_dl.sh +bin/mepo_generated_osmtags.sh +bin/mepo_ui_central_menu.sh +bin/mepo_ui_helper_menu.sh +bin/mepo_ui_helper_pref_pan.sh +bin/mepo_ui_menu_dbg_queueclear.sh +bin/mepo_ui_menu_dbg_queuedownloadinteractive.sh +bin/mepo_ui_menu_dbg_queuedownloadnoninteractive.sh +bin/mepo_ui_menu_pin_editor.sh +bin/mepo_ui_menu_pref_fontsize.sh +bin/mepo_ui_menu_pref_network.sh +bin/mepo_ui_menu_pref_url.sh +bin/mepo_ui_menu_pref_zoom.sh +bin/mepo_ui_menu_reposition_nominatim.sh +bin/mepo_ui_menu_route_graphhopper.sh +bin/mepo_ui_menu_route_overpassrelation.sh +bin/mepo_ui_menu_search_nominatim.sh +bin/mepo_ui_menu_search_overpass.sh +bin/mepo_ui_menu_user_pin_updater.sh +share/applications/mepo.desktop +share/icons/hicolor/128x128/apps/mepo.png +share/icons/hicolor/512x512/apps/mepo.png +share/pixmaps/mepo.png