From nobody Mon Jul 31 13:06:09 2023 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 4RDz5H5Xmvz4q6nv; Mon, 31 Jul 2023 13:06:09 +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 4RDz5F4zT7z41TP; Mon, 31 Jul 2023 13:06:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690808769; 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=yoa6qANLtgBkUGgAv5uDJHO5Ti1JEni2+Qqpzo9+W/g=; b=mLDxXF17YQgTPWJfX9VejFLH552NaJKZq2frmMufea9b3BWKwxfAH3LN2KPePYirb7uQts ghR6sOaEPxq5oRtKAjnwiXMBc0XAgi8Z23hnpXeaQo/vfJW+Dv6W1RFdDfeNW7rRvQlKcb AuHomYF8dDNCwG23TUwzMOxGRoBe828jVw1oM6iHfEd0alu3bA/CkI+CCFy/7CmfA5c7Po zJxm7eOo27NFORWynHkxLm8syXzDWVx7HT1Yp8eqDEcR6ksULjXlN59zfCS0jC/ZOuCcCT STkCItXsXjtJNrvnGCdKsAklD46bexjTrMPKZY/rWS/Ii0IfvuwSczid6i19Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690808769; 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=yoa6qANLtgBkUGgAv5uDJHO5Ti1JEni2+Qqpzo9+W/g=; b=hK67z3es1xhAWHn8KNcjUTfWNRWXD9AjKj9jteocBlUHCquBgRovuSGyiPlQE8MuhMyKH0 gnFgUVMTwYqXyUVt3DerlAwOUyuW4y4Qai3WUbOMG7g81TlZ3dMIdXOvI0bJR57JF+gJHP tRCi7otRTykxJcX30lRb1++7Fp438cT+TZLUXfkoBsp1N2ZH238HNd8MwcsxBZqVTZmaAx j+tcrFrxrd2SqHrM0ANET6jZ0SKi+7u+qZossWRHfmQy5BcTInfKpG5nCC1n5IkpFGums4 KWu/dS6UlqMHGUxX0c5pbmWFGlRIPgedYeGRbZUeOmQ1gFDmWqQ5ZzpJTWSwnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690808769; a=rsa-sha256; cv=none; b=WlEaVbUiLdhPH4HbdLp4XYOh7dO0hnVmK/qJp4RqdgcLCzz3ethaSsbWkqbOxzPpmhmiIm jGkzUvJdmMIshv5y7VLwTP8iwWqU9zVbm+mGgRj1NCsFVRxVRWizxVCEAJ7uhR4r/XXaVs 4U2VckZgAi4/tTwp7VGehz16lwxep3TGziBjdSBoVoyFIQWsOL+T8LaObNQx81Ov/CkfZk 4QyRDQ4x++FVu9djy1AmBafE02IwpMOlTjv6h2k6+zY6Z1chVyxa4xLz266vwfnEpepZGP NRmpQiT1fVNcWAo1Mn3bLtyZ+AyXM8MSeJoJghalHm82wDjcyBhLcycJYpkZVA== 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 4RDz5F2jPQzxGx; Mon, 31 Jul 2023 13:06:09 +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 36VD692N011166; Mon, 31 Jul 2023 13:06:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36VD69A5011165; Mon, 31 Jul 2023 13:06:09 GMT (envelope-from git) Date: Mon, 31 Jul 2023 13:06:09 GMT Message-Id: <202307311306.36VD69A5011165@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: 2c6084bebcc1 - main - astro/viking: Resurrect and update 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: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2c6084bebcc1cca164aa38f20eab5a8cd56dd668 Auto-Submitted: auto-generated The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=2c6084bebcc1cca164aa38f20eab5a8cd56dd668 commit 2c6084bebcc1cca164aa38f20eab5a8cd56dd668 Author: Wen Heping AuthorDate: 2023-07-31 13:02:36 +0000 Commit: Wen Heping CommitDate: 2023-07-31 13:04:48 +0000 astro/viking: Resurrect and update PR: 272076 Reported by: lantw44@gmail.com --- astro/Makefile | 1 + astro/viking/Makefile | 88 ++++++++++++++++++++++++++++++++++++ astro/viking/distinfo | 3 ++ astro/viking/files/pkg-message.in | 13 ++++++ astro/viking/pkg-descr | 6 +++ astro/viking/pkg-plist | 95 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 206 insertions(+) diff --git a/astro/Makefile b/astro/Makefile index 10fd52b16dea..8cc9e700b354 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -127,6 +127,7 @@ SUBDIR += swe SUBDIR += tclgeomap SUBDIR += tkgeomap + SUBDIR += viking SUBDIR += wcslib SUBDIR += weather SUBDIR += wmglobe diff --git a/astro/viking/Makefile b/astro/viking/Makefile new file mode 100644 index 000000000000..43764589328b --- /dev/null +++ b/astro/viking/Makefile @@ -0,0 +1,88 @@ +PORTNAME= viking +PORTVERSION= 1.10 +CATEGORIES= astro +MASTER_SITES= SF/${PORTNAME}/ + +MAINTAINER= wen@FreeBSD.org +COMMENT= Program to manage GPS data (tracks, waypoints, etc.) +WWW= https://sourceforge.net/p/viking/wikiallura/Main_Page/ + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= itstool:textproc/itstool \ + ${LOCALBASE}/share/aclocal/yelp.m4:textproc/yelp-tools \ + ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl +LIB_DEPENDS= libcurl.so:ftp/curl \ + libexpat.so:textproc/expat2 \ + libgeoclue-2.so:net/geoclue \ + libharfbuzz.so:print/harfbuzz \ + libjson-glib-1.0.so:devel/json-glib \ + libnettle.so:security/nettle \ + liboauth.so:net/liboauth \ + libzip.so:archivers/libzip +RUN_DEPENDS= gpsbabel:astro/gpsbabel + +USES= compiler:c++11-lib desktop-file-utils gettext gmake gnome \ + iconv localbase perl5 pkgconfig tar:bzip2 xorg +USE_XORG= x11 +USE_GNOME= cairo gdkpixbuf2 gtk30 intlhack +USE_PERL5= run +GNU_CONFIGURE= yes + +PORTDOCS= AUTHORS ChangeLog NEWS README.md + +OPTIONS_DEFINE= DOCS GEOCACHES NLS GEOTAG GPSD MAPNIK MBTILES +OPTIONS_DEFAULT= GEOTAG GPSD JOSM MAPNIK MBTILES + +OPTIONS_MULTI= EDITOR +OPTIONS_MULTI_EDITOR= JOSM MERKAATOR + +EDITOR_DESC= OpenStreetMap editor +GEOCACHES_DESC= GeoCaches Acquire support +GEOTAG_DESC= Geotag support +GPSD_DESC= Realtime GPS tracking +MAPNIK_DESC= Mapnik support +MBTILES_DESC= MBTiles support +JOSM_DESC= Edit OpenStreetMap via JOSM +MERKAATOR_DESC= Edit OpenStreetMap via Merkaartor + +OPTIONS_SUB= yes + +GEOCACHES_CONFIGURE_ENABLE= geocaches +GEOCACHES_SUB_FILES= pkg-message + +NLS_CONFIGURE_ENABLE= nls + +GEOTAG_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 +GEOTAG_CONFIGURE_ENABLE=geotag + +GPSD_LIB_DEPENDS= libgps.so:astro/gpsd +GPSD_CONFIGURE_ENABLE= realtime-gps-tracking + +MAPNIK_LIB_DEPENDS= libmapnik.so:graphics/mapnik +MAPNIK_CONFIGURE_ENV= ac_cv_lib_icuuc_main=no # indirect +MAPNIK_CONFIGURE_ENABLE= mapnik +MAPNIK_CPPFLAGS= -I${LOCALBASE}/include/mapnik + +MBTILES_USES= sqlite +MBTILES_CONFIGURE_ENABLE= mbtiles + +JOSM_RUN_DEPENDS= josm:astro/josm +MERKAATOR_RUN_DEPENDS= merkaartor:astro/merkaartor + +post-patch: + @${REINPLACE_CMD} -e '/as_fn_error.*libicuuc/d' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/^AM_CFLAGS/s| -g | |' ${WRKSRC}/src/Makefile.in + @${REINPLACE_CMD} -e 's|Science;|Education;Science;|' \ + ${WRKSRC}/src/viking.desktop.in + +post-install: + ${LN} -sf ../icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/astro/viking/distinfo b/astro/viking/distinfo new file mode 100644 index 000000000000..f80f3085bd10 --- /dev/null +++ b/astro/viking/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1690759184 +SHA256 (viking-1.10.tar.bz2) = 9455c895f98bc13de24bd6b234cd0f1d5ecdc1b068b4cbc6eb6644f6126e45ac +SIZE (viking-1.10.tar.bz2) = 5035598 diff --git a/astro/viking/files/pkg-message.in b/astro/viking/files/pkg-message.in new file mode 100644 index 000000000000..462f12f71131 --- /dev/null +++ b/astro/viking/files/pkg-message.in @@ -0,0 +1,13 @@ +[ +{ type: install + message: <